Attempting to install libglade-2.0.1 (in ~x86) results in sandbox violation for file /etc/xml/catalog Installing with FEATURES="-sandbox" works around the problem. Scott
you dont really want to emerge without the sandbox. anyway, i can successfully emerge this with FEATURES="userpriv usersandbox sandbox", and FEATURES="sandbox" without a problem.
Try building with USE=-doc ? Have you been erasing files in /etc ? Normally a build shouldnt try to create catalog files.
does your catalog file exist before the emerge ? the ebuild patches out the xmlcatalog creation, and then adds the glade dtd in the postinst, which should be around the sandbox. can you post the actual sandbox violation message please ?
Hi I normally, do not ever emerge without SANDBOX - just tried it to see if it would work. 'doc' is/was not set. no, I have not been deleting things in /etc /etc/xml/catalog does exist (I cannot tell you if it was there before - sorry) the violation was that the file /etc/xml/catalog could not be opened for writing ---- I have checked several other machines of mine which also have /etc/xml/catalog and are *not* using KEYWORD=~x86. If that is not supposed to be there then there is some other problem. The violation I reported happened on a ~x86 machine. If that matters. Scott
Okay, I tried it again, and here is the error output. make[2]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1/tests' make[1]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1/tests' make[1]: Entering directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1' make[2]: Entering directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1' /bin/sh ./mkinstalldirs /var/tmp/portage/libglade-2.0.1/image//usr/bin mkdir -p -- /var/tmp/portage/libglade-2.0.1/image//usr/bin /bin/install -c libglade-convert /var/tmp/portage/libglade-2.0.1/image//usr/bin/libglade-convert xmlcatalog --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog ACCESS DENIED open_wr: /etc/xml/catalog could not open /etc/xml/catalog for saving make[2]: [install-data-local] Error 2 (ignored) /bin/sh ./mkinstalldirs /var/tmp/portage/libglade-2.0.1/image//usr/lib/pkgconfigmkdir -p -- /var/tmp/portage/libglade-2.0.1/image//usr/lib/pkgconfig /bin/install -c -m 644 libglade-2.0.pc /var/tmp/portage/libglade-2.0.1/image//usr/lib/pkgconfig/libglade-2.0.pc /bin/sh ./mkinstalldirs /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade mkdir -p -- /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade /bin/install -c -m 644 glade-2.0.dtd /var/tmp/portage/libglade-2.0.1/image//usr/share/xml/libglade/glade-2.0.dtd make[2]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1'make[1]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1'man: prepallstrip: strip: strip: usr/lib/libglade-2.0.so.0.0.1 making executable: /usr/lib/libglade-2.0.so.0.0.1 >>> Completed installing into /var/tmp/portage/libglade-2.0.1/image/ --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-libglade-2.0.1-8517.log" open_wr: /etc/xml/catalog --------------------------------------------------------------------------------
it looks like the patch to stop the Makefile executing xmlcatalog isnt working. i've added a new patch (Makefile.in.am-xmlcatalog.patch) for 2.0.1 as the old patch was written against 1.99, can you resync and try emerging libglade-2.0.1 again ? thanks.
Please test version 2.0.1 in portage
assume it worked, reclosing