Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53359 - sandbox violation while emerging perlqt
Summary: sandbox violation while emerging perlqt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 15:38 UTC by Matthias
Modified: 2004-10-02 16:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2004-06-08 15:38:12 UTC
I'm trying to emerge the Qt module for Perl :

$ emerge dev-perl/PerlQt

This ends with the following error: 

...
Good - your configure finished. Start make now

>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-dev-perl_-_PerlQt-3.008-1955.log"

open_wr: 
Comment 1 Matthias 2004-06-08 15:38:12 UTC
I'm trying to emerge the Qt module for Perl :

$ emerge dev-perl/PerlQt

This ends with the following error: 

...
Good - your configure finished. Start make now

>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-dev-perl_-_PerlQt-3.008-1955.log"

open_wr:   /usr/qt/3/etc/settings/.qtrc.lock
open_wr:   /usr/qt/3/etc/settings/.qtrc.lock
--------------------------------------------------------------------------------

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



$ FEATURES="-sandbox" emerge PerlQt 
 
did install the package
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-06-13 12:03:15 UTC
I can't duplicate this on this end (emerges fine). Do you have any special FEATURES set in your make.conf? (userprivs, etc.)
Comment 3 Matthias 2004-06-13 14:11:54 UTC
Nothing special in my make.conf. Here it is:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="qt kde alsa lirc oss mmx -gnome -gtk"
ALSA_CARDS="intel8x0"
GENTOO_MIRRORS="http://ftp.gentoo-pt.org/pub/gentoo http://ftp.du.se/pub/os/gentoo http://mirror.gentoo.ru/pub/mirror/gentoo/"
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-06-14 08:37:39 UTC
adding an

addwrite $QTDIR/etc/settings to src_compile

should fix the sandbox error
Comment 5 byte smythe 2004-09-19 10:32:34 UTC
I get the same problem with the sandbox violation.

I looked in the ebuild, but there is no src_compile function to put the addwrite statement in. I tried putting it in both the src_unpack function which allowed it to get past the violation, but then the configure script ran twice before ving the same sandbox violation. Finally, I tried putting the addwrite statement in the src_install function. Now the system compiles, but it still won't install without that error.

I'm half tempted to disable the sandbox, but the script seems to be misbehaving and I don't want it to go nuts on my system.
Comment 6 byte smythe 2004-09-19 17:05:34 UTC
Shouldn't this bug's component be listed as "ebuilds" instead of "development"?
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2004-10-02 16:57:32 UTC
.8-r1 in portage now. tested heavily, no more sandbox violations. Enjoy :)