Gentoo Archives: gentoo-alt

From: Konstantin Tokarev <annulen@××××××.ru>
To: "gentoo-alt@l.g.o" <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11
Date: Wed, 17 May 2017 12:36:42
Message-Id: 3843651495024598@web28o.yandex.ru
In Reply to: RE: [gentoo-alt] Prefix fails to bootstrap on Solaris 11 by John Helliwell
1 17.05.2017, 15:27, "John Helliwell" <john.helliwell@×××××.com>:
2 > Phew, that went badly.
3 >
4 > I guess the error messages about /proc/mounts missing, and “Your kernel is broken” mean glibc on Solaris is a no go.
5
6 glibc offically supports only Linux and Hurd
7
8 >
9 > So I’m back to my original problem of pkgconfig with internal-glib failing
10 >
11 > Cheers
12 >
13 > John Helliwell
14 >
15 > From: John Helliwell [mailto:john.helliwell@×××××.com]
16 > Sent: 16 May 2017 21:51
17 > To: gentoo-alt@l.g.o
18 > Subject: Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11
19 >
20 > Hi,
21 >
22 > 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.
23 >
24 > I'm going to try bootstrapping Prefix / glibc (RAP)
25 >
26 > Will let you know how that goes
27 >
28 > On Tue, May 16, 2017 at 8:33 PM +0100, "Fabian Groffen" <grobian@g.o> wrote:
29 >> Hi!
30 >>
31 >> https://forums.gentoo.org/viewtopic-p-8065614.html?sid=95636da82f97a16259d38eeecbdbab5e
32 >>
33 >> Is this the same problem?
34 >>
35 >> Does -lresolv -lsocket -lnsl work by chance?
36 >>
37 >> (https://docs.oracle.com/cd/E23824_01/html/821-1464/libresolv-3lib.html)
38 >>
39 >> Thanks,
40 >>
41 >> Fabian
42 >>
43 >> On 16-05-2017 15:30:16 +0100, John Helliwell wrote:
44 >>
45 >>> Hi,
46 >>
47 >>>
48 >>
49 >>> I'm having trouble with bootstrap-prefix.sh on the Intel version of Solaris
50 >>
51 >>> 11.3 - This doesn't come with a C compiler pre-installed, and so I installed
52 >>
53 >>> one as such :-
54 >>
55 >>>
56 >>
57 >>> pkg install pkg://solaris/developer/build/gnu-make \
58 >>
59 >>>             pkg://solaris/developer/build/make \
60 >>
61 >>>             pkg://solaris/developer/gcc \
62 >>
63 >>>             pkg://solaris/system/header \
64 >>
65 >>>             pkg://solaris/developer/build/autoconf \
66 >>
67 >>>             pkg://solaris/developer/build/automake
68 >>
69 >>>
70 >>
71 >>> This results in a gcc 4.8.2 at /usr/bin/gcc, and a GNU linker /usr/bin/gld
72 >>
73 >>> 2.23.1. The original Solaris linker is intact at /usr/bin/ld
74 >>
75 >>>
76 >>
77 >>> Oracle Corporation      SunOS 5.11      11.3    September 2015
78 >>
79 >>> root@sprawl:~# type gcc
80 >>
81 >>> gcc is /usr/bin/gcc
82 >>
83 >>> root@sprawl:~# gcc -v
84 >>
85 >>> Using built-in specs.
86 >>
87 >>> COLLECT_GCC=gcc
88 >>
89 >>> COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/i386-pc-solaris2.11/4.8.2/lto-wrapp
90 >>
91 >>> er
92 >>
93 >>> Target: i386-pc-solaris2.11
94 >>
95 >>> Configured with:
96 >>
97 >>> /builds/hudson/workspace/nightly-update/build/i386/components/gcc48/gcc-4.8.
98 >>
99 >>> 2/configure CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++
100 >>
101 >>> --prefix=/usr/gcc/4.8 --mandir=/usr/gcc/4.8/share/man
102 >>
103 >>> --bindir=/usr/gcc/4.8/bin --libdir=/usr/gcc/4.8/lib
104 >>
105 >>> --sbindir=/usr/gcc/4.8/sbin --infodir=/usr/gcc/4.8/share/info
106 >>
107 >>> --libexecdir=/usr/gcc/4.8/lib --enable-languages=c,c++,fortran,objc
108 >>
109 >>> --enable-shared --with-gmp-include=/usr/include/gmp
110 >>
111 >>> --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld
112 >>
113 >>> --with-gnu-as --with-as=/usr/gnu/bin/as CFLAGS='-g -O2  -mtune=opteron
114 >>
115 >>> -march=opteron' CXXFLAGS='-g -O2 -mtune=opteron -march=opteron'
116 >>
117 >>> Thread model: posix
118 >>
119 >>> gcc version 4.8.2 (GCC)
120 >>
121 >>>
122 >>
123 >>> root@sprawl:~# ld --version
124 >>
125 >>> ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.2458
126 >>
127 >>> root@sprawl:~# gld -v
128 >>
129 >>> GNU ld (GNU Binutils) 2.23.1
130 >>
131 >>>
132 >>
133 >>> The bootstrap fails during stage 3. It attempts to emerge bash, which
134 >>
135 >>> requires pkgconfig. The configure phase of pkgconfig fails. It looks like
136 >>
137 >>> USE flag "internal-glib" is specified, and so the configure script of glib
138 >>
139 >>> is called. It fails with
140 >>
141 >>>
142 >>
143 >>> checking for res_query... configure: error: not found
144 >>
145 >>> configure: error:
146 >>
147 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
148 >>
149 >>> -config-0.29.1/glib/configure failed for glib
150 >>
151 >>>
152 >>
153 >>> Here is the emerge info for pkgconfig
154 >>
155 >>>
156 >>
157 >>> johnh@sprawl:~/gentoo$ emerge --info =dev-util/pkgconfig-0.29.1
158 >>
159 >>> Portage 2.3.5-prefix (python 2.7.3-final-0, prefix/sunos/solaris/5.11/x86,
160 >>
161 >>> gcc-5.3.0, unavailable, 5.11 i86pc)
162 >>
163 >>> =================================================================
164 >>
165 >>>                          System Settings
166 >>
167 >>> =================================================================
168 >>
169 >>> System uname: Solaris-2.11-i86pc-i386-32bit-ELF
170 >>
171 >>> Timestamp of repository gentoo_prefix: Wed, 05 Apr 2017 21:58:20 +0000
172 >>
173 >>> sh bash 4.3_p48
174 >>
175 >>> ld GNU ld (Gentoo 2.27 p1.0) 2.27
176 >>
177 >>> sys-devel/binutils:   2.27::gentoo_prefix
178 >>
179 >>> sys-devel/gcc:        5.3.0::gentoo_prefix
180 >>
181 >>> sys-devel/gcc-config: 1.8-r01.1::gentoo_prefix
182 >>
183 >>> Repositories:
184 >>
185 >>>
186 >>
187 >>> gentoo_prefix
188 >>
189 >>>     location: /export/home/johnh/gentoo/usr/portage
190 >>
191 >>>     sync-type: rsync
192 >>
193 >>>     sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
194 >>
195 >>>     priority: -1000
196 >>
197 >>>
198 >>
199 >>> ACCEPT_KEYWORDS="~x86-solaris"
200 >>
201 >>> ACCEPT_LICENSE="* -@EULA"
202 >>
203 >>> CBUILD="i386-pc-solaris2.11"
204 >>
205 >>> CFLAGS=" -O2 -pipe"
206 >>
207 >>> CHOST="i386-pc-solaris2.11"
208 >>
209 >>> CONFIG_PROTECT="/etc"
210 >>
211 >>> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release
212 >>
213 >>> /etc/terminfo"
214 >>
215 >>> CXXFLAGS=" -O2 -pipe"
216 >>
217 >>> DISTDIR="/export/home/johnh/gentoo/tmp/usr/portage/distfiles"
218 >>
219 >>> FCFLAGS=""
220 >>
221 >>> FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect
222 >>
223 >>> config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix
224 >>
225 >>> merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms
226 >>
227 >>> strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
228 >>
229 >>> FFLAGS=""
230 >>
231 >>> GENTOO_MIRRORS="http://distfiles.gentoo.org"
232 >>
233 >>> LANG="en_US.UTF-8"
234 >>
235 >>> LC_ALL=""
236 >>
237 >>> LDFLAGS=""
238 >>
239 >>> MAKEOPTS="-j1"
240 >>
241 >>> PKGDIR="/export/home/johnh/gentoo/tmp/usr/portage/packages"
242 >>
243 >>> PORTAGE_CONFIGROOT="/export/home/johnh/gentoo/tmp/"
244 >>
245 >>> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
246 >>
247 >>> --omit-dir-times --compress --force --whole-file --delete --stats
248 >>
249 >>> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
250 >>
251 >>> --exclude=/packages --exclude=/.git"
252 >>
253 >>> PORTAGE_TMPDIR="/export/home/johnh/gentoo/tmp/var/tmp"
254 >>
255 >>> USE="cracklib cxx ipv6 modules ncurses nls prefix prefix-guest readline ssl
256 >>
257 >>> unicode x86-solaris zlib" ABI_X86="32" APACHE2_MODULES="authn_core
258 >>
259 >>> authz_core socache_shmcb unixd actions alias auth_basic authn_alias
260 >>
261 >>> authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
262 >>
263 >>> authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid
264 >>
265 >>> dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
266 >>
267 >>> filter headers include info log_config logio mem_cache mime mime_magic
268 >>
269 >>> negotiation rewrite setenvif speling status unique_id userdir usertrack
270 >>
271 >>> vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables
272 >>
273 >>> krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load
274 >>
275 >>> memory rrdtool swap syslog" ELIBC="SunOS" GPSD_PROTOCOLS="ashtech aivdm
276 >>
277 >>> earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea
278 >>
279 >>> ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq
280 >>
281 >>> superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard
282 >>
283 >>> mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
284 >>
285 >>> lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
286 >>
287 >>> presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
288 >>
289 >>> PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7"
290 >>
291 >>> PYTHON_TARGETS="python2_7 python3_5 python3_4" RUBY_TARGETS="ruby21"
292 >>
293 >>> USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
294 >>
295 >>> ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
296 >>
297 >>> logmark ipmark dhcpmac delude chaos account"
298 >>
299 >>> Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
300 >>
301 >>> PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
302 >>
303 >>> PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
304 >>
305 >>>
306 >>
307 >>> Here is the entire emerge output
308 >>
309 >>>
310 >>
311 >>> >>> Emerging (8 of 11) dev-util/pkgconfig-0.29.1::gentoo_prefix
312 >>
313 >>>  * pkg-config-0.29.1.tar.gz SHA256 SHA512 size ;-) ...                   [
314 >>
315 >>> ok ]
316 >>
317 >>> >>> Unpacking source...
318 >>
319 >>> >>> Unpacking pkg-config-0.29.1.tar.gz to
320 >>
321 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work
322 >>
323 >>> >>> Source unpacked in
324 >>
325 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work
326 >>
327 >>> >>> Preparing source in
328 >>
329 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
330 >>
331 >>> -config-0.29.1 ...
332 >>
333 >>>  * Running elibtoolize in: pkg-config-0.29.1/
334 >>
335 >>>  *   Applying portage/1.2.0 patch ...
336 >>
337 >>>  *   Applying sed/1.5.6 patch ...
338 >>
339 >>>  *   Applying as-needed/2.4.3 patch ...
340 >>
341 >>>  *   Applying ppc64le/2.4.4 patch ...
342 >>
343 >>>  * Running elibtoolize in: pkg-config-0.29.1/glib/
344 >>
345 >>>  *   Applying portage/1.2.0 patch ...
346 >>
347 >>>  *   Applying sed/1.5.6 patch ...
348 >>
349 >>>  *   Applying as-needed/2.4.3 patch ...
350 >>
351 >>>  *   Applying ppc64le/2.4.4 patch ...
352 >>
353 >>> >>> Source prepared.
354 >>
355 >>> >>> Configuring source in
356 >>
357 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
358 >>
359 >>> -config-0.29.1 ...
360 >>
361 >>>  * abi_x86_32.x86: running multilib-minimal_abi_src_configure
362 >>
363 >>>  * Appending a library link instruction (-lintl); libraries to link to
364 >>
365 >>> should not be passed through LDFLAGS
366 >>
367 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
368 >>
369 >>> -config-0.29.1/configure --prefix=/export/home/johnh/gentoo/usr
370 >>
371 >>> --build=i386-pc-solaris2.11 --host=i386-pc-solaris2.11
372 >>
373 >>> --mandir=/export/home/johnh/gentoo/usr/share/man
374 >>
375 >>> --infodir=/export/home/johnh/gentoo/usr/share/info
376 >>
377 >>> --datadir=/export/home/johnh/gentoo/usr/share
378 >>
379 >>> --sysconfdir=/export/home/johnh/gentoo/etc
380 >>
381 >>> --localstatedir=/export/home/johnh/gentoo/var/lib
382 >>
383 >>> --disable-dependency-tracking --disable-silent-rules
384 >>
385 >>> --docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1
386 >>
387 >>> --htmldir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html
388 >>
389 >>> --libdir=/export/home/johnh/gentoo/usr/lib
390 >>
391 >>> --docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html
392 >>
393 >>> --with-system-include-path=/export/home/johnh/gentoo/usr/include
394 >>
395 >>> --with-system-library-path=/export/home/johnh/gentoo/usr/lib
396 >>
397 >>> --with-internal-glib --with-libiconv=gnu
398 >>
399 >>> checking for a BSD-compatible install...
400 >>
401 >>> /export/home/johnh/gentoo/tmp/bin/install -c
402 >>
403 >>> checking whether build environment is sane... yes
404 >>
405 >>> checking for a thread-safe mkdir -p...
406 >>
407 >>> /export/home/johnh/gentoo/tmp/bin/mkdir -p
408 >>
409 >>> checking for gawk... gawk
410 >>
411 >>> checking whether gmake sets $(MAKE)... yes
412 >>
413 >>> checking whether gmake supports nested variables... yes
414 >>
415 >>> checking build system type... i386-pc-solaris2.11
416 >>
417 >>> checking host system type... i386-pc-solaris2.11
418 >>
419 >>> checking how to print strings... print -r
420 >>
421 >>> checking for style of include used by gmake... GNU
422 >>
423 >>> checking for i386-pc-solaris2.11-gcc... i386-pc-solaris2.11-gcc
424 >>
425 >>> checking whether the C compiler works... yes
426 >>
427 >>> checking for C compiler default output file name... a.out
428 >>
429 >>> checking for suffix of executables...
430 >>
431 >>> checking whether we are cross compiling... no
432 >>
433 >>> checking for suffix of object files... o
434 >>
435 >>> checking whether we are using the GNU C compiler... yes
436 >>
437 >>> checking whether i386-pc-solaris2.11-gcc accepts -g... yes
438 >>
439 >>> checking for i386-pc-solaris2.11-gcc option to accept ISO C89... none needed
440 >>
441 >>> checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
442 >>
443 >>> yes
444 >>
445 >>> checking dependency style of i386-pc-solaris2.11-gcc... none
446 >>
447 >>> checking for a sed that does not truncate output...
448 >>
449 >>> /export/home/johnh/gentoo/bin/sed
450 >>
451 >>> checking for grep that handles long lines and -e...
452 >>
453 >>> /export/home/johnh/gentoo/tmp/bin/grep
454 >>
455 >>> checking for egrep... /export/home/johnh/gentoo/tmp/bin/grep -E
456 >>
457 >>> checking for fgrep... /export/home/johnh/gentoo/tmp/bin/grep -F
458 >>
459 >>> checking for ld used by i386-pc-solaris2.11-gcc...
460 >>
461 >>> /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
462 >>
463 >>> checking if the linker
464 >>
465 >>> (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU ld... yes
466 >>
467 >>> checking for BSD- or MS-compatible name lister (nm)...
468 >>
469 >>> /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B
470 >>
471 >>> checking the name lister
472 >>
473 >>> (/export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B) interface... BSD
474 >>
475 >>> nm
476 >>
477 >>> checking whether ln -s works... yes
478 >>
479 >>> checking the maximum length of command line arguments... 786240
480 >>
481 >>> checking how to convert i386-pc-solaris2.11 file names to
482 >>
483 >>> i386-pc-solaris2.11 format... func_convert_file_noop
484 >>
485 >>> checking how to convert i386-pc-solaris2.11 file names to toolchain
486 >>
487 >>> format... func_convert_file_noop
488 >>
489 >>> checking for /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld option
490 >>
491 >>> to reload object files... -r
492 >>
493 >>> checking for i386-pc-solaris2.11-objdump... i386-pc-solaris2.11-objdump
494 >>
495 >>> checking how to recognize dependent libraries... pass_all
496 >>
497 >>> checking for i386-pc-solaris2.11-dlltool... no
498 >>
499 >>> checking for dlltool... no
500 >>
501 >>> checking how to associate runtime and link libraries... print -r --
502 >>
503 >>> checking for i386-pc-solaris2.11-ar... i386-pc-solaris2.11-ar
504 >>
505 >>> checking for archiver @FILE support... @
506 >>
507 >>> checking for i386-pc-solaris2.11-strip... i386-pc-solaris2.11-strip
508 >>
509 >>> checking for i386-pc-solaris2.11-ranlib... i386-pc-solaris2.11-ranlib
510 >>
511 >>> checking command to parse
512 >>
513 >>> /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B output from
514 >>
515 >>> i386-pc-solaris2.11-gcc object... ok
516 >>
517 >>> checking for sysroot... no
518 >>
519 >>> checking for a working dd... /export/home/johnh/gentoo/tmp/bin/dd
520 >>
521 >>> checking how to truncate binary pipes...
522 >>
523 >>> /export/home/johnh/gentoo/tmp/bin/dd bs=4096 count=1
524 >>
525 >>> checking for i386-pc-solaris2.11-mt... no
526 >>
527 >>> checking for mt... mt
528 >>
529 >>> checking if mt is a manifest tool... no
530 >>
531 >>> checking how to run the C preprocessor... i386-pc-solaris2.11-gcc -E
532 >>
533 >>> checking for ANSI C header files... yes
534 >>
535 >>> checking for sys/types.h... yes
536 >>
537 >>> checking for sys/stat.h... yes
538 >>
539 >>> checking for stdlib.h... yes
540 >>
541 >>> checking for string.h... yes
542 >>
543 >>> checking for memory.h... yes
544 >>
545 >>> checking for strings.h... yes
546 >>
547 >>> checking for inttypes.h... yes
548 >>
549 >>> checking for stdint.h... yes
550 >>
551 >>> checking for unistd.h... yes
552 >>
553 >>> checking for dlfcn.h... yes
554 >>
555 >>> checking for objdir... .libs
556 >>
557 >>> checking if i386-pc-solaris2.11-gcc supports -fno-rtti -fno-exceptions... no
558 >>
559 >>> checking for i386-pc-solaris2.11-gcc option to produce PIC... -fPIC -DPIC
560 >>
561 >>> checking if i386-pc-solaris2.11-gcc PIC flag -fPIC -DPIC works... yes
562 >>
563 >>> checking if i386-pc-solaris2.11-gcc static flag -static works... no
564 >>
565 >>> checking if i386-pc-solaris2.11-gcc supports -c -o file.o... yes
566 >>
567 >>> checking if i386-pc-solaris2.11-gcc supports -c -o file.o... (cached) yes
568 >>
569 >>> checking whether the i386-pc-solaris2.11-gcc linker
570 >>
571 >>> (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
572 >>
573 >>> libraries... yes
574 >>
575 >>> checking whether -lc should be explicitly linked in... no
576 >>
577 >>> checking dynamic linker characteristics... solaris2.11 ld.so
578 >>
579 >>> checking how to hardcode library paths into programs... immediate
580 >>
581 >>> checking whether stripping libraries is possible... yes
582 >>
583 >>> checking if libtool supports shared libraries... yes
584 >>
585 >>> checking whether to build shared libraries... yes
586 >>
587 >>> checking whether to build static libraries... yes
588 >>
589 >>> checking whether gmake supports nested variables... (cached) yes
590 >>
591 >>> checking for special C compiler options needed for large files... no
592 >>
593 >>> checking for _FILE_OFFSET_BITS value needed for large files... 64
594 >>
595 >>> checking for i386-pc-solaris2.11-gcc... (cached) i386-pc-solaris2.11-gcc
596 >>
597 >>> checking whether we are using the GNU C compiler... (cached) yes
598 >>
599 >>> checking whether i386-pc-solaris2.11-gcc accepts -g... (cached) yes
600 >>
601 >>> checking for i386-pc-solaris2.11-gcc option to accept ISO C89... (cached)
602 >>
603 >>> none needed
604 >>
605 >>> checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
606 >>
607 >>> (cached) yes
608 >>
609 >>> checking dependency style of i386-pc-solaris2.11-gcc... (cached) none
610 >>
611 >>> checking for ln... ln
612 >>
613 >>> checking dirent.h usability... yes
614 >>
615 >>> checking dirent.h presence... yes
616 >>
617 >>> checking for dirent.h... yes
618 >>
619 >>> checking for unistd.h... (cached) yes
620 >>
621 >>> checking sys/wait.h usability... yes
622 >>
623 >>> checking sys/wait.h presence... yes
624 >>
625 >>> checking for sys/wait.h... yes
626 >>
627 >>> checking malloc.h usability... yes
628 >>
629 >>> checking malloc.h presence... yes
630 >>
631 >>> checking for malloc.h... yes
632 >>
633 >>> checking for bash... /export/home/johnh/gentoo/bin/bash
634 >>
635 >>> checking for default search path for .pc files...
636 >>
637 >>> ${libdir}/pkgconfig:${datadir}/pkgconfig
638 >>
639 >>> checking for system include path to avoid -I flags...
640 >>
641 >>> /export/home/johnh/gentoo/usr/include
642 >>
643 >>> checking for system library path to avoid -L flags...
644 >>
645 >>> /export/home/johnh/gentoo/usr/lib
646 >>
647 >>> configure: creating ./config.lt
648 >>
649 >>> config.lt: creating libtool
650 >>
651 >>> checking whether to list both direct and indirect dependencies... no
652 >>
653 >>> checking for Win32... no
654 >>
655 >>> checking if prefix should be redefined at runtime... no
656 >>
657 >>> checking if internal glib should be used... yes
658 >>
659 >>> checking if host- prefixed tool should be installed... yes
660 >>
661 >>> checking that generated files are newer than configure... done
662 >>
663 >>> configure: creating ./config.status
664 >>
665 >>> config.status: creating Makefile
666 >>
667 >>> config.status: creating pkg.m4
668 >>
669 >>> config.status: creating check/Makefile
670 >>
671 >>> config.status: creating check/config.sh
672 >>
673 >>> config.status: creating config.h.win32
674 >>
675 >>> config.status: creating config.h
676 >>
677 >>> config.status: executing depfiles commands
678 >>
679 >>> config.status: executing libtool commands
680 >>
681 >>> === configuring in glib
682 >>
683 >>> (/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
684 >>
685 >>> g-config-0.29.1-abi_x86_32.x86/glib)
686 >>
687 >>> configure: running /export/home/johnh/gentoo/bin/bash
688 >>
689 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
690 >>
691 >>> -config-0.29.1/glib/configure --disable-option-checking
692 >>
693 >>> '--prefix=/export/home/johnh/gentoo/usr'  '--build=i386-pc-solaris2.11'
694 >>
695 >>> '--host=i386-pc-solaris2.11'
696 >>
697 >>> '--mandir=/export/home/johnh/gentoo/usr/share/man'
698 >>
699 >>> '--infodir=/export/home/johnh/gentoo/usr/share/info'
700 >>
701 >>> '--datadir=/export/home/johnh/gentoo/usr/share'
702 >>
703 >>> '--sysconfdir=/export/home/johnh/gentoo/etc'
704 >>
705 >>> '--localstatedir=/export/home/johnh/gentoo/var/lib'
706 >>
707 >>> '--disable-dependency-tracking' '--disable-silent-rules'
708 >>
709 >>> '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1'
710 >>
711 >>> '--htmldir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
712 >>
713 >>> '--libdir=/export/home/johnh/gentoo/usr/lib'
714 >>
715 >>> '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
716 >>
717 >>> '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
718 >>
719 >>> '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
720 >>
721 >>> '--with-internal-glib' '--with-libiconv=gnu'
722 >>
723 >>> 'build_alias=i386-pc-solaris2.11' 'host_alias=i386-pc-solaris2.11' 'CFLAGS=
724 >>
725 >>> -O2 -pipe' 'LDFLAGS=-L/export/home/johnh/gentoo/usr/lib
726 >>
727 >>> -L/export/home/johnh/gentoo/usr/lib -lintl'
728 >>
729 >>> 'CPPFLAGS=-I/export/home/johnh/gentoo/usr/include -DENABLE_NLS'
730 >>
731 >>> 'PKG_CONFIG_PATH=/export/home/johnh/gentoo/usr/lib/pkgconfig'
732 >>
733 >>> --cache-file=/dev/null
734 >>
735 >>> --srcdir=/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1
736 >>
737 >>> /work/pkg-config-0.29.1/glib
738 >>
739 >>> checking for a BSD-compatible install...
740 >>
741 >>> /export/home/johnh/gentoo/tmp/bin/install -c
742 >>
743 >>> checking whether build environment is sane... yes
744 >>
745 >>> checking for a thread-safe mkdir -p...
746 >>
747 >>> /export/home/johnh/gentoo/tmp/bin/mkdir -p
748 >>
749 >>> checking for gawk... gawk
750 >>
751 >>> checking whether gmake sets $(MAKE)... yes
752 >>
753 >>> checking whether gmake supports nested variables... yes
754 >>
755 >>> checking whether UID '100' is supported by ustar format... yes
756 >>
757 >>> checking whether GID '10' is supported by ustar format... yes
758 >>
759 >>> checking how to create a ustar tar archive... gnutar
760 >>
761 >>> checking whether to enable maintainer-specific portions of Makefiles... yes
762 >>
763 >>> checking whether gmake supports nested variables... (cached) yes
764 >>
765 >>> checking for i386-pc-solaris2.11-gcc... i386-pc-solaris2.11-gcc
766 >>
767 >>> checking whether the C compiler works... yes
768 >>
769 >>> checking for C compiler default output file name... a.out
770 >>
771 >>> checking for suffix of executables...
772 >>
773 >>> checking whether we are cross compiling... no
774 >>
775 >>> checking for suffix of object files... o
776 >>
777 >>> checking whether we are using the GNU C compiler... yes
778 >>
779 >>> checking whether i386-pc-solaris2.11-gcc accepts -g... yes
780 >>
781 >>> checking for i386-pc-solaris2.11-gcc option to accept ISO C89... none needed
782 >>
783 >>> checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
784 >>
785 >>> yes
786 >>
787 >>> checking for style of include used by gmake... GNU
788 >>
789 >>> checking dependency style of i386-pc-solaris2.11-gcc... none
790 >>
791 >>> checking how to run the C preprocessor... i386-pc-solaris2.11-gcc -E
792 >>
793 >>> checking for grep that handles long lines and -e...
794 >>
795 >>> /export/home/johnh/gentoo/tmp/bin/grep
796 >>
797 >>> checking for egrep... /export/home/johnh/gentoo/tmp/bin/grep -E
798 >>
799 >>> checking for ANSI C header files... yes
800 >>
801 >>> checking for sys/types.h... yes
802 >>
803 >>> checking for sys/stat.h... yes
804 >>
805 >>> checking for stdlib.h... yes
806 >>
807 >>> checking for string.h... yes
808 >>
809 >>> checking for memory.h... yes
810 >>
811 >>> checking for strings.h... yes
812 >>
813 >>> checking for inttypes.h... yes
814 >>
815 >>> checking for stdint.h... yes
816 >>
817 >>> checking for unistd.h... yes
818 >>
819 >>> checking minix/config.h usability... no
820 >>
821 >>> checking minix/config.h presence... no
822 >>
823 >>> checking for minix/config.h... no
824 >>
825 >>> checking whether it is safe to define __EXTENSIONS__... yes
826 >>
827 >>> checking build system type... i386-pc-solaris2.11
828 >>
829 >>> checking host system type... i386-pc-solaris2.11
830 >>
831 >>> checking for the BeOS... no
832 >>
833 >>> checking for Win32... no
834 >>
835 >>> checking for the Android... no
836 >>
837 >>> checking for Mac OS X Carbon support... no
838 >>
839 >>> checking for Mac OS X Cocoa support... no
840 >>
841 >>> checking whether to enable garbage collector friendliness... no
842 >>
843 >>> checking whether to disable memory pools... no
844 >>
845 >>> checking for i386-pc-solaris2.11-c++... i386-pc-solaris2.11-c++
846 >>
847 >>> checking whether we are using the GNU C++ compiler... yes
848 >>
849 >>> checking whether i386-pc-solaris2.11-c++ accepts -g... yes
850 >>
851 >>> checking dependency style of i386-pc-solaris2.11-c++... none
852 >>
853 >>> checking for special C compiler options needed for large files... no
854 >>
855 >>> checking for _FILE_OFFSET_BITS value needed for large files... 64
856 >>
857 >>> checking for gawk... (cached) gawk
858 >>
859 >>> checking for perl5... no
860 >>
861 >>> checking for perl... perl
862 >>
863 >>> checking for indent... no
864 >>
865 >>> checking for perl... /usr/bin/perl
866 >>
867 >>> checking for a Python interpreter with version >= 2.5... python2.6
868 >>
869 >>> checking for python2.6... /usr/bin/python2.6
870 >>
871 >>> checking for python2.6 version... 2.6
872 >>
873 >>> checking for python2.6 platform... sunos5
874 >>
875 >>> checking for python2.6 script directory...
876 >>
877 >>> ${prefix}/lib/python2.6/site-packages
878 >>
879 >>> checking for python2.6 extension module directory...
880 >>
881 >>> ${exec_prefix}/lib/python2.6/site-packages
882 >>
883 >>> checking for libiconv_open in -liconv... yes
884 >>
885 >>> checking how to print strings... print -r
886 >>
887 >>> checking for a sed that does not truncate output...
888 >>
889 >>> /export/home/johnh/gentoo/bin/sed
890 >>
891 >>> checking for fgrep... /export/home/johnh/gentoo/tmp/bin/grep -F
892 >>
893 >>> checking for ld used by i386-pc-solaris2.11-gcc...
894 >>
895 >>> /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
896 >>
897 >>> checking if the linker
898 >>
899 >>> (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU ld... yes
900 >>
901 >>> checking for BSD- or MS-compatible name lister (nm)...
902 >>
903 >>> /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B
904 >>
905 >>> checking the name lister
906 >>
907 >>> (/export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B) interface... BSD
908 >>
909 >>> nm
910 >>
911 >>> checking whether ln -s works... yes
912 >>
913 >>> checking the maximum length of command line arguments... 786240
914 >>
915 >>> checking how to convert i386-pc-solaris2.11 file names to
916 >>
917 >>> i386-pc-solaris2.11 format... func_convert_file_noop
918 >>
919 >>> checking how to convert i386-pc-solaris2.11 file names to toolchain
920 >>
921 >>> format... func_convert_file_noop
922 >>
923 >>> checking for /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld option
924 >>
925 >>> to reload object files... -r
926 >>
927 >>> checking for i386-pc-solaris2.11-objdump... i386-pc-solaris2.11-objdump
928 >>
929 >>> checking how to recognize dependent libraries... pass_all
930 >>
931 >>> checking for i386-pc-solaris2.11-dlltool... no
932 >>
933 >>> checking for dlltool... no
934 >>
935 >>> checking how to associate runtime and link libraries... print -r --
936 >>
937 >>> checking for i386-pc-solaris2.11-ar... i386-pc-solaris2.11-ar
938 >>
939 >>> checking for archiver @FILE support... @
940 >>
941 >>> checking for i386-pc-solaris2.11-strip... i386-pc-solaris2.11-strip
942 >>
943 >>> checking for i386-pc-solaris2.11-ranlib... i386-pc-solaris2.11-ranlib
944 >>
945 >>> checking command to parse
946 >>
947 >>> /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B output from
948 >>
949 >>> i386-pc-solaris2.11-gcc object... ok
950 >>
951 >>> checking for sysroot... no
952 >>
953 >>> checking for a working dd... /export/home/johnh/gentoo/tmp/bin/dd
954 >>
955 >>> checking how to truncate binary pipes...
956 >>
957 >>> /export/home/johnh/gentoo/tmp/bin/dd bs=4096 count=1
958 >>
959 >>> checking for i386-pc-solaris2.11-mt... no
960 >>
961 >>> checking for mt... mt
962 >>
963 >>> checking if mt is a manifest tool... no
964 >>
965 >>> checking for dlfcn.h... yes
966 >>
967 >>> checking for objdir... .libs
968 >>
969 >>> checking if i386-pc-solaris2.11-gcc supports -fno-rtti -fno-exceptions... no
970 >>
971 >>> checking for i386-pc-solaris2.11-gcc option to produce PIC... -fPIC -DPIC
972 >>
973 >>> checking if i386-pc-solaris2.11-gcc PIC flag -fPIC -DPIC works... yes
974 >>
975 >>> checking if i386-pc-solaris2.11-gcc static flag -static works... no
976 >>
977 >>> checking if i386-pc-solaris2.11-gcc supports -c -o file.o... yes
978 >>
979 >>> checking if i386-pc-solaris2.11-gcc supports -c -o file.o... (cached) yes
980 >>
981 >>> checking whether the i386-pc-solaris2.11-gcc linker
982 >>
983 >>> (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
984 >>
985 >>> libraries... yes
986 >>
987 >>> checking dynamic linker characteristics... solaris2.11 ld.so
988 >>
989 >>> checking how to hardcode library paths into programs... immediate
990 >>
991 >>> checking whether stripping libraries is possible... yes
992 >>
993 >>> checking if libtool supports shared libraries... yes
994 >>
995 >>> checking whether to build shared libraries... no
996 >>
997 >>> checking whether to build static libraries... yes
998 >>
999 >>> checking how to run the C++ preprocessor... i386-pc-solaris2.11-c++ -E
1000 >>
1001 >>> checking for ld used by i386-pc-solaris2.11-c++...
1002 >>
1003 >>> /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
1004 >>
1005 >>> checking if the linker
1006 >>
1007 >>> (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU ld... yes
1008 >>
1009 >>> checking whether the i386-pc-solaris2.11-c++ linker
1010 >>
1011 >>> (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
1012 >>
1013 >>> libraries... yes
1014 >>
1015 >>> checking for i386-pc-solaris2.11-c++ option to produce PIC... -fPIC -DPIC
1016 >>
1017 >>> checking if i386-pc-solaris2.11-c++ PIC flag -fPIC -DPIC works... yes
1018 >>
1019 >>> checking if i386-pc-solaris2.11-c++ static flag -static works... no
1020 >>
1021 >>> checking if i386-pc-solaris2.11-c++ supports -c -o file.o... yes
1022 >>
1023 >>> checking if i386-pc-solaris2.11-c++ supports -c -o file.o... (cached) yes
1024 >>
1025 >>> checking whether the i386-pc-solaris2.11-c++ linker
1026 >>
1027 >>> (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) supports shared
1028 >>
1029 >>> libraries... yes
1030 >>
1031 >>> checking dynamic linker characteristics... solaris2.11 ld.so
1032 >>
1033 >>> checking how to hardcode library paths into programs... immediate
1034 >>
1035 >>> configure: creating ./config.lt
1036 >>
1037 >>> config.lt: creating libtool
1038 >>
1039 >>> checking for extra flags to get ANSI library prototypes... none needed
1040 >>
1041 >>> checking for extra flags for POSIX compliance... none needed
1042 >>
1043 >>> checking for vprintf... yes
1044 >>
1045 >>> checking for _doprnt... yes
1046 >>
1047 >>> checking for size_t... yes
1048 >>
1049 >>> checking for working alloca.h... yes
1050 >>
1051 >>> checking for alloca... yes
1052 >>
1053 >>> checking for mmap... yes
1054 >>
1055 >>> checking for posix_memalign... yes
1056 >>
1057 >>> checking for memalign... yes
1058 >>
1059 >>> checking for valloc... yes
1060 >>
1061 >>> checking for fsync... yes
1062 >>
1063 >>> checking for pipe2... no
1064 >>
1065 >>> checking for issetugid... yes
1066 >>
1067 >>> checking for atexit... yes
1068 >>
1069 >>> checking for on_exit... no
1070 >>
1071 >>> checking for timegm... no
1072 >>
1073 >>> checking for gmtime_r... yes
1074 >>
1075 >>> checking for __libc_enable_secure... no
1076 >>
1077 >>> checking size of char... 1
1078 >>
1079 >>> checking size of short... 2
1080 >>
1081 >>> checking size of long... 4
1082 >>
1083 >>> checking size of int... 4
1084 >>
1085 >>> checking size of void *... 4
1086 >>
1087 >>> checking size of long long... 8
1088 >>
1089 >>> checking size of __int64... 0
1090 >>
1091 >>> checking for sig_atomic_t... yes
1092 >>
1093 >>> checking for format to printf and scanf a guint64... %llu
1094 >>
1095 >>> checking for an ANSI C-conforming const... yes
1096 >>
1097 >>> checking for growing stack pointer... yes
1098 >>
1099 >>> checking for __inline... yes
1100 >>
1101 >>> checking for __inline__... yes
1102 >>
1103 >>> checking for inline... yes
1104 >>
1105 >>> checking if inline functions in headers work... yes
1106 >>
1107 >>> checking for working do while(0) macros... yes
1108 >>
1109 >>> checking for ISO C99 varargs macros in C... yes
1110 >>
1111 >>> checking for ISO C99 varargs macros in C++... yes
1112 >>
1113 >>> checking for GNUC varargs macros... yes
1114 >>
1115 >>> checking for GNUC visibility attribute... yes
1116 >>
1117 >>> checking whether using Sun Studio C compiler... no
1118 >>
1119 >>> checking whether byte ordering is bigendian... no
1120 >>
1121 >>> checking dirent.h usability... yes
1122 >>
1123 >>> checking dirent.h presence... yes
1124 >>
1125 >>> checking for dirent.h... yes
1126 >>
1127 >>> checking float.h usability... yes
1128 >>
1129 >>> checking float.h presence... yes
1130 >>
1131 >>> checking for float.h... yes
1132 >>
1133 >>> checking limits.h usability... yes
1134 >>
1135 >>> checking limits.h presence... yes
1136 >>
1137 >>> checking for limits.h... yes
1138 >>
1139 >>> checking pwd.h usability... yes
1140 >>
1141 >>> checking pwd.h presence... yes
1142 >>
1143 >>> checking for pwd.h... yes
1144 >>
1145 >>> checking grp.h usability... yes
1146 >>
1147 >>> checking grp.h presence... yes
1148 >>
1149 >>> checking for grp.h... yes
1150 >>
1151 >>> checking sys/param.h usability... yes
1152 >>
1153 >>> checking sys/param.h presence... yes
1154 >>
1155 >>> checking for sys/param.h... yes
1156 >>
1157 >>> checking sys/poll.h usability... yes
1158 >>
1159 >>> checking sys/poll.h presence... yes
1160 >>
1161 >>> checking for sys/poll.h... yes
1162 >>
1163 >>> checking sys/resource.h usability... yes
1164 >>
1165 >>> checking sys/resource.h presence... yes
1166 >>
1167 >>> checking for sys/resource.h... yes
1168 >>
1169 >>> checking sys/time.h usability... yes
1170 >>
1171 >>> checking sys/time.h presence... yes
1172 >>
1173 >>> checking for sys/time.h... yes
1174 >>
1175 >>> checking sys/times.h usability... yes
1176 >>
1177 >>> checking sys/times.h presence... yes
1178 >>
1179 >>> checking for sys/times.h... yes
1180 >>
1181 >>> checking sys/wait.h usability... yes
1182 >>
1183 >>> checking sys/wait.h presence... yes
1184 >>
1185 >>> checking for sys/wait.h... yes
1186 >>
1187 >>> checking for unistd.h... (cached) yes
1188 >>
1189 >>> checking values.h usability... yes
1190 >>
1191 >>> checking values.h presence... yes
1192 >>
1193 >>> checking for values.h... yes
1194 >>
1195 >>> checking sys/select.h usability... yes
1196 >>
1197 >>> checking sys/select.h presence... yes
1198 >>
1199 >>> checking for sys/select.h... yes
1200 >>
1201 >>> checking for sys/types.h... (cached) yes
1202 >>
1203 >>> checking for stdint.h... (cached) yes
1204 >>
1205 >>> checking for inttypes.h... (cached) yes
1206 >>
1207 >>> checking sched.h usability... yes
1208 >>
1209 >>> checking sched.h presence... yes
1210 >>
1211 >>> checking for sched.h... yes
1212 >>
1213 >>> checking malloc.h usability... yes
1214 >>
1215 >>> checking malloc.h presence... yes
1216 >>
1217 >>> checking for malloc.h... yes
1218 >>
1219 >>> checking sys/vfs.h usability... yes
1220 >>
1221 >>> checking sys/vfs.h presence... yes
1222 >>
1223 >>> checking for sys/vfs.h... yes
1224 >>
1225 >>> checking sys/vmount.h usability... no
1226 >>
1227 >>> checking sys/vmount.h presence... no
1228 >>
1229 >>> checking for sys/vmount.h... no
1230 >>
1231 >>> checking sys/statfs.h usability... yes
1232 >>
1233 >>> checking sys/statfs.h presence... yes
1234 >>
1235 >>> checking for sys/statfs.h... yes
1236 >>
1237 >>> checking sys/statvfs.h usability... yes
1238 >>
1239 >>> checking sys/statvfs.h presence... yes
1240 >>
1241 >>> checking for sys/statvfs.h... yes
1242 >>
1243 >>> checking sys/filio.h usability... yes
1244 >>
1245 >>> checking sys/filio.h presence... yes
1246 >>
1247 >>> checking for sys/filio.h... yes
1248 >>
1249 >>> checking mntent.h usability... no
1250 >>
1251 >>> checking mntent.h presence... no
1252 >>
1253 >>> checking for mntent.h... no
1254 >>
1255 >>> checking sys/mnttab.h usability... yes
1256 >>
1257 >>> checking sys/mnttab.h presence... yes
1258 >>
1259 >>> checking for sys/mnttab.h... yes
1260 >>
1261 >>> checking sys/vfstab.h usability... yes
1262 >>
1263 >>> checking sys/vfstab.h presence... yes
1264 >>
1265 >>> checking for sys/vfstab.h... yes
1266 >>
1267 >>> checking sys/mntctl.h usability... no
1268 >>
1269 >>> checking sys/mntctl.h presence... no
1270 >>
1271 >>> checking for sys/mntctl.h... no
1272 >>
1273 >>> checking fstab.h usability... no
1274 >>
1275 >>> checking fstab.h presence... no
1276 >>
1277 >>> checking for fstab.h... no
1278 >>
1279 >>> checking sys/uio.h usability... yes
1280 >>
1281 >>> checking sys/uio.h presence... yes
1282 >>
1283 >>> checking for sys/uio.h... yes
1284 >>
1285 >>> checking sys/mkdev.h usability... yes
1286 >>
1287 >>> checking sys/mkdev.h presence... yes
1288 >>
1289 >>> checking for sys/mkdev.h... yes
1290 >>
1291 >>> checking linux/magic.h usability... no
1292 >>
1293 >>> checking linux/magic.h presence... no
1294 >>
1295 >>> checking for linux/magic.h... no
1296 >>
1297 >>> checking sys/prctl.h usability... no
1298 >>
1299 >>> checking sys/prctl.h presence... no
1300 >>
1301 >>> checking for sys/prctl.h... no
1302 >>
1303 >>> checking for sys/mount.h... yes
1304 >>
1305 >>> checking for sys/sysctl.h... no
1306 >>
1307 >>> checking for sysctlbyname... no
1308 >>
1309 >>> checking xlocale.h usability... no
1310 >>
1311 >>> checking xlocale.h presence... no
1312 >>
1313 >>> checking for xlocale.h... no
1314 >>
1315 >>> checking for struct stat.st_mtimensec... no
1316 >>
1317 >>> checking for struct stat.st_mtim.tv_nsec... yes
1318 >>
1319 >>> checking for struct stat.st_atimensec... no
1320 >>
1321 >>> checking for struct stat.st_atim.tv_nsec... yes
1322 >>
1323 >>> checking for struct stat.st_ctimensec... no
1324 >>
1325 >>> checking for struct stat.st_ctim.tv_nsec... yes
1326 >>
1327 >>> checking for struct stat.st_blksize... yes
1328 >>
1329 >>> checking for struct stat.st_blocks... yes
1330 >>
1331 >>> checking for struct statfs.f_fstypename... no
1332 >>
1333 >>> checking for struct statfs.f_bavail... no
1334 >>
1335 >>> checking for struct statvfs.f_basetype... yes
1336 >>
1337 >>> checking for struct statvfs.f_fstypename... no
1338 >>
1339 >>> checking for struct tm.tm_gmtoff... no
1340 >>
1341 >>> checking for struct tm.__tm_gmtoff... no
1342 >>
1343 >>> checking for dirent.h that defines DIR... yes
1344 >>
1345 >>> checking for library containing opendir... none required
1346 >>
1347 >>> checking for struct dirent.d_type... no
1348 >>
1349 >>> checking for nl_langinfo and CODESET... yes
1350 >>
1351 >>> checking stddef.h usability... yes
1352 >>
1353 >>> checking stddef.h presence... yes
1354 >>
1355 >>> checking for stddef.h... yes
1356 >>
1357 >>> checking for stdlib.h... (cached) yes
1358 >>
1359 >>> checking for string.h... (cached) yes
1360 >>
1361 >>> checking for setlocale... yes
1362 >>
1363 >>> checking whether we are using the GNU C Library 2.1 or newer... no
1364 >>
1365 >>> checking size of size_t... 4
1366 >>
1367 >>> checking for the appropriate definition for size_t... unsigned int
1368 >>
1369 >>> checking size of ssize_t... 4
1370 >>
1371 >>> checking for the appropriate definition for ssize_t... int
1372 >>
1373 >>> checking for lstat... yes
1374 >>
1375 >>> checking for strerror... yes
1376 >>
1377 >>> checking for strsignal... yes
1378 >>
1379 >>> checking for memmove... yes
1380 >>
1381 >>> checking for vsnprintf... yes
1382 >>
1383 >>> checking for stpcpy... yes
1384 >>
1385 >>> checking for strcasecmp... yes
1386 >>
1387 >>> checking for strncasecmp... yes
1388 >>
1389 >>> checking for poll... yes
1390 >>
1391 >>> checking for getcwd... yes
1392 >>
1393 >>> checking for vasprintf... yes
1394 >>
1395 >>> checking for setenv... yes
1396 >>
1397 >>> checking for unsetenv... yes
1398 >>
1399 >>> checking for getc_unlocked... yes
1400 >>
1401 >>> checking for readlink... yes
1402 >>
1403 >>> checking for symlink... yes
1404 >>
1405 >>> checking for fdwalk... yes
1406 >>
1407 >>> checking for memmem... yes
1408 >>
1409 >>> checking for chown... yes
1410 >>
1411 >>> checking for lchmod... no
1412 >>
1413 >>> checking for lchown... yes
1414 >>
1415 >>> checking for fchmod... yes
1416 >>
1417 >>> checking for fchown... yes
1418 >>
1419 >>> checking for link... yes
1420 >>
1421 >>> checking for utimes... yes
1422 >>
1423 >>> checking for getgrgid... yes
1424 >>
1425 >>> checking for getpwuid... yes
1426 >>
1427 >>> checking for getresuid... no
1428 >>
1429 >>> checking for getmntent_r... no
1430 >>
1431 >>> checking for setmntent... no
1432 >>
1433 >>> checking for endmntent... no
1434 >>
1435 >>> checking for hasmntopt... yes
1436 >>
1437 >>> checking for getfsstat... no
1438 >>
1439 >>> checking for getvfsstat... no
1440 >>
1441 >>> checking for fallocate... no
1442 >>
1443 >>> checking for splice... no
1444 >>
1445 >>> checking for prlimit... no
1446 >>
1447 >>> checking for statvfs... yes
1448 >>
1449 >>> checking for statfs... yes
1450 >>
1451 >>> checking whether to use statfs or statvfs... statvfs
1452 >>
1453 >>> checking crt_externs.h usability... no
1454 >>
1455 >>> checking crt_externs.h presence... no
1456 >>
1457 >>> checking for crt_externs.h... no
1458 >>
1459 >>> checking for _NSGetEnviron... no
1460 >>
1461 >>> checking for newlocale... no
1462 >>
1463 >>> checking for uselocale... no
1464 >>
1465 >>> checking for strtod_l... no
1466 >>
1467 >>> checking for strtoll_l... no
1468 >>
1469 >>> checking for strtoull_l... no
1470 >>
1471 >>> checking for C99 vsnprintf... yes
1472 >>
1473 >>> checking whether printf supports positional parameters... yes
1474 >>
1475 >>> checking value of AF_INET... 2
1476 >>
1477 >>> checking value of AF_INET6... 26
1478 >>
1479 >>> checking value of AF_UNIX... 1
1480 >>
1481 >>> checking value of MSG_PEEK... 2
1482 >>
1483 >>> checking value of MSG_OOB... 1
1484 >>
1485 >>> checking value of MSG_DONTROUTE... 4
1486 >>
1487 >>> checking for getprotobyname_r... no
1488 >>
1489 >>> checking for endservent... no
1490 >>
1491 >>> checking for if_nametoindex... no
1492 >>
1493 >>> checking for if_indextoname... no
1494 >>
1495 >>> checking if arpa/nameser_compat.h is needed... no
1496 >>
1497 >>> checking for res_query... configure: error: not found
1498 >>
1499 >>> configure: error:
1500 >>
1501 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
1502 >>
1503 >>> -config-0.29.1/glib/configure failed for glib
1504 >>
1505 >>>
1506 >>
1507 >>> !!! Please attach the following file when seeking support:
1508 >>
1509 >>> !!!
1510 >>
1511 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
1512 >>
1513 >>> -config-0.29.1-abi_x86_32.x86/config.log
1514 >>
1515 >>>  * ERROR: dev-util/pkgconfig-0.29.1::gentoo_prefix failed (configure phase):
1516 >>
1517 >>>  *   econf failed
1518 >>
1519 >>>  *
1520 >>
1521 >>>  * Call stack:
1522 >>
1523 >>>  *               ebuild.sh, line  115:  Called src_configure
1524 >>
1525 >>>  *             environment, line 3302:  Called
1526 >>
1527 >>> multilib-minimal_src_configure
1528 >>
1529 >>>  *             environment, line 2466:  Called multilib_foreach_abi
1530 >>
1531 >>> 'multilib-minimal_abi_src_configure'
1532 >>
1533 >>>  *             environment, line 2680:  Called multibuild_foreach_variant
1534 >>
1535 >>> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1536 >>
1537 >>>  *             environment, line 2396:  Called _multibuild_run
1538 >>
1539 >>> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1540 >>
1541 >>>  *             environment, line 2394:  Called _multilib_multibuild_wrapper
1542 >>
1543 >>> 'multilib-minimal_abi_src_configure'
1544 >>
1545 >>>  *             environment, line  441:  Called
1546 >>
1547 >>> multilib-minimal_abi_src_configure
1548 >>
1549 >>>  *             environment, line 2460:  Called multilib_src_configure
1550 >>
1551 >>>  *             environment, line 2913:  Called econf
1552 >>
1553 >>> '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
1554 >>
1555 >>> '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
1556 >>
1557 >>> '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
1558 >>
1559 >>> '--with-internal-glib' '--with-libiconv=gnu'
1560 >>
1561 >>>  *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
1562 >>
1563 >>>  *   isolated-functions.sh, line  117:  Called die
1564 >>
1565 >>>  * The specific snippet of code:
1566 >>
1567 >>>  *              die "$@"
1568 >>
1569 >>>  *
1570 >>
1571 >>>  * If you need support, post the output of `emerge --info
1572 >>
1573 >>> '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`,
1574 >>
1575 >>>  * the complete build log and the output of `emerge -pqv
1576 >>
1577 >>> '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`.
1578 >>
1579 >>>  * The complete build log is located at
1580 >>
1581 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bu
1582 >>
1583 >>> ild.log'.
1584 >>
1585 >>>  * The ebuild environment file is located at
1586 >>
1587 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/en
1588 >>
1589 >>> vironment'.
1590 >>
1591 >>>  * Working directory:
1592 >>
1593 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
1594 >>
1595 >>> g-config-0.29.1-abi_x86_32.x86'
1596 >>
1597 >>>  * S:
1598 >>
1599 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
1600 >>
1601 >>> g-config-0.29.1'
1602 >>
1603 >>>
1604 >>
1605 >>> >>> Failed to emerge dev-util/pkgconfig-0.29.1, Log file:
1606 >>
1607 >>>
1608 >>
1609 >>> >>>
1610 >>
1611 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bu
1612 >>
1613 >>> ild.log'
1614 >>
1615 >>>
1616 >>
1617 >>>  * Messages for package dev-util/pkgconfig-0.29.1:
1618 >>
1619 >>>
1620 >>
1621 >>>  * ERROR: dev-util/pkgconfig-0.29.1::gentoo_prefix failed (configure phase):
1622 >>
1623 >>>  *   econf failed
1624 >>
1625 >>>  *
1626 >>
1627 >>>  * Call stack:
1628 >>
1629 >>>  *               ebuild.sh, line  115:  Called src_configure
1630 >>
1631 >>>  *             environment, line 3302:  Called
1632 >>
1633 >>> multilib-minimal_src_configure
1634 >>
1635 >>>  *             environment, line 2466:  Called multilib_foreach_abi
1636 >>
1637 >>> 'multilib-minimal_abi_src_configure'
1638 >>
1639 >>>  *             environment, line 2680:  Called multibuild_foreach_variant
1640 >>
1641 >>> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1642 >>
1643 >>>  *             environment, line 2396:  Called _multibuild_run
1644 >>
1645 >>> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1646 >>
1647 >>>  *             environment, line 2394:  Called _multilib_multibuild_wrapper
1648 >>
1649 >>> 'multilib-minimal_abi_src_configure'
1650 >>
1651 >>>  *             environment, line  441:  Called
1652 >>
1653 >>> multilib-minimal_abi_src_configure
1654 >>
1655 >>>  *             environment, line 2460:  Called multilib_src_configure
1656 >>
1657 >>>  *             environment, line 2913:  Called econf
1658 >>
1659 >>> '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
1660 >>
1661 >>> '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
1662 >>
1663 >>> '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
1664 >>
1665 >>> '--with-internal-glib' '--with-libiconv=gnu'
1666 >>
1667 >>>  *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
1668 >>
1669 >>>  *   isolated-functions.sh, line  117:  Called die
1670 >>
1671 >>>  * The specific snippet of code:
1672 >>
1673 >>>  *              die "$@"
1674 >>
1675 >>>  *
1676 >>
1677 >>>  * If you need support, post the output of `emerge --info
1678 >>
1679 >>> '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`,
1680 >>
1681 >>>  * the complete build log and the output of `emerge -pqv
1682 >>
1683 >>> '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`.
1684 >>
1685 >>>  * The complete build log is located at
1686 >>
1687 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bu
1688 >>
1689 >>> ild.log'.
1690 >>
1691 >>>  * The ebuild environment file is located at
1692 >>
1693 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/en
1694 >>
1695 >>> vironment'.
1696 >>
1697 >>>  * Working directory:
1698 >>
1699 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
1700 >>
1701 >>> g-config-0.29.1-abi_x86_32.x86'
1702 >>
1703 >>>  * S:
1704 >>
1705 >>> '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pk
1706 >>
1707 >>> g-config-0.29.1'
1708 >>
1709 >>>
1710 >>
1711 >>> Hmmmm, I was already afraid of this to happen.  Running
1712 >>
1713 >>>   /export/home/johnh/gentoo/usr/bin/bash ./bootstrap-prefix.sh
1714 >>
1715 >>> "/export/home/johnh/gentoo" stage3
1716 >>
1717 >>> somewhere failed :(  Details might be found in the build log:
1718 >>
1719 >>>
1720 >>
1721 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/bui
1722 >>
1723 >>> ld.log
1724 >>
1725 >>> I have no clue, really.  Please find friendly folks in #gentoo-prefix on
1726 >>
1727 >>> irc.gentoo.org, gentoo-alt@l.g.o mailing list, or file a bug
1728 >>
1729 >>> at bugs.gentoo.org under Gentoo/Alt, Prefix Support.  This is most
1730 >>
1731 >>> inconvenient, and it crushed my ego.  Sorry, I give up.
1732 >>
1733 >>> Should you want to give it a try, there is
1734 >>
1735 >>> /export/home/johnh/gentoo/stage3.log
1736 >>
1737 >>>
1738 >>
1739 >>>
1740 >>
1741 >>> Digging further, I can see the configure trying to find res_query in
1742 >>
1743 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/work/pkg
1744 >>
1745 >>> -config-0.29.1-abi_x86_32.x86/glib/config.log
1746 >>
1747 >>>
1748 >>
1749 >>> The relevant section is
1750 >>
1751 >>>
1752 >>
1753 >>> configure:23145: checking for res_query
1754 >>
1755 >>> configure:23164: i386-pc-solaris2.11-gcc -o conftest  -O2 -pipe
1756 >>
1757 >>> -I/export/home/johnh/gentoo/usr/include -DENABLE_NLS
1758 >>
1759 >>> -L/export/home/johnh/gentoo/usr/lib -L/export/home/johnh/gentoo/usr/lib
1760 >>
1761 >>> -lintl conftest.c  >&5
1762 >>
1763 >>> /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.1/temp/ccg
1764 >>
1765 >>> naGcB.o: In function `main':
1766 >>
1767 >>> conftest.c:(.text.startup+0x1f): undefined reference to `res_query'
1768 >>
1769 >>> collect2: error: ld returned 1 exit status
1770 >>
1771 >>>
1772 >>
1773 >>> configure:23187: i386-pc-solaris2.11-gcc -o conftest  -O2 -pipe
1774 >>
1775 >>> -I/export/home/johnh/gentoo/usr/include -DENABLE_NLS
1776 >>
1777 >>> -L/export/home/johnh/gentoo/usr/lib -L/export/home/johnh/gentoo/usr/lib
1778 >>
1779 >>> -lintl conftest.c -lresolv  >&5
1780 >>
1781 >>> /lib/libelf.so.1: undefined reference to `inflate@SUNW_1.1'
1782 >>
1783 >>> /lib/libelf.so.1: undefined reference to `deflateEnd@SUNW_1.1'
1784 >>
1785 >>> /lib/libelf.so.1: undefined reference to `inflateInit_@SUNW_1.1'
1786 >>
1787 >>> /lib/libelf.so.1: undefined reference to `deflateInit_@SUNW_1.1'
1788 >>
1789 >>> /lib/libelf.so.1: undefined reference to `deflateReset@SUNW_1.1'
1790 >>
1791 >>> /lib/libelf.so.1: undefined reference to `inflateReset@SUNW_1.1'
1792 >>
1793 >>> /lib/libelf.so.1: undefined reference to `inflateEnd@SUNW_1.1'
1794 >>
1795 >>> /lib/libelf.so.1: undefined reference to `deflate@SUNW_1.1'
1796 >>
1797 >>> collect2: error: ld returned 1 exit status
1798 >>
1799 >>>
1800 >>
1801 >>> So Im not a programmer, and I know little about debugging build issues, but
1802 >>
1803 >>> I think those undefined references refer to zlib. Zlib is installed at
1804 >>
1805 >>>
1806 >>
1807 >>> johnh@sprawl:~$ find . -name "libz.so*"
1808 >>
1809 >>> ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so
1810 >>
1811 >>> ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so.1
1812 >>
1813 >>> ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so.1.2.8
1814 >>
1815 >>> ./gentoo/tmp/usr/lib/libz.so.1
1816 >>
1817 >>> ./gentoo/tmp/usr/lib/libz.so
1818 >>
1819 >>> ./gentoo/tmp/usr/lib/libz.so.1.2.8
1820 >>
1821 >>> ./gentoo/usr/lib/libz.so
1822 >>
1823 >>> ./gentoo/usr/lib/libz.so.1
1824 >>
1825 >>> ./gentoo/usr/lib/libz.so.1.2.11
1826 >>
1827 >>>
1828 >>
1829 >>> And also the system zlib is in /lib/libz.so.1. I was considering the
1830 >>
1831 >>> hardcoded symbol versions it was reporting in /lib/libelf.so.1. GNU LD is
1832 >>
1833 >>> never going to generate versioned symbols, so they will never link. If I
1834 >>
1835 >>> fool around and tell ld to use /lib/libz.so.1 it does actually link.
1836 >>
1837 >>>
1838 >>
1839 >>> I'm properly stuck. I've been trying to get passed this point for a week
1840 >>
1841 >>> now. I hope that someone out there has seen this failure before and can help
1842 >>
1843 >>>
1844 >>
1845 >>> Regards
1846 >>
1847 >>>
1848 >>
1849 >>> John Helliwell
1850 >>
1851 >>>
1852 >>
1853 >>>
1854 >>
1855 >>>
1856 >>
1857 >> --
1858 >>
1859 >> Fabian Groffen
1860 >>
1861 >> Gentoo on a different level
1862
1863
1864 -- 
1865 Regards,
1866 Konstantin