Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685712 - sys-apps/pick-3.0.1: needs tinfo fix (undefined reference to symbol 'setupterm')
Summary: sys-apps/pick-3.0.1: needs tinfo fix (undefined reference to symbol 'setupterm')
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
: 691156 700494 (view as bug list)
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2019-05-12 10:46 UTC by Helmut Jarausch
Modified: 2021-01-10 00:00 UTC (History)
4 users (show)

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


Attachments
patch to let configure search for libtinfo, too (pick-3.0.1-tinfo.patch,824 bytes, patch)
2019-05-12 10:46 UTC, Helmut Jarausch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2019-05-12 10:46:55 UTC
Created attachment 576154 [details, diff]
patch to let configure search for libtinfo, too

On my machine sys-apps/pick-3.0.1 fails to configure :
>>> Configuring source in /var/tmp/portage/sys-apps/pick-3.0.1/work/pick-3.0.1 ...
+ cat config.log
+ LDFLAGS=-lcurses
+ check_curses
+ compile
+ cc -Werror -o /dev/null -x c - -lcurses
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-apps/pick-3.0.1/temp/ccbghdyi.o: undefined reference to symbol 'setupterm'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
+ LDFLAGS=-lncursesw
+ check_curses
+ compile
+ cc -Werror -o /dev/null -x c - -lncursesw
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-apps/pick-3.0.1/temp/ccOVkf2c.o: undefined reference to symbol 'setupterm'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfow.so.6: error adding symbols: DSO missing from command line
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

The attached patch fixes this.
Comment 1 Dennis Schridde 2019-05-12 11:22:32 UTC
Could the summary please be adjusted to include the error message?  That would make this report easier to find.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-09 06:32:04 UTC
*** Bug 691156 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-09 09:15:13 UTC
*** Bug 700494 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2021-01-09 23:54:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a6d693e11bdd54254a4f0b0e58089344c57934

commit 57a6d693e11bdd54254a4f0b0e58089344c57934
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-01-09 23:53:46 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-01-09 23:53:58 +0000

    sys-apps/pick: Bump to version 4.0.0
    
    fix build against sys-libs/ncurses[tinfo]
    
    Closes: https://bugs.gentoo.org/685712
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/pick/Manifest                     |  1 +
 sys-apps/pick/files/pick-4.0.0-tinfo.patch | 28 ++++++++++++++++++++++
 sys-apps/pick/pick-4.0.0.ebuild            | 37 ++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-10 00:00:26 UTC
Sorry Helmut. I didn't see you also provided the exact same fix that I wrote myself. I didn't mean to steal any credits from you :-(