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

Bug 677672

Summary: =games-roguelike/moria-5.7.10 with sys-libs/ncurses[tinfo] - ld: CMakeFiles/umoria.dir/src/ui_io.cpp.o: undefined reference to symbol 'raw'
Product: Gentoo Linux Reporter: Scott McClung <scott>
Component: Current packagesAssignee: Gentoo Games <games>
Severity: normal CC: esigra, scott, steils
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    
Attachments: emerge --info

Description Scott McClung 2019-02-10 18:26:27 UTC
Created attachment 564600 [details]
emerge --info

games-roguelike/moria fails to build with ncurses if USE=tinfo is used.  This is the same problem as documented in #527654.

The error in question:

/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/umoria.dir/src/ui_io.cpp.o: undefined reference to symbol 'raw'
/lib64/ error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Comment 1 James Le Cuirot gentoo-dev 2019-02-10 22:38:47 UTC
Stefan, this would be a good one for you to show your skills.
Comment 2 Stefan Strogin gentoo-dev 2019-02-11 00:59:45 UTC
Thanks. Try this fix please.
I have also sent it upstream:
Comment 3 Scott McClung 2019-02-12 06:09:38 UTC
The fix works perfectly.
Comment 4 Larry the Git Cow gentoo-dev 2019-02-12 22:02:23 UTC
The bug has been closed via the following commit(s):

commit 87873260e20e28328606357a3bf8c41eeae87dbb
Author:     Stefan Strogin <>
AuthorDate: 2019-02-11 00:41:09 +0000
Commit:     James Le Cuirot <>
CommitDate: 2019-02-12 22:01:26 +0000

    games-roguelike/moria: fix build with sys-libs/ncurses[tinfo]
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Stefan Strogin <>
    Signed-off-by: James Le Cuirot <>

 .../moria/files/moria-5.7.10-tinfo.patch           | 24 ++++++++++++++++++++++
 games-roguelike/moria/moria-5.7.10.ebuild          |  5 ++++-
 2 files changed, 28 insertions(+), 1 deletion(-)