Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672394 - app-cdr/cdw-0.8.0 - .../libcdwuserinterface.a(cdw_ncurses.o): undefined reference to symbol 'keypad'
Summary: app-cdr/cdw-0.8.0 - .../libcdwuserinterface.a(cdw_ncurses.o): undefined refer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2018-12-02 11:47 UTC by Sławomir Nizio
Modified: 2019-01-01 21:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sławomir Nizio 2018-12-02 11:47:03 UTC
Making all in disc_and_drive
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/user_interface/libc
dwuserinterface.a(cdw_ncurses.o): undefined reference to symbol 'keypad'
/lib64/libtinfow.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:746: cdw] Error 1




tinfo is enabled:

sys-libs/ncurses-5.9-r101::gentoo was built with the following:
USE="gpm tinfo unicode" ABI_X86="32 (64) (-x32)"


sys-libs/ncurses-6.1-r2::gentoo was built with the following:
USE="cxx gpm static-libs tinfo unicode -ada -debug -doc -minimal -profile -test -threads -trace" ABI_X86="32 (64) (-x32)"




I made it to build like this:
DEPEND="... virtual/pkgconfig"

src_configure() {
    econf LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
}
Comment 1 Larry the Git Cow gentoo-dev 2018-12-02 14:55:46 UTC
The bug has been closed via the following commit(s):

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

commit ac121538f7d68721ca7ee4159a6c3647ba8565ea
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-12-02 14:45:23 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-12-02 14:55:40 +0000

    app-cdr/cdw: Fix building against sys-libs/ncurses[tinfo]
    
    Fixes: https://bugs.gentoo.org/672394
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 app-cdr/cdw/cdw-0.8.0.ebuild | 25 ++++++++++++++++---------
 app-cdr/cdw/cdw-9999.ebuild  | 24 ++++++++++++++++--------
 2 files changed, 32 insertions(+), 17 deletions(-)