Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55218 - failure to emerge glibc- on amd64 - sandbox problem
Summary: failure to emerge glibc- on amd64 - sandbox problem
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: AMD64 Project
Depends on:
Reported: 2004-06-26 02:30 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-10-09 21:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-26 02:30:34 UTC
gcc tst-key1.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-stri                                                                                                                   ngs -fno-unit-at-a-time -freorder-blocks -pipe      -I../include -I. -I/mnt/raid                                                                                                                   0/tmp/portage/glibc- -I.. -I../libio  -I/mnt/raid0                                                                                                                   /tmp/portage/glibc- -I../sysdeps/x86_64/elf -I../nptl/s                                                                                                                   ysdeps/unix/sysv/linux/x86_64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdep                                                                                                                   s/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/uni                                                                                                                   x -I../nptl/sysdeps/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix                                                                                                                   /sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysde                                                                                                                   ps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/s                                                                                                                   ysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x                                                                                                                   86_64/fpu -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl                                                                                                                   -96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754                                                                                                                    -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/x                                                                                                                   86_64-pc-linux-gnu/3.4.0/include -isystem /usr/include -D_LIBC_REENTRANT -D_LIBC                                                                                                                   _REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1    -o /mnt/raid0                                                                                                                   /tmp/portage/glibc- -MD -MP -MF /mnt/ra                                                                                                                   id0/tmp/portage/glibc-
gcc -nostdlib -nostartfiles -o /mnt/raid0/tmp/portage/glibc-                                                                                                                   build/nptl/tst-key1  -Wl,-dynamic-linker=/lib/   -Wl,-z,comb                                                                                                                   reloc -Wl,-z,relro /mnt/raid0/tmp/portage/glibc-                                                                                                                   t1.o /mnt/raid0/tmp/portage/glibc- `gcc --pr                                                                                                                   int-file-name=crtbegin.o` /mnt/raid0/tmp/portage/glibc-                                                                                                                   /nptl/tst-key1.o /mnt/raid0/tmp/portage/glibc-                                                                                                          /mnt/raid0/tmp/portage/glibc-                                                                                                                   d_nonshared.a  -Wl,-rpath-link=/mnt/raid0/tmp/portage/glibc-                                                                                                                   build:/mnt/raid0/tmp/portage/glibc-                                                                                                                   /portage/glibc-                                                                                                                   20040605/work/build/dlfcn:/mnt/raid0/tmp/portage/glibc-                                                                                                                   /nss:/mnt/raid0/tmp/portage/glibc-                                                                                                                   ortage/glibc-                                                                                                                   40605/work/build/resolv:/mnt/raid0/tmp/portage/glibc-                                                                                                                   rypt:/mnt/raid0/tmp/portage/glibc- /mnt/raid0/tmp/                                                                                                                   portage/glibc- /mnt/raid0/tmp/portage/glibc-2                                                                                                                   .3.4.20040605/work/build/libc_nonshared.a -lgcc -lgcc_eh `gcc --print-file-name=                                                                                                                   crtend.o` /mnt/raid0/tmp/portage/glibc-
GCONV_PATH=/mnt/raid0/tmp/portage/glibc- LC_A                                                                                                                   LL=C   /mnt/raid0/tmp/portage/glibc-                                                                                                          --library-path /mnt/raid0/tmp/portage/glibc-                                                                                                                   t/raid0/tmp/portage/glibc-                                                                                                                   glibc-                                                                                                                   work/build/dlfcn:/mnt/raid0/tmp/portage/glibc-                                                                                                                   /raid0/tmp/portage/glibc-                                                                                                                   ibc-                                                                                                                   k/build/resolv:/mnt/raid0/tmp/portage/glibc-                                                                                                                   /raid0/tmp/portage/glibc- /mnt/raid0/tmp/portage/g                                                                                                                   libc-  > /mnt/raid0/tmp/portage/glibc-2.3                                                                                                                   .4.20040605/work/build/nptl/tst-key1.out
key_create failed
make[2]: *** [/mnt/raid0/tmp/portage/glibc-                                                                                                                   y1.out] Error 1
make[2]: Leaving directory `/mnt/raid0/tmp/portage/glibc-                                                                                                                   bc-'
make[1]: *** [nptl/tests] Error 2
make[1]: Leaving directory `/mnt/raid0/tmp/portage/glibc-                                                                                                                   bc-'
make: *** [check] Error 2

!!! ERROR: sys-libs/glibc- failed.
!!! Function do_makecheck, Line 148, Exitcode 2
!!! (no error message)

Now, this appears to be sandbox related...

(02:26:36 Sat Jun 26 2004 root@cid x86_64)
~ $ GCONV_PATH=/mnt/raid0/tmp/portage/glibc- LC_ALL=C   /mnt/raid0/tmp/portage/glibc- --library-path /mnt/rai0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc-                                                                            
created key 0
created key 1
created key 2
created key 3
created key 4
created key 5
created key 6
created key 7
created key 8
created key 9
created key 1018
created key 1019
created key 1020
created key 1021
created key 1022
created key 1023

(02:26:46 Sat Jun 26 2004 root@cid x86_64)
~ $ /usr/lib/portage/bin/sandbox                                                                                                                                                                  ========================== Gentoo linux path sandbox ===========================                                                                                                                  Detection of the support files.                                                                                                                                                                   Verification of the required files.                                                                                                                                                               Setting up the required environment variables.
The protected environment has been started.
Shell being started in forked process.

(02:26:48 Sat Jun 26 2004 root@cid x86_64)
~ $ GCONV_PATH=/mnt/raid0/tmp/portage/glibc- LC_ALL=C   /mnt/raid0/tmp/portage/glibc- --library-path /mnt/rai0/tmp/portage/glibc- /mnt/raid0/tmp/portage/glibc-
created key 0
created key 1
created key 2
created key 3
created key 4
created key 5
created key 6
created key 7
created key 1018
created key 1019
created key 1020
created key 1021
created key 1022
key_create failed

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040529-r0, 2.6.7-gentoo-r3)
System uname: 2.6.7-gentoo-r3 x86_64 4
Gentoo Base System version 1.4.16
distcc 2.13 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
USE="3ds S3TC X X509 Xaw3d aac aalib accessibility acl acpi activefilter afs aim alsa altivec amd amd64 apache2 apm ardour-ksi arts artswrappersuid atlas audiofile autofs avantgo avi berkdb bidi bindist caps cdr chroot clamav clanJavaScript clanVoice clearpasswd client clisp cmucl crypt cscope cups curl dbcp dedicated dga directfb divx4linux dnd doc dv dvd dvdr eim emacs emacs-w3 encode esd ethereal evms2 evo expat ext-png ext-zlib f77 faac faad fam fax fbcon fbdev ffmpeg flac flash fltk fluidsynth foomaticdb freetype fs fullrpc gb gcj gcl gd gd-external gdbm ggi gif gimp gimpprint glade glut gmp gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gnuplot gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci icq idl image imagemagick imap imlib imlib2 innodb ipalias ipv6 jabber jack jack-caps java javacomm javamail javascript jbig jikes joystick jp2 jpeg js junit justify kde ladcca lcd lcms libdsk libg libg++ libgda libwww lids lmtp log4j ltsp lua lucid lzw lzw-tiff mad maildir make-busybox-symlinks makecheck mcal md5sum menu mikmod milter mixer mng mono motif mozcalendar mozctl mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mplayer msn mule multilib music mysql nas native ncurses neXt nls nptl nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl oscar oss pam parse-clocks passfile pcap pcmcia pcre pda pdflib perl php pic pie plotutils png pnp portaudio ppds prelude propolice psyco python qhull qt quicktime readline regexp rplay ruby samba sasl sdl server silc skey slang slp sndfile socks5 sox speex spell sqlite src ssl svg tcltk tcpd tetex theora tiff timidity transcode transparent-proxy truetype trusted type1 ucs2 usb v4l v4l2 vda vhosts videos vim-with-x virus-scan wmf wsconvert wxwin wxwindows xchattext xemacs xface xforms xfs xine xinerama xml xml2 xmms xosd xprint xv xvid yahoo zeo zlib"
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-06-26 04:45:38 UTC
Can't confirm this bug. glibc- merged fine.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-26 12:25:37 UTC
Again: Did you have USE=makecheck?  It fails during the 'make check' stage.  

My relevant USE flags are as:
-build -debug -debug -erandom -hardened +makecheck +multilib +nls +nptl +pic
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-06-26 13:52:01 UTC
You'll have to trace it and see what it does.
strace -f
and actually look what it's doing in whatever script it's running.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2004-10-09 21:50:44 UTC