Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628878 - =games-puzzle/bastet-0.43 : error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
Summary: =games-puzzle/bastet-0.43 : error adding symbols: DSO missing from command li...
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: 2017-08-25 05:19 UTC by Adrien D
Modified: 2019-03-23 23:32 UTC (History)
2 users (show)

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


Attachments
Proposiitoon of ebuild correction (bastet-0.43-r1.ebuild,761 bytes, text/plain)
2017-08-25 05:26 UTC, Adrien D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien D 2017-08-25 05:19:19 UTC
Hi team gentoo,

impossible to compile bastet : 

x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ldl -DNDEBUG -Wall -o bastet Ui.o main.o Block.o Well.o BlockPosition.o Config.o BlockChooser.o BastetBlockChooser.o -Wl,--as-needed -lncurses -lboost_program_options
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: Ui.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
make: *** [Makefile:17: bastet] Error 1

I try to compile locally, same error.

I must update Makefile and replace
LDLIBS = -lncurses 

by

LDLIBS = -ltinfo -lncurses 

Can you correct the ebuild with a magic sed :)

Reproducible: Always
Comment 1 Adrien D 2017-08-25 05:26:15 UTC
Created attachment 490508 [details]
Proposiitoon of ebuild correction
Comment 2 Larry the Git Cow gentoo-dev 2019-03-23 23:32:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88e045a01d140bcdc6bbc539b66c91df2f6fd0ec

commit 88e045a01d140bcdc6bbc539b66c91df2f6fd0ec
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-03-23 23:27:33 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-03-23 23:32:23 +0000

    games-puzzle/bastet: Bump to vesion 0.43.2
    
    Fixed build with sys-libs/ncurses[tinfo]
    
    Closes: https://bugs.gentoo.org/628878
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 games-puzzle/bastet/Manifest                       |  1 +
 games-puzzle/bastet/bastet-0.43.2.ebuild           | 37 ++++++++++++++++++++++
 .../bastet/files/bastet-0.43.2-Makefile.patch      | 33 +++++++++++++++++++
 .../bastet/files/bastet-0.43.2-boost_include.patch | 33 +++++++++++++++++++
 4 files changed, 104 insertions(+)