Gentoo Archives: gentoo-alt

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

Replies

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