Trying to emerge db-4.1.25_p1-r2 - the process falls over with this error: --------------------------- ACCESS VIOLATION SUMMARY --------------- LOG FILE = "/tmp/sandbox-db-4.1.25_p1-r2-2040.log" open_wr: /proc/self/maps open_wr: /proc/self/maps open_wr: /proc/self/maps open_wr: /proc/self/maps open_wr: /proc/self/maps open_wr: /proc/self/maps open_wr: /proc/self/maps --------------------------------------------------------- This is a new one on me. I'll attach a transcript if you need more info. Reproduceable - always. Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(TM) XP1700+ Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi cups encode foomaticdb gif gpm jpeg libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts bonobo svga java X sdl tcpd pam ssl perl python esd imlib oggvorbis motif opengl mozilla gtk gtk2 gnome -qt -kde crypt samba"
I have the same error in this package along with Crypt-Cracklib-0.01 >>> Install Crypt-Cracklib-0.01 into /var/tmp/portage/Crypt-Cracklib-0.01/image/ category dev-perl Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /usr/lib/perl5/site_perl/5.8.1/i686-linux/auto/Crypt/Cracklib/.packlist ACCESS DENIED open_wr: /usr/lib/perl5/site_perl/5.8.1/i686-linux/auto/Crypt/Cracklib/.packlist Can't open file /usr/lib/perl5/site_perl/5.8.1/i686-linux/auto/Crypt/Cracklib/.packlist: Permission denied at /usr/lib/perl5/5.8.1/E s/Install.pm line 209 make: *** [pure_site_install] Error 255 !!! ERROR: dev-perl/Crypt-Cracklib-0.01 failed. !!! Function perl-module_src_install, Line 78, Exitcode 2 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-Crypt-Cracklib-0.01-14706.log" open_wr: /usr/lib/perl5/site_perl/5.8.1/i686-linux/auto/Crypt/Cracklib/.packlist -------------------------------------------------------------------------------- Heres any info that may help: Kernel: 2.4.21-ck3 gcc: sys-devel/gcc-3.3.1-r5 glibc: sys-libs/glibc-2.3.2-r6 portage: sys-apps/portage-2.0.49-r13 USE="mmx joystick xchattext 3dnow pic crypto X gtk2 gnome kde ldap samba pam tcpd ssl qt doc bindist sse ipv6 bonobo xml xml2 tiff dedicated fbcon offensive acl oav xinerama gtkhtml pda mbox imap prelude videos wmf apache2 flash memlimit directfb aaliib -nas -lirc pam -debug -arts -alsa -cups -nls -i18n" CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -fforce-addr -fomit-frame-pointer -funroll-loops -freruun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -fprefetch-loop-arrays -ffast-math" FEATURES="sandbox userpriv usersandbox ccache notitles cvs autoclean digest" (However i have tried with sandbox,userpriv,usersandbox removed.) Mounted Filesystems: /dev/rd/disc0/part7 on / type xfs (rw,noatime) none on /dev type devfs (rw) none on /proc type proc (rw) /dev/rd/disc0/part3 on /var type xfs (rw,nosuid,nodev,noatime) /dev/rd/disc0/part5 on /tmp type xfs (rw,noexec,nosuid,nodev,noatime) /dev/rd/disc0/part6 on /var/tmp type xfs (rw,noexec,nosuid,nodev,noatime) /dev/md0 on /home type xfs (rw,nosuid,nodev,noatime) /dev/hda1 on /home/httpd type xfs (rw,nodev,noatime) /dev/hda2 on /var/log type xfs (rw,noexec,nosuid,nodev,noatime) /dev/hda3 on /var/tmp/portage type xfs (rw,nosuid,nodev,noatime) none on /dev/shm type tmpfs (rw) There is a thread on the forums about this: http://forums.gentoo.org/viewtopic.php?t=97647
Tim, could you attach the full build log. While it is very strange that any program tries to use /proc/self, I cannot really see what's going on with only these errors. Nox, could you open a new bug for your problems. They are not at all related.
Created attachment 19489 [details] Build log. Build log.
Build log attached as requested. Please contact me if any more information is required.
Could you tell me which java version you are using by giving the results of java-config --javac? Apparently this javac uses /proc for certain commands.
Sorry, I allready saw it, it is ibm jdk 1.4.1.
Paul i had the same problem and its not java-config related. It a sandbox access violation, see bug #31545 and look at the ebuild how i fixed it in the src_compile part of the ebuild (lookup for "/proc/self/maps").
Adrian, the problem seems to be caused by the ibm javac, apparently using /proc/self/maps for some processing. I thought that it might be a problem with other java packages too (the ones that are compiled), and that just adding an addpredict in db does not really solve the problem, only one symptom.
But an addwrite will work for it ? Just guessing !
It must be the IBM JDK, one one computer I am running that and it does the same thing as described here still, and on my other computer running Blackbox JDK it runs perfectly fine. If you want any information from my setup, let me know what you want and I'll give it to you... I was getting the same error with the ant ebuild which was fixed, it was bug 31545
I know adrian, but this will be a problem with each and every program that compiles java. It could maybe be added to the default list.
I have added addwrites to 4.0.14 and 4.1.25_p1-r2, however I think that it is necessary to look for a more structural solution. Including an investigation on whether we could standardly allow writing to /proc/self or even /proc
Reopening so I can assign it to dev-portage
Closing again