Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94717 - net-www/apache-2.0.54-r6 fails to compile
Summary: net-www/apache-2.0.54-r6 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 03:42 UTC by Jakub Moc (RETIRED)
Modified: 2005-06-01 07:47 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 Jakub Moc (RETIRED) gentoo-dev 2005-06-01 03:42:15 UTC
/usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc 
-pthread  -march=athlon-xp -O2 -pipe -fomit-frame-pointer  -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER   -I/usr/include/apr-0 -I.
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/os/unix
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/server/mpm/prefork
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/modules/http
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/modules/filters
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/modules/proxy
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/include
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/modules/generators
-I/usr/include/openssl
-I/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/modules/dav/main
-export-dynamic -L/usr/lib  -Wl,-O1 -o htdigest  htdigest.lo   -lz -lssl
-lcrypto -ldl
/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/srclib/pcre/libpcre.la
/usr/lib/libaprutil-0.la -lgdbm -ldb -lexpat /usr/lib/libapr-0.la -lrt -lm
-lcrypt -lnsl -lpthread -ldl
/usr/lib/libaprutil-0.so: undefined reference to `db_create_4001'
/usr/lib/libaprutil-0.so: undefined reference to `db_strerror_4001'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/libaprutil-0.so: undefined reference to `db_create_4001'
/usr/lib/libaprutil-0.so: undefined reference to `db_strerror_4001'
collect2: ld returned 1 exit status
make[2]: *** [htdigest] Error 1
make[2]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r6/work/httpd-2.0.54/support'
make: *** [all-recursive] Error 1


Reproducible: Always
Steps to Reproduce:
1. emerge -av net-www/apache-2.0.54-r6




dev-libs/apr-util-0.9.6-r2
dev-libs/apr-0.9.6-r3

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Sempron(tm)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 31 2005, 07:16:09)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data
/usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
ftp://ftp.fi.muni.cz/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acpi alsa apache2 apm berkdb crypt fbcon fortran ftp gd gdbm gif imap
innodb jpeg libg++ libwww maildir mcal mmx mp3 mpeg mysql ncurses nls nptl
nptlonly pam pdflib perl php png pnp python readline samba sasl ssl tcpd tiff
unicode xml xml2 zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-01 04:27:06 UTC
Bah, revdep-rebuild failed to do its job once again, despite the fact that I
have run it twice yesterday after upgrading to mysql-4.1.12. So 'emerge
--oneshot apr apr-util' fixed this.

This ebuild still has problems, like:

# /etc/init.d/apache2 restart
 * Unable to find specified MPM: prefork

Hmm, what does the ewarn actually mean then? 

* Multiple MPM support has been disabled due to problems with external
 * modules.  If you have relied on this functionality you will need
 * to find another solution.  The Gentoo Apache team apologizes for
 * any inconvienence this may cause you.

Well, the support has been disabled? What do you mean?

emerge -pv apache

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

Calculating dependencies ...done!
[ebuild   R   ] net-www/apache-2.0.54-r6  +apache2 -debug +doc -ldap -mpm-leader
-mpm-peruser +mpm-prefork -mpm-threadpool +mpm-worker -no-suexec +ssl
-static-modules -threads 0 kB

Commented out MPM=prefork in /etc/conf.d/apache2 and I can at least start the
new apache version. 

So does it now build only prefork, no matter what USE flags do you set? Would be
better to remove the flags then. Or which one takes precedence? Some
clarification would come really handy.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-01 07:47:58 UTC
Closing this one, as it actually compiles. Moving the comment on MPMs to Bug
94725, which seems more appropriate for this.