Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614098 - app-text/hunspell-1.6.1 - QA Notice: Symbolic link /usr/lib64/libhunspell.so points to /usr/lib64/libhunspell-1.6.so.0.0.0 which does not exist.
Summary: app-text/hunspell-1.6.1 - QA Notice: Symbolic link /usr/lib64/libhunspell.so ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 614178 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-27 22:40 UTC by josef.95
Modified: 2017-03-29 06:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full sonnet-5.32.0 build.log (sonnet_build.log.txt,10.61 KB, text/plain)
2017-03-27 22:40 UTC, josef.95
Details
emerge --info (emerge_info.txt,6.59 KB, text/plain)
2017-03-27 22:42 UTC, josef.95
Details

Note You need to log in before you can comment on or make changes to this bug.
Description josef.95 2017-03-27 22:40:02 UTC
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
Comment 1 josef.95 2017-03-27 22:42:09 UTC
Created attachment 468494 [details]
emerge --info
Comment 2 josef.95 2017-03-27 22:42:32 UTC
# 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}"
Comment 3 Hector Martin 2017-03-28 06:17:55 UTC
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.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-03-28 09:48:17 UTC
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
Comment 5 josef.95 2017-03-28 11:06:38 UTC
Yes, with =hunspell-1.6.1-r1 builts now fine.

Thanks!
Comment 6 Arfrever Frehtes Taifersar Arahesis 2017-03-28 18:52:22 UTC
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
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-03-29 06:24:35 UTC
*** Bug 614178 has been marked as a duplicate of this bug. ***