Making all in disc_and_drive /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/user_interface/libc dwuserinterface.a(cdw_ncurses.o): undefined reference to symbol 'keypad' /lib64/libtinfow.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[3]: *** [Makefile:746: cdw] Error 1 tinfo is enabled: sys-libs/ncurses-5.9-r101::gentoo was built with the following: USE="gpm tinfo unicode" ABI_X86="32 (64) (-x32)" sys-libs/ncurses-6.1-r2::gentoo was built with the following: USE="cxx gpm static-libs tinfo unicode -ada -debug -doc -minimal -profile -test -threads -trace" ABI_X86="32 (64) (-x32)" I made it to build like this: DEPEND="... virtual/pkgconfig" src_configure() { econf LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" }
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac121538f7d68721ca7ee4159a6c3647ba8565ea commit ac121538f7d68721ca7ee4159a6c3647ba8565ea Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2018-12-02 14:45:23 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2018-12-02 14:55:40 +0000 app-cdr/cdw: Fix building against sys-libs/ncurses[tinfo] Fixes: https://bugs.gentoo.org/672394 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org> app-cdr/cdw/cdw-0.8.0.ebuild | 25 ++++++++++++++++--------- app-cdr/cdw/cdw-9999.ebuild | 24 ++++++++++++++++-------- 2 files changed, 32 insertions(+), 17 deletions(-)