Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 26216
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Scott A. Friedman <friedman@ucla.edu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 26216 depends on: Show dependency tree
Bug 26216 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-08 10:06 0000
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

------- Comment #1 From Mike Gardiner (RETIRED) 2003-08-19 07:25:46 0000 -------
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.

------- Comment #2 From foser (RETIRED) 2003-08-25 04:08:09 0000 -------
Try building with USE=-doc ?

Have you been erasing files in /etc ? Normally a build shouldnt try to create catalog files.

------- Comment #3 From Mike Gardiner (RETIRED) 2003-09-09 01:47:18 0000 -------
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
?

------- Comment #4 From Scott A. Friedman 2003-09-09 11:25:54 0000 -------
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

------- Comment #5 From Scott A. Friedman 2003-09-09 12:08:08 0000 -------
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
--------------------------------------------------------------------------------

------- Comment #6 From Mike Gardiner (RETIRED) 2003-09-09 22:41:12 0000 -------
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.

------- Comment #7 From Mike Gardiner (RETIRED) 2003-09-15 03:44:53 0000 -------
Please test version 2.0.1 in portage

------- Comment #8 From foser (RETIRED) 2003-09-27 15:49:52 0000 -------
assume it worked, reclosing

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug