Likely fallout from my recent 17.1 profile migration. No lib/libasound.so, because it's lib64/libasound.so. Remerging alsa-lib (which provides /usr/lib64/libasound.so) doesn't help, but temporarily adding a lib/libasound.so symlink for testing does allow audiocd-kio to build again. (lib/libasound.so symlink removed again after the build test to prevent future issues.) (FWIW, the relative paths above are intentional as I have "reverse" usr-merge: /usr -> . , but that doesn't appear to be the problem, the problem is lib vs lib64, as the symlink test above demonstrates.) >>> Compiling source in /tmp/portage/kde-apps/audiocd-kio-9999/work/audiocd-kio-9999 ... >>> Working in BUILD_DIR: "/tmp/portage/kde-apps/audiocd-kio-9999/work/audiocd-kio-9999_build" ninja -v -j8 -l9 ninja: error: '/usr/lib/libasound.so', needed by 'audiocd.so', missing and no known rule to make it * ERROR: kde-apps/audiocd-kio-9999::kde failed (compile phase): * ninja -v -j8 -l9 failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 3232: Called kde5_src_compile * environment, line 2631: Called cmake-utils_src_compile * environment, line 1229: Called cmake-utils_src_make * environment, line 1410: Called _cmake_ninja_src_make * environment, line 659: Called eninja * environment, line 1709: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed"
Andreas Sturmlechner 2019-06-13 19:02:21 UTC > See Also: https://bugs.gentoo.org/show_bug.cgi?id=644538 Thankyou. Based on that I did a grep -r /lib/ /lib64/cmake, and found the culprit, KF5CompactDiscTargets.cmake, which belongs to libkcompactdisc, and remerging it did indeed allow me to remerge audiocd-kio with just lib64/libasound.so (no lib/libasound.so). So I had the right idea with remerging the deps, I just got lead astray by the libasound.so ownership, not thinking about cmake's separate tracking, and remerged the wrong one. (Leaving this open for now as I assume there's a reason that was see-also not dup, but feel free to dup to 644538 if desired.)
libkcompactdisc is using FindALSA from cmake for its target_link_libraries which is then recorded in KF5CompactDiscTargets.cmake.
It is probably time to consolidate this with the parent bug. *** This bug has been marked as a duplicate of bug 644538 ***