<?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>41994</bug_id>
          
          <creation_ts>2004-02-17 20:13 0000</creation_ts>
          <short_desc>Xerces won&apos;t emerge if Java 1.5 is active: security violation</short_desc>
          <delta_ts>2004-05-16 16:42:18 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>Development</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>trejkaz@trypticon.org</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          <cc>Martin.vGagern@gmx.net</cc>

      

      
          <long_desc isprivate="0">
            <who>trejkaz@trypticon.org</who>
            <bug_when>2004-02-17 20:13:46 0000</bug_when>
            <thetext>Emerging Xerces dies as described below.  Only happens on Java 1.5, not on Java 1.4.

Reproducible: Always
Steps to Reproduce:
1. emerge xerces
2. wait
3. see

Actual Results:  
ACCESS DENIED  open_wr:   /dev/random


Expected Results:  
Emerged cleanly.

Workaround: java-config sun-jdk-1.4.2.03; etc-update; source /etc/profile

Nevertheless a workaround will have to be found at some point in the future
assuming the access to /dev/random isn&apos;t a Java bug.

raven root # java -version
java version &quot;1.5.0-beta&quot;
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)

raven root # emerge info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2-love1)
=================================================================
System uname: 2.6.2-love1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -fomit-frame-pointer -march=athlon-xp&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -fomit-frame-pointer -march=athlon-xp&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://mirror.pacific.net.au/linux/Gentoo
http://public.planetmirror.com/pub/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.au.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr cdrw crypt cups
directfb dv dvd dvdr dvdrw encode esd fbcon flac flash foomaticdb gdbm gif gpm
gtk gtk2 gtkhtml guile imlib java javascript jikes jpeg kde libg++ libwww mad
mikmod mmx motif mozilla mpeg mysql ncurses nls offensive oggvorbis opengl oss
pam pdflib perl png postgres python qt quicktime readline ruby samba sdl slang
spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aalmenar@gmail.com</who>
            <bug_when>2004-02-18 19:53:21 0000</bug_when>
            <thetext>Fixed in CVS. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Martin.vGagern@gmx.net</who>
            <bug_when>2004-05-11 08:53:10 0000</bug_when>
            <thetext>I have the same thing trying to emerge php. First I had to tweak php-sapi.eclass to build using 1.5.0-beta (patch attached). Then I get the same result, a sanbox violation. I don&apos;t know much about sandbox configuration, maybe you could do the same changes there as well as you did for Xerces?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Martin.vGagern@gmx.net</who>
            <bug_when>2004-05-11 08:58:04 0000</bug_when>
            <thetext>Created an attachment (id=31186)
Change php-sapi.eclass from JDKVER 1.4.* to 1.[4-9].*
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>trejkaz@trypticon.org</who>
            <bug_when>2004-05-16 16:42:18 0000</bug_when>
            <thetext>Careful Martin, that looks irrelevant and this bug is already resolved.  Create a new one, perhaps?</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>31186</attachid>
            <date>2004-05-11 08:58 0000</date>
            <desc>Change php-sapi.eclass from JDKVER 1.4.* to 1.[4-9].*</desc>
            <filename>php-sapi.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9lY2xhc3MvcGhwLXNhcGkuZWNsYXNzCTIwMDQtMDUtMTAgMDQ6Mzg6
MTcuMDAwMDAwMDAwICswMjAwCisrKyAvdXNyL2xvY2FsL3BvcnRhZ2UvZWNsYXNzL3BocC1zYXBp
LmVjbGFzcwkyMDA0LTA1LTExIDAwOjEzOjQzLjAwMDAwMDAwMCArMDIwMApAQCAtMjA4LDcgKzIw
OCw3IEBACiAKIAlKREtWRVI9IiQoamF2YS1jb25maWcgLS1qYXZhLXZlcnNpb24gMj4mMSB8IGhl
YWQgLW4xIHwgY3V0IC1kXCIgLWYyKSIKIAllaW5mbyAiSkRLIHZlcnNpb246ICR7SkRLVkVSfSIK
LQlpZiBbIC1uICIke0pES1ZFUi8xLjQuKn0iIC1vIC16ICIke0pES1ZFUn0iIF07IHRoZW4KKwlp
ZiBbIC1uICIke0pES1ZFUi8xLls0LTldLip9IiAtbyAteiAiJHtKREtWRVJ9IiBdOyB0aGVuCiAJ
CWVlcnJvciAiUGxlYXNlIGVuc3VyZSB0aGF0IHlvdSBoYXZlIGEgSkRLIHdpdGggYSB2ZXJzaW9u
IG9mIGF0IGxlYXN0IgogCQllZXJyb3IgIjEuNCBzZWxlY3RlZCB1c2luZyBqYXZhLWNvbmZpZyIK
IAkJZGllCg==
</data>        

          </attachment>
    </bug>

</bugzilla>