Bug in "usr-ldscript.eclass" wih (static-libs) and (!split-usr) OR MAY BE bug in "portage/python*/install-qa-check.d/80libraries" Reproducible: Always Steps to Reproduce: exit at QA stage by error: * QA Notice: Missing gen_usr_ldscript for PACKAGE.so * ERROR: MANY/PACKAGE failed: * add those ldscripts * * Call stack: * misc-functions.sh, line 671: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 80libraries, line 182: Called lib_check * 80libraries, line 157: Called die * The specific snippet of code: * [[ ${abort} == "yes" ]] && die "add those ldscripts" This is conflict between QA check in portage scripts "install-qa-check.d/80libraries" and "usr-ldscript.eclass". In eclass "usr-ldscript.eclass" with use (staic-libs !split-usr) simple "return 0" if use (!split-usr) and not generated ldscript for resolve bug https://bugs.gentoo.org/4411 . After install-stage (QA) is "DIE" - as not found "/usr/lib*/*.so" (stub for ldconfig). Fix may be: - remove line "use split-usr || return 0" in file "usr-ldscript.eclass". - OR need changes in sources PORTAGE for disable check with use (!split-usr). Didn't do this option (I didn’t find out how to check use in the portage program). It's tested with profile "default/linux/amd64/17.1/desktop/systemd/merged-usr" and package "dev-libs/libpwquality-1.4.5". Bug #719366 - very similar. Reproduce: 1. Set new profile to "default/linux/amd64/17.1/desktop/systemd/merged-usr" or any contains "merged-usr". With successful done "merge-usr". 2. define use "static-libs". /Me define in global use. 3. reinstall package "dev-libs/libpwquality". Also possible in the following packages: sys-apps/openrc "openrc" "sys-fs/nilfs-utils" "sys-fs/reiserfsprogs". Or any packages with use (staic-libs !split-usr). Actual Results: fail
*** This bug has been marked as a duplicate of bug 920823 ***