Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519846 - net-libs/libetpan: has hardcoded (and outdated) db version list and LDFLAGS
Summary: net-libs/libetpan: has hardcoded (and outdated) db version list and LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2014-08-13 18:54 UTC by Michał Górny
Modified: 2021-05-03 22:02 UTC (History)
4 users (show)

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-13 18:54:59 UTC
checking version of Berkeley DB... version 3.x or above
checking for db_create() in -ldb-5.3... not found
checking for db_create() in -ldb-5.1... not found
checking for db_create() in -ldb-5.0... not found
checking for db_create() in -ldb-4.8... not found

while I have 6.0 installed. Please use db-use.eclass to get proper library and flags.
Comment 1 Branko Grubic 2014-10-04 19:48:15 UTC
This is probably why it never removes older libdb-4.8.so and always show 

!!! existing preserved libs:
>>> package: sys-libs/db-4.8.30-r1
 *  - /usr/lib64/libdb-4.8.so
 *      used by /usr/lib64/libetpan.so.17.1.0 (net-libs/libetpan-1.5)

and 'emerge @preserved-rebuild' rebuilds the package but it still links against old libdb.
Comment 2 Mark 2015-08-21 14:07:30 UTC
This seems simple enough.  Will it ever be fixed?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-02 13:39:20 UTC
$ libetpan-config --libs
-L/usr/lib64 -letpan -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lz -lssl -lcrypto -ldb-5.3 -lz -pthread
Comment 4 Larry the Git Cow gentoo-dev 2019-11-05 15:57:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688ff0a0502de09115e883dc1a551ab6da13ae23

commit 688ff0a0502de09115e883dc1a551ab6da13ae23
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-11-05 15:56:55 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-11-05 15:56:55 +0000

    net-libs/libetpan: Bump to version 1.9.4
    
    Attempt to fix berkdb detection
    
    Bug: https://bugs.gentoo.org/519846
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-libs/libetpan/Manifest                         |  1 +
 .../files/libetpan-1.9.4-berkdb_lookup.patch       | 28 ++++++++
 .../libetpan-1.9.4-pkgconfig_file_no_ldflags.patch | 24 +++++++
 net-libs/libetpan/libetpan-1.9.4.ebuild            | 77 ++++++++++++++++++++++
 4 files changed, 130 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-03 22:02:56 UTC
Looks like affected versions are gone now?