| View previous topic :: View next topic |
| Author |
Message |
TheJabberwokk Apprentice

Joined: 13 Aug 2002 Posts: 196 Location: Gloucester
|
Posted: Sat Oct 18, 2003 6:30 pm Post subject: ACCESS VIOLATION |
|
|
when trying to emerge sys-libs/db I got this | Quote: | /bin/sh ./libtool --mode=execute true db_stat
/bin/sh ./libtool --mode=link gcc -o db_verify \
db_verify.lo util_cache.lo util_sig.lo libdb-4.1.la -lpthread
gcc -o .libs/db_upgrade db_upgrade.o util_sig.o ./.libs/libdb-4.1.so -lpthread
creating db_upgrade
/bin/sh ./libtool --mode=execute true db_upgrade
gcc -o .libs/db_verify db_verify.o util_cache.o util_sig.o ./.libs/libdb-4.1.so -lpthread
creating db_verify
/bin/sh ./libtool --mode=execute true db_verify
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-db-4.1.25_p1-r2-16044.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
-------------------------------------------------------------------------------- |
|
|
| Back to top |
|
 |
samwuff n00b


Joined: 20 Sep 2002 Posts: 18
|
Posted: Sat Oct 18, 2003 7:05 pm Post subject: |
|
|
Same problem, but with foomatic-db:
| Code: |
>>> Completed installing into /var/tmp/portage/foomatic-db-20031018/image/
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-foomatic-db-20031018-10108.log"
unlink: /usr/share/cups/model/foomatic-ppds
symlink: /usr/share/cups/model/foomatic-ppds/ppd
--------------------------------------------------------------------------------
|
What's up?
-Rich |
|
| Back to top |
|
 |
KAMIKAZE_ Guru

Joined: 09 Oct 2003 Posts: 309 Location: Riga, Latvia
|
Posted: Sat Oct 18, 2003 10:15 pm Post subject: |
|
|
Same shit with ant
| Quote: |
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-ant-1.5.4-r1-1347.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
open_wr: /proc/self/maps
open_wr: /proc/self/maps
--------------------------------------------------------------------------------
|
_________________ -=[powered by Gentoo]=- |
|
| Back to top |
|
 |
TheJabberwokk Apprentice

Joined: 13 Aug 2002 Posts: 196 Location: Gloucester
|
Posted: Sat Oct 18, 2003 10:38 pm Post subject: noweb |
|
|
I got the same thing with noweb | Quote: | >>> Install noweb-2.9-r3 into /var/tmp/portage/noweb-2.9-r3/image/ category app-text
mkdir /usr/local/noweb /usr/local/noweb/lib 2>/dev/null
make: [install-shell] Error 1 (ignored)
sed "s@|LIBDIR|@/usr/local/noweb/lib@" shell/noweb > /usr/local/noweb/noweb
ACCESS DENIED open_wr: /usr/local/noweb/noweb
/bin/sh: line 1: /usr/local/noweb/noweb: Permission denied
make: *** [install-shell] Error 1
!!! ERROR: app-text/noweb-2.9-r3 failed.
!!! Function src_install, Line 36, Exitcode 2
!!! (no error message)
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-noweb-2.9-r3-31612.log"
mkdir: /usr/local/noweb
mkdir: /usr/local/noweb/lib
open_wr: /usr/local/noweb/noweb
-------------------------------------------------------------------------------- |
I removed sandbox from my features list and got the same result |
|
| Back to top |
|
 |
R0B_IX Tux's lil' helper

Joined: 15 Jun 2003 Posts: 83
|
Posted: Sun Oct 19, 2003 6:02 am Post subject: |
|
|
I too have been getting the same error. Just in case it helps, I am using kernel 2.6.0-test7, gcc = latest unhardmasked version of 3.3.1-r5. _________________ Laptop:Sager 5670
CPU:3.06ghz w/HT enabled
RAM:512 megs PC2100
Video:ATI Radeon Mobility 9000
HD1:40 gig 5400 RPM 2.5" drive
HD2:20 gig 5400 RPM external 2.5" USB2 drive
OS of choice:Windows 3.1 (just kidding, it's gentoo) |
|
| Back to top |
|
 |
Nox2k3 n00b

Joined: 01 Apr 2003 Posts: 25 Location: Shaker Heights, Ohio
|
Posted: Sun Oct 19, 2003 5:38 pm Post subject: Same error with various packages. |
|
|
I've been getting the same error with various packages. db can't open /proc/maps/self and nither can Cyrus-SASL. However Crypt-Cracklib couldn't write to the Perl directories. I've tried taking sandbox out of features, adding usersandbox and userpriv. I can compile everything myself and write to those dirs myself. There are no strange messages in any logs. I am enabling ACCEPT_KEYWORDS="~x86" and DO have grsecurity enabled. However when grsec screws with things it usually leaves some sort of log entries.
| Quote: | /bin/sh ./libtool --mode=execute true db_verify
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-db-4.1.25_p1-r2-18250.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
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
open_wr: /proc/self/maps
--------------------------------------------------------------------------------
|
| Quote: |
>>> 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.)
I'd appreciate any help since I can hardly merge anything anymore. Also, my filesystems are mounted with many restricting options so that may be the cause of the problem, so heres a "mount":
| Quote: |
/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)
|
Sorry about the incredibly long post. |
|
| Back to top |
|
 |
Panther_7 n00b

Joined: 04 Jun 2003 Posts: 46 Location: FL
|
Posted: Sun Oct 19, 2003 11:08 pm Post subject: |
|
|
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-db-4.1.25_p1-r2-15751.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
--------------------------------------------------------------------------------
I've been getting the samething too. Wow I'm running gcc 3.3.1 (r4 I think ) with accept keyword ~x86 and kernel 2.4.20-gaming-r5. |
|
| Back to top |
|
 |
ts77 Apprentice

Joined: 23 Mar 2003 Posts: 200 Location: Berlin, Germany
|
Posted: Sun Oct 19, 2003 11:15 pm Post subject: |
|
|
| same here gentoo-sources-2.4.20-r7 with ~x86 latest gcc and such. |
|
| Back to top |
|
 |
P3r3s n00b

Joined: 30 Jul 2003 Posts: 9 Location: Lisboa, Portugal
|
Posted: Sun Oct 19, 2003 11:38 pm Post subject: |
|
|
Same problem here, but while updating portage...
| Code: |
------------------ ACCESS VIOLATION SUMMARY ------------------
LOG FILE = "/tmp/sandbox-ncurses-5.3-r2-29339.log"
unlink: /shared-tmp/usr/usr/lib/cf29364/conftest9012345
unlink: /shared-tmp/usr/usr/lib/cf29364/conftest9012346
---------------------------------------------------------------
|
Due to this, the emerge command doesn't work:
| Code: |
-bash: /usr/bin/emerge: /usr/bin/env: bad interpreter: No such file or directory
|
Any idea how to solve this?
Thanks, |
|
| Back to top |
|
 |
stonent Veteran


Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Mon Oct 20, 2003 12:12 am Post subject: |
|
|
disable sanbox in the make.conf file. _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism. |
|
| Back to top |
|
 |
KAMIKAZE_ Guru

Joined: 09 Oct 2003 Posts: 309 Location: Riga, Latvia
|
Posted: Mon Oct 20, 2003 12:23 am Post subject: disabling sandbox |
|
|
I have commented "FEATURES" in make.conf, but the problem still exists  _________________ -=[powered by Gentoo]=- |
|
| Back to top |
|
 |
Kesereti Guru


Joined: 07 Nov 2002 Posts: 520
|
Posted: Mon Oct 20, 2003 1:10 am Post subject: |
|
|
That's because sandbox is enabled by default. If you don't want to mess with your make.conf, just do this:
| Code: |
FEATURES="-sandbox" emerge (package)
|
That will disable it for that build only =) |
|
| Back to top |
|
 |
tomapd n00b

Joined: 26 Aug 2003 Posts: 22 Location: Sendai
|
Posted: Mon Oct 20, 2003 1:53 am Post subject: Re: disabling sandbox |
|
|
| KAMIKAZE_ wrote: | I have commented "FEATURES" in make.conf, but the problem still exists  |
Check out /etc/make.globals before editing /etc/make.conf. |
|
| Back to top |
|
 |
Panther_7 n00b

Joined: 04 Jun 2003 Posts: 46 Location: FL
|
Posted: Tue Oct 21, 2003 4:34 am Post subject: |
|
|
| Kesereti wrote: | That's because sandbox is enabled by default. If you don't want to mess with your make.conf, just do this:
| Code: |
FEATURES="-sandbox" emerge (package)
|
That will disable it for that build only =) |
Thanks for the tip. Time to see if it works.
Btw, Edgar rockz!!  |
|
| Back to top |
|
 |
ts77 Apprentice

Joined: 23 Mar 2003 Posts: 200 Location: Berlin, Germany
|
Posted: Thu Oct 23, 2003 9:09 pm Post subject: |
|
|
same problem now for
php-4.3.3-r3
What leads to all these errors? what has changed so much that these all occur? buggy ebuilds? some more strict change in the sandbox or such?
as far as I could see in the errors I've seen here its always
/proc/self/maps
which is tried to access. Is it gcc itself or what?
Thanks in advance,
Thomas |
|
| Back to top |
|
 |
ts77 Apprentice

Joined: 23 Mar 2003 Posts: 200 Location: Berlin, Germany
|
Posted: Sat Oct 25, 2003 10:14 am Post subject: |
|
|
anyone got an idea about that? more and more packages fail in the sandbox.
should I just disable the sandbox at all? |
|
| Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9563 Location: beyond the rim
|
Posted: Sat Oct 25, 2003 11:28 am Post subject: |
|
|
Disabling sandbox is generally a bad idea as portage can't track files installed outside of the sandbox, and a broken ebuild could overwrite some important files.
Please report these errors at https://bugs.gentoo.org (after checking for existing bugs of course). |
|
| Back to top |
|
 |
ts77 Apprentice

Joined: 23 Mar 2003 Posts: 200 Location: Berlin, Germany
|
Posted: Sat Oct 25, 2003 2:30 pm Post subject: |
|
|
thanks, I reported them there. Just wanted to make sure that I wouldn't only lead to even more problems . |
|
| Back to top |
|
 |
Mystilleef Guru


Joined: 27 Apr 2003 Posts: 561 Location: Earth
|
|
| Back to top |
|
 |
ts77 Apprentice

Joined: 23 Mar 2003 Posts: 200 Location: Berlin, Germany
|
|
| Back to top |
|
 |
qarce n00b


Joined: 28 Mar 2003 Posts: 18 Location: us - california
|
Posted: Sat Mar 13, 2004 8:56 pm Post subject: WTF I'm on stable Gentoo.... |
|
|
Hi,
I'm building a system for a friend and trying to show them how wonderful gentoo is. I have had two show stoppers... the gcc-lib problem and this one. Not cool on a stable branch!!!
Who do I take to about this....
Q |
|
| Back to top |
|
 |
|