Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553950 - games-emulation/zsnes fails to compile with sys-libs/ncurses[tinfo]
Summary: games-emulation/zsnes fails to compile with sys-libs/ncurses[tinfo]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-05 04:13 UTC by Fernando Rodriguez
Modified: 2015-07-08 05:36 UTC (History)
1 user (show)

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


Attachments
Patch to fix (zsnes-1.51-curses.patch,444 bytes, patch)
2015-07-05 04:16 UTC, Fernando Rodriguez
Details | Diff
znes-1.51-curses.patch (zsnes-1.51-curses.patch,444 bytes, patch)
2015-07-05 04:20 UTC, Fernando Rodriguez
Details | Diff
zsnes-1.51-r4.ebuild (zsnes-1.51-r4.ebuild,3.30 KB, text/plain)
2015-07-05 04:21 UTC, Fernando Rodriguez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Rodriguez 2015-07-05 04:13:39 UTC
It fails with:

ld: debugger.o: undefined reference to symbol 'cbreak'
/usr/lib32/libtinfo.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


Reproducible: Always

Steps to Reproduce:
1. Compile ncurses with tinfo use flag
2. Try to build zsnes with debug use flag
Actual Results:  
Build fails

Expected Results:  
Build succeeds.
Comment 1 Fernando Rodriguez 2015-07-05 04:16:10 UTC
Created attachment 406196 [details, diff]
Patch to fix

This fixed the problem for me. I only tested with tinfo set but I think it should work with any configuration.
Comment 2 Fernando Rodriguez 2015-07-05 04:20:33 UTC
Created attachment 406198 [details, diff]
znes-1.51-curses.patch
Comment 3 Fernando Rodriguez 2015-07-05 04:21:31 UTC
Created attachment 406200 [details]
zsnes-1.51-r4.ebuild
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2015-07-08 05:36:24 UTC
ug.  missed that ncurses installs libcurses as well before.  should be fixed for real now.