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.
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.
This seems simple enough. Will it ever be fixed?
$ libetpan-config --libs -L/usr/lib64 -letpan -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lz -lssl -lcrypto -ldb-5.3 -lz -pthread
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(+)
Looks like affected versions are gone now?