I updated gcc to 4.1.1 on Gentoo Linux Alpha 2.6.19 kernel. During "emerge -uav system" sandbox-1.2.17 fails to compile. It fails with either gcc-3.4.6 or gcc-4.1.1. Reproducible: Always Steps to Reproduce: 1. emerge sandbox 2. 3. Actual Results: /bin/sh ../libtool --tag=CC --mode=link alpha-unknown-linux-gnu-gcc -mieee -pipe -O3 -mcpu=ev6 -o sandbox sandbox-sandbox.o sandbox-sandbox_utils.o alpha-unknown-linux-gnu-gcc -mieee -pipe -O3 -mcpu=ev6 -o sandbox sandbox-sandbox.o sandbox-sandbox_utils.o alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../sandbox-1.2.17/src -I.. -DPIC -fPIC -D_REENTRANT -DLIBSANDBOX_PATH=\"/usr/lib\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -I../../sandbox-1.2.17 -Wall -fexceptions -DHAVE_RTLD_NEXT -mieee -pipe -O3 -mcpu=ev6 -MT libsandbox_la-libsandbox.lo -MD -MP -MF .deps/libsandbox_la-libsandbox.Tpo -c ../../sandbox-1.2.17/src/libsandbox.c -fPIC -DPIC -o .libs/libsandbox_la-libsandbox.o ../../sandbox-1.2.17/src/libsandbox.c: In function 'egetcwd': ../../sandbox-1.2.17/src/libsandbox.c:913: error: 'true_getcwd_DEFAULT' undeclared (first use in this function) ../../sandbox-1.2.17/src/libsandbox.c:913: error: (Each undeclared identifier is reported only once ../../sandbox-1.2.17/src/libsandbox.c:913: error: for each function it appears in.) ../../sandbox-1.2.17/src/libsandbox.c:913: error: 'symname_getcwd_DEFAULT' undeclared (first use in this function) ../../sandbox-1.2.17/src/libsandbox.c:913: error: 'symver_getcwd_DEFAULT' undeclared (first use in this function) ../../sandbox-1.2.17/src/libsandbox.c:915: warning: implicit declaration of function 'true_getcwd_DEFAULT' ../../sandbox-1.2.17/src/libsandbox.c:915: warning: assignment makes pointer from integer without a cast ../../sandbox-1.2.17/src/libsandbox.c: In function 'check_syscall': ../../sandbox-1.2.17/src/libsandbox.c:1310: error: 'true_open_DEFAULT' undeclared (first use in this function) ../../sandbox-1.2.17/src/libsandbox.c:1310: error: 'symname_open_DEFAULT' undeclared (first use in this function) ../../sandbox-1.2.17/src/libsandbox.c:1310: error: 'symver_open_DEFAULT' undeclared (first use in this function) ../../sandbox-1.2.17/src/libsandbox.c:1311: warning: implicit declaration of function 'true_open_DEFAULT' make[2]: *** [libsandbox_la-libsandbox.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-apps/sandbox-1.2.17/work/build-default-alpha-unknown-linux-gnu/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/sandbox-1.2.17/work/build-default-alpha-unknown-linux-gnu' make: *** [all] Error 2 !!! ERROR: sys-apps/sandbox-1.2.17 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3249: Called src_compile sandbox-1.2.17.ebuild, line 89: Called die !!! emake failed for default !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-apps/sandbox-1.2.17/temp/build.log'. Expected Results: It should have compiled successfully.
alphalnx10 portage # emerge --info Portage 2.1.2-r9 (default-linux/alpha/2006.1, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16.19 alpha) ================================================================= System uname: 2.6.16.19 alpha EV6 Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 19 Feb 2007 21:28:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="alpha" AUTOCLEAN="yes" CBUILD="alpha-unknown-linux-gnu" CFLAGS="-mieee -pipe -O3 -mcpu=ev6" CHOST="alpha-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-mieee -pipe -O3 -mcpu=ev6" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alpha berkdb bitmap-fonts cli cracklib crypt cups dlloader dri fortran gdbm gtk2 iconv isdnlog ldap libg++ midi ncurses nls nptl nptlonly pam pcre pdf perl ppds pppd python readline reflection session spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga glint" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
same problem here, solved it using sys-apps/sandbox-1.2.18.1
FIXED: as suggested sandbox-1.2.18.1 fixes the problem.