Created attachment 468492 [details] full sonnet-5.32.0 build.log Hello, current kde-frameworks/sonnet-5.32.0 failed to build with app-text/hunspell-1.6.1 (with app-text/hunspell-1.5.4 builds fine) [...] [ 45%] Building CXX object src/plugins/hunspell/CMakeFiles/sonnet_hunspell.dir/hunspelldebug.cpp.o [ 47%] Building CXX object src/plugins/hunspell/CMakeFiles/sonnet_hunspell.dir/sonnet_hunspell_automoc.cpp.o make[2]: *** No rule to make target '/usr/lib64/libhunspell.so', needed by 'src/plugins/hunspell/hunspell.so'. Stop. make[1]: *** [CMakeFiles/Makefile2:319: src/plugins/hunspell/CMakeFiles/sonnet_hunspell.dir/all] Error 2 make: *** [Makefile:128: all] Error 2 * ERROR: kde-frameworks/sonnet-5.32.0::gentoo failed (compile phase): * emake failed
Created attachment 468494 [details] emerge --info
# emerge -pvq app-text/hunspell::gentoo kde-frameworks/sonnet::gentoo [ebuild R ] app-text/hunspell-1.6.1 USE="ncurses nls readline -static-libs" L10N="de en -af -bg -ca -cs -cy -da -de-1901 -el -eo -es -et -fo -fr -ga -gl -he -hr -hu -ia -id -is -it -km -ku -lt -lv -mi -mk -ms -nb -nl -nn -pl -pt -pt-BR -ro -ru -sk -sl -sq -sv -sw -tn -uk -zu" [ebuild R ] kde-frameworks/sonnet-5.32.0 USE="hunspell nls -aspell -debug {-test}"
app-text/hunspell-1.6.1 is installing a broken symlink: * QA Notice: Symbolic link /usr/lib64/libhunspell.so points to /usr/lib64/libhunspell-1.6.so.0.0.0 which does not exist. >>> /usr/lib64/libhunspell.so -> libhunspell-1.6.so.0.0.0 This is hardcoded in the ebuild and evidently was not updated.
commit 29031259c600f1680b74c6a7efa8a57fa1dceb1f Author: Lars Wendler <polynomial-c@gentoo.org> Date: Tue Mar 28 11:47:38 2017 app-text/hunspell: Revbump to fix broken symlink (bug #614098). Package-Manager: Portage-2.3.5, Repoman-2.3.2
Yes, with =hunspell-1.6.1-r1 builts now fine. Thanks!
It would be better to use some wildcard instead of hardcoding 0.0.0 or 0.0.1. Example: ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.*.*.*,.so} || die
*** Bug 614178 has been marked as a duplicate of this bug. ***