1 |
On 2019-09-11, Grant Edwards <grant.b.edwards@×××××.com> wrote: |
2 |
> This morning the build of gdb failed during a routine update: |
3 |
... |
4 |
> CXX xml-tdesc.o |
5 |
> CXX init.o |
6 |
> CXXLD gdb |
7 |
> /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' |
8 |
> /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 |
9 |
> collect2: error: ld returned 1 exit status |
10 |
> make[2]: *** [Makefile:1893: gdb] Error 1 |
11 |
|
12 |
You can no longer install gdb if you have sys-libs/libtermcap-compat |
13 |
installed. |
14 |
|
15 |
If you have libtermcap installed, the gdb ebuild will decide to link |
16 |
against libtermcap instead of libtinfo, and you get the failure above. |
17 |
|
18 |
However, uninstalling libtermcap proved to be difficult. After |
19 |
unmerging it, I got the expected warnings about preserved libs, but |
20 |
doing the emerge as recommended faild. I tried revdep-rebuild, and it |
21 |
insisted on emerging the same packages over and over again — each time |
22 |
resulting in files that still depended on the preserved termcap |
23 |
libraries. |
24 |
|
25 |
I finally had to unmerge a bunch of packages that were using the |
26 |
termcap libraries, manually remove the termcap libraries, and then run |
27 |
revdep-rebuild to try to repair things. |
28 |
|
29 |
Now gdb builds again. |
30 |
|
31 |
Hopefully, I'll be able to reinstall the packages I removed... |
32 |
|
33 |
-- |
34 |
Grant Edwards grant.b.edwards Yow! INSIDE, I have the |
35 |
at same personality disorder |
36 |
gmail.com as LUCY RICARDO!! |