Bug#1121264: angband FTCBFS: ncurses wide char check broken

Helmut Grohne helmut at subdivi.de
Sun Nov 23 12:14:34 GMT 2025


Package: angband
Version: 1:4.2.5+dfsg1-3
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: ncurses at packages.debian.org

angand used to cross build. The ncurses wide character test was guessing
that it would just work and all was fine. Then ncursesw6-config changed.
It now emits -ltinfow. This is unlike ncursesw.pc, which emits -ltinfo
instead. I'm Ccing the ncurses maintainers for a comment on this.
Possibly, this is a regression in ncurses.

Now the native angand build notices this and concludes that wide
characters are not supported. It succeeds. The cross build instead still
guesses that it would work and eventually fails linking -ltinfow.

I'm attaching a patch that restructures the test on the angand side to
correctly handle the situation at hand. Rather than putting the
AC_RUN_IFELSE check first, the AC_LINK_IFELSE goes first. Then the cross
build behaves the same as the native build. Please consider applying the
patch and forwarding it upstream.

Helmut


More information about the Pkg-games-devel mailing list