Build fails in lib_check with: * QA Notice: Missing gen_usr_ldscript for libpwquality.so * ERROR: dev-libs/libpwquality-1.4.5::gentoo failed: * add those ldscripts > emerge -pqv =dev-libs/libpwquality-1.4.5 [ebuild N ] dev-libs/libpwquality-1.4.5 USE="pam python (-split-usr) static-libs" PYTHON_TARGETS="-python3_10 python3_11"
Created attachment 880747 [details] build log
Created attachment 880748 [details] emerge --info
Builds successfully with USE="-static-libs"
Hm. src_install has: ``` if use static-libs; then # Do not install static libs in /lib mkdir -p "${ED}/usr/$(get_libdir)" mv "${ED}/$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die gen_usr_ldscript libpwquality.so fi ```
*** Bug 925930 has been marked as a duplicate of this bug. ***
see my detection problem in https://bugs.gentoo.org/925930
(In reply to smail.muk2 from comment #6) > see my detection problem in https://bugs.gentoo.org/925930 Yes, it's the same thing. Honestly, we could fix this properly, but we're trying to remove usr-ldscript anyway, so let's just do that here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58fd04c167b4a234ad0f79b02cc186565a5ca8b commit e58fd04c167b4a234ad0f79b02cc186565a5ca8b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-01 16:26:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-01 16:29:13 +0000 dev-libs/libpwquality: drop usr-ldscript hacks We're removing usr-ldscript per the recent news item, but this also breaks with USE=static-libs. Drop all the hacks for relocating the libraries. Keep installing the PAM module to / though as other PAM modules too. (Also, drop a patch which was already merged in 1.4.5.) Closes: https://bugs.gentoo.org/920823 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libpwquality/libpwquality-1.4.5-r1.ebuild | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+)