When emerging sys-libs/db-4.1.25_p1-r3 there 3Errors like this ACCESS DENIED open_wr: /dev/random After compiling the Access Violation Summary comes and the ebuild aborts. Reproducible: Always Steps to Reproduce: 1. emerge =sys-libs/db-4.1.25_p1-r3 2. 3. Actual Results: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-sys-libs_-_db-4.1.25_p1-r3-28410.log" open_wr: /dev/random open_wr: /dev/random open_wr: /dev/random -------------------------------------------------------------------------------- Expected Results: emerge to the end Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo-r1) ================================================================= System uname: 2.6.1-gentoo-r1 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.10 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O2 -pipe -fomit-frame-pointer -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O2 -pipe -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache cvs sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp: //ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X alsa apm avi bootsplash cdr crypt cups dga directfb dvd encode expat fbcon flash gif gpm imagemagick imap irmc j-noaim j-nojud j-nomsn j-nomuconf j-noyahoo jabber java jikes jpeg kde libg++ libwww mad maildir mikmod mldonkeypango mmx motif moznocompose moznoirc moznomail mpeg ncurses nocd nvidia oav offensive oggvorbis opengl pam pda pdflib perl physfs png python qt qtmt quicktime readline sdl socks5 spell sse ssl svga tcltk tcpd truetype usb x86 xml xml2 xmms xv xvid zlib"
Created attachment 25133 [details] Output of the emerge
For now you might want to try with a non-beta version of the jdk (or without berkdb java support). If you don't want to do that add "addpredict /dev/random" to the src_compile function. Allthough it beats me why any process would want to write to the random device.
USE="-berkdb" does not worked for me. (but I did not test it right) I now compiled with dev-java/sun-jdk-1.4.2.03 instead of the Beta-Java and all went fine. Thanks for the solution!
it would be USE="-java" as it will only build java wrappers usefull for developing java applications that use berkdb
*** Bug 42207 has been marked as a duplicate of this bug. ***
I guess it makes sense to collect all these bugs at the java team's bug *** This bug has been marked as a duplicate of 53790 ***