Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84995 - apache-2.0.53 build failure
Summary: apache-2.0.53 build failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-12 09:31 UTC by Aron Griffis (RETIRED)
Modified: 2005-03-16 11:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Griffis (RETIRED) gentoo-dev 2005-03-12 09:31:55 UTC
Trying to build ~x86 apache, ran across the following problem.  I tried rebuilding apr to no effect.

...
checking whether to enable mod_access... shared
checking whether to enable mod_auth... shared
checking whether to enable mod_auth_anon... shared
checking whether to enable mod_auth_dbm... shared
checking whether to enable mod_auth_digest... checking dependencies
You need APR random support to use mod_auth_digest.
Look at APR configure options --with-egd and --with-devrandom.
checking whether to enable mod_auth_digest... configure: error: mod_auth_digest has been requested but can not be built due to prerequisite failures

!!! ERROR: net-www/apache-2.0.53 failed.
!!! Function src_compile, Line 123, Exitcode 1
!!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout and config.log
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.8-gentoo-r4-kt600 i686)
=================================================================
System uname: 2.6.8-gentoo-r4-kt600 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.7.0
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Mar 11 2005, 21:33:34)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.57-r1, 2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.5, 1.8.5-r3, 1.7.9-r1, 1.9.5, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart /etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/ethereal /etc/gconf /etc/gnome-vfs-2.0 /etc/gtk-2.0 /etc/init.d /etc/pam.d /etc/postfix/sample /etc/sound /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distcc distlocks noclean sandbox sfperms sign userpriv usersandbox"
GENTOO_MIRRORS="http://time http://mirrors.tds.net/gentoo
http://mirrors.tds.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/local/home/agriffis/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cscope cups curl decss dga dvd emboss encode evo fam flac font-server foomaticdb fortran gdbm gif gnome gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 jack java jpeg ladcca lcms ldap libg++ libwww mad mailwrapper mikmod motif mozcalendar mozilla mozsvg mp3 mpeg mysql ncurses nls ofx oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline ruby scanner sdl speex spell sqlite sse ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb wmf xml xml2 xmms xv zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-13 16:34:32 UTC
Does either /dev/random or /dev/urandom exist on your system ?  APR should, when configured, automatically detect one of those node by-default, afaik.
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-13 17:19:49 UTC
I've committed two rev bumps (apr-0.9.5-r2 and 0.9.6-r2) that are hard-masked.  Can you emerge --sync, add '=dev-libs/apr-0.9.6-r2' to /etc/portage/package.unmask, emerge =dev-libs/apr-0.9.6-r2 and then emerge =net-www/apache-2.0.53 again and see if it helps ?  If they do, and once I've verified that these changes won't break apps, I'll unmask them.

Comment 3 Aron Griffis (RETIRED) gentoo-dev 2005-03-16 09:44:53 UTC
> Does either /dev/random or /dev/urandom exist on your system ?

Both of those exist on my system.  Both are readable only by root:root.  Since I haven't configured these specifically, I imagine that most people have similarly configured systems.

crw-rw----  1 root root 1, 8 Feb 23 06:13 /dev/random
crw-rw----  1 root root 1, 9 Feb 23 06:14 /dev/urandom

> emerge =dev-libs/apr-0.9.6-r2 and then emerge =net-www/apache-2.0.53 again

# emerge apr apache -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-libs/apr-0.9.6-r2 [0.9.6-r1] -debug +ipv6 0 kB 
[ebuild     U ] net-www/apache-2.0.53 [2.0.52-r2] +apache2 -debug -doc +ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec +ssl -static-modules -threads 0 kB 

# emerge apr apache
...
checking for entropy source... configure: error: /dev/random not found or unreadable.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/apr-0.9.6-r2/work/apr-0.9.6/config.log

!!! ERROR: dev-libs/apr-0.9.6-r2 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 4 Paul Querna 2005-03-16 11:44:45 UTC
<@vapier> if /dev/{random,urandom} are not a+r, then your system is broken