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

Bug 690164

Summary: mail-client/cone-1.0 : /.../ld: ../.../libcurses.a(cursesscreen.o): undefined reference to symbol keypad
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: ash, esigra, kingjon3377, sam, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=714192
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
mail-client:cone-1.0:20190717-222626.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-07-18 17:51:18 UTC
libtool: link: x86_64-pc-linux-gnu-g++ -I../libs -I./../libs -O2 -pipe -march=native -Wl,-O1 -o cone acl.o addressbook.o addressbookinterface.o addressbookinterfaceldap.o addressbookinterfacemail.o certificates.o colors.o cone.o configscreen.o ctrlchandler.o cursesaddresslist.o cursesattachmentdisplay.o cursesedit.o curseseditmessage.o curseshierarchy.o cursesindexdisplay.o cursesmessage.o cursesmessagedisplay.o cursesmessageflowedtext.o cursesmessagehtmlparser.o disconnectcallbackstub.o encryptionmenu.o filter.o filtereditscreen.o fkeytraphandler.o gettext.o globalkeys.o gpg.o hierarchy.o htmlentity.o htmlparser.o init.o macros.o mainmenu.o menuscreen.o messagesize.o myfolder.o myfolderfilter.o mymessage.o myreferences.o myserver.o myservercallback.o myserverconfig.o myserverlogincallback.o myserverpromptinfo.o myserverremoteconfig.o myservertask.o myreadfolders.o nntpcommand.o opendialog.o opensubfolders.o outputdialog.o passwordlist.o previousscreen.o savedialog.o searchcallback.o searchprompt.o specialfolder.o spellcheckerbase.o tags.o typeahead.o spellcheckerNone.o  -Wl,--as-needed ../libs/tcpd/.libs/libtlsclient.a ../curses/libcurses.a ../libs/gpglib/.libs/libgpg.a ./.libs/libmail.a -lssl -lcourier-unicode ../libs/soxwrap/libsoxwrap.a -lncursesw -lxml2 -lz -lm -ldl -lcrypto
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../curses/libcurses.a(cursesscreen.o): undefined reference to symbol 'keypad'
/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
make[4]: *** [Makefile:904: cone] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20190715-113836

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.36.0 *



emerge -qpvO mail-client/cone
[ebuild  N    ] mail-client/cone-1.0  USE="crypt ipv6 -fam -gnutls -idn -ldap -spell"
Comment 1 Toralf Förster gentoo-dev 2019-07-18 17:51:21 UTC
Created attachment 583414 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-18 17:51:24 UTC
Created attachment 583416 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-07-18 17:51:27 UTC
Created attachment 583418 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-07-18 17:51:29 UTC
Created attachment 583420 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-07-18 17:51:32 UTC
Created attachment 583422 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-18 17:51:35 UTC
Created attachment 583424 [details]
mail-client:cone-1.0:20190717-222626.log
Comment 7 Toralf Förster gentoo-dev 2019-07-18 17:51:38 UTC
Created attachment 583426 [details]
temp.tbz2
Comment 8 Ashley Dixon 2020-08-12 11:45:38 UTC
Could it be related to bug 457530? I don't have the time to test it currently, but adding `append-ldflags -ltinfo` might create positive results. A lot of packages linking to curses were hit with undefined symbols errors when tinfo became a thing, and some of the lesser used ones, such as cone, still suffer from the breakages.

Just a thought... (I experienced this exact issue earlier today on a perfectly standard AMD64 stable system.)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-09 06:25:14 UTC
(In reply to Ashley Dixon from comment #8)
> Could it be related to bug 457530? I don't have the time to test it
> currently, but adding `append-ldflags -ltinfo` might create positive
> results. A lot of packages linking to curses were hit with undefined symbols
> errors when tinfo became a thing, and some of the lesser used ones, such as
> cone, still suffer from the breakages.
> 
> Just a thought... (I experienced this exact issue earlier today on a
> perfectly standard AMD64 stable system.)

Yep!
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-09 15:52:36 UTC
Still an issue.
Comment 11 Ashley Dixon 2021-01-10 19:13:13 UTC
(In reply to Sam James from comment #10)
> Still an issue.

It seems like this has been an issue for quite some time, probably due to the absence of a maintainer. I don't use Cone anymore, so I don't really want to pick it up as a Proxy. Perhaps you could try some of the hotfixes suggested in the tinfo tracker discussion (#457530) until someone fixes the ebuild?

With that said, this program probably shouldn't be in the main Gentoo repository at all. If it won't compile, has no maintainer, and very little activity on critical bug reports, perhaps it should be masked and be kept in a dev overlay?
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-30 07:44:21 UTC
*** Bug 791652 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2021-12-13 16:36:19 UTC
The bug has been closed via the following commit(s):

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

commit 686a0f671bd21ed11d3671dbc17593436d323109
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-12-13 16:30:38 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-12-13 16:30:38 +0000

    mail-client/cone: treeclean
    
    Bug: https://bugs.gentoo.org/764719
    Closes: https://bugs.gentoo.org/808567
    Closes: https://bugs.gentoo.org/807292
    Closes: https://bugs.gentoo.org/739862
    Closes: https://bugs.gentoo.org/690164
    Closes: https://bugs.gentoo.org/714192
    Closes: https://bugs.gentoo.org/724670
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 mail-client/cone/Manifest                         |  1 -
 mail-client/cone/cone-1.0-r1.ebuild               | 73 -----------------------
 mail-client/cone/files/cone-1.0-no-spelling.patch | 46 --------------
 mail-client/cone/metadata.xml                     |  8 ---
 profiles/package.mask                             |  5 --
 5 files changed, 133 deletions(-)