Summary: | net-p2p/rtorrent-0.9.3 with sys-libs/ncurses[tinfo] - error: ‘chtype’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Current packages | Assignee: | Jason Zaman <perfinion> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bkohler, deference, esigra, mycroft, net-p2p, razamatan |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/rakshasa/rtorrent/pull/317 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=548998 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 522706, 548998 | ||
Bug Blocks: | 457530 | ||
Attachments: | build.log |
Description
Justin Lecher (RETIRED)
2013-03-23 14:35:37 UTC
Created attachment 342988 [details]
build.log
build.log
rtorrent 0.9.3 was marked stable and i'm also hitting this compile issue. I tried version 0.9.4-r1, here the error starts with checking for NcursesW wide-character library... yes checking for working ncursesw/curses.h... no checking for working ncursesw.h... no checking for working ncurses.h... no configure: WARNING: could not find a working ncursesw/curses.h, ncursesw.h or ncurses.h checking if curses tinfo library is linked properly... no adding libtinfo during configure and then when compiling: #error "SysV or X/Open-compatible Curses header file required" obviously the bug in automake is that first ncurses is checked and fails since -ltinfow wasn't added to compile-flags. and then there comes the tinfo check (which strangely isn't in configure.ac). somehow these two must be reversed. adding -ltinfow to configure at the line with -lncursesw allows me to compile -- people without tinfo probably can't do that, and rebuilding configure will undo that change. actually moving this test probably wont work, I believe, since before it the variable $CURSES_LIB isn't set yet... as a workaround I propose a use-flag tinfo which patches configure accordingly. or maybe try out if the bug in automake is fixed and port rtorrent to that new version (i.e. run autogen.sh for every ebuild) -- my automake is version 1.13.1 and can't even reproduce the original configure, I think upstream used ~1.14... + 08 May 2015; Justin Lecher <jlec@gentoo.org> + +files/rtorrent-0.9.4-tinfo.patch, metadata.xml, rtorrent-0.9.4-r1.ebuild: + Add fix for ncurses[tinfo], bug #522706 + fixed in 0.9.4-r1 Hey Justin, have you forwarded the patch upstream? (In reply to Benda Xu from comment #5) > Hey Justin, have you forwarded the patch upstream? No, could you do? Here it is. https://github.com/rakshasa/rtorrent/pull/317 I'm closing this since 0.9.6 isn't affected and it's stable everywhere that 0.9.3 is. *** Bug 565988 has been marked as a duplicate of this bug. *** |