Gentoo Archives: gentoo-alt

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

Attachments

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

Replies

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