Gentoo Archives: gentoo-alt

From: Jason Cooper <gentoo@××××××××××.net>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] ccze-0.2.1-r3 fails to emerge, linker error
Date: Tue, 14 Jan 2014 22:26:28
Message-Id: 20140114222622.GU19878@titan.lakedaemon.net
1 All,
2
3 I like this little tool, and decided to try building it on my prefix
4 install on Mavericks. Basically, I copied the ebuild to my local
5 portage tree, added ~x64-macos, and tried to build. Logs attached
6
7 Any pointers appreciated.
8
9 thx,
10
11 Jason.
12
13 #### begin logs ################################
14
15  * Package: app-admin/ccze-0.2.1-r3
16  * Repository: local_prefix
17  * Maintainer: joker@g.o
18  * USE: elibc_Darwin kernel_Darwin prefix userland_GNU x64-macos
19  * FEATURES: nostrip preserve-libs userpriv usersandbox
20 >>> Unpacking source...
21 >>> Unpacking ccze-0.2.1.tar.gz to /Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work
22 >>> Source unpacked in /Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work
23 >>> Preparing source in /Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1 ...
24 * Applying ccze-fbsd.patch ...
25  [ ok ]
26 * Applying ccze-segfault.patch ...
27  [ ok ]
28 * Applying ccze-ldflags.patch ...
29  [ ok ]
30 * Running eautoreconf in '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1' ...
31 !!! Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository
32 !!! Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository
33 !!! Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository
34 !!! Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository
35 !!! Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository
36 !!! Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository
37 * Running aclocal ...
38  [ ok ]
39 * Running autoconf ...
40  [ ok ]
41 * Running autoheader ...
42  [ ok ]
43 * Running elibtoolize in: ccze-0.2.1/
44 * Replacing obsolete head/tail with POSIX compliant ones
45 * - fixed Rules.mk.in
46 >>> Source prepared.
47 >>> Configuring source in /Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1 ...
48 * econf: updating ccze-0.2.1/config.guess with /Users/j/gentoo/usr/share/gnuconfig/config.guess
49 * econf: updating ccze-0.2.1/config.sub with /Users/j/gentoo/usr/share/gnuconfig/config.sub
50 ./configure --prefix=/Users/j/gentoo/usr --build=x86_64-apple-darwin13 --host=x86_64-apple-darwin13 --mandir=/Users/j/gentoo/usr/share/man --infodir=/Users/j/gentoo/usr/share/info --datadir=/Users/j/gentoo/usr/share --sysconfdir=/Users/j/gentoo/etc --localstatedir=/Users/j/gentoo/var/lib
51 checking build system type... x86_64-apple-darwin13
52 checking host system type... x86_64-apple-darwin13
53 checking for x86_64-apple-darwin13-cc... x86_64-apple-darwin13-gcc
54 checking for x86_64-apple-darwin13-gcc... (cached) x86_64-apple-darwin13-gcc
55 checking whether the C compiler works... yes
56 checking for C compiler default output file name... a.out
57 checking for suffix of executables...
58 checking whether we are cross compiling... no
59 checking for suffix of object files... o
60 checking whether we are using the GNU C compiler... yes
61 checking whether x86_64-apple-darwin13-gcc accepts -g... yes
62 checking for x86_64-apple-darwin13-gcc option to accept ISO C89... none needed
63 checking whether we are using GCC 3... no
64 checking how to run the C preprocessor... x86_64-apple-darwin13-gcc -E
65 checking for a BSD-compatible install... /Users/j/gentoo/usr/bin/install -c
66 checking for grep that handles long lines and -e... /Users/j/gentoo/bin/grep
67 checking for egrep... /Users/j/gentoo/bin/grep -E
68 checking for ANSI C header files... yes
69 checking for dirent.h that defines DIR... yes
70 checking for library containing opendir... none required
71 checking for sys/types.h... yes
72 checking for sys/stat.h... yes
73 checking for stdlib.h... yes
74 checking for string.h... yes
75 checking for memory.h... yes
76 checking for strings.h... yes
77 checking for inttypes.h... yes
78 checking for stdint.h... yes
79 checking for unistd.h... yes
80 checking argp.h usability... no
81 checking argp.h presence... no
82 checking for argp.h... no
83 checking getopt.h usability... yes
84 checking getopt.h presence... yes
85 checking for getopt.h... yes
86 checking netdb.h usability... yes
87 checking netdb.h presence... yes
88 checking for netdb.h... yes
89 checking fcntl.h usability... yes
90 checking fcntl.h presence... yes
91 checking for fcntl.h... yes
92 checking stddef.h usability... yes
93 checking stddef.h presence... yes
94 checking for stddef.h... yes
95 checking for an ANSI C-conforming const... yes
96 checking for working volatile... yes
97 checking for size_t... yes
98 checking return type of signal handlers... void
99 checking for stdlib.h... (cached) yes
100 checking for GNU libc compatible malloc... yes
101 checking for stdlib.h... (cached) yes
102 checking for GNU libc compatible realloc... yes
103 checking for strftime... yes
104 checking whether lstat correctly handles trailing slash... no
105 checking whether stat accepts an empty string... no
106 checking for working memcmp... yes
107 checking for vprintf... yes
108 checking for _doprnt... no
109 checking whether closedir returns void... no
110 checking for alphasort... yes
111 checking for argp_parse... no
112 checking for asprintf... yes
113 checking for getdelim... yes
114 checking for getline... yes
115 checking for getopt_long... yes
116 checking for getsubopt... yes
117 checking for memchr... yes
118 checking for memset... yes
119 checking for scandir... yes
120 checking for strcasecmp... yes
121 checking for strchr... yes
122 checking for strdup... yes
123 checking for strndup... yes
124 checking for strstr... yes
125 checking for initscr in -lncurses... yes
126 checking for dlopen... yes
127 checking for getopt_long... (cached) yes
128 checking for pcre-config... /Users/j/gentoo/usr/bin/pcre-config
129 checking for PCRE... found
130 checking for suboptarg... yes
131 configure: creating ./config.status
132 config.status: creating Rules.mk
133 config.status: WARNING: 'Rules.mk.in' seems to ignore the --datarootdir setting
134 config.status: creating Makefile
135 config.status: creating doc/Makefile
136 config.status: creating src/Makefile
137 config.status: creating testsuite/Makefile
138 config.status: creating system.h
139 >>> Source configured.
140 >>> Compiling source in /Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1 ...
141 make -j9
142 make -C doc all
143 make[1]: Entering directory '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1/doc'
144 sed -e "s,@VERSION@,0.2.1,g" -e "s,@DIST@,stable,g" \
145 <ccze.spec.in >ccze.spec
146 sed -e "s,@VERSION\@,0.2.1,g" \
147 -e "s,@sysconfdir\@,/Users/j/gentoo/etc,g" \
148 -e "s,@pkglibdir\@,/Users/j/gentoo/usr/lib/ccze,g" \
149 <./ccze.1.in >ccze.1T && mv -f ccze.1T ccze.1
150 sed -e "s,@VERSION\@,0.2.1,g" \
151 -e "s,@sysconfdir\@,/Users/j/gentoo/etc,g" \
152 -e "s,@pkglibdir\@,/Users/j/gentoo/usr/lib/ccze,g" \
153 <./ccze-plugin.7.in >ccze-plugin.7T && mv -f ccze-plugin.7T ccze-plugin.7
154 sed -e "s,@VERSION\@,0.2.1,g" \
155 -e "s,@sysconfdir\@,/Users/j/gentoo/etc,g" \
156 -e "s,@pkglibdir\@,/Users/j/gentoo/usr/lib/ccze,g" \
157 <./ccze-cssdump.1.in >ccze-cssdump.1T && mv -f ccze-cssdump.1T ccze-cssdump.1
158 make[1]: Leaving directory '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1/doc'
159 make -C src all
160 make[1]: Entering directory '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1/src'
161 x86_64-apple-darwin13-gcc -c -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include ccze.c
162 x86_64-apple-darwin13-gcc -c -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include ccze-color.c
163 x86_64-apple-darwin13-gcc -c -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include ccze-plugin.c
164 x86_64-apple-darwin13-gcc -c -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include ccze-wordcolor.c
165 echo '#include <ccze.h>' >ccze-builtins.c
166 echo '#include "ccze-private.h"' >>ccze-builtins.c
167 x86_64-apple-darwin13-gcc -c -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include ccze-compat.c
168 echo >>ccze-builtins.c
169 x86_64-apple-darwin13-gcc -fPIC -DPIC -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include -Wl,-dead_strip_dylibs -L/Users/j/gentoo/usr/lib -lpcre -lncurses -o apm.so mod_apm.c -shared
170 echo "void" >>ccze-builtins.c
171 x86_64-apple-darwin13-gcc -fPIC -DPIC -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include -Wl,-dead_strip_dylibs -L/Users/j/gentoo/usr/lib -lpcre -lncurses -o distcc.so mod_distcc.c -shared
172 echo "ccze_plugin_load_all_builtins (void)" >>ccze-builtins.c
173 x86_64-apple-darwin13-gcc -fPIC -DPIC -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include -Wl,-dead_strip_dylibs -L/Users/j/gentoo/usr/lib -lpcre -lncurses -o exim.so mod_exim.c -shared
174 echo "{" >>ccze-builtins.c
175 echo "}" >>ccze-builtins.c
176 x86_64-apple-darwin13-gcc -fPIC -DPIC -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/Users/j/gentoo/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/Users/j/gentoo/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations -march=nocona -O2 -pipe -I/Users/j/gentoo/usr/include -Wl,-dead_strip_dylibs -L/Users/j/gentoo/usr/lib -lpcre -lncurses -o fetchmail.so mod_fetchmail.c -shared
177 Undefined symbols for architecture x86_64Undefined:
178 "_ccze_addstrsymbols" , forreferenced fromarchitecture:
179 x86_64 :
180 " _ccze_addstr_ccze_apm_process" ,in cclg83P3.oreferenced
181 from":_ccze_space
182 " , referenced from :_ccze_distcc_handle
183 in ccCEudP5.o
184 _ccze_apm_process "in_ccze_space "cclg83P3.o,
185 ldreferenced: fromsymbol:(
186 s ) not found for architecture x86_64
187 _ccze_distcc_handle in ccCEudP5.o
188 ld: symbol(s) not found for architecture x86_64
189 collect2: ld returned 1 exit status
190 collect2: ld returned 1 exit status
191 Makefile:100: recipe for target 'apm.so' failed
192 make[1]: *** [apm.so] Error 1
193 make[1]: *** Waiting for unfinished jobs....
194 Makefile:100: recipe for target 'distcc.so' failed
195 make[1]: *** [distcc.so] Error 1
196 Undefined symbols for architecture x86_64:
197 "_ccze_print_date", referenced from:
198 _ccze_exim_handle in ccmDvAlG.o
199 "_ccze_space", referenced from:
200 _ccze_exim_handle in ccmDvAlG.o
201 "_ccze_addstr", referenced from:
202 _ccze_exim_handle in ccmDvAlG.o
203 ld: symbol(s) not found for architecture x86_64
204 collect2: ld returned 1 exit status
205 Undefined symbols for architecture x86_64:
206 "_ccze_addstr", referenced from:
207 _ccze_fetchmail_process in ccUXTV47.o
208 "_ccze_space", referenced from:
209 _ccze_fetchmail_process in ccUXTV47.o
210 ld: symbol(s) not found for architecture x86_64
211 collect2: ld returned 1 exit status
212 Makefile:100: recipe for target 'exim.so' failed
213 make[1]: *** [exim.so] Error 1
214 Makefile:100: recipe for target 'fetchmail.so' failed
215 make[1]: *** [fetchmail.so] Error 1
216 make[1]: Leaving directory '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1/src'
217 Makefile:19: recipe for target 'all-recursive' failed
218 make: *** [all-recursive] Error 2
219 * ERROR: app-admin/ccze-0.2.1-r3::local_prefix failed (compile phase):
220 * emake failed
221 *
222 * If you need support, post the output of `emerge --info '=app-admin/ccze-0.2.1-r3::local_prefix'`,
223 * the complete build log and the output of `emerge -pqv '=app-admin/ccze-0.2.1-r3::local_prefix'`.
224 * The complete build log is located at '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/temp/build.log'.
225 * The ebuild environment file is located at '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/temp/environment'.
226 * Working directory: '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1'
227 * S: '/Users/j/gentoo/var/tmp/portage/app-admin/ccze-0.2.1-r3/work/ccze-0.2.1'
228 #### end logs ################################

Replies

Subject Author
Re: [gentoo-alt] ccze-0.2.1-r3 fails to emerge, linker error Jason Cooper <gentoo@××××××××××.net>
[gentoo-alt] [PATCH] ccze-0.2.1-r3: add ~x64-macos with dylib Jason Cooper <gentoo@××××××××××.net>