Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678866 - games-roguelike/zangband with sys-libs/ncurses[tinfo] - ld: src/main-gcu.o: undefined reference to symbol 'LINES'
Summary: games-roguelike/zangband with sys-libs/ncurses[tinfo] - ld: src/main-gcu.o: u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-05-03
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2019-02-26 21:35 UTC by Scott McClung
Modified: 2019-05-04 16:18 UTC (History)
5 users (show)

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


Attachments
build.log.gz (build.log.gz,7.15 KB, application/gzip)
2019-02-26 21:35 UTC, Scott McClung
Details
emerge --info (file_678866.txt,10.25 KB, text/plain)
2019-02-26 21:36 UTC, Scott McClung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott McClung 2019-02-26 21:35:31 UTC
Created attachment 566618 [details]
build.log.gz

zangband fails to build with ncurses if it has the tinfo USE flag.

LINK zangband
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/main-gcu.o: undefined reference to symbol 'LINES'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [makefile:106: zangband] Error 1
Comment 1 Scott McClung 2019-02-26 21:36:20 UTC
Created attachment 566620 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2019-04-03 09:51:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fd31304eb47ca73745572b1eb2169b21a149767

commit 6fd31304eb47ca73745572b1eb2169b21a149767
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-04-03 09:50:59 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-04-03 09:50:59 +0000

    package.mask: Last rite games-roguelike/zangband
    
    Bug: https://bugs.gentoo.org/678866
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2019-05-04 16:17:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2dae218ed7436bdd1114c80a4917f3634f0224

commit 5d2dae218ed7436bdd1114c80a4917f3634f0224
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2019-05-04 16:13:40 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2019-05-04 16:17:27 +0000

    games-roguelike/zangband: fix build with separate tinfo
    
    Closes: https://bugs.gentoo.org/678866
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 games-roguelike/zangband/files/zangband-2.7.4c-tinfo.patch | 12 ++++++++++++
 games-roguelike/zangband/metadata.xml                      | 12 ++++++++----
 games-roguelike/zangband/zangband-2.7.4c.ebuild            |  3 ++-
 3 files changed, 22 insertions(+), 5 deletions(-)