Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602446 - games-engines/frobtads-1.2.3 fails to build - libtinfo.so.6: error adding symbols: DSO missing from command line (ncurses)
Summary: games-engines/frobtads-1.2.3 fails to build - libtinfo.so.6: error adding sym...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2016-12-12 16:26 UTC by James Broadhead
Modified: 2019-03-22 16:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,99.21 KB, text/x-log)
2016-12-12 16:26 UTC, James Broadhead
Details
emerge --info output (emerge_info,6.36 KB, text/plain)
2016-12-12 16:27 UTC, James Broadhead
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Broadhead 2016-12-12 16:26:53 UTC
Created attachment 456004 [details]
build.log

Build fails on 2 machines of mine with:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: src/frob-frobtadsappcurses.o: undefined reference to symbol 'meta'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:3463: recipe for target 'frob' failed



libtinfo is owned by ncurses, and both machines have both of these versions installed:
sys-libs/ncurses-5.9-r101(5/5) (gpm tinfo unicode ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") 
sys-libs/ncurses-6.0-r1(0/6) (cxx gpm threads tinfo unicode -ada -debug -doc -minimal -profile -static-libs -test -trace ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")

Both machines had games-engines/frobtads-1.2.3 installed. I encountered this problem during the upgrade to games-engines/frobtads-1.2.3-r1 -- but rebuilding games-engines/frobtads-1.2.3 also fails.
Comment 1 James Broadhead 2016-12-12 16:27:19 UTC
Created attachment 456006 [details]
emerge --info output
Comment 2 Lars 2016-12-20 22:55:31 UTC
After `emerge --emptytree world` I saw the same issue with the following packages:

grep libtinfo.so.6 -r /var/tmp/portage.bak/
/var/tmp/portage.bak/net-wireless/spectools-2011.08.1-r2/temp/build.log:/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
/var/tmp/portage.bak/games-misc/typespeed-0.6.5/temp/build.log:/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
/var/tmp/portage.bak/app-misc/ckermit-8.0.211-r4/temp/build.log:/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
/var/tmp/portage.bak/media-gfx/duhdraw-2.8.13-r1/temp/build.log:/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
/var/tmp/portage.bak/media-gfx/duhdraw-2.8.13-r1/temp/build.log:/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
/var/tmp/portage.bak/app-editors/shed-1.13/temp/build.log:/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line

And:

grep libtinfow.so.6 -r /var/tmp/portage.bak/
/var/tmp/portage.bak/app-misc/wyrd-1.4.6-r1/temp/build.log:/lib64/libtinfow.so.6: error adding symbols: DSO missing from command line

All those packages are quite old, e.g.:


genlop games-misc/typespeed
 * games-misc/typespeed

     Fri Apr 17 20:22:14 2009 >>> games-misc/typespeed-0.6.4
     Tue Oct 27 15:16:32 2009 >>> games-misc/typespeed-0.6.5
     Thu Sep  9 08:45:22 2010 >>> games-misc/typespeed-0.6.5
     Sat Sep 11 13:08:06 2010 >>> games-misc/typespeed-0.6.5
     Sun Jul 10 21:51:58 2011 >>> games-misc/typespeed-0.6.5
     Sun Apr  8 16:18:34 2012 >>> games-misc/typespeed-0.6.5
     Sun Nov 18 00:27:12 2012 >>> games-misc/typespeed-0.6.5
     Fri Jun 21 16:19:49 2013 >>> games-misc/typespeed-0.6.5
     Fri Aug 15 10:49:59 2014 >>> games-misc/typespeed-0.6.5
     Sat Jun 27 21:32:45 2015 >>> games-misc/typespeed-0.6.5
     Wed Aug 17 07:55:51 2016 >>> games-misc/typespeed-0.6.5


For me the solution is to deselect and forget those packages. It's a pity about wyrd, though.

Please tell me, if you need more info. I still have all build logs.
Comment 3 Sławomir Nizio 2017-06-01 19:33:41 UTC
This makes it build.

--- a/games-engines/frobtads/frobtads-1.2.3-r1.ebuild
+++ b/games-engines/frobtads/frobtads-1.2.3-r1.ebuild
@@ -24,6 +24,7 @@ DOCS=( doc/{AUTHORS,BUGS,ChangeLog.old,NEWS,README,SRC_GUIDELINES,THANKS} )
 src_configure() {
        append-cxxflags -fpermissive
        append-libs $(curl-config --libs)
+       append-libs $(ncurses6-config --libs)
        econf \
                $(use_enable debug error-checking) \
                $(use_enable debug t3debug) \
Comment 4 Nikos Chantziaras 2018-11-25 14:43:57 UTC
Do you still have this issue?
Comment 5 Larry the Git Cow gentoo-dev 2019-03-22 16:07:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=434c5826f7eba3584c752788056739a4052a277b

commit 434c5826f7eba3584c752788056739a4052a277b
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-03-22 16:07:28 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-03-22 16:07:41 +0000

    games-engines/frobtads: Fixed build with sys-libs/ncurses[tinfo]
    
    Closes: https://bugs.gentoo.org/602446
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../frobtads/files/frobtads-1.2.4-tinfo.patch      | 12 ++++++++++
 games-engines/frobtads/frobtads-1.2.4.ebuild       | 28 +++++++++++++++-------
 2 files changed, 32 insertions(+), 8 deletions(-)