Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264936 - dev-util/subversion-1.6.0-r1 fails to emerge with sys-libs/db-4.7.25_p3 installed
Summary: dev-util/subversion-1.6.0-r1 fails to emerge with sys-libs/db-4.7.25_p3 insta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-05 03:35 UTC by Wilbur Pan
Modified: 2009-04-05 11:28 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 Wilbur Pan 2009-04-05 03:35:40 UTC
Trying to upgrade to the latest version of subversion, I get this error:

>>> Emerging (3 of 3) dev-util/subversion-1.6.0-r1
 * subversion-1.6.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                               [ ok ]
 * 
 * SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB.
 * Using: Berkeley DB 4.7
 * 
 * APR-Util is linked against Berkeley DB 4.6, but you are trying
 * to build Subversion with support for Berkeley DB 4.7.
 * Aborting to avoid possible run-time crashes.
 * 
 * ERROR: dev-util/subversion-1.6.0-r1 failed.
 * Call stack:
 *                    ebuild.sh, line   48:  Called pkg_setup
 *   subversion-1.6.0-r1.ebuild, line   78:  Called die
 * The specific snippet of code:
 *   			die "Berkeley DB version mismatch"
 *  The die message:
 *   Berkeley DB version mismatch
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-util:subversion-1.6.0-r1:20090405-033226.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/subversion-1.6.0-r1/temp/die.env'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.4.2.19"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge dev-util/subversion-1.6.0-r1, Log file:

>>>  '/var/log/portage/dev-util:subversion-1.6.0-r1:20090405-033226.log'


$ emerge --info
Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo i686)
=================================================================
System uname: Linux-2.6.29-gentoo-i686-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-glibc2.0
Timestamp of tree: Sun, 05 Apr 2009 02:45:03 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.7
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
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
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/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa artworkextra automount avahi bash-completion beagle berkdb branding bzip2 cairo cdda cddb cdr cjk cleartype cli consolekit cracklib crypt cups curl dbus device-mapper dri dvd dvdr dvdread eds emboss encode epiphany esd exif ffmpeg flac fortran gd gdbm gif gnome gnome-keyring gnomecd gpm gs gstreamer gtk gtkhtml guile hal iconv inotify ipv6 isdnlog java jpeg keyring ldap libnotify loop-aes lzma lzo mad mdnsresponder-compat midi mikmod mmx mono mp3 mpeg mudflap nautilus ncurses networking nls nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png policykit ppds pppd profile python quicktime readline reflection reiserfs rtc sdl session sound spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd threads tiff truetype unicode usb utils vorbis win32codecs x86 xattr xml xmp xorg xulrunner xv xvid zlib" 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-05 06:40:47 UTC
Please read the error message you posted more precise:

 * APR-Util is linked against Berkeley DB 4.6, but you are trying
 * to build Subversion with support for Berkeley DB 4.7.
 * Aborting to avoid possible run-time crashes.

So re-emerge dev-libs/apr-util (and maybe dev-libs/apr as well) against sys-libs/db-4.7 and you should be able to emerge subversion.
Comment 2 Wilbur Pan 2009-04-05 10:49:20 UTC
I see, thanks.

I'm going to quickly reopen this bug to suggest that the message provided in the ebuild explicitly state something like:

"APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying
to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}.

Re-emerge dev-libs/apr-util."
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-04-05 11:14:57 UTC
(In reply to comment #1)
> So re-emerge dev-libs/apr-util (and maybe dev-libs/apr as well)

Rebuilding dev-libs/apr isn't needed.

(In reply to comment #2)
> Re-emerge dev-libs/apr-util."

You can also set SVN_BDB_VERSION="4.6"
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-04-05 11:28:41 UTC
Fixed.