Attempting to emerge media-libs/allegrogl-0.4.3 results in a sandbox violation when the install tries to run ldconfig. emerge -v1 =media-libs/allegrogl-0.4.3 These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] media-libs/allegrogl-0.4.3 USE="examples" 0 kB <snip/> /usr/bin/install -c -D lib/unix/libagl.so.0.4.3 /gentoo/tmp/portage/media-libs/allegrogl-0.4.3/image//usr/lib/libagl.so.0.4.3 ln -sf libagl.so.0.4.3 /gentoo/tmp/portage/media-libs/allegrogl-0.4.3/image//usr/lib/libagl.so.0.4 ln -sf libagl.so.0.4.3 /gentoo/tmp/portage/media-libs/allegrogl-0.4.3/image//usr/lib/libagl.so.0 ln -sf libagl.so.0.4.3 /gentoo/tmp/portage/media-libs/allegrogl-0.4.3/image//usr/lib/libagl.so ldconfig # works only if you are root ACCESS DENIED open_wr: /etc/ld.so.cache~ make: [install] Error 1 (ignored) - AllegroGL is now installed. >>> Completed installing allegrogl-0.4.3 into /gentoo/tmp/portage/media-libs/allegrogl-0.4.3/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-30813.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /etc/ld.so.cache~ A: /etc/ld.so.cache~ R: /etc/ld.so.cache~ C: ldconfig --------------------------------------------------------------------------------
Created attachment 208011 [details] /var/log/portage/media-libs:allegrogl-0.4.3:20091023-164245.log Build log.
Created attachment 208012 [details] /var/log/sandbox/sandbox-30813.log Sandbox log.
Created attachment 208013 [details] emerge_info.txt emerge --info
The following changed fixed it for me. diff -u allegrogl-0.4.3.ebuild.orig allegrogl-0.4.3.ebuild --- allegrogl-0.4.3.ebuild.orig 2009-10-23 14:30:25.000000000 -0600 +++ allegrogl-0.4.3.ebuild 2009-10-23 14:27:20.000000000 -0600 @@ -32,7 +32,7 @@ } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + emake LDCONFIG=true DESTDIR="${D}" install || die "emake install failed" dodoc changelog {bugs,extensions,faq,howto,quickstart,readme,todo}.txt dohtml -r docs/html/* if use examples ; then
added to cvs, thanks http://sources.gentoo.org/media-libs/allegrogl/allegrogl-0.4.3.ebuild?r1=1.4&r2=1.5