Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gdb build failure: tui/tui-win.o: undefined reference to symbol 'keypad'
Date: Wed, 11 Sep 2019 14:49:17
Message-Id: qlb1gq$3cbr$
This morning the build of gdb failed during a routine update:

  CXX    xml-builtin.o
  CXX    xml-support.o
  CXX    xml-syscall.o
  CXX    xml-tdesc.o
  CXX    init.o
  CXXLD  gdb
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui/tui-win.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/ error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1893: gdb] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gdb-8.3/work/gdb-8.3/gdb'
make[1]: *** [Makefile:8157: all-gdb] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gdb-8.3/work/gdb-8.3'
make: *** [Makefile:850: all] Error 2
 * ERROR: sys-devel/gdb-8.3::gentoo failed (compile phase):

I've done some googling, and initially thought it might be due to the
fact that I had both ncurses:5 and ncurses:6 installed.  I uninstalled
:5 and did a revdep-rebuild (which found nothing to rebuild).  But gdb
still fails to build.

Any clues?

Grant Edwards               grant.b.edwards        Yow! We're going to a
                                  at               new disco!