Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394765 - sys-libs/glibc: local `rpcgen` triggers sandbox ACCESS DENIED CREAT: /proc/self
Summary: sys-libs/glibc: local `rpcgen` triggers sandbox ACCESS DENIED CREAT: /proc/self
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 01:35 UTC by Jason Mours
Modified: 2012-08-11 20:16 UTC (History)
1 user (show)

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


Attachments
emerge --info (glibc-2.13-r4.info,15.81 KB, text/plain)
2011-12-15 01:39 UTC, Jason Mours
Details
emerge -pqv (glibc-2.13-r4.pqv,356 bytes, text/plain)
2011-12-15 01:39 UTC, Jason Mours
Details
build.log (glibc-2.13-r4.build.log.tar.bz2,136.46 KB, text/plain)
2011-12-15 01:42 UTC, Jason Mours
Details
build.log.tar.bz2 (glibc-2.13-r4.build.log.tar.bz2,136.46 KB, application/x-bzip)
2011-12-15 01:43 UTC, Jason Mours
Details
Environment (glibc-2.13-r4.environment,149.78 KB, text/plain)
2011-12-15 01:44 UTC, Jason Mours
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mours 2011-12-15 01:35:58 UTC
Compiled glibc >1000x. It just broke recently, everything else seems to compile. sys-libs/glibc 2.14.1-r1 fails to at same point. MAKEOPTS=">-j1" show same ACCESS DENIED through out sunrpc. Still sitting on gcc:4.4 

Reproducible: Always
Comment 1 Jason Mours 2011-12-15 01:39:21 UTC
Created attachment 295875 [details]
emerge --info
Comment 2 Jason Mours 2011-12-15 01:39:39 UTC
Created attachment 295877 [details]
emerge -pqv
Comment 3 Jason Mours 2011-12-15 01:42:35 UTC
Created attachment 295879 [details]
build.log
Comment 4 Jason Mours 2011-12-15 01:43:48 UTC
Created attachment 295881 [details]
build.log.tar.bz2
Comment 5 Jason Mours 2011-12-15 01:44:18 UTC
Created attachment 295883 [details]
Environment
Comment 6 Jason Mours 2011-12-15 01:50:31 UTC
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-25697.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: CREAT
S: deny
P: /proc/self
A: /proc/self
R: /proc/self
C: /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-15 15:54:24 UTC
Comment on attachment 295881 [details]
build.log.tar.bz2

um, why did you put a single file in a tar archive?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-15 15:57:58 UTC
Also, why is CC=gcc? Could you try unsetting that and emerge again?
Comment 9 Jason Mours 2011-12-15 17:23:15 UTC
(In reply to comment #7)
> Comment on attachment 295881 [details]
> build.log.tar.bz2
> 
> um, why did you put a single file in a tar archive?

Sorry...picked up the -cjf habit. No more | ...
Comment 10 Jason Mours 2011-12-15 17:41:21 UTC
(In reply to comment #8)
> Also, why is CC=gcc? Could you try unsetting that and emerge again?

CC variable was set from when I configured ICECC. I just changed it back to GNU/GCC in .bashrc so I could jump back and forth and never took it out. But this was 2 months ago.

& removing it from my env didn't do anything from a runlevel 3 boot. Same ACCESSED DENIED errors to /proc/self when compiling sunrpc in glibc.

I was thinking something, maybe something in run control or openRC has rpc locked down, but I don't know. I don't mess with init scripts (except LVM) and leave them stock from an etc-update. 

I re-emerged net-libs/libtirpc and added it to @world, no luck.

Thanks for looking, everything else seems to compile but glibc. I froze this install over a month ago and hate to roll back.
Comment 11 SpanKY gentoo-dev 2011-12-15 18:45:02 UTC
that's a really weird error.  do you have /proc/ mounted ?  does /proc/self/ exist as a symlink ?
Comment 12 Jason Mours 2011-12-15 21:10:56 UTC
(In reply to comment #11)
> that's a really weird error.  do you have /proc/ mounted ?  does /proc/self/
> exist as a symlink ?

Yeah, that's what I thought

janice glibc-2.13-r4 # mount|grep proc
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
nfsd on /proc/fs/nfsd type nfsd (rw,noexec,nosuid,nodev)

janice glibc-2.13-r4 # ls -la /proc|grep self
lrwxrwxrwx   1 root       root                    11 Dec 15 16:09 mounts -> self/mounts
lrwxrwxrwx   1 root       root                     8 Dec 15 16:09 net -> self/net
lrwxrwxrwx   1 root       root                    64 Dec 15 07:09 self -> 20827

Anything else I can provide?
Comment 13 SpanKY gentoo-dev 2011-12-15 22:39:10 UTC
you could try downgrading to sandbox-2.4 to see if that makes a difference, but i suspect not
Comment 14 Jason Mours 2011-12-16 04:12:26 UTC
(In reply to comment #13)
> you could try downgrading to sandbox-2.4 to see if that makes a difference, but
> i suspect not

Nah...tried, no luck | drag
Comment 15 SpanKY gentoo-dev 2011-12-16 18:22:28 UTC
what happens if you do:
# cd /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-*/
# sandbox
(say yes when it asks you to enter the portage env)
# make

does it still fail ?
Comment 16 Jason Mours 2011-12-16 19:48:46 UTC
(In reply to comment #15)
> what happens if you do:
> # cd /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-*/
> # sandbox
> (say yes when it asks you to enter the portage env)
> # make
> 
> does it still fail ?

Just tried it from a fresh shell. Access denied errors. I get similar with everything else i.e. tried glib. Huh...portage? or sandbox? Never played with sandbox.

[s] janice glibc-2.13 # emerge glibc
ACCESS DENIED  open_wr:      /var/log/emerge.log
emergelog(): [Errno 13] Permission denied: '/var/log/emerge.log'
ACCESS DENIED  open_wr:      /var/log/emerge.log                                                                                                                     
emergelog(): [Errno 13] Permission denied: '/var/log/emerge.log'                                                                                                     
ACCESS DENIED  open_wr:      /var/lib/gentoo/news/.news-gentoo.unread.portage_lockfile                                                                               
                                                                                                                                                                     
These are the packages that would be merged, in order:                                                                                                               
                      l                                                                                                                                               
Calculating dependencies  ACCESS DENIED  open_wr:      /var/cache/edb/vdb_metadata.pickle.7538                                                                       
 |ACCESS DENIED  open_wr:      /var/cache/edb/vdb_blockers.pickle.7538                                                                                               
... done!                                                                                                                                                            
[ebuild   R    ] sys-libs/glibc-2.13-r4  USE="(multilib) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 0 kB                                 
                                                                                                                                                                     
Total: 1 package (1 reinstall), Size of downloads: 0 kB                                                                                                              
                                                                                                                                                                     
ACCESS DENIED  open_wr:      /var/cache/edb/mtimedb.7538                                                                                                             
ACCESS DENIED  open_wr:      /var/lib/portage/.world.portage_lockfile                                                                                                
Permission denied: 'open('/var/lib/portage/.world.portage_lockfile')'                                                                                                
ACCESS DENIED  open_wr:      /var/log/emerge.log                                                                                                                     
emergelog(): [Errno 13] Permission denied: '/var/log/emerge.log'                                                                                                     
[s] janice glibc-2.13
Comment 17 Jason Mours 2011-12-16 19:51:00 UTC
or maybe I misunderstood. There is no build-x86-*/ and running make from 
glibc-2.13 output

[s] janice glibc-2.13 # make
Makeconfig:85: sysdeps/../config.make: No such file or directory
Makerules:276: o-iterator.mk: No such file or directory
Makerules:276: o-iterator.mk: No such file or directory
Makerules:276: o-iterator.mk: No such file or directory
Makerules:276: o-iterator.mk: No such file or directory
Makerules:276: o-iterator.mk: No such file or directory
Makerules:276: o-iterator.mk: No such file or directory
Makerules:282: o-iterator.mk: No such file or directory
Makerules:282: o-iterator.mk: No such file or directory
Makerules:282: o-iterator.mk: No such file or directory
Makerules:282: o-iterator.mk: No such file or directory
Makerules:282: o-iterator.mk: No such file or directory
Makerules:282: o-iterator.mk: No such file or directory
Makerules:288: o-iterator.mk: No such file or directory
Makerules:288: o-iterator.mk: No such file or directory
Makerules:288: o-iterator.mk: No such file or directory
Makerules:288: o-iterator.mk: No such file or directory
Makerules:288: o-iterator.mk: No such file or directory
Makerules:288: o-iterator.mk: No such file or directory
Makerules:294: o-iterator.mk: No such file or directory
Makerules:294: o-iterator.mk: No such file or directory
Makerules:294: o-iterator.mk: No such file or directory
Makerules:294: o-iterator.mk: No such file or directory
Makerules:294: o-iterator.mk: No such file or directory
Makerules:294: o-iterator.mk: No such file or directory
make: *** No rule to make target `o-iterator.mk'.  Stop.

So I posted the former comment 1st
Comment 18 Jason Mours 2011-12-29 06:35:14 UTC
don't think this is important. But the /build-x86* folder you specified appeared in my /var/tmp/portage. [s] sandbox build was the same with the following output.

make[2]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.13-r4/work/glibc-2.13/sunrpc'
x86_64-pc-linux-gnu-gcc -m32 -nostdlib -nostartfiles -o /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcinfo  -Wl,-dynamic-linker=/lib32/ld-linux.so.2   -Wl,-z,combreloc -Wl,-z,relro  /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crt1.o /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o `x86_64-pc-linux-gnu-gcc -m32  --print-file-name=crtbegin.o` /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcinfo.o  -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6 /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a -Wl,--as-needed /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so -Wl,--no-as-needed -lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `x86_64-pc-linux-gnu-gcc -m32  --print-file-name=crtend.o` /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
ACCESS DENIED  CREAT:        /proc/self
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.13-r4/work/glibc-2.13/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.13-r4/work/glibc-2.13'
make: *** [all] Error 2

Same sunrpc errors. Looked into o-iterator.mk on github. Somekind of array parser...dunno how it's worked without it, but hey glibc is almost 40....

"Those Iota...they've gone to NULL!" - Someone
Comment 19 Jason Mours 2012-01-04 09:25:22 UTC
Wondering if the reason o-iterator.mk wasn't created was because it's not free code from sun. 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=181493

And got swept under because everyone gnu'd around the new gpl'd code. But my trying every sci-linux libraries of old and yore, pulled o-iterator.mk out. 

Know anyone at oracle? Am I too far out on a limb here?

"Maybe my mlton went insane" - ?
Comment 20 Jason Mours 2012-01-05 02:16:43 UTC
it compiled today (1-4-2012) after 100 previous tries. Not sure if something upstream got fixed in @system or if my weekly emerge @world -e fixed it. Haven't really added anything new. I've updated to 2.14.1-r2 If you're bcc'd and it caught your interest;my .debug files are available. I like using --ggdb.

"So long and thanks for all the bits" - Kevin, an AI Dolphin before system resets
Comment 21 Jason Mours 2012-02-17 23:40:19 UTC
it's popped back up again
Comment 22 Wonko 2012-04-23 01:05:06 UTC
I have the same problem with glibc-2.15-r1, and I had it before, probably with 2.14.1-r2. It builds fine with FEATURES=-usersandbox. No idea what's going on. There's also a thread on http://forums.gentoo.org/viewtopic-t-916006-start-0.html , with a dubious solution of removing Brother printer drivers from /usr/local. It also mentions setting SANDBOX_VERBOSE=yes, but this has no effect when emerging. 'sandbox make' in the build directory fails with ACCESS_DENIED errors for everything, probably I am not the portage user, just guessing. 'su portage' fails with 'Authentication service cannot retrieve authentication info'. If you have better ideas what to try, I can do this.

Portage 2.2.0_alpha100 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.15-r1, 3.3.0-gentoo x86_64)                                                                                                                                                                   
=================================================================                                                                                                                                                                                                              
                         System Settings                                                                                                                                                                                                                                       
=================================================================                                                                                                                                                                                                              
System uname: Linux-3.3.0-gentoo-x86_64-AMD_FX-tm-4100_Quad-Core_Processor-with-gentoo-2.1                                                                                                                                                                                     
Timestamp of tree: Sun, 22 Apr 2012 05:15:01 +0000                                                                                                                                                                                                                             
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                                                                                                                                                                      
ccache version 3.1.7 [disabled]                                                                                                                                                                                                                                                
app-shells/bash:          4.2_p24                                                                                                                                                                                                                                              
dev-java/java-config:     2.1.11-r3                                                                                                                                                                                                                                            
dev-lang/python:          2.6.7-r2, 2.7.3, 3.2.2-r1                                                                                                                                                                                                                            
dev-util/ccache:          3.1.7                                                                                                                                                                                                                                                
dev-util/cmake:           2.8.7-r5                                                                                                                                                                                                                                             
dev-util/pkgconfig:       0.26                                                                                                                                                                                                                                                 
sys-apps/baselayout:      2.1                                                                                                                                                                                                                                                  
sys-apps/openrc:          0.9.9.3                                                                                                                                                                                                                                              
sys-apps/sandbox:         2.5                                                                                                                                                                                                                                                  
sys-devel/autoconf:       2.13, 2.68                                                                                                                                                                                                                                           
sys-devel/automake:       1.9.6-r3, 1.11.5                                                                                                                                                                                                                                     
sys-devel/binutils:       2.22-r1                                                                                                                                                                                                                                              
sys-devel/gcc:            4.4.7, 4.5.3-r2                                                                                                                                                                                                                                      
sys-devel/gcc-config:     1.7                                                                                                                                                                                                                                                  
sys-devel/libtool:        2.4.2                                                                                                                                                                                                                                                
sys-devel/make:           3.82-r3                                                                                                                                                                                                                                              
sys-kernel/linux-headers: 3.3 (virtual/os-headers)                                                                                                                                                                                                                             
sys-libs/glibc:           2.15-r1                                                                                                                                                                                                                                              
Repositories: gentoo kde-sunset zugaina sunrise vmware x11 nx kde enlightenment emacs dfreise proaudio science gamerlay-stable local                                                                                                                                           
Installed sets:                                                                                                                                                                                                                                                                
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                                                                                                                                                 
ACCEPT_LICENSE="* -@EULA"                                                                                                                                                                                                                                                      
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                                                                                                   
CFLAGS="-pipe -march=amdfam10 -O2          -floop-interchange -floop-strip-mine -floop-block          -msse -msse2 -msse3 -msse4a -msse4.1 -msse4.2 -m3dnow          -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx          --param l1-cache-size=16          --param l1-cache-line-size=64          --param l2-cache-size=2048"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/share/X11/xkb /usr/share/openvpn/easy-rsa"
CXXFLAGS="-pipe -march=amdfam10 -O2          -floop-interchange -floop-strip-mine -floop-block          -msse -msse2 -msse3 -msse4a -msse4.1 -msse4.2 -m3dnow          -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx          --param l1-cache-size=16          --param l1-cache-line-size=64          --param l2-cache-size=2048"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps y --load-average=6.0"
FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS=""
GENTOO_MIRRORS="rsync://mirror.netcologne.de/gentoo/ http://gentoo.mneisen.org/"
LANG="de_DE.utf8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="--jobs --load 5"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/portage/tmpfs"
PORTDIR="/var/portage/tree"
PORTDIR_OVERLAY="/var/portage/layman/kde-sunset /var/portage/layman/zugaina /var/portage/layman/sunrise /var/portage/layman/vmware /var/portage/layman/x11 /var/portage/layman/nx /var/portage/layman/kde /var/portage/layman/enlightenment /var/portage/layman/emacs /var/portage/layman/dfreise /var/portage/layman/pro-audio /var/portage/layman/science /var/portage/layman/gamerlay /var/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 apm audiofile bash-completion bcmath berkdb bluetooth branding bzip2 cairo calendar cdda cdparanoia cdr cli consolekit cracklib crypt ctype cups cvs cxx dbus declarative dga directfb dri dts dvb dvd dvdr emacs emboss encode exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gdu ggi gif gimp ginac git gnutls gphoto2 gpm gtk handbook hddtemp iconv ieee1394 imagemagick imlib ipv6 jabber jack java javascript jbig jpeg jpeg2k kde kipi latex lcms ldap libnotify lm_sensors lzma mad maildir matroska matrox mikmod mime mmx mng modplug modules motif mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz nas ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pango pch pcre pdf phonon php plasma plotutils png policykit ppds pppd qt3support qt4 quicktime radius rdesktop readline recode ruby samba scanner sdl semantic-desktop session slang slp smp sndfile sockets sox speex spell sse sse2 sse3 ssl startup-notification subversion svg sysfs tcpd theora threads tiff truetype udev unicode usb videos vim-syntax visualization vnc vorbis wma wmf wxwidgets wxwindows x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="cgi alias auth_basic authn_file authz_groupfile authz_host authz_owner authz_user dir mime userdir" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FRITZCAPI_CARDS="fcpci" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="serial" MISDN_CARDS="avmfritz" PHP_TARGETS="php5-3 php5-4" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon_pp microtek plustek_pp" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-libs/glibc-2.15-r1 was built with the following:
USE="(consolekit) gd (multilib) (policykit) -debug (-hardened) -profile (-selinux) -vanilla"
CFLAGS="-pipe -march=amdfam10 -O2 -fno-strict-aliasing"
CXXFLAGS="-pipe -march=amdfam10 -O2 -fno-strict-aliasing"
Comment 23 SpanKY gentoo-dev 2012-08-11 17:17:42 UTC
(In reply to comment #18)

this is the state i want to see.  if you can manually run `make` inside the sandbox and see it fail, then run:

(starting outside of the sandbox)
# cd /var/tmp/portage/sys-libs/glibc-2.13-r4/
# sandbox
(say yes when asked to enter portage env)
# export objdir=/var/tmp/portage/sys-libs/glibc-2.13-r4/work/build-x86-x86_64-pc-linux-gnu-nptl
# cd $objdir
# make
(make sure it fails with the /proc/self error)
# cd ../glibc-2.13-r4/sunrpc
# make
(make sure it fails with the /proc/self error)
# strace -f -s 4096 -o log make

then compress+post that log file as an attachment
Comment 24 Jason Mours 2012-08-11 20:16:15 UTC
Sorry man,

Lost that install awhile ago to a bad kernel config. But a serious thanks for the sandbox tips.

~Jason