Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263347 - dev-util/subversion-1.6.0 fails to find Berkeley DB when APR-Util is built with support for the non-newest version of Berkeley DB
Summary: dev-util/subversion-1.6.0 fails to find Berkeley DB when APR-Util is built wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 10:25 UTC by Ben de Groot (RETIRED)
Modified: 2009-03-22 14:40 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,50.38 KB, text/plain)
2009-03-22 10:27 UTC, Ben de Groot (RETIRED)
Details
build log (dev-util:subversion-1.6.0:20090322-100742.log,10.47 KB, text/plain)
2009-03-22 10:29 UTC, Ben de Groot (RETIRED)
Details
subversion-1.6.0.ebuild.patch (subversion-1.6.0.ebuild.patch,2.10 KB, patch)
2009-03-22 13:46 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben de Groot (RETIRED) gentoo-dev 2009-03-22 10:25:34 UTC
On trying to emerge dev-util/subversion-1.6.0 econf fails on:

checking for availability of Berkeley DB... no
configure: error: Berkeley DB 4.0.14 or newer wasn't found.

But I have sys-libs/db-4.5.20_p2-r1 and 4.6.21_p3-r1 installed...
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2009-03-22 10:27:37 UTC
Created attachment 185839 [details]
config.log
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-03-22 10:29:44 UTC
Created attachment 185841 [details]
build log

% emerge --info
Portage 2.2_rc26 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-hh3 x86_64)
=================================================================
System uname: Linux-2.6.28-hh3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.0
Timestamp of tree: Sun, 22 Mar 2009 08:45:01 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.1-r1
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
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.28-r1
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ALSA_CARDS="hda-intel"
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"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions alias asis auth_basic authz_host autoindex charset_lite dbd deflate dir expires filter headers info mime mime_magic negotiation rewrite speling status vhost_alias"
APACHE2_MPMS="worker"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O3 -march=athlon64-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 -ftree-vectorize -w -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="default;default"
COLORTERM="rxvt-xpm"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O3 -march=athlon64-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 -ftree-vectorize -w -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-Ev3mhCbhO8,guid=0590b66e220c3d89e269d4be49c40cc2"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTDIR="/var/distfiles"
ECHANGELOG_USER="Ben de Groot <yngwin@gentoo.org>"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS=" --verbose --jobs=3 --keep-going --load-average=6"
EMERGE_WARNING_DELAY="10"
FEATURES="autoaddcvs collision-protect cvs distlocks fixpackages noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
GPGKEY="5AEF9226"
HG="/usr/bin/hg"
HOME="/home/ben"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/home/ben/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/home/ben/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/ben/.gentoo/java-config-2/current-user-vm"
KERNEL="linux"
LANG="en_GB.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSCHARSET="utf-8"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="en_GB en_US en"
LOGNAME="ben"
MAIL="/var/mail/ben"
MAKEOPTS="-j3 -s"
MANPAGER="/usr/bin/most"
MANPATH="/home/ben/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.19.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/man:/etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/4.2/share/man"
MPD_HOST="localhost"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NETBEANS_MODULES="apisupport harness ide nb php webcommon websvccommon xml"
NPTL_KERNEL_VERSION="2.6.27"
OLDPWD="/home/ben/gentoo/gentoo-x86/x11-themes/gtk-engines-qtcurve"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/vimpager"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.3:/usr/kde/4.2/bin"
PKGDIR="/var/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa amd64-fbsd sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ECLASS_WARNING_ENABLE="0"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="echo save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="17"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0770"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/repos/sunrise /var/repos/genscripts /var/repos/mpd /var/repos/kde-testing /var/repos/local /home/ben/overlay/berkano/trunk /home/ben/overlay/lxde /home/ben/overlay/qting-edge"
PORT_LOGDIR="/var/log/portage/"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/ben/gentoo/gentoo-x86/media-sound/aqualung"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.3:/usr/kde/4.2/sbin:/usr/kde/4.2/bin"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/zsh"
SHLVL="3"
STAGE1_USE="multilib nptl nptlonly unicode"
SVN_EDITOR="vim"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
TERM="rxvt-unicode"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi aften afterimage alsa amd64 amr amrnb amrwb aotuv apache2 asf ass avi berkdb branding browserplugin bzip2 cairo caps cdda cddb cdparanoia cdr cli cracklib crypt curl custom-cxxflags cxx dbus dirac divx dlloader dri dts dv dvd dvdnav dvdr dvdread enca encode exif expat fam fastcgi fbcon flac fontconfig fortran ftp fuse gdbm gif glep glib glibc-compat20 glibc-omitfp glitz gnutls gpg gpgme gpm gstreamer gtk hal html icecast iconv icq icu id3 id3tag idn image imagemagick innodb jabber java5 java6 javascript jpeg kde kdeenablefinal kdehiddenvisibility kdeprefix kdrive kpathsea lame largefile libsamplerate libssh2 libwww libyaml lm_sensors logrotate lua lzma lzo mad maildir matroska midi mikmod mime mixer mmx mmxext mng mod_python mozsvg mp2 mp3 mp4 mp4live mpd mpeg mpeg2 mplayer msn mudflap multilib musepack musicbrainz mysql nano-syntax ncurses neon nepomuk nls no-old-linux nptl nptlonly nsplugin nvidia offensive ogg oggflac opengl openmp pam pch pcre pdf pdflib perl phonon php png posix python qt3support qt4 quicktime readline reflection reiser4 replaygain schroedinger sdl session smp spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification subtitles subversion svg sysfs taglib tcpd themes theora threads threadsafe tidy tiff timezone toolbar tools trayicon truetype tunepimp twisted unicode upnp usb userlocales utf8 vim-syntax vim-with-x vorbis vte wav wavpack webdav webkit wifi wma wmf wmp x264 xcb xcomposite xiph xml xmlreader xmlrpc xmlwriter xorg xsl xslt xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="hda-intel" 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 asis auth_basic authz_host autoindex charset_lite dbd deflate dir expires filter headers info mime mime_magic negotiation rewrite speling status vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en" NETBEANS_MODULES="apisupport harness ide nb php webcommon websvccommon xml" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
USER="ben"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia vesa"
WINDOWID="10485896"
WINDOWPATH="7"
XAUTHORITY="/home/ben/.Xauthority"
XDG_DATA_DIRS="/usr/share:/usr/kde/4.2/share:/usr/local/share"
XDG_SESSION_COOKIE=""
_="/usr/bin/emerge"
Comment 3 Holger Hoffstätte 2009-03-22 12:56:28 UTC
Just wanted to mention that I added ~x86 to the ebuild and built 1.6.0 without problems - it found db 4.6 (though I'm using fsfs) and everything works (update, pack, checkin/out, log..)
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-22 13:45:25 UTC
This problem occurs only when multiple versions of Berkeley DB are installed and APR-Util is built with support for the non-newest version of Berkeley DB.

The recommended action is to rebuild dev-libs/apr-util to ensure that it uses the newest version of Berkeley DB.

I have implemented SVN_BDB_VERSION variable which allows to enforce using of a specific version of Berkeley DB (e.g. `SVN_BDB_VERSION=4.5 emerge subversion`).
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-22 13:46:18 UTC
Created attachment 185861 [details, diff]
subversion-1.6.0.ebuild.patch

Please test this patch.
Comment 6 Ben de Groot (RETIRED) gentoo-dev 2009-03-22 14:16:38 UTC
I thought this might have something to do with multiple db versions. The patch works fine, except for the typo in line 134 of the ebuild: you want a space after eerror.

That resolves the issue for me.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-03-22 14:40:53 UTC
Fixed.