Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621936 - app-misc/ckermit-8.0.211-r4 [ncurses] fails with ckuusx.o: undefined reference to symbol 'tgoto'
Summary: app-misc/ckermit-8.0.211-r4 [ncurses] fails with ckuusx.o: undefined referenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2017-06-16 19:12 UTC by Fabio Rossi
Modified: 2018-06-18 16:39 UTC (History)
3 users (show)

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


Attachments
build log (ckermit-8.0.211-r4:20170616-183849.log.gz,3.65 KB, application/gzip)
2017-06-16 19:12 UTC, Fabio Rossi
Details
emerge-info.txt.gz (emerge-info.txt.gz,8.32 KB, application/gzip)
2017-06-16 19:12 UTC, Fabio Rossi
Details
ckermit-8.0.211-r4.ebuild.patch (ckermit-8.0.211-r4.ebuild.patch,512 bytes, patch)
2017-06-16 19:14 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2017-06-16 19:12:20 UTC
Created attachment 476706 [details]
build log

I get this error during compilation:

x86_64-pc-linux-gnu-gcc -O2 -pipe -march=corei7 -ggdb -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DNO_AUTHENTICATION -DNOLOGIN -DNOFTP -DCK_NCURSES -DHAVE_PTMX -D_XOPEN_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_CRYPT_H -DKTARGET=\"linuxa\" -c ckcpro.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o wermit \
        ckcmai.o ckclib.o ckutio.o ckufio.o \
        ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
        ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
        ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
        ckuusx.o ckuusy.o ckuusr.o ckucns.o \
        ckudia.o ckuscr.o ckcnet.o ckusig.o \
        ckctel.o ckcuni.o ckupty.o ckcftp.o \
        ckuath.o ck_crp.o ck_ssl.o -lcrypt -lresolv  -lncurses -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ckuusx.o: undefined reference to symbol 'tgoto'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [makefile:1202: xermit] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-misc/ckermit-8.0.211-r4/work'
make: *** [makefile:5453: linuxa] Error 2
Comment 1 Fabio Rossi 2017-06-16 19:12:59 UTC
Created attachment 476708 [details]
emerge-info.txt.gz
Comment 2 Fabio Rossi 2017-06-16 19:14:14 UTC
Created attachment 476710 [details, diff]
ckermit-8.0.211-r4.ebuild.patch

simple patch to solve the issue
Comment 3 Liu Yang 2017-09-12 10:13:15 UTC
I met the same problem:

x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o wermit \
	ckcmai.o ckclib.o ckutio.o ckufio.o \
	ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
	ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
	ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
	ckuusx.o ckuusy.o ckuusr.o ckucns.o \
	ckudia.o ckuscr.o ckcnet.o ckusig.o \
	ckctel.o ckcuni.o ckupty.o ckcftp.o \
	ckuath.o ck_crp.o ck_ssl.o -lcrypt -lresolv  -lncurses -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ckuusx.o: undefined reference to symbol 'tgoto'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [makefile:1202: xermit] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-misc/ckermit-8.0.211-r4/work'
make: *** [makefile:5453: linuxa] Error 2
Comment 4 Larry the Git Cow gentoo-dev 2018-06-18 16:39:35 UTC
The bug has been closed via the following commit(s):

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

commit fe90e0a3e734740eb2a8cad3c24a7c2b1db3f99f
Author:     Zentaro Kavanagh <zentaro@chromium.org>
AuthorDate: 2018-06-18 14:51:18 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: 2018-06-18 16:38:51 +0000

    app-misc/ckermit: Support ncurses with tinfo enabled #621936
    
    Use pkg-config to populate LIBS and CPPFLAGS instead of hardcoding.
    
    Closes: https://bugs.gentoo.org/621936

 app-misc/ckermit/ckermit-8.0.211-r4.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)