|Summary:||app-text/hunspell[ncurses]: Hunspell has been compiled without Ncurses user interface.|
|Product:||Gentoo Linux||Reporter:||Petr Zima <zima>|
|Component:||Current packages||Assignee:||No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>|
|Whiteboard:||Waiting for upstream approval|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
|Attachments:||Patch fixing both problems|
Description Petr Zima 2019-08-20 13:37:04 UTC
Created attachment 587618 [details, diff] Patch fixing both problems Compiling app-text/hunspell[ncurses] fails to find libncurses[w] during configure and silently disables the ncurses UI leading to an error where running: hunspell file The root cause is the split libtinfo[w] in sys-libs/ncurses[tinfo]. Adding -ltinfo[w] to the check for ncurses[w] in configure fixes the problem. After that fix it compiles, but the ncurses UI segfaults due to conflict between libncursesw and libtinfo (without w!), which is linked independently due to readline. This is a similiar issue as in #682386 and #669096. Modifying the configure to look for tinfow first also during the readline check fixes this second problem.
Comment 1 Larry the Git Cow 2019-09-02 10:55:53 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b94328cd41359aa9a120a34b758e468f39849b8 commit 4b94328cd41359aa9a120a34b758e468f39849b8 Author: Lars Wendler <firstname.lastname@example.org> AuthorDate: 2019-09-02 10:54:25 +0000 Commit: Lars Wendler <email@example.com> CommitDate: 2019-09-02 10:55:47 +0000 app-text/hunspell: Revbump fix build against sys-libs/ncurses[tinfo] Thanks-to: zimous <firstname.lastname@example.org> Bug: https://bugs.gentoo.org/692614 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Lars Wendler <email@example.com> app-text/hunspell/files/hunspell-1.7.0-tinfo.patch | 61 +++++++++++++++ app-text/hunspell/hunspell-1.7.0-r1.ebuild | 88 ++++++++++++++++++++++ 2 files changed, 149 insertions(+)
Comment 2 Lars Wendler (Polynomial-C) 2021-01-09 16:31:06 UTC
Upastream appears dead and this has been fixed in Gentoo for over a year. Closing.