Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285699 - dev-libs/apr-util fails to build on db48
Summary: dev-libs/apr-util fails to build on db48
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 13:37 UTC by Andrew Brouwers
Modified: 2009-09-20 13:47 UTC (History)
0 users

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


Attachments
build.log (build.log,4.39 KB, text/plain)
2009-09-20 13:38 UTC, Andrew Brouwers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Brouwers 2009-09-20 13:37:18 UTC
As title describes, configure does locate Berkely DB on my system:

>>> Emerging (13 of 18) dev-libs/apr-util-1.3.9
 * apr-util-1.3.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking apr-util-1.3.9.tar.gz to /var/tmp/portage/dev-libs/apr-util-1.3.9/work
>>> Source unpacked in /var/tmp/portage/dev-libs/apr-util-1.3.9/work
>>> Preparing source in /var/tmp/portage/dev-libs/apr-util-1.3.9/work/apr-util-1.3.9 ...
 * Running elibtoolize in: apr-util-1.3.9/xml/expat/conftools
 *   Applying install-sh-1.5.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.26.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/apr-util-1.3.9/work/apr-util-1.3.9 ...
 * Found db version 4.8
 * Found db version 4.8
include version 4.8
 * econf: updating apr-util-1.3.9/xml/expat/conftools/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating apr-util-1.3.9/xml/expat/conftools/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating apr-util-1.3.9/build/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating apr-util-1.3.9/build/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --datadir=/usr/share/apr-util-1 --with-apr=/usr --with-expat=/usr --without-freetds --with-gdbm --without-mysql --without-odbc --without-pgsql --without-sqlite2 --without-sqlite3 --with-dbm=db48 --with-berkeley-db=/usr/include/db4.8:/usr/lib64
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.3.9
checking for chosen layout... apr-util
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
Applying apr-util hints file rules for x86_64-pc-linux-gnu
checking for APR... yes
  setting CPP to "x86_64-pc-linux-gnu-gcc -E"
  adding "-pthread" to CFLAGS
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
configure: error: Berkeley DB not found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/apr-util-1.3.9/work/apr-util-1.3.9/config.log
 * 
 * ERROR: dev-libs/apr-util-1.3.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 1552:  Called econf '--datadir=/usr/share/apr-util-1' '--with-apr=/usr' '--with-expat=/usr' '--without-freetds' '--with-gdbm' '--without-mysql' '--without-odbc' '--without-pgsql' '--without-sqlite2' '--without-sqlite3' '--with-dbm=db48' '--with-berkeley-db=/usr/include/db4.8:/usr/lib64'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/apr-util-1.3.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/apr-util-1.3.9/temp/environment'.
 * 

>>> Failed to emerge dev-libs/apr-util-1.3.9, Log file:


My system:
Portage 2.1.6.13 (default/linux/amd64/10.0/no-multilib, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31 x86_64)
=================================================================
System uname: Linux-2.6.31-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 20 Sep 2009 00:00:01 +0000
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r1, 3.1.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb bzip2 cairo cddb cdr cli dbus djvu dri dvd dvdr encode fam flac fortran gdbm gif gphoto2 gtk hal iconv imagemagick isdnlog jpeg lame laptop mad mmx mng mp3 mp4 mpeg mplayer mudflap nptl nptlonly offensive ogg opengl openmp pcre pdf perl png pppd readline reflection session spl sse sse2 ssl svg sysfs taglib tcpd theora tiff unicode usb vorbis wifi x264 xcomposite xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Andrew Brouwers 2009-09-20 13:38:19 UTC
Created attachment 204689 [details]
build.log
Comment 2 Andrew Brouwers 2009-09-20 13:47:32 UTC
Sorry, this can be closed as a duplicate; I somehow missed:

https://bugs.gentoo.org/285522

while searching.