Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107935 - Cannot emerge apache-2.0.54-r31
Summary: Cannot emerge apache-2.0.54-r31
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 107936 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-02 15:34 UTC by Denys Yurchenko
Modified: 2006-01-17 12:19 UTC (History)
1 user (show)

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 Denys Yurchenko 2005-10-02 15:34:16 UTC
Cannot emerge apache.

Reproducible: Always
Steps to Reproduce:
1.emerge apache
2.
3.

Actual Results:  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgdbm
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/support'
make: *** [all-recursive] Error 1

!!! ERROR: net-www/apache-2.0.54-r31 failed.
!!! Function src_compile, Line 170, Exitcode 2
Comment 1 Denys Yurchenko 2005-10-02 15:36:02 UTC
*** Bug 107936 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-02 23:25:37 UTC
Please, don't assign bugs if you are not sure who is the correct assignee. Also,
this has nothing in common w/ baselayout. 
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-10-03 18:46:47 UTC
Please post an emerge info.
Comment 4 Denys Yurchenko 2005-10-06 06:24:36 UTC
Where can I find an emerge info?
Comment 5 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-10-06 20:57:54 UTC
Type it at the command line.
Comment 6 gentoo@hillisgroup.com 2005-10-10 12:43:51 UTC
Same problem

Portage 2.0.51.22-r3 (default-linux/x86/2005.0/2.4, gcc-3.3.6, glibc-2.3.5-r2, 
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -march=pentium2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo 
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ 
http://cudlug.cudenver.edu/gentoo/ 
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ 
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ 
http://gentoo.ccccom.com ftp://gentoo.ccccom.com 
http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo 
http://gentoo.netnitco.net 
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ 
http://mirror.tucdemonic.org/gentoo/ 
http://mirror.clarkson.edu/pub/distributions/gentoo/ 
http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ 
http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ 
ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org 
http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo 
http://gentoo.eliteitminds.com http://gentoo.cs.lewisu.edu/gentoo/ 
ftp://linux.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo 
http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ 
ftp://mirror.usu.edu/mirrors/gentoo/ http://lug.mtu.edu/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 async authdaemond berkdb bzip2 cgi chroot clamav clamd crypt 
curl eds emboss encode fam fortran gdbm gpm html http imap libg++ libwww 
maildir mmx mysql ncurses nls ogg pam perl python qt readline sasl sendmail 
spell ssl tcpd xml2 xslt zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 7 Sergey Shkoliarenko 2005-10-12 15:22:43 UTC
i have almost the same:
/usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc 
-pthread  -O2 -mcpu=athlon-xp -march=athlon-xp -pipe  -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/usr/include/db4 -I.
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/os/unix
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/server/mpm/prefork
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/modules/http
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/modules/filters
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/modules/proxy
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/include
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/modules/generators
-I/usr/include/openssl
-I/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/modules/dav/main
-export-dynamic -L/usr/lib   -o htpasswd  htpasswd.lo   -lz -lssl -lcrypto -ldl
/var/tmp/portage/apache-2.0.54-r31/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]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/support'
make: *** [all-recursive] Error 1

emerge info:
Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-gentoo-r7 i686)
=================================================================
System uname: 2.6.12-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.vip/ http://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gentoo.mirror.icd.hu/ http://pandemonium.tiscali.de/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at/
http://gentoo.zie.pg.gda.pl http://gentoo.eliteitminds.com
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.du.se/pub/os/gentoo
http://ftp.heanet.ie/pub/gentoo/"
LANG="ru_RU.ISO8859-5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.0.10/portage/"
USE="x86 3dnow X aalib acl alsa apm arts avi berkdb bitmap-fonts cdr cscope cups
curl eds emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 imlib jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx
motif mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl
plotutils png python qt quicktime readline samba scanner sdl slang spell sqlite
sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis
xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Comment 8 Bryan Østergaard (RETIRED) gentoo-dev 2005-10-12 16:41:06 UTC
People seeing errors about undefined reference to `db_create_4001' in libaprutil
should remerge apr and aprutil before emerging apache.

The cannot find -lgdbm error is fixed afaik - please remerge gdbm and try again.
Comment 9 Sergey Shkoliarenko 2005-10-18 14:18:17 UTC
Bryan, you are right. I've reemerged apr apr-util and gdbm. Apache compiled
successfully and worked. Thank you.
Comment 10 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-10-22 20:09:21 UTC
Solutions in comment #8 and confirmed in comment #9
Comment 11 Denys Yurchenko 2006-01-17 12:19:07 UTC
Fine.