Re-emerging kde-apps/lokalize-16.12.0 after emerging app-text/hunspell-1.6.0 failed with "Could NOT find HUNSPELL (missing: HUNSPELL_LIBRARIES)". I think the problem is app-text/hunspell-1.6.0 does not install library /usr/lib64/qt5/plugins/kf5/sonnet/hunspell.so Downgrading to app-text/hunspell-1.5.3 fixed the problem.
Fixed after making a link /usr/lib64/libhunspell-1.5.so # ls /usr/lib64/libhunspell-1.* -l lrwxrwxrwx 1 root root 24 Dec 23 14:32 /usr/lib64/libhunspell-1.5.so.0 -> libhunspell-1.5.so.0.0.0 -rwxr-xr-x 1 root root 475920 Dec 23 14:31 /usr/lib64/libhunspell-1.5.so.0.0.0 lrwxrwxrwx 1 root root 24 Dec 23 19:21 /usr/lib64/libhunspell-1.6.so -> libhunspell-1.6.so.0.0.0 lrwxrwxrwx 1 root root 24 Dec 23 19:21 /usr/lib64/libhunspell-1.6.so.0 -> libhunspell-1.6.so.0.0.0 -rwxr-xr-x 1 root root 475920 Dec 23 19:21 /usr/lib64/libhunspell-1.6.so.0.0.0 # ln -s /usr/lib64/libhunspell-1.5.so.0.0.0 /usr/lib64/libhunspell-1.5.so # ls /usr/lib64/libhunspell-1.* -l lrwxrwxrwx 1 root root 35 Dec 23 20:13 /usr/lib64/libhunspell-1.5.so -> /usr/lib64/libhunspell-1.5.so.0.0.0 lrwxrwxrwx 1 root root 24 Dec 23 14:32 /usr/lib64/libhunspell-1.5.so.0 -> libhunspell-1.5.so.0.0.0 -rwxr-xr-x 1 root root 475920 Dec 23 14:31 /usr/lib64/libhunspell-1.5.so.0.0.0 lrwxrwxrwx 1 root root 24 Dec 23 19:21 /usr/lib64/libhunspell-1.6.so -> libhunspell-1.6.so.0.0.0 lrwxrwxrwx 1 root root 24 Dec 23 19:21 /usr/lib64/libhunspell-1.6.so.0 -> libhunspell-1.6.so.0.0.0 -rwxr-xr-x 1 root root 475920 Dec 23 19:21 /usr/lib64/libhunspell-1.6.so.0.0.0
Got the same problem here, app-text/hunspell-1.6.0 was just installed. I managed to emerge lokalize by creating the symbolic link as described in comment #1.
Created attachment 457298 [details] ebuild that fixes compiling with hunspell 1.6
Created attachment 457300 [details, diff] patch to compile lokalize with hunspell 1.6
The attached ebuild and patch allows lokalize to compile with hunspell 1.6 The cmake was looking for 1.2, 1.4, 1.5 and 2.0. The patch adds 1.6 to the mix.
Thanks for reporting and the patch. When submitting ebuilds, please use unified diffs as well so your changes can be reviewed.
Upstream added a patch in $URL
Thanks, fixed in git (commit a72cbf07ef19a027c6e62b86a8cff3adfa52be13).