Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145931

Summary: apache-1.3.37 failing to build on amd64
Product: Gentoo Linux Reporter: Michael Cummings (RETIRED) <mcummings>
Component: New packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Cummings (RETIRED) gentoo-dev 2006-09-01 19:01:02 UTC
+ adding selected modules
    o rewrite_module uses ConfigStart/End
      disabling DBM support for mod_rewrite
      (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
    o dbm_auth_module uses ConfigStart/End
    o db_auth_module uses ConfigStart/End
Error: None of Berkeley-DB 1.x, 2.x or 3.x libraries found.
       Either disable mod_auth_db or provide us with the paths
       to the Berkeley-DB include and library files.
       (Hint: INCLUDES, LDFLAGS, LIBS)
===> src
make[1]: Entering directory `/var/tmp/portage/apache-1.3.37/work/apache_1.3.37'
make[2]: Entering directory `/var/tmp/portage/apache-1.3.37/work/apache_1.3.37/src'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/apache-1.3.37/work/apache_1.3.37/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/tmp/portage/apache-1.3.37/work/apache_1.3.37'
make: *** [build] Error 2

!!! ERROR: net-www/apache-1.3.37 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  apache-1.3.37.ebuild, line 146:   Called die

!!! problem compiling apache
!!! If you need support, post the topmost build error, and the call stack if relevant.


I thought this might be bug 95140, but I have db-1.85-r3, db-3.2.9-r11, db-4.2.52_p2-r1, and db-4.3.29, so if I'm missing a slotted db, not sure where :) Tried this with both apache-1.3.37 and the the 1.3.34 that's stable for amd64.


Portage 2.1.1_pre3-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glib
c-2.4-r3, 2.6.17-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gcon
f /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks metadata-transfer multilib-strict sandbox sfp
erms sign strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/mcummings/projects/overlay/experimental /home/mcummings/p
rojects/overlay/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac alsa apache2 aqua_theme avi background berkdb bitmap-
fonts browserplugin carbone_theme cdr cli crypt cups curl dbus dlloader dri dvb 
dvd dvdr dvdread eds emboss encode esd fame ffmpeg firefox flac foomaticdb fortr
an gif gnome gnome-print gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib is
dnlog java jpeg libwww lirc live lzw lzw-tiff mad mbrola mjpeg modperl mozilla m
p3 mpeg mplayer musicbrainz mysql na_dd ncurses nptl nptlonly nsplugin nvidia og
g oggvorbis opengl pam pcre pdflib perl png ppds pppd python qt3 qt4 readline re
flection samba sdl session spell spl sqlite ssl svg tagwriting tcltk tcpd test t
heora tiff transcode truetype truetype-fonts tv_check type1-fonts usb v4l v4l2 v
cd vdr vorbis xalan xanim xinerama xml xorg xpm xprint xv xvid xvmc zlib elibc_g
libc input_devices_keyboard input_devices_mouse kernel_linux lirc_devices_hauppa
uge lirc_devices_happauge_dvb userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU
AS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-09-02 06:19:41 UTC
got it - looks like your missing a dep on gdbm (as i had none, and once emerged, apache-1* emerges as well)

This:
 || ( sys-libs/gdbm ~sys-libs/db-1.85 )
is bogus, they do not provide equivalent functionality for apache (as i had db-1.85 and apache didn't compile, now i habe gdbm and it does)
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-09-02 08:40:55 UTC
In reply to comment #1)
> got it - looks like your missing a dep on gdbm (as i had none, and once
> emerged, apache-1* emerges as well)
> 
> This:
>  || ( sys-libs/gdbm ~sys-libs/db-1.85 )
> is bogus, they do not provide equivalent functionality for apache (as i had
> db-1.85 and apache didn't compile, now i habe gdbm and it does)
> 

That line is there for ndbm, which both gdbm and db-1 provide. From what I can tell, it looks like apache is not detecting db correctly. I'm unable to reproduce this with my system though, so I suspect it's something funky with amd64 or multilib.

However, it looks like gdbm is in a stage3 in both 2006.0 and 2006.1, so rather then trying to fix db-1 support in apache, I'm going to just make it a singular dependency on gdbm.
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-09-02 08:50:23 UTC
Fixed in CVS for 1.3.37.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2006-09-02 10:11:33 UTC
Thanks :)