Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 644750

Summary: app-shells/hstr-1.24 undefined reference to symbol 'keypad'
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Patrice Clement <monsieurp>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, jstein, lander.ghekiere, shell-tools
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2018-01-16 11:50:55 UTC
Linking app-shells/hstr-1.24 fails to link :
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hstr_curses.o: undefined reference to symbol 'keypad'

uncommenting 
AC_CHECK_LIB(tinfo ....

with
sed -i -e's/#AC_CHECK_LIB(tinfo/AC_CHECK_LIB(tinfo/' configure.ac

fixes this.
Comment 1 lg188 2018-01-19 13:37:19 UTC
I Noticed that there's a patch for app-shells-1.23 that changes "AC_CHECK..." to "AC_SEARCH...". I'm wondering why it has been removed from 1.24? Have they changed it upstream?

(I'm new to this. Sorry in advance for any mistakes)
Comment 2 Dan Goodliffe 2018-02-22 00:05:53 UTC
I can confirm that applying the v1.23 patch to v1.24 does fix the problem for me too.
Comment 3 Larry the Git Cow gentoo-dev 2018-02-23 09:06:58 UTC
The bug has been closed via the following commit(s):

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

commit ac8e675dbf042cd9445b358dcdaf09bf6a000c8a
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2018-02-23 09:06:20 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-02-23 09:06:51 +0000

    app-shells/hstr: add back tinfo patch.
    
    Closes: https://bugs.gentoo.org/644750
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-shells/hstr/files/hstr-1.24-tinfo.patch | 11 +++++++++++
 app-shells/hstr/hstr-1.24.ebuild            |  1 +
 2 files changed, 12 insertions(+)