Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548358 - net-analyzer/goaccess with ncurses[tinfo]: src/ui.o: undefined reference to symbol 'curs_set'
Summary: net-analyzer/goaccess with ncurses[tinfo]: src/ui.o: undefined reference to s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vladimir Pavljuchenkov (SpiderX)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo 559200
  Show dependency tree
 
Reported: 2015-05-01 19:53 UTC by Reuben Martin
Modified: 2017-01-16 23:58 UTC (History)
3 users (show)

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


Attachments
Build log (build.log,17.66 KB, application/pgp-signature)
2015-10-28 11:35 UTC, Zoltan Puskas
Details
goaccess-0.9-tinfo.patch (goaccess-0.9-tinfo.patch,796 bytes, patch)
2016-01-01 16:14 UTC, Vladimir Pavljuchenkov (SpiderX)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Martin 2015-05-01 19:53:51 UTC
src/ui.o: undefined reference to symbol 'curs_set'
/lib64/libtinfow.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:435: recipe for target 'goaccess' failed

Reproducible: Always
Comment 1 Andrew Savchenko gentoo-dev 2015-05-01 23:27:05 UTC
Please provide a full build.log and emerge --info output.
Comment 2 Zoltan Puskas 2015-10-28 11:35:50 UTC
Created attachment 415616 [details]
Build log

Fails to compile with ncurses6 too:

...
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: src/ui.o: undefined reference to symbol 'halfdelay'
/usr/lib64/libtinfow.so.6: error adding symbols: DSO missing from command line
Comment 3 Vladimir Pavljuchenkov (SpiderX) 2016-01-01 16:14:11 UTC
Created attachment 421496 [details, diff]
goaccess-0.9-tinfo.patch

1. Sorry for a huge delay. I have just made a pull request to goaccess' github repository, which fixes this issue.
2. Patch to fix this also attached. We should better wait a couple of days for upstream decision, before including this patch into ebuild.
Since ebuild uses epatch_user, you can flawlessly apply it using it, if you can't wait:
2.1. mkdir -p /etc/portage/patches/net-analyzer/goaccess/
2.2. nano /etc/portage/patches/net-analyzer/goaccess/goaccess-0.9-tinfo.patch
2.3. emerge -atv goaccess
3. After upstream decision, I will make an ebuild bump to its recent version, which will have this patch or backported fix from upstream.
Comment 4 Vladimir Pavljuchenkov (SpiderX) 2017-01-16 23:58:23 UTC
https://github.com/gentoo/gentoo/pull/3435