Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603538 - kde-apps/lokalize-16.12.0 fails to configure with app-text/hunspell-1.6.0
Summary: kde-apps/lokalize-16.12.0 fails to configure with app-text/hunspell-1.6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://cgit.kde.org/lokalize.git/com...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-23 03:44 UTC by email200202
Modified: 2016-12-30 01:22 UTC (History)
5 users (show)

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


Attachments
ebuild that fixes compiling with hunspell 1.6 (lokalize-16.12.0.ebuild,1.57 KB, text/plain)
2016-12-23 22:21 UTC, Alexandre Ferreira
Details
patch to compile lokalize with hunspell 1.6 (lokalize-16.12.0-hunspell-1.6.patch,584 bytes, patch)
2016-12-23 22:21 UTC, Alexandre Ferreira
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2016-12-23 03:44:28 UTC
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.
Comment 1 email200202 2016-12-23 10:39:53 UTC
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
Comment 2 Thomas Capricelli 2016-12-23 12:55:02 UTC
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.
Comment 3 Alexandre Ferreira 2016-12-23 22:21:08 UTC
Created attachment 457298 [details]
ebuild that fixes compiling with hunspell 1.6
Comment 4 Alexandre Ferreira 2016-12-23 22:21:45 UTC
Created attachment 457300 [details, diff]
patch to compile lokalize with hunspell 1.6
Comment 5 Alexandre Ferreira 2016-12-23 22:22:53 UTC
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.
Comment 6 Andreas Sturmlechner gentoo-dev 2016-12-24 04:14:42 UTC
Thanks for reporting and the patch. When submitting ebuilds, please use unified diffs as well so your changes can be reviewed.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2016-12-29 12:40:03 UTC
Upstream added a patch in $URL
Comment 8 Andreas Sturmlechner gentoo-dev 2016-12-30 01:22:35 UTC
Thanks, fixed in git (commit a72cbf07ef19a027c6e62b86a8cff3adfa52be13).