Summary: | games-action/bzflag-2.4.10: fails to link with both ncurses[tinfo]:0 and ncurses[tinfo]:5 being installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jorgicio <jpizarrocallejas> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, hydrapolic, jer |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: |
build.log
emerge --info build.log build.log |
Description
jorgicio
2017-09-25 22:38:39 UTC
Please attach the full build log and the output of emerge --info. It builds on my ~amd64 machine, maybe you need to rebuild ncurses? ncurses rebuilt, then retried with bzflag, and the issue is the same. I'll attach the log file then. Created attachment 496602 [details]
build.log
Created attachment 496604 [details]
emerge --info
I suppose ld.gold is the answer why. Try switching the linker if it helps. Created attachment 496632 [details] build.log I tried to force Bzflag to build using the bfd linker and now it gets another error as shown in the attached file. I did what it shows in https://forums.gentoo.org/viewtopic-t-1060790-start-0.html Also, I'm using Gold as a default linker because of my thesis. /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: CursesUI.o: undefined reference to symbol 'cbreak' /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Which versions of sys-libs/ncurses do you have installed? Try to reinstall sys-libs/ncurses:0 and possibly drop sys-libs/ncurses:5 if you don't need it. Then rebuild bzflag again. My system with sys-libs/ncurses:0 can build it properly. In fact I have both ncurses installed, and also the ncurses:0 rebuild, and indeed the log is what's done just after rebuild that version of ncurses. And I can't drop the :5 slot because of android-studio. Created attachment 496983 [details]
build.log
Now rebuilt ncurses:0 with bfd, then tried again with bzflag and failed again. This happens.
I was able to reproduce this failure when I had both ncurses built with USE="tinfo". Try to set "sys-libs/ncurses:5 tinfo" to your /etc/portage/package.use and rebuild both ncurses slots. This way ncurses:5 will have tinfo for android-studio and ncurses:0 will be without tinfo (thus without libtinfo.so being split out). |