Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6114

Summary: CommonC++ sandbox violation
Product: Gentoo Linux Reporter: Kai Harris <harrisk>
Component: New packagesAssignee: Matt Keadle <mkeadle>
Status: RESOLVED FIXED    
Severity: normal CC: brian, foser, seemant
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kai Harris 2002-08-06 16:02:19 UTC
I get a sandbox violation when emerging commonc++.  The following is the error
message that emerge fails with:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-commonc++-1.9.7-r1-20679.log"

open_wr:   /usr/share/aclocal/ost_check.m4
--------------------------------------------------------------------------------
...done!
>>> emerge dev-libs/commonc++-1.9.7-r1 to /
>>> md5 ;-) commonc++-1.9.7.tar.gz
!!! emerge aborting on  /usr/portage/dev-libs/commonc++/commonc++-1.9.7-r1.ebuild .


The following is the contents of /tmp/sandbox-commonc++-1.9.7-r1-20679.log:

open_wr:   /usr/share/aclocal/ost_check.m4


thanks!
Comment 1 Brian D. Ropers-Huilman 2002-09-04 10:09:32 UTC
Confirming that the problem still exists.

I was trying to build xtunes v0.38 by hand and hit this dependency.
Comment 2 Michael M Nazaroff (RETIRED) gentoo-dev 2002-09-06 01:25:53 UTC
I'm been playing with fixing the package.. but it's being a pain. I will be 
masking it this weekend when I get home tell it gets fixed..

Naz
Comment 3 Olav Kolbu 2002-09-10 05:35:03 UTC
The problem appears to be that the makefile wants to install 
stuff on the ordinary make-pass, i.e. before you get to 
make install. So you have to make sure that DESTDIR=${D} is 
present also when the first make (in src_compile())is run. 
Comment 4 foser (RETIRED) gentoo-dev 2002-09-17 08:22:49 UTC
Olav is right, adding DESTDIR=${D} to the make in src_compile solves the
problem. Altough its not very nice ebuild wise :)

When i was at this i also created an ebuild for the latest version of
commoncpp2, see bug 8028 . I think most developers will now go for the newer branch.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-01 18:05:49 UTC
*** Bug 8300 has been marked as a duplicate of this bug. ***
Comment 6 Matt Keadle 2002-10-03 15:33:40 UTC
commonc++ has been bumped to -r2 to resolve this bug.