sandbox-1.9 fails while recompiling with the newest ~ppc64 linux-headers Reproducible: Always Steps to Reproduce: 1. switch to ~ppc64 2. upgrade everything but glibc (see bug 271367) 3. emerge -e system Actual Results: emerging sandbox: [...] config.status: executing libtool commands config.status: executing tests/atconfig commands config.status: executing config-perms commands * Building sandbox for ABI=ppc64... make -j2 make all-recursive Making all in scripts make[2]: Nothing to be done for `all'. Making all in etc make[2]: Nothing to be done for `all'. Making all in data make[2]: Nothing to be done for `all'. Making all in libsbutil CC get_sandbox_conf.lo CC get_sandbox_lib.lo In file included from ../../sandbox-1.9/headers.h:97, from ../../sandbox-1.9/libsbutil/get_sandbox_lib.c:13: /usr/include/sys/ptrace.h:75: error: expected identifier before numeric constant In file included from ../../sandbox-1.9/headers.h:97, from ../../sandbox-1.9/libsbutil/get_sandbox_conf.c:10: /usr/include/sys/ptrace.h:75: error: expected identifier before numeric constant make[2]: *** [get_sandbox_conf.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [get_sandbox_lib.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Expected Results: No error ;-) # emerge --info Portage 2.1.6.13 (default/linux/powerpc/ppc64/2008.0/64bit-userland, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.23-ps3 ppc64) ================================================================= System uname: Linux-2.6.23-ps3-ppc64-Cell_Broadband_Engine,_altivec_supported-with-gentoo-2.0.1 Timestamp of tree: Wed, 27 May 2009 13:30:01 +0000 app-shells/bash: 4.0_p24 dev-lang/python: 2.5.4-r3, 2.6.2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.6.3, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="ppc64 ~ppc64" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=cell -mabi=altivec" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -mcpu=cell -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl altivec berkdb bzip2 cblas cli cracklib crypt cups dri fortran gdbm gpm gsl ibm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc64 pppd ps3 python readline reflection session spl ssl subversion sysfs tcpd unicode wifi xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Added "on ppc64" in the title.
Finally the problem doesn't seem to be linux-headers. Sorry :$ I'm closing the bug as invalid, it seems to be a problem I created messing with my glibc problem (see bug 271367).