Summary: | net-misc/cgminer-4.10.0 with sys-libs/ncurses[tinfo] - ld: cgminer-cgminer.o: undefined reference to symbol 'halfdelay' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marco Genasci <fedeliallalinea> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, jstein |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | cgminer-4.10.0-r1.ebuild.patch |
Description
Marco Genasci
2018-04-11 13:12:54 UTC
Created attachment 527140 [details, diff]
cgminer-4.10.0-r1.ebuild.patch
Patch for export correct NCURSES_LIBS in ebuild
Comment on attachment 527140 [details, diff]
cgminer-4.10.0-r1.ebuild.patch
I don't know where to begin to point out everything wrong with the ebuild (and consequently the patch).
pkg-config should be called through "tc-getPKG_CONFIG" from toolchain-funcs.eclass Consider cross compilations... Something like: inherit toolchain-funcs ... export PKG_CONFIG="$(tc-getPKG_CONFIG)" export NCURSES_LIBS=$(${PKG_CONFIG} --libs ncurses) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151266171d7d362a60034621d89f9809f3690778 commit 151266171d7d362a60034621d89f9809f3690778 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-03-24 00:20:11 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-03-24 00:20:11 +0000 net-misc/cgminer: Fixed build with sys-libs/ncurses[tinfo] Closes: https://bugs.gentoo.org/652970 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> net-misc/cgminer/cgminer-4.10.0.ebuild | 76 ++++++++++++++++++---------------- 1 file changed, 40 insertions(+), 36 deletions(-) |