Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40734 - sys-libs/db-4.1.25_p1-r3 fails with Access Violation (/dev/random)
Summary: sys-libs/db-4.1.25_p1-r3 fails with Access Violation (/dev/random)
Status: RESOLVED DUPLICATE of bug 53790
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
: 42207 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-07 09:16 UTC by Boris
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of the emerge (db.out.txt,252.62 KB, text/plain)
2004-02-07 09:17 UTC, Boris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris 2004-02-07 09:16:45 UTC
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"
Comment 1 Boris 2004-02-07 09:17:40 UTC
Created attachment 25133 [details]
Output of the emerge
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-07 12:56:30 UTC
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.
Comment 3 Boris 2004-02-08 03:10:51 UTC
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!
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-08 05:41:21 UTC
it would be USE="-java" as it will only build java wrappers usefull for developing java applications that use berkdb
Comment 5 Adrian Almenar 2004-02-19 19:36:50 UTC
*** Bug 42207 has been marked as a duplicate of this bug. ***
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 13:10:02 UTC
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 ***