I'm having problems getting sys-apps/sandbox-1.2.17 to install. I did: (02 ch 3) livecd / # FEATURES=-sandbox emerge -vat sandbox These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild U ] sys-apps/sandbox-1.2.17 [1.2.11] 0 kB And this failed like this: checking for strspn... yes checking for strstr... yes checking for dlopen in -ldl... no checking for dlopen in -lc... no configure: error: Unable to determine library providing dlopen !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /Gentoo/Portage/build/portage/sandbox-1.2.17/work/build-default-i686-pc-linux-gnu/config.log !!! ERROR: sys-apps/sandbox-1.2.17 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile sandbox-1.2.17.ebuild, line 84: Called econf 'compile' !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. (02 ch 3) livecd / # emerge info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.11 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-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/Gentoo/Portage/distfiles" FEATURES="autoconfig buildpkg ccache collision-protect distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/Gentoo/Portage/packages" PORTAGE_TMPDIR="/Gentoo/Portage/build" PORTDIR="/Gentoo/Portage/tree" PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" SYNC="rsync://localhost:10873/gentoo-portage" USE="x86 7zip acl apache2 async avi bash-completion berkdb bzip2 cap caps ccache checkpath cracklib crypt discard-path ecc extensions firefox gdbm gif glep glibc-omitfp gpm hpn iconv input_devices_evdev input_devices_keyboard input_devices_mouse jikes jpeg kdeenablefinal libg++ libwww linuxthreads-tls logrotate lynxkeymap mmx motif moznoirc mozsvg mpm-threadpool multislot ncurses nis nls no-old-linux noaudio nocd nodrm nolvm1 nopop3d nptl nptlonly offensive pam pcre pdflib perl png posix python readline recode reiserfs sendfile server sftplogging sharedmem sse ssl sysvipc szip tcpd threads underscores unicode usb utf8 video_cards_ati vim-pager xfs xinetd yp zlib elibc_glibc kernel_linux linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL Complete session: (02 ch 2) livecd / # FEATURES=-sandbox emerge -v sandbox Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/sandbox-1.2.17 to / >>> checksums files ;-) sandbox-1.2.17.ebuild >>> checksums files ;-) sandbox-1.2.12.ebuild >>> checksums files ;-) sandbox-1.2.16.ebuild >>> checksums files ;-) files/digest-sandbox-1.2.12 >>> checksums files ;-) files/digest-sandbox-1.2.16 >>> checksums files ;-) files/digest-sandbox-1.2.17 >>> checksums src_uri ;-) sandbox-1.2.17.tar.bz2 >>> Unpacking source... >>> Unpacking sandbox-1.2.17.tar.bz2 to /Gentoo/Portage/build/portage/sandbox-1.2.17/work >>> Source unpacked. >>> Compiling source in /Gentoo/Portage/build/portage/sandbox-1.2.17/work/sandbox-1.2.17 ... * If configure fails with a 'cannot run C compiled programs' error, try this: * FEATURES=-sandbox emerge sandbox * Configuring sandbox for ABI=default... * econf: updating sandbox-1.2.17/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sandbox-1.2.17/config.sub with /usr/share/gnuconfig/config.sub ../sandbox-1.2.17//configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --build=i686-pc-linux-gnu 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 i686-pc-linux-gnu-gcc... i686-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... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-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 for readelf... readelf checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /0b/usr/i686-pc-linux-gnu/bin/ld checking if the linker (/0b/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /0b/usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-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... i686-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/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for correct ltmain.sh version... yes checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/0b/usr/i686-pc-linux-gnu/bin/ld) 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... yes 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... yes checking for working vfork... (cached) yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking return type of signal handlers... void checking whether stat accepts an empty string... no 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 for dlopen in -ldl... no checking for dlopen in -lc... no configure: error: Unable to determine library providing dlopen !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /Gentoo/Portage/build/portage/sandbox-1.2.17/work/build-default-i686-pc-linux-gnu/config.log !!! ERROR: sys-apps/sandbox-1.2.17 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile sandbox-1.2.17.ebuild, line 84: Called econf 'compile' !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 80414 [details] /Gentoo/Portage/build/portage/sandbox-1.2.17/work/build-default-i686-pc-linux-gnu/config.log !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /Gentoo/Portage/build/portage/sandbox-1.2.17/work/build-default-i686-pc-linux-gnu/config.log
Upgrade your toolchain before reporting bugs...
Closing. The problem was, that my /usr was a symlink to /0b/usr, as that's the partitioning rule here at work. After replacing /usr symlink by a normal directory, everything's working fine.
(In reply to comment #2) > Upgrade your toolchain before reporting bugs... > Easier said, than done - I'm installing a new system and thus, I AM in the process of upgrading everything :)