games-board/ccgo fails to build with sys-libs/ncurses[tinfo] due to -lncurses being hardcoded in Makefiles. x86_64-pc-linux-gnu-g++ -march=native -O2 -std=c++11 -fpermissive -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -o nctest nctest.o nc.o arg.o debug.o ui/libui.a go/libgo.a -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: nc.o: undefined reference to symbol 'keypad' /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [Makefile:634: nctest] Error 1 ccGo itself does not need ncurses, it is only used for some test programs. Manually invoking `make --keep-going` from working directory successfully compiles ccGo.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1fd0846fa55f34ed1ed4825ec2a1a70fe159f04 commit d1fd0846fa55f34ed1ed4825ec2a1a70fe159f04 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-06-03 15:44:01 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-06-03 15:44:38 +0000 games-board/ccgo: Fixed build with sys-libs/ncurses[tinfo] Closes: https://bugs.gentoo.org/687278 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> games-board/ccgo/ccgo-0.3.6.5-r1.ebuild | 3 ++- games-board/ccgo/files/ccgo-0.3.6.5-tinfo.patch | 35 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-)