SYMPTOM run revdep-rebuild or cave fix-linkage and (repeatedly) observe: * net-nds/openldap-2.4.40-r3::installed /usr/lib64/libldapcpp.la (requires /usr/lib64/liblber.la /usr/lib64/libldap.la) CURE --- gentoo/net-nds/openldap/openldap-2.4.40-r3.ebuild~ 2014-11-10 01:51:21.000000000 +0100 +++ gentoo/net-nds/openldap/openldap-2.4.40-r3.ebuild 2015-01-23 04:40:09.000000000 +0100 @@ -697,8 +697,9 @@ if use cxx ; then einfo "Install the ldapc++ library" cd "${BUILD_DIR}/contrib/ldapc++" || die emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install + use static-libs || prune_libtool_files --all cd "${S}"/contrib/ldapc++ || die newdoc README ldapc++-README fi SEE ALSO # grep prune_libtool_files gentoo/net-nds/openldap/openldap-2.4.40-r3.ebuild Reproducible: Always
Created attachment 394694 [details, diff] openldap-2.4.40-r3.ebuild.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5eaafc35a30d6371c1edfc53d44cf0678a849c8 commit d5eaafc35a30d6371c1edfc53d44cf0678a849c8 Author: Zhao Yongming <ming.zym@gmail.com> AuthorDate: 2017-10-16 08:50:09 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2017-11-05 20:45:27 +0000 net-nds/openldap: fix modules libtool files prune the prune_libtool_files is run before the modules intall, that will leave many la files in openldap module directory broken due to main la file is gone, which will make revdep-rebuild or cave fix-linkage keep rebuilding net-nds/openldap. keep module la files removed by default will prevent user from using .la file in modules config, which is working but should not been encouraged, such as BUG:600484 Fixes: https://bugs.gentoo.org/537418 (cherry picked from commit 2c2376d9efd3d77424e3c8a626a165daf881e145) Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> net-nds/openldap/openldap-2.4.44-r1.ebuild | 3 ++- net-nds/openldap/openldap-2.4.44.ebuild | 3 ++- net-nds/openldap/openldap-2.4.45.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-)