| Summary: | sys-apps/pick-1.8.0 fails to configure : unable to find setupterm function | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
| Component: | Current packages | Assignee: | Tim Harder <radhermit> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dschridde+gentoobugs |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
config.log
patch to search for libtinfo build.log |
||
Let me guess, you have USE=tinfo enabled for ncurses. If so, I figured that would break things. :) I was going to patch it soon to use pkg-config, but patches welcome here (or probably upstream) if you want it done faster. (In reply to Tim Harder from comment #1) > Let me guess, you have USE=tinfo enabled for ncurses. If so, I figured that > would break things. :) > > I was going to patch it soon to use pkg-config, but patches welcome here (or > probably upstream) if you want it done faster. Yes, I do have the tinfo use-flag for ncurses. I remember that one package (at least) forced me to do so. Unfortunately, I've never understood the 'configure business. - therefore I cannot help, (In reply to Helmut Jarausch from comment #2) > (In reply to Tim Harder from comment #1) > > Let me guess, you have USE=tinfo enabled for ncurses. If so, I figured that > > would break things. :) > > > > I was going to patch it soon to use pkg-config, but patches welcome here (or > > probably upstream) if you want it done faster. > > Yes, I do have the tinfo use-flag for ncurses. > I remember that one package (at least) forced me to do so. > > Unfortunately, I've never understood the 'configure business. - therefore I > cannot help, I have removed the search for ncurses and replaced it with tinfo. See the attached patch Created attachment 494382 [details, diff]
patch to search for libtinfo
(In reply to Helmut Jarausch from comment #3) > I have removed the search for ncurses and replaced it with tinfo. > See the attached patch Yeah, it's not that easy since that breaks it for configurations like mine which don't have tinfo split out. :) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae9e3bd15978477f4f14ac01a4fc64786ec3a57 commit bae9e3bd15978477f4f14ac01a4fc64786ec3a57 Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2017-09-14 03:56:08 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2017-09-14 03:56:08 +0000 sys-apps/pick: fix building against ncurses with split out libtinfo Closes: https://bugs.gentoo.org/630864 sys-apps/pick/files/pick-1.8.0-tinfo.patch | 24 ++++++++++++++++++++++++ sys-apps/pick/pick-1.8.0.ebuild | 10 +++++++--- 2 files changed, 31 insertions(+), 3 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=bae9e3bd15978477f4f14ac01a4fc64786ec3a57 commit bae9e3bd15978477f4f14ac01a4fc64786ec3a57 Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2017-09-14 03:56:08 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2017-09-14 03:56:08 +0000 sys-apps/pick: fix building against ncurses with split out libtinfo Closes: https://bugs.gentoo.org/630864 sys-apps/pick/files/pick-1.8.0-tinfo.patch | 24 ++++++++++++++++++++++++ sys-apps/pick/pick-1.8.0.ebuild | 10 +++++++--- 2 files changed, 31 insertions(+), 3 deletions(-) Created attachment 576088 [details]
build.log
This seems to have resurfaced with sys-apps/pick-3.0.1::gentoo:
+ LDFLAGS=-lcurses
+ check_curses
+ compile
+ cc -Werror -o /dev/null -x c - -lcurses
/tmp/portage/sys-apps/pick-3.0.1/temp/ccqk2YBi.o:function main: error: undefined reference to 'setupterm'
collect2: error: ld returned 1 exit status
+ LDFLAGS=-lncursesw
+ check_curses
+ compile
+ cc -Werror -o /dev/null -x c - -lncursesw
/tmp/portage/sys-apps/pick-3.0.1/temp/ccJLTGvk.o:function main: error: undefined reference to 'setupterm'
collect2: error: ld returned 1 exit status
+ fatal 'curses library not found'
+ '[' 1 -gt 0 ']'
+ echo 'fatal: curses library not found'
fatal: curses library not found
(In reply to Dennis Schridde from comment #8) > Created attachment 576088 [details] > build.log > > This seems to have resurfaced with sys-apps/pick-3.0.1::gentoo: > > + LDFLAGS=-lcurses > + check_curses > + compile > + cc -Werror -o /dev/null -x c - -lcurses > > /tmp/portage/sys-apps/pick-3.0.1/temp/ccqk2YBi.o:function main: error: > undefined reference to 'setupterm' > collect2: error: ld returned 1 exit status > > + LDFLAGS=-lncursesw > > + check_curses > + compile > + cc -Werror -o /dev/null -x c - -lncursesw > /tmp/portage/sys-apps/pick-3.0.1/temp/ccJLTGvk.o:function main: error: > undefined reference to 'setupterm' > collect2: error: ld returned 1 exit status > + fatal 'curses library not found' > + '[' 1 -gt 0 ']' > + echo 'fatal: curses library not found' > fatal: curses library not found See https://bugs.gentoo.org/685712 |
Created attachment 494310 [details] config.log See the summary. config.log is attached