Summary: | games-misc/bsd-games-3.1-r1 - ui.c:(.text+<snip>): undefined reference to setcchar | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drmccoy, ionen, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 games-misc:bsd-games-3.1-r1:20210721-032750.log temp.tar.bz2 Patch that fixes compilation with ncurses-6.2_p20210619 |
Description
Toralf Förster
2021-07-21 08:49:59 UTC
Created attachment 725419 [details]
emerge-info.txt
Created attachment 725422 [details]
emerge-history.txt
Created attachment 725425 [details]
environment
Created attachment 725428 [details]
etc.portage.tar.bz2
Created attachment 725431 [details]
games-misc:bsd-games-3.1-r1:20210721-032750.log
Created attachment 725434 [details]
temp.tar.bz2
Hm, haven't looked in depth yet, but only happens with the new =ncurses-6.2_p20210619 snapshot. setcchar() seems to be a wide character function, so it's only available when ncurses was built --enable-widec, as the ncurses ebuild does for the ncurses*w targets. Which means that linking the programs with -lncursesw instead of -lncurses works. I'm attaching a patch which changes ncurses to ncursesw in the configure script. It's not really the clean way to do this (it should probably probe for ncursesw vs ncurses), but it works. Created attachment 727221 [details, diff]
Patch that fixes compilation with ncurses-6.2_p20210619
I did notice that it works with ncursesw already, but why did it work before and now doesn't? There was no changes in the ncurses ebuild regarding regarding --enable-widec I can see. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c306d7f093b372aca302cfaf7731e7d03eac0f2 commit 1c306d7f093b372aca302cfaf7731e7d03eac0f2 Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-07-26 13:22:06 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-07-26 13:22:06 +0000 games-misc/bsd-games: Fix ncurses[unicode(+)] breakage Closes: https://bugs.gentoo.org/803194 Signed-off-by: David Seifert <soap@gentoo.org> .../{bsd-games-3.1-r1.ebuild => bsd-games-3.1-r2.ebuild} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) |