Calculating dependencies ...done! >>> emerge (1 of 2) sys-apps/sandbox-1.2.3 to / >>> Downloading ftp://ftp.dkuug.dk/pub/gentoo/distfiles/sandbox-1.2.3.tar.bz2 --22:51:52-- ftp://ftp.dkuug.dk/pub/gentoo/distfiles/sandbox-1.2.3.tar.bz2 => `/usr/portage/distfiles/sandbox-1.2.3.tar.bz2' Resolving ftp.dkuug.dk... 195.215.30.75 Connecting to ftp.dkuug.dk[195.215.30.75]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR sandbox-1.2.3.tar.bz2 ... done. Length: 221,372 (unauthoritative) 100%[==================================================================================================================>] 221,372 167.79K/s 22:51:54 (167.10 KB/s) - `/usr/portage/distfiles/sandbox-1.2.3.tar.bz2' saved [221372] >>> md5 files ;-) sandbox-1.2.3.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) sandbox-1.2.2.ebuild >>> md5 files ;-) files/digest-sandbox-1.2.2 >>> md5 files ;-) files/digest-sandbox-1.2.3 >>> md5 src_uri ;-) sandbox-1.2.3.tar.bz2 >>> Unpacking source... >>> Unpacking sandbox-1.2.3.tar.bz2 to /var/tmp/portage/sandbox-1.2.3/work >>> Unpacking sandbox-1.2.3.tar.bz2 to /var/tmp/portage/sandbox-1.2.3/work >>> Source unpacked. * econf: updating sandbox-1.2.3-amd64/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sandbox-1.2.3-amd64/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sandbox-1.2.3-x86/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sandbox-1.2.3-x86/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for library containing strerror... none required checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) gawk checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... (cached) x86_64-pc-linux-gnu-strip checking for correct ltmain.sh version... yes checking if x86_64-pc-linux-gnu-gcc static flag works... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for size_t... yes checking for ptrdiff_t... yes checking for unistd.h... (cached) yes checking for working chown... no checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether lstat accepts an empty string... yes checking whether lstat dereferences a symlink specified with a trailing slash... (cached) no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... no checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... no checking return type of signal handlers... void checking whether stat accepts an empty string... yes checking for bzero... yes checking for ftruncate... yes checking for getcwd... yes checking for lchown... yes checking for memmove... yes checking for mempcpy... yes checking for memset... yes checking for mkdir... yes checking for pathconf... yes checking for realpath... yes checking for rmdir... yes checking for setenv... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking truncate argument type... off_t checking libc path... /lib32/libc.so.6 checking libc version... libc.so.6 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/sandbox-1.2.3/work/sandbox-1.2.3-x86' Generating symbols.h if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DLIBSANDBOX_PATH=\"/usr/lib32\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -DOUTSIDE_LIBSANDBOX -march=k8 -O2 -pipe -DSB_HAVE_64BIT_ARCH -MT sandbox-sandbox.o -MD -MP -MF ".deps/sandbox-sandbox.Tpo" -c -o sandbox-sandbox.o `test -f 'sandbox.c' || echo './'`sandbox.c; \ then mv -f ".deps/sandbox-sandbox.Tpo" ".deps/sandbox-sandbox.Po"; else rm -f ".deps/sandbox-sandbox.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DLIBSANDBOX_PATH=\"/usr/lib32\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -DOUTSIDE_LIBSANDBOX -march=k8 -O2 -pipe -DSB_HAVE_64BIT_ARCH -MT sandbox-sandbox_futils.o -MD -MP -MF ".deps/sandbox-sandbox_futils.Tpo" -c -o sandbox-sandbox_futils.o `test -f 'sandbox_futils.c' || echo './'`sandbox_futils.c; \ then mv -f ".deps/sandbox-sandbox_futils.Tpo" ".deps/sandbox-sandbox_futils.Po"; else rm -f ".deps/sandbox-sandbox_futils.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DLIBSANDBOX_PATH=\"/usr/lib32\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -DOUTSIDE_LIBSANDBOX -march=k8 -O2 -pipe -DSB_HAVE_64BIT_ARCH -MT sandbox-getcwd.o -MD -MP -MF ".deps/sandbox-getcwd.Tpo" -c -o sandbox-getcwd.o `test -f 'getcwd.c' || echo './'`getcwd.c; \ then mv -f ".deps/sandbox-getcwd.Tpo" ".deps/sandbox-getcwd.Po"; else rm -f ".deps/sandbox-getcwd.Tpo"; exit 1; fi if /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DLIBSANDBOX_PATH=\"/usr/lib32\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -fexceptions -march=k8 -O2 -pipe -DSB_HAVE_64BIT_ARCH -MT libsandbox_la-libsandbox.lo -MD -MP -MF ".deps/libsandbox_la-libsandbox.Tpo" -c -o libsandbox_la-libsandbox.lo `test -f 'libsandbox.c' || echo './'`libsandbox.c; \ then mv -f ".deps/libsandbox_la-libsandbox.Tpo" ".deps/libsandbox_la-libsandbox.Plo"; else rm -f ".deps/libsandbox_la-libsandbox.Tpo"; exit 1; fi /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -DSB_HAVE_64BIT_ARCH -Wl,-O1 -o sandbox sandbox-sandbox.o sandbox-sandbox_futils.o sandbox-getcwd.o mkdir .libs x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -DSB_HAVE_64BIT_ARCH -Wl,-O1 -o sandbox sandbox-sandbox.o sandbox-sandbox_futils.o sandbox-getcwd.o sandbox-sandbox_futils.o(.text+0xa9): In function `get_sandbox_pids_file': : undefined reference to `rpl_malloc' sandbox-sandbox_futils.o(.text+0x1f8): In function `sb_dirname': : undefined reference to `rpl_malloc' sandbox-sandbox_futils.o(.text+0x22d): In function `sb_dirname': : undefined reference to `rpl_malloc' sandbox-getcwd.o(.text+0x70): In function `__egetcwd': : undefined reference to `rpl_malloc' sandbox-getcwd.o(.text+0x39e): In function `__egetcwd': : undefined reference to `rpl_realloc' sandbox-getcwd.o(.text+0x453): In function `__egetcwd': : undefined reference to `rpl_realloc' sandbox-getcwd.o(.text+0x51a): In function `__egetcwd': : undefined reference to `rpl_malloc' collect2: ld returned 1 exit status make[1]: *** [sandbox] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DLIBSANDBOX_PATH=\"/usr/lib32\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -fexceptions -march=k8 -O2 -pipe -DSB_HAVE_64BIT_ARCH -MT libsandbox_la-libsandbox.lo -MD -MP -MF .deps/libsandbox_la-libsandbox.Tpo -c libsandbox.c -fPIC -DPIC -o .libs/libsandbox_la-libsandbox.o libsandbox.c: In function `init_env_entries': libsandbox.c:957: warning: assignment makes pointer from integer without a cast libsandbox.c:977: warning: assignment makes pointer from integer without a cast libsandbox.c:997: warning: assignment makes pointer from integer without a cast libsandbox.c:1007: warning: assignment makes pointer from integer without a cast libsandbox.c: In function `filter_path': libsandbox.c:1036: warning: assignment makes pointer from integer without a cast In file included from libsandbox.c:1501: getcwd.c: In function `__egetcwd': getcwd.c:303: warning: assignment makes pointer from integer without a cast getcwd.c:333: warning: assignment makes pointer from integer without a cast getcwd.c:343: warning: assignment makes pointer from integer without a cast getcwd.c:428: warning: assignment makes pointer from integer without a cast In file included from libsandbox.c:1502: canonicalize.c: In function `erealpath': canonicalize.c:90: warning: assignment makes pointer from integer without a cast make[1]: Leaving directory `/var/tmp/portage/sandbox-1.2.3/work/sandbox-1.2.3-x86' make: *** [all] Error 2 !!! ERROR: sys-apps/sandbox-1.2.3 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! emake failed for x86 !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11.7 x86_64) ================================================================= System uname: 2.6.11.7 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 4 2005, 22:16:04)] ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoclean autoconfig ccache distlocks noinfo notitles sandbox strict" GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk http://ftp.du.se/pub/os/gentoo" LANG="en_US" LDFLAGS="-Wl,-O1 " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 alsa dga eds ncurses opengl rtc sdl truetype xv video_cards_nvidia userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LINGUAS
*** Bug 91391 has been marked as a duplicate of this bug. ***
Something about your malloc seems busted: ---- checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... no checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... no ----- Maybe try to remerge glibc? PS: did you upgrade to 2005.0 profile?
I compiled glibc using nomallock checks, thats why sandbox fails - but I don't have any intentions to re-compile glibc to comply with sandbox - which is the one needing a fix. and yes, i use 2005.0
sandbox 1.2.3 and 1.2.4 emerged fine here, and I have malloccheck in my glibc. I noticed that you have ccache, and I don't. Maybe it's a ccache issue? Portage 2.0.51.21 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r2 x86_64) ================================================================= System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/storage/portage/distfiles" FEATURES="autoconfig distlocks sandbox strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/portage/overlays/ebuilds" SYNC="rsync://rsync.fprintf.net/gentoo-portage" USE="amd64 X aac acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cscope cups curl dga dvd dvdr eds encode esd ethereal fam flac font-server foomaticdb gd gdbm gif gnome gnutls gpm gstreamer gtk gtk2 guile hal imagemagick imap imlib ipv6 jabber jp2 jpeg ldap libclamav libg++ libwww lzo lzw lzw-tiff mad maildir matroska mikmod mime mmap mng mozilla mp3 mpeg mpi mysql ncurses nls nptl odbc offensive ogg oggvorbis opengl oscar oss pam pdflib perl php png python quicktime readline real rtc samba sasl sdl sharedmem soap speex spell ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xface xine xinerama xml2 xpm xrandr xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Yeah, same thing here: ---- # emerge --info | gawk '/nomalloccheck/ { print "yes" }' yes ---- That test do not worry about safety checking glibc side or not, so it must be something else. Seeing its failing on amd64 with the ABI=x86, Im assuming its going to be another borked multilib issue (ie, 32bit side of things not working correctly).
same bug on sandbox-1.2.5 : I don't have multilib installed - or any 32bit binary support via kernel or other.
You have 2005.0, and it's not the no-multilib profile, so you do have multilib. Are you saying that you don't have CONFIG_IA32_EMULATION set? (IA32 Emulations, under Executable File Formats / Emulations) This would likely completely hose a multilib install, so you should probably switch to the no-multilib profile. (or enable IA32 emulation...)
I don't have _any_ multilibs installed - and that was never the idea. Another irritating portage moments - why is it using multilib or /&!"%#/&!"%# if I never requested it to do so ? I assume this is the default behaviour, since I _NEVER_ asked it to USE anything called multilibs - I don't have any multilib installed.
in 2005.0, the multilib use flag is disabled, which means that you don't have the choice. however, you can use the 2005.0/no-multilib profile, if you don't want multilib. i'm pretty sure you have at least glibc also 32bit, `file -L /lib32/libc.so.6` should confirm that. If that's not the case, your system is broken and you probably didn't follow the upgrade guide enough carefully
what upgrade ? this was a clean install from a 2005.0 liveCD ~ file -L /lib64/libc.so.6 /lib64/libc.so.6: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
okay, then i'm pretty much very absolutely sure you have 32bit libs on your machine. please note that the command was `file -L /lib32/libc.so.6`, not `file -L /lib64/libc.so.6`
I know what the command was, but thats the only location where the file exits. :) Anyway, I've moved to profile 2005.0-no multilib and the sandbox installed fine. ill close the bug - reopen if anyone wants to fix in another (sane) way.