Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221185 - dev-util/subversion asks for non-existent berkeley db-4.0.14
Summary: dev-util/subversion asks for non-existent berkeley db-4.0.14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 224087 224299 225279 225503 225861 231537 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-10 07:56 UTC by Xavian-Anderson Macpherson
Modified: 2009-02-04 15:05 UTC (History)
11 users (show)

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


Attachments
subversion-1.5.0_rc5-x86_64-buildlog_emergeinfo_environment (subversion-1.5.0_rc5-x86_64-buildlog_emergeinfo_environment-2008.05.09_23:38:26,249.83 KB, text/plain)
2008-05-11 00:05 UTC, Xavian-Anderson Macpherson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavian-Anderson Macpherson 2008-05-10 07:56:01 UTC
configure: error: Berkeley DB 4.0.14 wasn't found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/subversion-1.5.0_rc5/work/subversion-1.5.0-rc5/config.log
 * 
 * ERROR: dev-util/subversion-1.5.0_rc5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5789:  Called econf 'src_compile' 'src_compile' '--with-swig' '--with-apxs=/usr/sbin/apxs2' '--with-berkeley-db' '--enable-javahl' '--with-jdk=/opt/sun-jdk-1.6.0.06' '--enable-nls' '--with-sasl' '--with-neon=/usr' '--without-serf' '--with-apr=/usr/bin/apr-1-config' '--with-apr-util=/usr/bin/apu-1-config' '--disable-experimental-libtool' '--without-jikes' '--without-junit'
 *               ebuild.sh, line  513:  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-util/subversion-1.5.0_rc5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/subversion-1.5.0_rc5/temp/environment'.

The resolution to this is simply not use the berkeley USE flag. But I don't think it's right to require a non-existent package as a dependency.

Shingoshi
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-05-10 17:04:14 UTC
This error means that no version of Berkeley DB was found.
Try:
emerge -1 db
USE="berkdb" emerge -1 apr-util
Comment 2 Xavian-Anderson Macpherson 2008-05-10 23:59:38 UTC
(In reply to comment #1)
> This error means that no version of Berkeley DB was found.
> Try:
> emerge -1 db
> USE="berkdb" emerge -1 apr-util
> 

I have four different slots filled with db. How is this going to change anything? I don't have any other package complaining about a missing db. This message was specifically asking for one version of db, 4.0.14. That version does NOT exist in the Gentoo portage. I will post my build.log and emerge --info here in one file. That may give you more information here.

Shingoshi
Comment 3 Xavian-Anderson Macpherson 2008-05-11 00:05:02 UTC
Created attachment 152795 [details]
subversion-1.5.0_rc5-x86_64-buildlog_emergeinfo_environment

All in one file.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-05-11 15:42:06 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > This error means that no version of Berkeley DB was found.
> > Try:
> > emerge -1 db
> > USE="berkdb" emerge -1 apr-util
> > 
> 
> I have four different slots filled with db. How is this going to change
> anything?

So you didn't try these commands?

> This message was specifically asking for one version of db, 4.0.14. That
> version does NOT exist in the Gentoo portage.

It's completely irrelevant. `./configure` prints the same message regardless of which version of Berkeley DB was not found, but it DOES look for other versions.

> -That may give you more information here.

That gave no useful information.
Comment 5 Dan A. Dickey 2008-05-19 12:58:07 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > This error means that no version of Berkeley DB was found.
> > > Try:
> > > emerge -1 db
> > > USE="berkdb" emerge -1 apr-util
> > > 
> > 
> > I have four different slots filled with db. How is this going to change
> > anything?
> 
> So you didn't try these commands?

Ok, I *did* try these commands - and they worked.
Specfically, re-emerging apr-util caused the subversion emerge
to start working and it can now find Berkeley DB.

As I too had several version of db already installed,
I think it was more likely the re-emerge of apr-util that
fixed things.

As far as I'm concerned - bug closed.
Comment 6 Andreas Stangl 2008-05-22 16:02:52 UTC
I had the same problem, emerge apr-util did the trick
Comment 7 ammar wk 2008-05-23 03:14:48 UTC
the thread should be closed
Comment 8 Xavian-Anderson Macpherson 2008-05-23 03:51:24 UTC
I now have this package installed with the berkdb USE flag, and don't remember what I did to do so.

Shingoshi
(In reply to comment #7)
> the thread should be closed
> 

I now have this package installed with the berkdb USE flag, and don't remember what I did to do so.

Shingoshi
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-29 15:36:20 UTC
*** Bug 224087 has been marked as a duplicate of this bug. ***
Comment 10 Bruno Laturner Lemes 2008-05-31 00:19:31 UTC
Same subversion-berkeley db problems here.

reemerging apr-util did the trick.

weird bug eh?
Comment 11 Benedikt Böhm (RETIRED) gentoo-dev 2008-06-01 00:01:38 UTC
*** Bug 224299 has been marked as a duplicate of this bug. ***
Comment 12 Dennis Schridde 2008-06-07 22:37:25 UTC
*** Bug 225279 has been marked as a duplicate of this bug. ***
Comment 13 Dennis Schridde 2008-06-07 22:37:37 UTC
From bug #225279:
subversion refuses to build against db-4.6, justifying it with:
checking for availability of Berkeley DB... no
configure: error: Berkeley DB 4.0.14 wasn't found.

In its configure script it checks whether the linked db claims to be version
4.0.14, while db-4.6 does not seem to do that.

Symlinking /usr/lib/libdb.so to libdb-4.5.so fixes that.
Comment 14 Dennis Schridde 2008-06-07 22:45:47 UTC
Your fix worked, too.
Comment 15 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-07 22:47:58 UTC
(In reply to comment #13)
> configure script it checks whether the linked db claims to be version
> 4.0.14, while db-4.6 does not seem to do that.

configure script checks if Berkeley DB is AT LEAST 4.0.14.

> Symlinking /usr/lib/libdb.so to libdb-4.5.so fixes that.

It's incorrect workaround.
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-10 17:31:06 UTC
*** Bug 225503 has been marked as a duplicate of this bug. ***
Comment 17 Benedikt Böhm (RETIRED) gentoo-dev 2008-06-11 14:59:47 UTC
*** Bug 225861 has been marked as a duplicate of this bug. ***
Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-12 17:19:53 UTC
*** Bug 231537 has been marked as a duplicate of this bug. ***
Comment 19 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-06 18:50:10 UTC
AFAIK this bug was never fixed and the proposed workaround is plain evil.
Comment 20 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-10-07 11:05:25 UTC
(In reply to comment #19)
> AFAIK this bug was never fixed

This bug should be WORKSFORME or INVALID. Users have to reemerge APR-Util after upgrading Berkeley DB.
Comment 21 Nakul Hoelz 2008-10-07 14:02:41 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > AFAIK this bug was never fixed
> 
> This bug should be WORKSFORME or INVALID. Users have to reemerge APR-Util after
> upgrading Berkeley DB.
> 

In my case, re-emerging Apr-util after the install berkley-db still does not fix the problem ... this bug is not fixed...and the workaround does not always work.
Comment 22 Nakul Hoelz 2008-10-07 14:05:03 UTC
As a further add on... you can get apr, apr-util and berkley-db, install berkley-db, install apr and install apr-util all with reference to the newly installed berkley-db then compile subversion from scratch... that fixes the problem.
Comment 23 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-01-07 14:31:34 UTC
In r35017 I have fixed the message:
"Berkeley DB 4.0.14 wasn't found." -> "Berkeley DB 4.0.14 or newer wasn't found."

>=subversion-1.6_pre35020 ebuilds manually specify Berkeley DB version.

https://svn.collab.net/viewvc/svn?view=revision&revision=35017
https://svn.collab.net/viewvc/svn?view=revision&revision=35021
https://svn.collab.net/viewvc/svn?view=revision&revision=35059
Comment 24 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-02-04 15:05:20 UTC
(In reply to comment #23)

>=subversion-1.6_pre35665 doesn't require that APR-Util be build with support for Berkeley DB.

https://svn.collab.net/viewvc/svn?view=revision&revision=35665