Summary: | app-misc/mc-4.8.13 USE=-slang with sys-libs/ncurses[tinfo] - ld: ./.libs/libinternal.a(tty-ncurses.o): undefined reference to symbol 'cbreak' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Vasiliev <mycroft> |
Component: | Current packages | Assignee: | Alex Alexander (RETIRED) <wired> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | desktop-misc, jer, mycroft, polynomial-c, slyfox |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: |
app-misc:mc-4.8.13:20141027-223004.log
files/mc-4.8.13-tinfo.patch |
Description
Michael Vasiliev
2014-10-27 18:34:20 UTC
Apparently it incidentally doesn't fail with my USE flags. Please attach the entire build log to this bug report. Created attachment 387604 [details]
app-misc:mc-4.8.13:20141027-223004.log
previous versions of mc also fail
Jeroen, could you show your enabled USE flags for this ebuild? (In reply to Michael Vasiliev from comment #3) > Jeroen, could you show your enabled USE flags for this ebuild? USE=slang works fine! ;-) Created attachment 387884 [details, diff]
files/mc-4.8.13-tinfo.patch
This should work and make upstream happy as well.
When built against sys-libs/ncurses[-tinfo] it neatly prints:
checking for library containing addwstr... -lncursesw
checking for library containing stdscr... none required
and in the other case, it prints:
checking for library containing addwstr... -lncursesw
checking for library containing stdscr... -ltinfo
(In reply to Jeroen Roovers from comment #5) > Created attachment 387884 [details, diff] [details, diff] > files/mc-4.8.13-tinfo.patch Needless to say this requires you to run eautoreconf at the end of src_prepare(). Pushed as:
> 01 Nov 2014; Sergei Trofimovich <slyfox@gentoo.org>
> +files/mc-4.8.13-tinfo.patch, mc-4.8.13.ebuild:
> Fix tinfo underlinking (bug #527118 by Michael Vasiliev and fix by Jeroen).
Thanks guys!
Upstream is a bit reluctant admitting the bug, but I hope we'll find a way :]
|