Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678886 - dev-util/min-cscope with sys-libs/ncurses[tinfo] - ld: CMakeFiles/min-cscope.dir/input.c.o: undefined reference to symbol 'erasechar'
Summary: dev-util/min-cscope with sys-libs/ncurses[tinfo] - ld: CMakeFiles/min-cscope....
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:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2019-02-27 02:28 UTC by Scott McClung
Modified: 2022-02-27 09:39 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_678886.txt,10.35 KB, text/plain)
2019-02-27 02:28 UTC, Scott McClung
Details
build.log.gz (build.log.gz,6.11 KB, application/gzip)
2019-02-27 02: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-27 02:28:33 UTC
Created attachment 566640 [details]
emerge --info

/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -I/tmp/portage/dev-util/min-cscope-16.1.0/work/min-cscope/sort  -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/min-cscope.dir/alloc.c.o CMakeFiles/min-cscope.dir/basename.c.o CMakeFiles/min-cscope.dir/build.c.o CMakeFiles/min-cscope.dir/compath.c.o CMakeFiles/min-cscope.dir/crossref.c.o CMakeFiles/min-cscope.dir/dir.c.o CMakeFiles/min-cscope.dir/display.c.o CMakeFiles/min-cscope.dir/exec.c.o CMakeFiles/min-cscope.dir/find.c.o CMakeFiles/min-cscope.dir/history.c.o CMakeFiles/min-cscope.dir/input.c.o CMakeFiles/min-cscope.dir/invlib.c.o CMakeFiles/min-cscope.dir/logdir.c.o CMakeFiles/min-cscope.dir/lookup.c.o CMakeFiles/min-cscope.dir/main.c.o CMakeFiles/min-cscope.dir/mygetenv.c.o CMakeFiles/min-cscope.dir/mypopen.c.o CMakeFiles/min-cscope.dir/vpaccess.c.o CMakeFiles/min-cscope.dir/vpfopen.c.o CMakeFiles/min-cscope.dir/vpinit.c.o CMakeFiles/min-cscope.dir/vpopen.c.o CMakeFiles/min-cscope.dir/fscanner.c.o CMakeFiles/min-cscope.dir/egrep.c.o CMakeFiles/min-cscope.dir/command.c.o CMakeFiles/min-cscope.dir/edit.c.o CMakeFiles/min-cscope.dir/help.c.o CMakeFiles/min-cscope.dir/mouse.c.o  -o min-cscope -lncurses 
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/min-cscope.dir/input.c.o: undefined reference to symbol 'erasechar'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/min-cscope.dir/build.make:779: src/min-cscope] Error 1
make[2]: Leaving directory '/tmp/portage/dev-util/min-cscope-16.1.0/work/min-cscope-16.1.0_build'
make[1]: *** [CMakeFiles/Makefile2:141: src/CMakeFiles/min-cscope.dir/all] Error 2
make[1]: Leaving directory '/tmp/portage/dev-util/min-cscope-16.1.0/work/min-cscope-16.1.0_build'
make: *** [Makefile:130: all] Error 2
Comment 1 Scott McClung 2019-02-27 02:36:26 UTC
Created attachment 566642 [details]
build.log.gz
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-08 13:49:15 UTC
Candidate for treecleaning.
Build system is a total mess. Upstream appears to be dead since 2009...
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-08 15:59:46 UTC
Nevermind, found a fix...
Comment 4 Larry the Git Cow gentoo-dev 2019-04-08 16:15:42 UTC
The bug has been closed via the following commit(s):

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

commit 335b399e38f34ed16dd59d40f1345dce03a04f54
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-08 16:01:14 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-08 16:15:35 +0000

    dev-util/min-cscope: Fixed build with sys-libs/ncurses[tinfo]
    
    Closes: https://bugs.gentoo.org/678886
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../min-cscope/files/min-cscope-16.1.0-tinfo.patch | 33 ++++++++++++++++++++++
 dev-util/min-cscope/min-cscope-16.1.0.ebuild       |  6 +++-
 2 files changed, 38 insertions(+), 1 deletion(-)