Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665036 - app-misc/cdircmp-0.3-r2 with sys-libs/ncurses[tinfo] - main.o: undefined reference to symbol 'keypad'
Summary: app-misc/cdircmp-0.3-r2 with sys-libs/ncurses[tinfo] - main.o: undefined refe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
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-09-01 14:50 UTC by Sławomir Nizio
Modified: 2018-10-20 18:51 UTC (History)
1 user (show)

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


Attachments
fix (ebuild patch) (cdircmp-ebuild.patch,958 bytes, patch)
2018-09-01 14:52 UTC, Sławomir Nizio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sławomir Nizio 2018-09-01 14:50:50 UTC
>>> Compiling source in /var/tmp/portage/app-misc/cdircmp-0.3-r2/work/cdircmp-0.3 ...
make -j8 -s CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -march=x86-64 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'
main.c: In function ‘main’:
main.c:204:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunu
sed-result]
  getcwd(CurDir, MAXPATH);
  ^~~~~~~~~~~~~~~~~~~~~~~
main.c: In function ‘ReadDirectory’:
main.c:435:3: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunu
sed-result]
   getcwd(dirname, MAXPATH);
   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: undefined reference 
to symbol 'keypad'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Comment 1 Sławomir Nizio 2018-09-01 14:52:45 UTC
Created attachment 545728 [details, diff]
fix (ebuild patch)
Comment 2 Larry the Git Cow gentoo-dev 2018-10-20 18:51:47 UTC
The bug has been closed via the following commit(s):

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

commit 8e614f1fe3d86c3ed796c4fbb4512bd3bea49371
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-20 18:22:07 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-20 18:51:09 +0000

    app-misc/cdircmp: Fix build with ncurses[tinfo]
    
    Thanks-to: Sławomir Nizio
    Closes: https://bugs.gentoo.org/665036
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-misc/cdircmp/cdircmp-0.3-r2.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)