Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11
Date: Tue, 16 May 2017 19:33:33
Message-Id: 20170516193317.GJ1486@gentoo.org
In Reply to: [gentoo-alt] Prefix fails to bootstrap on Solaris 11 by John Helliwell
1 Hi!
2
3 https://forums.gentoo.org/viewtopic-p-8065614.html?sid=95636da82f97a16259d38eeecbdbab5e
4
5 Is this the same problem?
6
7 Does -lresolv -lsocket -lnsl work by chance?
8 (https://docs.oracle.com/cd/E23824_01/html/821-1464/libresolv-3lib.html)
9
10 Thanks,
11 Fabian
12
13 On 16-05-2017 15:30:16 +0100, John Helliwell wrote:
14 > Hi,
15 >
16 > I'm having trouble with bootstrap-prefix.sh on the Intel version of Solaris
17 > 11.3 - This doesn't come with a C compiler pre-installed, and so I installed
18 > one as such :-
19 >
20 > pkg install pkg://solaris/developer/build/gnu-make \
21 > pkg://solaris/developer/build/make \
22 > pkg://solaris/developer/gcc \
23 > pkg://solaris/system/header \
24 > pkg://solaris/developer/build/autoconf \
25 > pkg://solaris/developer/build/automake
26 >
27 > This results in a gcc 4.8.2 at /usr/bin/gcc, and a GNU linker /usr/bin/gld
28 > 2.23.1. The original Solaris linker is intact at /usr/bin/ld
29 >
30 > Oracle Corporation SunOS 5.11 11.3 September 2015
31 > root@sprawl:~# type gcc
32 > gcc is /usr/bin/gcc
33 > root@sprawl:~# gcc -v
34 > Using built-in specs.
35 > COLLECT_GCC=gcc
36 > COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/i386-pc-solaris2.11/4.8.2/lto-wrapp
37 > er
38 > Target: i386-pc-solaris2.11
39 > Configured with:
40 > /builds/hudson/workspace/nightly-update/build/i386/components/gcc48/gcc-4.8.
41 > 2/configure CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++
42 > --prefix=/usr/gcc/4.8 --mandir=/usr/gcc/4.8/share/man
43 > --bindir=/usr/gcc/4.8/bin --libdir=/usr/gcc/4.8/lib
44 > --sbindir=/usr/gcc/4.8/sbin --infodir=/usr/gcc/4.8/share/info
45 > --libexecdir=/usr/gcc/4.8/lib --enable-languages=c,c++,fortran,objc
46 > --enable-shared --with-gmp-include=/usr/include/gmp
47 > --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld
48 > --with-gnu-as --with-as=/usr/gnu/bin/as CFLAGS='-g -O2 -mtune=opteron
49 > -march=opteron' CXXFLAGS='-g -O2 -mtune=opteron -march=opteron'
50 > Thread model: posix
51 > gcc version 4.8.2 (GCC)
52 >
53 > root@sprawl:~# ld --version
54 > ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.2458
55 > root@sprawl:~# gld -v
56 > GNU ld (GNU Binutils) 2.23.1
57 >
58 > The bootstrap fails during stage 3. It attempts to emerge bash, which
59 > requires pkgconfig. The configure phase of pkgconfig fails. It looks like
60 > USE flag "internal-glib" is specified, and so the configure script of glib
61 > is called. It fails with
62 >
63 > checking for res_query... configure: error: not found
64 > configure: error:
65 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
66 > -config-0.29.1/glib/configure failed for glib
67 >
68 > Here is the emerge info for pkgconfig
69 >
70 > johnh@sprawl:~/gentoo$ emerge --info =dev-util/pkgconfig-0.29.1
71 > Portage 2.3.5-prefix (python 2.7.3-final-0, prefix/sunos/solaris/5.11/x86,
72 > gcc-5.3.0, unavailable, 5.11 i86pc)
73 > =================================================================
74 > System Settings
75 > =================================================================
76 > System uname: Solaris-2.11-i86pc-i386-32bit-ELF
77 > Timestamp of repository gentoo_prefix: Wed, 05 Apr 2017 21:58:20 +0000
78 > sh bash 4.3_p48
79 > ld GNU ld (Gentoo 2.27 p1.0) 2.27
80 > sys-devel/binutils: 2.27::gentoo_prefix
81 > sys-devel/gcc: 5.3.0::gentoo_prefix
82 > sys-devel/gcc-config: 1.8-r01.1::gentoo_prefix
83 > Repositories:
84 >
85 > gentoo_prefix
86 > location: /export/home/johnh/gentoo/usr/portage
87 > sync-type: rsync
88 > sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
89 > priority: -1000
90 >
91 > ACCEPT_KEYWORDS="~x86-solaris"
92 > ACCEPT_LICENSE="* -@EULA"
93 > CBUILD="i386-pc-solaris2.11"
94 > CFLAGS=" -O2 -pipe"
95 > CHOST="i386-pc-solaris2.11"
96 > CONFIG_PROTECT="/etc"
97 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release
98 > /etc/terminfo"
99 > CXXFLAGS=" -O2 -pipe"
100 > DISTDIR="/export/home/johnh/gentoo/tmp/usr/portage/distfiles"
101 > FCFLAGS=""
102 > FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect
103 > config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix
104 > merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms
105 > strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
106 > FFLAGS=""
107 > GENTOO_MIRRORS="http://distfiles.gentoo.org"
108 > LANG="en_US.UTF-8"
109 > LC_ALL=""
110 > LDFLAGS=""
111 > MAKEOPTS="-j1"
112 > PKGDIR="/export/home/johnh/gentoo/tmp/usr/portage/packages"
113 > PORTAGE_CONFIGROOT="/export/home/johnh/gentoo/tmp/"
114 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
115 > --omit-dir-times --compress --force --whole-file --delete --stats
116 > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
117 > --exclude=/packages --exclude=/.git"
118 > PORTAGE_TMPDIR="/export/home/johnh/gentoo/tmp/var/tmp"
119 > USE="cracklib cxx ipv6 modules ncurses nls prefix prefix-guest readline ssl
120 > unicode x86-solaris zlib" ABI_X86="32" APACHE2_MODULES="authn_core
121 > authz_core socache_shmcb unixd actions alias auth_basic authn_alias
122 > authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
123 > authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid
124 > dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
125 > filter headers include info log_config logio mem_cache mime mime_magic
126 > negotiation rewrite setenvif speling status unique_id userdir usertrack
127 > vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables
128 > krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load
129 > memory rrdtool swap syslog" ELIBC="SunOS" GPSD_PROTOCOLS="ashtech aivdm
130 > earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea
131 > ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq
132 > superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard
133 > mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
134 > lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
135 > presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
136 > PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7"
137 > PYTHON_TARGETS="python2_7 python3_5 python3_4" RUBY_TARGETS="ruby21"
138 > USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
139 > ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
140 > logmark ipmark dhcpmac delude chaos account"
141 > Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
142 > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
143 > PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
144 >
145 > Here is the entire emerge output
146 >
147 > >>> Emerging (8 of 11) dev-util/pkgconfig-0.29.1::gentoo_prefix
148 > * pkg-config-0.29.1.tar.gz SHA256 SHA512 size ;-) ... [
149 > ok ]
150 > >>> Unpacking source...
151 > >>> Unpacking pkg-config-0.29.1.tar.gz to
152 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work
153 > >>> Source unpacked in
154 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work
155 > >>> Preparing source in
156 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
157 > -config-0.29.1 ...
158 > * Running elibtoolize in: pkg-config-0.29.1/
159 > * Applying portage/1.2.0 patch ...
160 > * Applying sed/1.5.6 patch ...
161 > * Applying as-needed/2.4.3 patch ...
162 > * Applying ppc64le/2.4.4 patch ...
163 > * Running elibtoolize in: pkg-config-0.29.1/glib/
164 > * Applying portage/1.2.0 patch ...
165 > * Applying sed/1.5.6 patch ...
166 > * Applying as-needed/2.4.3 patch ...
167 > * Applying ppc64le/2.4.4 patch ...
168 > >>> Source prepared.
169 > >>> Configuring source in
170 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
171 > -config-0.29.1 ...
172 > * abi_x86_32.x86: running multilib-minimal_abi_src_configure
173 > * Appending a library link instruction (-lintl); libraries to link to
174 > should not be passed through LDFLAGS
175 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
176 > -config-0.29.1/configure --prefix=/export/home/johnh/gentoo/usr
177 > --build=i386-pc-solaris2.11 --host=i386-pc-solaris2.11
178 > --mandir=/export/home/johnh/gentoo/usr/share/man
179 > --infodir=/export/home/johnh/gentoo/usr/share/info
180 > --datadir=/export/home/johnh/gentoo/usr/share
181 > --sysconfdir=/export/home/johnh/gentoo/etc
182 > --localstatedir=/export/home/johnh/gentoo/var/lib
183 > --disable-dependency-tracking --disable-silent-rules
184 > --docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1
185 > --htmldir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html
186 > --libdir=/export/home/johnh/gentoo/usr/lib
187 > --docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html
188 > --with-system-include-path=/export/home/johnh/gentoo/usr/include
189 > --with-system-library-path=/export/home/johnh/gentoo/usr/lib
190 > --with-internal-glib --with-libiconv=gnu
191 > checking for a BSD-compatible install...
192 > /export/home/johnh/gentoo/tmp/bin/install -c
193 > checking whether build environment is sane... yes
194 > checking for a thread-safe mkdir -p...
195 > /export/home/johnh/gentoo/tmp/bin/mkdir -p
196 > checking for gawk... gawk
197 > checking whether gmake sets $(MAKE)... yes
198 > checking whether gmake supports nested variables... yes
199 > checking build system type... i386-pc-solaris2.11
200 > checking host system type... i386-pc-solaris2.11
201 > checking how to print strings... print -r
202 > checking for style of include used by gmake... GNU
203 > checking for i386-pc-solaris2.11-gcc... i386-pc-solaris2.11-gcc
204 > checking whether the C compiler works... yes
205 > checking for C compiler default output file name... a.out
206 > checking for suffix of executables...
207 > checking whether we are cross compiling... no
208 > checking for suffix of object files... o
209 > checking whether we are using the GNU C compiler... yes
210 > checking whether i386-pc-solaris2.11-gcc accepts -g... yes
211 > checking for i386-pc-solaris2.11-gcc option to accept ISO C89... none needed
212 > checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
213 > yes
214 > checking dependency style of i386-pc-solaris2.11-gcc... none
215 > checking for a sed that does not truncate output...
216 > /export/home/johnh/gentoo/bin/sed
217 > checking for grep that handles long lines and -e...
218 > /export/home/johnh/gentoo/tmp/bin/grep
219 > checking for egrep... /export/home/johnh/gentoo/tmp/bin/grep -E
220 > checking for fgrep... /export/home/johnh/gentoo/tmp/bin/grep -F
221 > checking for ld used by i386-pc-solaris2.11-gcc...
222 > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
223 > checking if the linker
224 > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU ld... yes
225 > checking for BSD- or MS-compatible name lister (nm)...
226 > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B
227 > checking the name lister
228 > (/export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B) interface... BSD
229 > nm
230 > checking whether ln -s works... yes
231 > checking the maximum length of command line arguments... 786240
232 > checking how to convert i386-pc-solaris2.11 file names to
233 > i386-pc-solaris2.11 format... func_convert_file_noop
234 > checking how to convert i386-pc-solaris2.11 file names to toolchain
235 > format... func_convert_file_noop
236 > checking for /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld option
237 > to reload object files... -r
238 > checking for i386-pc-solaris2.11-objdump... i386-pc-solaris2.11-objdump
239 > checking how to recognize dependent libraries... pass_all
240 > checking for i386-pc-solaris2.11-dlltool... no
241 > checking for dlltool... no
242 > checking how to associate runtime and link libraries... print -r --
243 > checking for i386-pc-solaris2.11-ar... i386-pc-solaris2.11-ar
244 > checking for archiver @FILE support... @
245 > checking for i386-pc-solaris2.11-strip... i386-pc-solaris2.11-strip
246 > checking for i386-pc-solaris2.11-ranlib... i386-pc-solaris2.11-ranlib
247 > checking command to parse
248 > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B output from
249 > i386-pc-solaris2.11-gcc object... ok
250 > checking for sysroot... no
251 > checking for a working dd... /export/home/johnh/gentoo/tmp/bin/dd
252 > checking how to truncate binary pipes...
253 > /export/home/johnh/gentoo/tmp/bin/dd bs=4096 count=1
254 > checking for i386-pc-solaris2.11-mt... no
255 > checking for mt... mt
256 > checking if mt is a manifest tool... no
257 > checking how to run the C preprocessor... i386-pc-solaris2.11-gcc -E
258 > checking for ANSI C header files... yes
259 > checking for sys/types.h... yes
260 > checking for sys/stat.h... yes
261 > checking for stdlib.h... yes
262 > checking for string.h... yes
263 > checking for memory.h... yes
264 > checking for strings.h... yes
265 > checking for inttypes.h... yes
266 > checking for stdint.h... yes
267 > checking for unistd.h... yes
268 > checking for dlfcn.h... yes
269 > checking for objdir... .libs
270 > checking if i386-pc-solaris2.11-gcc supports -fno-rtti -fno-exceptions... no
271 > checking for i386-pc-solaris2.11-gcc option to produce PIC... -fPIC -DPIC
272 > checking if i386-pc-solaris2.11-gcc PIC flag -fPIC -DPIC works... yes
273 > checking if i386-pc-solaris2.11-gcc static flag -static works... no
274 > checking if i386-pc-solaris2.11-gcc supports -c -o file.o... yes
275 > checking if i386-pc-solaris2.11-gcc supports -c -o file.o... (cached) yes
276 > checking whether the i386-pc-solaris2.11-gcc linker
277 > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
278 > libraries... yes
279 > checking whether -lc should be explicitly linked in... no
280 > checking dynamic linker characteristics... solaris2.11 ld.so
281 > checking how to hardcode library paths into programs... immediate
282 > checking whether stripping libraries is possible... yes
283 > checking if libtool supports shared libraries... yes
284 > checking whether to build shared libraries... yes
285 > checking whether to build static libraries... yes
286 > checking whether gmake supports nested variables... (cached) yes
287 > checking for special C compiler options needed for large files... no
288 > checking for _FILE_OFFSET_BITS value needed for large files... 64
289 > checking for i386-pc-solaris2.11-gcc... (cached) i386-pc-solaris2.11-gcc
290 > checking whether we are using the GNU C compiler... (cached) yes
291 > checking whether i386-pc-solaris2.11-gcc accepts -g... (cached) yes
292 > checking for i386-pc-solaris2.11-gcc option to accept ISO C89... (cached)
293 > none needed
294 > checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
295 > (cached) yes
296 > checking dependency style of i386-pc-solaris2.11-gcc... (cached) none
297 > checking for ln... ln
298 > checking dirent.h usability... yes
299 > checking dirent.h presence... yes
300 > checking for dirent.h... yes
301 > checking for unistd.h... (cached) yes
302 > checking sys/wait.h usability... yes
303 > checking sys/wait.h presence... yes
304 > checking for sys/wait.h... yes
305 > checking malloc.h usability... yes
306 > checking malloc.h presence... yes
307 > checking for malloc.h... yes
308 > checking for bash... /export/home/johnh/gentoo/bin/bash
309 > checking for default search path for .pc files...
310 > ${libdir}/pkgconfig:${datadir}/pkgconfig
311 > checking for system include path to avoid -I flags...
312 > /export/home/johnh/gentoo/usr/include
313 > checking for system library path to avoid -L flags...
314 > /export/home/johnh/gentoo/usr/lib
315 > configure: creating ./config.lt
316 > config.lt: creating libtool
317 > checking whether to list both direct and indirect dependencies... no
318 > checking for Win32... no
319 > checking if prefix should be redefined at runtime... no
320 > checking if internal glib should be used... yes
321 > checking if host- prefixed tool should be installed... yes
322 > checking that generated files are newer than configure... done
323 > configure: creating ./config.status
324 > config.status: creating Makefile
325 > config.status: creating pkg.m4
326 > config.status: creating check/Makefile
327 > config.status: creating check/config.sh
328 > config.status: creating config.h.win32
329 > config.status: creating config.h
330 > config.status: executing depfiles commands
331 > config.status: executing libtool commands
332 > === configuring in glib
333 > (/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
334 > g-config-0.29.1-abi_x86_32.x86/glib)
335 > configure: running /export/home/johnh/gentoo/bin/bash
336 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
337 > -config-0.29.1/glib/configure --disable-option-checking
338 > '--prefix=/export/home/johnh/gentoo/usr' '--build=i386-pc-solaris2.11'
339 > '--host=i386-pc-solaris2.11'
340 > '--mandir=/export/home/johnh/gentoo/usr/share/man'
341 > '--infodir=/export/home/johnh/gentoo/usr/share/info'
342 > '--datadir=/export/home/johnh/gentoo/usr/share'
343 > '--sysconfdir=/export/home/johnh/gentoo/etc'
344 > '--localstatedir=/export/home/johnh/gentoo/var/lib'
345 > '--disable-dependency-tracking' '--disable-silent-rules'
346 > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1'
347 > '--htmldir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
348 > '--libdir=/export/home/johnh/gentoo/usr/lib'
349 > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
350 > '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
351 > '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
352 > '--with-internal-glib' '--with-libiconv=gnu'
353 > 'build_alias=i386-pc-solaris2.11' 'host_alias=i386-pc-solaris2.11' 'CFLAGS=
354 > -O2 -pipe' 'LDFLAGS=-L/export/home/johnh/gentoo/usr/lib
355 > -L/export/home/johnh/gentoo/usr/lib -lintl'
356 > 'CPPFLAGS=-I/export/home/johnh/gentoo/usr/include -DENABLE_NLS'
357 > 'PKG_CONFIG_PATH=/export/home/johnh/gentoo/usr/lib/pkgconfig'
358 > --cache-file=/dev/null
359 > --srcdir=/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1
360 > /work/pkg-config-0.29.1/glib
361 > checking for a BSD-compatible install...
362 > /export/home/johnh/gentoo/tmp/bin/install -c
363 > checking whether build environment is sane... yes
364 > checking for a thread-safe mkdir -p...
365 > /export/home/johnh/gentoo/tmp/bin/mkdir -p
366 > checking for gawk... gawk
367 > checking whether gmake sets $(MAKE)... yes
368 > checking whether gmake supports nested variables... yes
369 > checking whether UID '100' is supported by ustar format... yes
370 > checking whether GID '10' is supported by ustar format... yes
371 > checking how to create a ustar tar archive... gnutar
372 > checking whether to enable maintainer-specific portions of Makefiles... yes
373 > checking whether gmake supports nested variables... (cached) yes
374 > checking for i386-pc-solaris2.11-gcc... i386-pc-solaris2.11-gcc
375 > checking whether the C compiler works... yes
376 > checking for C compiler default output file name... a.out
377 > checking for suffix of executables...
378 > checking whether we are cross compiling... no
379 > checking for suffix of object files... o
380 > checking whether we are using the GNU C compiler... yes
381 > checking whether i386-pc-solaris2.11-gcc accepts -g... yes
382 > checking for i386-pc-solaris2.11-gcc option to accept ISO C89... none needed
383 > checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
384 > yes
385 > checking for style of include used by gmake... GNU
386 > checking dependency style of i386-pc-solaris2.11-gcc... none
387 > checking how to run the C preprocessor... i386-pc-solaris2.11-gcc -E
388 > checking for grep that handles long lines and -e...
389 > /export/home/johnh/gentoo/tmp/bin/grep
390 > checking for egrep... /export/home/johnh/gentoo/tmp/bin/grep -E
391 > checking for ANSI C header files... yes
392 > checking for sys/types.h... yes
393 > checking for sys/stat.h... yes
394 > checking for stdlib.h... yes
395 > checking for string.h... yes
396 > checking for memory.h... yes
397 > checking for strings.h... yes
398 > checking for inttypes.h... yes
399 > checking for stdint.h... yes
400 > checking for unistd.h... yes
401 > checking minix/config.h usability... no
402 > checking minix/config.h presence... no
403 > checking for minix/config.h... no
404 > checking whether it is safe to define __EXTENSIONS__... yes
405 > checking build system type... i386-pc-solaris2.11
406 > checking host system type... i386-pc-solaris2.11
407 > checking for the BeOS... no
408 > checking for Win32... no
409 > checking for the Android... no
410 > checking for Mac OS X Carbon support... no
411 > checking for Mac OS X Cocoa support... no
412 > checking whether to enable garbage collector friendliness... no
413 > checking whether to disable memory pools... no
414 > checking for i386-pc-solaris2.11-c++... i386-pc-solaris2.11-c++
415 > checking whether we are using the GNU C++ compiler... yes
416 > checking whether i386-pc-solaris2.11-c++ accepts -g... yes
417 > checking dependency style of i386-pc-solaris2.11-c++... none
418 > checking for special C compiler options needed for large files... no
419 > checking for _FILE_OFFSET_BITS value needed for large files... 64
420 > checking for gawk... (cached) gawk
421 > checking for perl5... no
422 > checking for perl... perl
423 > checking for indent... no
424 > checking for perl... /usr/bin/perl
425 > checking for a Python interpreter with version >= 2.5... python2.6
426 > checking for python2.6... /usr/bin/python2.6
427 > checking for python2.6 version... 2.6
428 > checking for python2.6 platform... sunos5
429 > checking for python2.6 script directory...
430 > ${prefix}/lib/python2.6/site-packages
431 > checking for python2.6 extension module directory...
432 > ${exec_prefix}/lib/python2.6/site-packages
433 > checking for libiconv_open in -liconv... yes
434 > checking how to print strings... print -r
435 > checking for a sed that does not truncate output...
436 > /export/home/johnh/gentoo/bin/sed
437 > checking for fgrep... /export/home/johnh/gentoo/tmp/bin/grep -F
438 > checking for ld used by i386-pc-solaris2.11-gcc...
439 > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
440 > checking if the linker
441 > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU ld... yes
442 > checking for BSD- or MS-compatible name lister (nm)...
443 > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B
444 > checking the name lister
445 > (/export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B) interface... BSD
446 > nm
447 > checking whether ln -s works... yes
448 > checking the maximum length of command line arguments... 786240
449 > checking how to convert i386-pc-solaris2.11 file names to
450 > i386-pc-solaris2.11 format... func_convert_file_noop
451 > checking how to convert i386-pc-solaris2.11 file names to toolchain
452 > format... func_convert_file_noop
453 > checking for /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld option
454 > to reload object files... -r
455 > checking for i386-pc-solaris2.11-objdump... i386-pc-solaris2.11-objdump
456 > checking how to recognize dependent libraries... pass_all
457 > checking for i386-pc-solaris2.11-dlltool... no
458 > checking for dlltool... no
459 > checking how to associate runtime and link libraries... print -r --
460 > checking for i386-pc-solaris2.11-ar... i386-pc-solaris2.11-ar
461 > checking for archiver @FILE support... @
462 > checking for i386-pc-solaris2.11-strip... i386-pc-solaris2.11-strip
463 > checking for i386-pc-solaris2.11-ranlib... i386-pc-solaris2.11-ranlib
464 > checking command to parse
465 > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B output from
466 > i386-pc-solaris2.11-gcc object... ok
467 > checking for sysroot... no
468 > checking for a working dd... /export/home/johnh/gentoo/tmp/bin/dd
469 > checking how to truncate binary pipes...
470 > /export/home/johnh/gentoo/tmp/bin/dd bs=4096 count=1
471 > checking for i386-pc-solaris2.11-mt... no
472 > checking for mt... mt
473 > checking if mt is a manifest tool... no
474 > checking for dlfcn.h... yes
475 > checking for objdir... .libs
476 > checking if i386-pc-solaris2.11-gcc supports -fno-rtti -fno-exceptions... no
477 > checking for i386-pc-solaris2.11-gcc option to produce PIC... -fPIC -DPIC
478 > checking if i386-pc-solaris2.11-gcc PIC flag -fPIC -DPIC works... yes
479 > checking if i386-pc-solaris2.11-gcc static flag -static works... no
480 > checking if i386-pc-solaris2.11-gcc supports -c -o file.o... yes
481 > checking if i386-pc-solaris2.11-gcc supports -c -o file.o... (cached) yes
482 > checking whether the i386-pc-solaris2.11-gcc linker
483 > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
484 > libraries... yes
485 > checking dynamic linker characteristics... solaris2.11 ld.so
486 > checking how to hardcode library paths into programs... immediate
487 > checking whether stripping libraries is possible... yes
488 > checking if libtool supports shared libraries... yes
489 > checking whether to build shared libraries... no
490 > checking whether to build static libraries... yes
491 > checking how to run the C++ preprocessor... i386-pc-solaris2.11-c++ -E
492 > checking for ld used by i386-pc-solaris2.11-c++...
493 > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
494 > checking if the linker
495 > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU ld... yes
496 > checking whether the i386-pc-solaris2.11-c++ linker
497 > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
498 > libraries... yes
499 > checking for i386-pc-solaris2.11-c++ option to produce PIC... -fPIC -DPIC
500 > checking if i386-pc-solaris2.11-c++ PIC flag -fPIC -DPIC works... yes
501 > checking if i386-pc-solaris2.11-c++ static flag -static works... no
502 > checking if i386-pc-solaris2.11-c++ supports -c -o file.o... yes
503 > checking if i386-pc-solaris2.11-c++ supports -c -o file.o... (cached) yes
504 > checking whether the i386-pc-solaris2.11-c++ linker
505 > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
506 > libraries... yes
507 > checking dynamic linker characteristics... solaris2.11 ld.so
508 > checking how to hardcode library paths into programs... immediate
509 > configure: creating ./config.lt
510 > config.lt: creating libtool
511 > checking for extra flags to get ANSI library prototypes... none needed
512 > checking for extra flags for POSIX compliance... none needed
513 > checking for vprintf... yes
514 > checking for _doprnt... yes
515 > checking for size_t... yes
516 > checking for working alloca.h... yes
517 > checking for alloca... yes
518 > checking for mmap... yes
519 > checking for posix_memalign... yes
520 > checking for memalign... yes
521 > checking for valloc... yes
522 > checking for fsync... yes
523 > checking for pipe2... no
524 > checking for issetugid... yes
525 > checking for atexit... yes
526 > checking for on_exit... no
527 > checking for timegm... no
528 > checking for gmtime_r... yes
529 > checking for __libc_enable_secure... no
530 > checking size of char... 1
531 > checking size of short... 2
532 > checking size of long... 4
533 > checking size of int... 4
534 > checking size of void *... 4
535 > checking size of long long... 8
536 > checking size of __int64... 0
537 > checking for sig_atomic_t... yes
538 > checking for format to printf and scanf a guint64... %llu
539 > checking for an ANSI C-conforming const... yes
540 > checking for growing stack pointer... yes
541 > checking for __inline... yes
542 > checking for __inline__... yes
543 > checking for inline... yes
544 > checking if inline functions in headers work... yes
545 > checking for working do while(0) macros... yes
546 > checking for ISO C99 varargs macros in C... yes
547 > checking for ISO C99 varargs macros in C++... yes
548 > checking for GNUC varargs macros... yes
549 > checking for GNUC visibility attribute... yes
550 > checking whether using Sun Studio C compiler... no
551 > checking whether byte ordering is bigendian... no
552 > checking dirent.h usability... yes
553 > checking dirent.h presence... yes
554 > checking for dirent.h... yes
555 > checking float.h usability... yes
556 > checking float.h presence... yes
557 > checking for float.h... yes
558 > checking limits.h usability... yes
559 > checking limits.h presence... yes
560 > checking for limits.h... yes
561 > checking pwd.h usability... yes
562 > checking pwd.h presence... yes
563 > checking for pwd.h... yes
564 > checking grp.h usability... yes
565 > checking grp.h presence... yes
566 > checking for grp.h... yes
567 > checking sys/param.h usability... yes
568 > checking sys/param.h presence... yes
569 > checking for sys/param.h... yes
570 > checking sys/poll.h usability... yes
571 > checking sys/poll.h presence... yes
572 > checking for sys/poll.h... yes
573 > checking sys/resource.h usability... yes
574 > checking sys/resource.h presence... yes
575 > checking for sys/resource.h... yes
576 > checking sys/time.h usability... yes
577 > checking sys/time.h presence... yes
578 > checking for sys/time.h... yes
579 > checking sys/times.h usability... yes
580 > checking sys/times.h presence... yes
581 > checking for sys/times.h... yes
582 > checking sys/wait.h usability... yes
583 > checking sys/wait.h presence... yes
584 > checking for sys/wait.h... yes
585 > checking for unistd.h... (cached) yes
586 > checking values.h usability... yes
587 > checking values.h presence... yes
588 > checking for values.h... yes
589 > checking sys/select.h usability... yes
590 > checking sys/select.h presence... yes
591 > checking for sys/select.h... yes
592 > checking for sys/types.h... (cached) yes
593 > checking for stdint.h... (cached) yes
594 > checking for inttypes.h... (cached) yes
595 > checking sched.h usability... yes
596 > checking sched.h presence... yes
597 > checking for sched.h... yes
598 > checking malloc.h usability... yes
599 > checking malloc.h presence... yes
600 > checking for malloc.h... yes
601 > checking sys/vfs.h usability... yes
602 > checking sys/vfs.h presence... yes
603 > checking for sys/vfs.h... yes
604 > checking sys/vmount.h usability... no
605 > checking sys/vmount.h presence... no
606 > checking for sys/vmount.h... no
607 > checking sys/statfs.h usability... yes
608 > checking sys/statfs.h presence... yes
609 > checking for sys/statfs.h... yes
610 > checking sys/statvfs.h usability... yes
611 > checking sys/statvfs.h presence... yes
612 > checking for sys/statvfs.h... yes
613 > checking sys/filio.h usability... yes
614 > checking sys/filio.h presence... yes
615 > checking for sys/filio.h... yes
616 > checking mntent.h usability... no
617 > checking mntent.h presence... no
618 > checking for mntent.h... no
619 > checking sys/mnttab.h usability... yes
620 > checking sys/mnttab.h presence... yes
621 > checking for sys/mnttab.h... yes
622 > checking sys/vfstab.h usability... yes
623 > checking sys/vfstab.h presence... yes
624 > checking for sys/vfstab.h... yes
625 > checking sys/mntctl.h usability... no
626 > checking sys/mntctl.h presence... no
627 > checking for sys/mntctl.h... no
628 > checking fstab.h usability... no
629 > checking fstab.h presence... no
630 > checking for fstab.h... no
631 > checking sys/uio.h usability... yes
632 > checking sys/uio.h presence... yes
633 > checking for sys/uio.h... yes
634 > checking sys/mkdev.h usability... yes
635 > checking sys/mkdev.h presence... yes
636 > checking for sys/mkdev.h... yes
637 > checking linux/magic.h usability... no
638 > checking linux/magic.h presence... no
639 > checking for linux/magic.h... no
640 > checking sys/prctl.h usability... no
641 > checking sys/prctl.h presence... no
642 > checking for sys/prctl.h... no
643 > checking for sys/mount.h... yes
644 > checking for sys/sysctl.h... no
645 > checking for sysctlbyname... no
646 > checking xlocale.h usability... no
647 > checking xlocale.h presence... no
648 > checking for xlocale.h... no
649 > checking for struct stat.st_mtimensec... no
650 > checking for struct stat.st_mtim.tv_nsec... yes
651 > checking for struct stat.st_atimensec... no
652 > checking for struct stat.st_atim.tv_nsec... yes
653 > checking for struct stat.st_ctimensec... no
654 > checking for struct stat.st_ctim.tv_nsec... yes
655 > checking for struct stat.st_blksize... yes
656 > checking for struct stat.st_blocks... yes
657 > checking for struct statfs.f_fstypename... no
658 > checking for struct statfs.f_bavail... no
659 > checking for struct statvfs.f_basetype... yes
660 > checking for struct statvfs.f_fstypename... no
661 > checking for struct tm.tm_gmtoff... no
662 > checking for struct tm.__tm_gmtoff... no
663 > checking for dirent.h that defines DIR... yes
664 > checking for library containing opendir... none required
665 > checking for struct dirent.d_type... no
666 > checking for nl_langinfo and CODESET... yes
667 > checking stddef.h usability... yes
668 > checking stddef.h presence... yes
669 > checking for stddef.h... yes
670 > checking for stdlib.h... (cached) yes
671 > checking for string.h... (cached) yes
672 > checking for setlocale... yes
673 > checking whether we are using the GNU C Library 2.1 or newer... no
674 > checking size of size_t... 4
675 > checking for the appropriate definition for size_t... unsigned int
676 > checking size of ssize_t... 4
677 > checking for the appropriate definition for ssize_t... int
678 > checking for lstat... yes
679 > checking for strerror... yes
680 > checking for strsignal... yes
681 > checking for memmove... yes
682 > checking for vsnprintf... yes
683 > checking for stpcpy... yes
684 > checking for strcasecmp... yes
685 > checking for strncasecmp... yes
686 > checking for poll... yes
687 > checking for getcwd... yes
688 > checking for vasprintf... yes
689 > checking for setenv... yes
690 > checking for unsetenv... yes
691 > checking for getc_unlocked... yes
692 > checking for readlink... yes
693 > checking for symlink... yes
694 > checking for fdwalk... yes
695 > checking for memmem... yes
696 > checking for chown... yes
697 > checking for lchmod... no
698 > checking for lchown... yes
699 > checking for fchmod... yes
700 > checking for fchown... yes
701 > checking for link... yes
702 > checking for utimes... yes
703 > checking for getgrgid... yes
704 > checking for getpwuid... yes
705 > checking for getresuid... no
706 > checking for getmntent_r... no
707 > checking for setmntent... no
708 > checking for endmntent... no
709 > checking for hasmntopt... yes
710 > checking for getfsstat... no
711 > checking for getvfsstat... no
712 > checking for fallocate... no
713 > checking for splice... no
714 > checking for prlimit... no
715 > checking for statvfs... yes
716 > checking for statfs... yes
717 > checking whether to use statfs or statvfs... statvfs
718 > checking crt_externs.h usability... no
719 > checking crt_externs.h presence... no
720 > checking for crt_externs.h... no
721 > checking for _NSGetEnviron... no
722 > checking for newlocale... no
723 > checking for uselocale... no
724 > checking for strtod_l... no
725 > checking for strtoll_l... no
726 > checking for strtoull_l... no
727 > checking for C99 vsnprintf... yes
728 > checking whether printf supports positional parameters... yes
729 > checking value of AF_INET... 2
730 > checking value of AF_INET6... 26
731 > checking value of AF_UNIX... 1
732 > checking value of MSG_PEEK... 2
733 > checking value of MSG_OOB... 1
734 > checking value of MSG_DONTROUTE... 4
735 > checking for getprotobyname_r... no
736 > checking for endservent... no
737 > checking for if_nametoindex... no
738 > checking for if_indextoname... no
739 > checking if arpa/nameser_compat.h is needed... no
740 > checking for res_query... configure: error: not found
741 > configure: error:
742 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
743 > -config-0.29.1/glib/configure failed for glib
744 >
745 > !!! Please attach the following file when seeking support:
746 > !!!
747 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
748 > -config-0.29.1-abi_x86_32.x86/config.log
749 > * ERROR: dev-util/pkgconfig-0.29.1::gentoo_prefix failed (configure phase):
750 > * econf failed
751 > *
752 > * Call stack:
753 > * ebuild.sh, line 115: Called src_configure
754 > * environment, line 3302: Called
755 > multilib-minimal_src_configure
756 > * environment, line 2466: Called multilib_foreach_abi
757 > 'multilib-minimal_abi_src_configure'
758 > * environment, line 2680: Called multibuild_foreach_variant
759 > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
760 > * environment, line 2396: Called _multibuild_run
761 > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
762 > * environment, line 2394: Called _multilib_multibuild_wrapper
763 > 'multilib-minimal_abi_src_configure'
764 > * environment, line 441: Called
765 > multilib-minimal_abi_src_configure
766 > * environment, line 2460: Called multilib_src_configure
767 > * environment, line 2913: Called econf
768 > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
769 > '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
770 > '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
771 > '--with-internal-glib' '--with-libiconv=gnu'
772 > * phase-helpers.sh, line 665: Called __helpers_die 'econf failed'
773 > * isolated-functions.sh, line 117: Called die
774 > * The specific snippet of code:
775 > * die "$@"
776 > *
777 > * If you need support, post the output of `emerge --info
778 > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`,
779 > * the complete build log and the output of `emerge -pqv
780 > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`.
781 > * The complete build log is located at
782 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bu
783 > ild.log'.
784 > * The ebuild environment file is located at
785 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/en
786 > vironment'.
787 > * Working directory:
788 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
789 > g-config-0.29.1-abi_x86_32.x86'
790 > * S:
791 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
792 > g-config-0.29.1'
793 >
794 > >>> Failed to emerge dev-util/pkgconfig-0.29.1, Log file:
795 >
796 > >>>
797 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bu
798 > ild.log'
799 >
800 > * Messages for package dev-util/pkgconfig-0.29.1:
801 >
802 > * ERROR: dev-util/pkgconfig-0.29.1::gentoo_prefix failed (configure phase):
803 > * econf failed
804 > *
805 > * Call stack:
806 > * ebuild.sh, line 115: Called src_configure
807 > * environment, line 3302: Called
808 > multilib-minimal_src_configure
809 > * environment, line 2466: Called multilib_foreach_abi
810 > 'multilib-minimal_abi_src_configure'
811 > * environment, line 2680: Called multibuild_foreach_variant
812 > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
813 > * environment, line 2396: Called _multibuild_run
814 > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
815 > * environment, line 2394: Called _multilib_multibuild_wrapper
816 > 'multilib-minimal_abi_src_configure'
817 > * environment, line 441: Called
818 > multilib-minimal_abi_src_configure
819 > * environment, line 2460: Called multilib_src_configure
820 > * environment, line 2913: Called econf
821 > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
822 > '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
823 > '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
824 > '--with-internal-glib' '--with-libiconv=gnu'
825 > * phase-helpers.sh, line 665: Called __helpers_die 'econf failed'
826 > * isolated-functions.sh, line 117: Called die
827 > * The specific snippet of code:
828 > * die "$@"
829 > *
830 > * If you need support, post the output of `emerge --info
831 > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`,
832 > * the complete build log and the output of `emerge -pqv
833 > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`.
834 > * The complete build log is located at
835 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bu
836 > ild.log'.
837 > * The ebuild environment file is located at
838 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/en
839 > vironment'.
840 > * Working directory:
841 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
842 > g-config-0.29.1-abi_x86_32.x86'
843 > * S:
844 > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
845 > g-config-0.29.1'
846 >
847 > Hmmmm, I was already afraid of this to happen. Running
848 > /export/home/johnh/gentoo/usr/bin/bash ./bootstrap-prefix.sh
849 > "/export/home/johnh/gentoo" stage3
850 > somewhere failed :( Details might be found in the build log:
851 >
852 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bui
853 > ld.log
854 > I have no clue, really. Please find friendly folks in #gentoo-prefix on
855 > irc.gentoo.org, gentoo-alt@l.g.o mailing list, or file a bug
856 > at bugs.gentoo.org under Gentoo/Alt, Prefix Support. This is most
857 > inconvenient, and it crushed my ego. Sorry, I give up.
858 > Should you want to give it a try, there is
859 > /export/home/johnh/gentoo/stage3.log
860 >
861 >
862 > Digging further, I can see the configure trying to find res_query in
863 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
864 > -config-0.29.1-abi_x86_32.x86/glib/config.log
865 >
866 > The relevant section is
867 >
868 > configure:23145: checking for res_query
869 > configure:23164: i386-pc-solaris2.11-gcc -o conftest -O2 -pipe
870 > -I/export/home/johnh/gentoo/usr/include -DENABLE_NLS
871 > -L/export/home/johnh/gentoo/usr/lib -L/export/home/johnh/gentoo/usr/lib
872 > -lintl conftest.c >&5
873 > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/ccg
874 > naGcB.o: In function `main':
875 > conftest.c:(.text.startup+0x1f): undefined reference to `res_query'
876 > collect2: error: ld returned 1 exit status
877 >
878 > configure:23187: i386-pc-solaris2.11-gcc -o conftest -O2 -pipe
879 > -I/export/home/johnh/gentoo/usr/include -DENABLE_NLS
880 > -L/export/home/johnh/gentoo/usr/lib -L/export/home/johnh/gentoo/usr/lib
881 > -lintl conftest.c -lresolv >&5
882 > /lib/libelf.so.1: undefined reference to `inflate@SUNW_1.1'
883 > /lib/libelf.so.1: undefined reference to `deflateEnd@SUNW_1.1'
884 > /lib/libelf.so.1: undefined reference to `inflateInit_@SUNW_1.1'
885 > /lib/libelf.so.1: undefined reference to `deflateInit_@SUNW_1.1'
886 > /lib/libelf.so.1: undefined reference to `deflateReset@SUNW_1.1'
887 > /lib/libelf.so.1: undefined reference to `inflateReset@SUNW_1.1'
888 > /lib/libelf.so.1: undefined reference to `inflateEnd@SUNW_1.1'
889 > /lib/libelf.so.1: undefined reference to `deflate@SUNW_1.1'
890 > collect2: error: ld returned 1 exit status
891 >
892 > So Im not a programmer, and I know little about debugging build issues, but
893 > I think those undefined references refer to zlib. Zlib is installed at
894 >
895 > johnh@sprawl:~$ find . -name "libz.so*"
896 > ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so
897 > ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so.1
898 > ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so.1.2.8
899 > ./gentoo/tmp/usr/lib/libz.so.1
900 > ./gentoo/tmp/usr/lib/libz.so
901 > ./gentoo/tmp/usr/lib/libz.so.1.2.8
902 > ./gentoo/usr/lib/libz.so
903 > ./gentoo/usr/lib/libz.so.1
904 > ./gentoo/usr/lib/libz.so.1.2.11
905 >
906 > And also the system zlib is in /lib/libz.so.1. I was considering the
907 > hardcoded symbol versions it was reporting in /lib/libelf.so.1. GNU LD is
908 > never going to generate versioned symbols, so they will never link. If I
909 > fool around and tell ld to use /lib/libz.so.1 it does actually link.
910 >
911 > I'm properly stuck. I've been trying to get passed this point for a week
912 > now. I hope that someone out there has seen this failure before and can help
913 >
914 > Regards
915 >
916 > John Helliwell
917 >
918 >
919 >
920
921 --
922 Fabian Groffen
923 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11 John Helliwell <john.helliwell@×××××.com>
Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11 John Helliwell <john.helliwell@×××××.com>