Summary: | media-sound/moc with ncurses[tinfo] - ld: interface_elements.o: undefined reference to symbol 'cbreak' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Quentin Minster <quentin> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alicef, jer, zhushazang |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: |
moc_build_log
moc-2.6_alpha1-detect-tinfo.patch |
Description
Quentin Minster
2014-09-01 00:12:07 UTC
Created attachment 384142 [details]
moc_build_log
media-sound/moc-2.5.0 failing to compile here too.
I reported the problem upstream. It turns out that at the moment it is difficult to fully migrate MOC to pkgconfig, since it is still optional and older versions of ncurses don't support it. Since workaround is simple maybe flag "-ltinfo" could be added at ebuild level? *** Bug 558716 has been marked as a duplicate of this bug. *** Created attachment 417492 [details, diff] moc-2.6_alpha1-detect-tinfo.patch Here is a patch that adds detection in configure.in for missing cbreak symbol and tries to find it in libtinfo. Applying this patch fixes the build for me. This patch has been proposed upstream: http://moc.daper.net/node/1469 While I sympathize with upstream and the fact that ncurses isn't forcibly installing the .pc files and instead keeping them optional, we in Gentoo can depend on them unconditionally. I've chosen the path of least resistance and just use pkg-config, well aware that the patch will not be upstreamable. Thanks for all your efforts though. I guess having a pkg-config code path within AX_WITH_CURSES would be the proper solution for everyone. commit 3f0f37a8631c9ed6b863bbfe3ac13d57eafb145b Author: David Seifert <soap@gentoo.org> Date: Thu Jan 28 00:15:44 2016 +0100 media-sound/moc: Use pkgconfig to detect sys-libs/ncurses flags Gentoo-Bug: 521860 * EAPI=6 * Remove .la files unconditionally |