Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 628878

Summary: =games-puzzle/bastet-0.43 : error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
Product: Gentoo Linux Reporter: Adrien DAUGABEL <email>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: email, esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    
Attachments: Proposiitoon of ebuild correction

Description Adrien DAUGABEL 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 DAUGABEL 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(+)