<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>26216</bug_id>
          
          <creation_ts>2003-08-08 10:06 0000</creation_ts>
          <short_desc>libglade-2.0.1 sandbox violation</short_desc>
          <delta_ts>2003-09-27 15:49:52 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>friedman@ucla.edu</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>friedman@ucla.edu</who>
            <bug_when>2003-08-08 10:06:47 0000</bug_when>
            <thetext>Attempting to install libglade-2.0.1 (in ~x86) results in sandbox violation for
file /etc/xml/catalog

Installing with FEATURES=&quot;-sandbox&quot; works around the problem.

Scott</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2003-08-19 07:25:46 0000</bug_when>
            <thetext>you dont really want to emerge without the sandbox. anyway, i can successfully emerge this with FEATURES=&quot;userpriv usersandbox sandbox&quot;, and FEATURES=&quot;sandbox&quot; without a problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-08-25 04:08:09 0000</bug_when>
            <thetext>Try building with USE=-doc ?

Have you been erasing files in /etc ? Normally a build shouldnt try to create catalog files.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2003-09-09 01:47:18 0000</bug_when>
            <thetext>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 ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>friedman@ucla.edu</who>
            <bug_when>2003-09-09 11:25:54 0000</bug_when>
            <thetext>Hi

I normally, do not ever emerge without SANDBOX - just tried it to see if it would work.

&apos;doc&apos; 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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>friedman@ucla.edu</who>
            <bug_when>2003-09-09 12:08:08 0000</bug_when>
            <thetext>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&apos;
make[1]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1/tests&apos;
make[1]: Entering directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1&apos;
make[2]: Entering directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1&apos;
/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 &quot;system&quot; &quot;http://glade.gnome.org/glade-2.0.dtd&quot; /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&apos;make[1]: Leaving directory `/var/tmp/portage/libglade-2.0.1/work/libglade-2.0.1&apos;man:
prepallstrip:
strip:
strip:
   usr/lib/libglade-2.0.so.0.0.1
making executable: /usr/lib/libglade-2.0.so.0.0.1
&gt;&gt;&gt; Completed installing into /var/tmp/portage/libglade-2.0.1/image/
 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = &quot;/tmp/sandbox-libglade-2.0.1-8517.log&quot;
 
open_wr:   /etc/xml/catalog
--------------------------------------------------------------------------------
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2003-09-09 22:41:12 0000</bug_when>
            <thetext>it looks like the patch to stop the Makefile executing xmlcatalog isnt working. i&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2003-09-15 03:44:53 0000</bug_when>
            <thetext>Please test version 2.0.1 in portage</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-09-27 15:49:52 0000</bug_when>
            <thetext>assume it worked, reclosing</thetext>
          </long_desc>
      
    </bug>

</bugzilla>