Compiling about.c ... Linking .o/snownews ... /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: .o/ui-support.o: undefined reference to symbol 'keypad' /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.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: *** [Makefile:23: .o/snownews] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib_hardened-20190715-113836 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.36.0 * emerge -qpvO net-news/snownews [ebuild N ] net-news/snownews-1.6.10 USE="unicode"
Created attachment 583590 [details] emerge-info.txt
Created attachment 583592 [details] emerge-history.txt
Created attachment 583594 [details] environment
Created attachment 583596 [details] etc.portage.tbz2
Created attachment 583598 [details] net-news:snownews-1.6.10:20190719-012937.log
Created attachment 583600 [details] temp.tbz2
*** Bug 691884 has been marked as a duplicate of this bug. ***
Same for x86.
I was quite sure I fixed this already.
Created attachment 589756 [details, diff] snownews-1.6.10-tinfo-strip.patch
Happens also on ppc. And snownews-1.6.10-tinfo-strip.patch fixes the problem.
As far as I can tell the unicode support is now required and linking against tinfo always fails. Linking against tinfow on the other hand works as expected. I've dropped the unicode USE flag and fixed the PKG_CONFIG similar to what jer was doing in his patch. snownews-1.6.10 now compiles for me. Fixed in place for 1.6.10 since this is a compile time fix.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13d728bc761b9c0350b7ccb32372e2234bb5a824 commit 13d728bc761b9c0350b7ccb32372e2234bb5a824 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2019-09-16 18:08:58 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2019-09-16 18:09:36 +0000 net-news/snownews: fix compilation with ncurses This package now requires unicode support for ncurses, otherwise compilation will fails. Fix the pkgconfig handling, drop the unicode USE flag and always require unicode support. Fixes: https://bugs.gentoo.org/690224 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org> net-news/snownews/snownews-1.6.10.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)