Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171209 - dev-libs/apr-util-0.9.12 does not compile with sys-libs/db-4.5.20_p2
Summary: dev-libs/apr-util-0.9.12 does not compile with sys-libs/db-4.5.20_p2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-17 02:32 UTC by Ramin
Modified: 2007-04-18 12:52 UTC (History)
4 users (show)

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


Attachments
emerge --info (info,74 bytes, text/plain)
2007-03-17 02:33 UTC, Ramin
Details
config.log (config.log,15.57 KB, text/plain)
2007-03-17 02:35 UTC, Ramin
Details
my emerge --info (emerge.info,2.75 KB, text/plain)
2007-03-18 18:44 UTC, unnamedrambler
Details
my emerge --info (emerge.info,8.01 KB, text/plain)
2007-03-24 12:01 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ramin 2007-03-17 02:32:09 UTC
When I try to emerge subversion I get this error:
configure: error: APR-UTIL wasn't linked against Berkeley DB 4,
                        while the fs component is required.  Reinstall
                        APR-UTIL with the appropiate options.
So I try to compile dev-libs/apr-util-0.9.12 with the berkdb USE-Flag 

Reproducible: Always

Steps to Reproduce:
emerge subversion 
or 
emerge apr-util
Actual Results:  
configure: error: Berkeley DB not found

Expected Results:  
berkdb should be a depency if the USE-Flag is enabled
Comment 1 Ramin 2007-03-17 02:33:59 UTC
Created attachment 113541 [details]
emerge --info
Comment 2 Ramin 2007-03-17 02:35:36 UTC
Created attachment 113545 [details]
config.log

Sorry for the last attachment ... that was useless :(
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 07:48:09 UTC
Post the output of emerge -NuDpv world...
Comment 4 Ramin 2007-03-17 11:34:52 UTC
For testing I removed the previous apr-util already.
So I do not believe that this will help much, but here it is:

emerge -DupvN world

These are the packages that would be merged, in order:

Calculating world dependencies  ..... ..... ..... ........ done!
[ebuild  N    ] dev-libs/apr-util-0.9.12  USE="berkdb gdbm -ldap" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 11:47:46 UTC
So which sys-libs/db version(s) you have installed? Plus post emerge --info as well.
Comment 6 Ramin 2007-03-17 13:27:14 UTC
Comment on attachment 113541 [details]
emerge --info

Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Mar 2007 19:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS=" http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.tiscali.nl/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://distfiles.gentoo.org"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acpi akode alsa amd64 apache2 apm arts asf atlas audiofile automount bash-completion bcmath berkdb bitmap-fonts blas bluetooth bootsplash branding bzip2 cairo calendar cdb cdda cddb cdparanoia cdr clamav cli cpudetection cracklib crypt cups daap dbus dga dmx dri dts dv dvb dvd dvdread ecc encode esd exif fam ffmpeg fftw firefox flac font-server fortran ftp gd gdbm geoip gif ginac glut gnutls gpgme gphoto2 gpm graphviz gs gstreamer gtk gtk2 hal iconv idea ieee1394 imagemagick imap imlib ipv6 isdnlog jack java javascript jbig joystick jpeg jpeg2k kde kdepim lapack latex lcms libcaca libg++ libnotify libwww linuxthreads-tls live lm_sensors logrotate lzo mad maildir math matroska mbox midi mime mng motif mozbranding mozcalendar mozdevelop mozsvg mp3 mp4 mpeg mpi mplayer musepack musicbrainz mysql ncurses netboot nls nocd nptl nptlonly nsplugin nvidia nxclient oav ocaml offensive ofx ogg openexr opengl pam pcre pda pdf perl php plotutils png povray ppds pppd python qt3 qt4 quicktime rdesktop readline samba sasl sdl sensord session skey smp snmp speex spell spl ssl subtitles subversion svg svgz symlink szip tcl tcltk tcpd tetex theora tidy tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd verbose videos vim-with-x visualization vlm vnc vorbis wmf x264 xanim xcomposite xft xine xinerama xml xorg xpm xv xvid xvnc zeroconf zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 7 Ramin 2007-03-17 13:31:03 UTC
(In reply to comment #5)
> So which sys-libs/db version(s) you have installed? Plus post emerge --info as
> well.
> 

That might be the problem.
I unmasked =sys-libs/db-4.5.20_p2 when installing Openoffice.

So now I have two version on my system:
eix sys-libs/db
[U] sys-libs/db
     Available versions:
        (1)     1.85-r1 1.85-r2 1.85-r3
        (3)     3.2.9-r10 3.2.9-r11
        (4.2)   4.2.52_p2-r1 4.2.52_p4-r2
        (4.3)   ~4.3.29-r2
        (4.4)   ~4.4.20_p4
        (4.5)   (~)4.5.20_p2
     Installed versions:  4.2.52_p2-r1(4.2)(23:49:07 08/09/06)(-bootstrap -doc -java -nocxx -tcltk)
                          4.5.20_p2(4.5)(00:17:35 03/14/07)(-bootstrap -doc -elibc_FreeBSD java -nocxx tcl -test)
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 16:10:20 UTC
(In reply to comment #7)
> That might be the problem.
> I unmasked =sys-libs/db-4.5.20_p2 when installing Openoffice.

Weird, it compiles just fine here...
Comment 9 Ramin 2007-03-17 16:59:03 UTC
I think the problem lies somewhere else. But since this system is not even a week old I really wonder what it could be.

By now I tried the old versions as well. But none of them works:

4.2.52_p4-r2(4.2)(15:22:01 03/17/07)(-bootstrap -doc -elibc_FreeBSD java -nocxx tcl -test)
4.3.29-r2(4.3)(15:12:17 03/17/07)(-bootstrap -doc -elibc_FreeBSD java -nocxx tcl -test)
4.4.20_p4(4.4)(14:51:40 03/17/07)(-bootstrap -doc -elibc_FreeBSD java -nocxx tcl -test)
4.5.20_p2(4.5)(00:17:35 03/14/07)(-bootstrap -doc -elibc_FreeBSD java -nocxx tcl -test)
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 17:05:14 UTC
(In reply to comment #9)
> By now I tried the old versions as well. But none of them works:

Uhm, not exactly useful test unless you uninstall all other db-4* versions, otherwise it will always pick up the latest one.
Comment 11 Ramin 2007-03-17 17:11:29 UTC
(In reply to comment #10)
> Uhm, not exactly useful test unless you uninstall all other db-4* versions,
> otherwise it will always pick up the latest one.

Yes of course I just figured out myself, sorry.
I unmerged =sys-libs/db-4.5.20_p2 and now the configure script (and the dev-libs/apr-util emerge) worked fine using version 4.4.20_p4

So I am pretty sure that the problem is =sys-libs/db-4.5.20_p2
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 17:22:27 UTC
(In reply to comment #11)
> So I am pretty sure that the problem is =sys-libs/db-4.5.20_p2

Well, then it needs to be fixed... :) 

Comment 13 unnamedrambler 2007-03-18 18:44:34 UTC
Created attachment 113680 [details]
my emerge --info
Comment 14 unnamedrambler 2007-03-18 18:45:31 UTC
I had the same problem:

emerge apr-util
configure: error: Berkeley DB not found

I had two versions of sys-libs/db installed

4.5.52_p2-r1
and 
4.5.52_p2-r2

I removed 4.5.52_p2-r2 and then apr-util emergd as expected.

Not sure if it is related, but this is a very new system too: I performed the stage 3 install last night.
Comment 15 Caleb Tennis (RETIRED) gentoo-dev 2007-03-19 12:47:34 UTC
What about 0.9.12-r1, which should have a fix for this?
Comment 16 Ramin 2007-03-19 13:56:55 UTC
sys-libs/db
4.5.20_p2(4.5)(14:44:29 03/19/07)(-bootstrap -doc -elibc_FreeBSD java -nocxx tcl -test)

dev-libs/apr-util
0.9.12-r1(14:46:00 03/19/07)(berkdb gdbm -ldap)

Seems to have worked flawlessly on my system (which by the way set up very recently as well).
Comment 17 Dominique Michel 2007-03-24 11:56:24 UTC
0.9.12-r1 did it fine here. My system is at least one year old.
Comment 18 Dominique Michel 2007-03-24 12:01:06 UTC
Created attachment 114224 [details]
my emerge --info
Comment 19 Branko Majic 2007-04-18 09:18:55 UTC
Well, in my case using the dev-libs/apr-util-0.9.12-r1 package instead of dev-libs/apr-util-0.9.12 worked fine as well (I had the same "No berkdb found" error on amd64). Therefor I think that dev-libs/apr-util-0.9.12 should kick the bucket completely, and dev-libs/apr-util-0.9.12-r1 should be marked stable instead.
Comment 20 Christian Heim (RETIRED) gentoo-dev 2007-04-18 11:02:31 UTC
The problem is you guys are mixing stable and unstable systems. Either keyword both >=sys-libs/db-4.4 *and* =dev-libs/apr-util-0.9.12-r1 or don't keyword them.

>=sys-libs/db-4.4 isn't stable on any architecture, so you either do/use the above or use this mix and expect breakage.
Comment 21 Branko Majic 2007-04-18 12:28:41 UTC
Sorry, my mistake. I just realized that the db I'm using is unstable - my bad once again ;) (although, correct me if I'm wrong, aren't those '-r*' versions supposed to be the same packages, but with some additional fixes?).
Comment 22 Christian Heim (RETIRED) gentoo-dev 2007-04-18 12:52:28 UTC
(In reply to comment #21)
> Sorry, my mistake. I just realized that the db I'm using is unstable - my bad
> once again ;) (although, correct me if I'm wrong, aren't those '-r*' versions
> supposed to be the same packages, but with some additional fixes?).

Yes, they are (apr-util-0.9.12-r1 is just apr-util-0.9.12 + the >=db-4.4 fix and some AUTO* foo, nothing more).