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!
Confirming that the problem still exists. I was trying to build xtunes v0.38 by hand and hit this dependency.
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
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.
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.
*** Bug 8300 has been marked as a duplicate of this bug. ***
commonc++ has been bumped to -r2 to resolve this bug.