Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731780 - app-misc/devtodo-0.1.20-r3 : /.../ld: todoterm.o: undefined reference to symbol tgetnum
Summary: app-misc/devtodo-0.1.20-r3 : /.../ld: todoterm.o: undefined reference to symb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2020-07-08 19:09 UTC by Toralf Förster
Modified: 2021-03-08 00:03 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.19 KB, text/plain)
2020-07-08 19:09 UTC, Toralf Förster
Details
app-misc:devtodo-0.1.20-r3:20200708-185233.log (app-misc:devtodo-0.1.20-r3:20200708-185233.log,18.02 KB, text/plain)
2020-07-08 19:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,118.27 KB, text/plain)
2020-07-08 19:10 UTC, Toralf Förster
Details
environment (environment,105.38 KB, text/plain)
2020-07-08 19:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.56 KB, application/x-bzip)
2020-07-08 19:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.50 KB, application/x-bzip)
2020-07-08 19:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.07 KB, application/x-bzip)
2020-07-08 19:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-07-08 19:09:52 UTC
/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O1 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o devtodo Todo.o TodoDB.o support.o main.o todoterm.o Loaders.o ../util/libutil.la -lreadline  
libtool: link: x86_64-pc-linux-gnu-g++ -O1 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o devtodo Todo.o TodoDB.o support.o main.o todoterm.o Loaders.o  -Wl,--as-needed ../util/.libs/libutil.a -lreadline
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: todoterm.o: undefined reference to symbol 'tgetnum'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.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
make[2]: *** [Makefile:412: devtodo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl-20200706-181900

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.44.1 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 08 Jul 2020 06:05:31 PM UTC
/var/db/repos/libressl	Wed 08 Jul 2020 06:35:15 AM UTC

emerge -qpvO app-misc/devtodo
[ebuild  N    ] app-misc/devtodo-0.1.20-r3
Comment 1 Toralf Förster gentoo-dev 2020-07-08 19:09:59 UTC
Created attachment 648444 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-08 19:10:03 UTC
Created attachment 648446 [details]
app-misc:devtodo-0.1.20-r3:20200708-185233.log
Comment 3 Toralf Förster gentoo-dev 2020-07-08 19:10:14 UTC
Created attachment 648448 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-08 19:10:23 UTC
Created attachment 648450 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-08 19:10:30 UTC
Created attachment 648452 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-08 19:10:34 UTC
Created attachment 648454 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-08 19:10:39 UTC
Created attachment 648456 [details]
temp.tbz2
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-09 15:30:36 UTC
I cannot reproduce this issue:

# rdeps.sh app-misc/devtodo-0.1.20-r3/image/
sys-devel/gcc:9.3.0: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libgcc_s.so.1
sys-devel/gcc:9.3.0: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6.0.28
sys-libs/glibc:2.2: /lib64/libc-2.32.so
sys-libs/ncurses:0: /lib64/libtinfow.so.6.2
sys-libs/readline:0: /lib64/libreadline.so.8.1


@toralf: Any chance you built sys-libs/ncurses with USE="-unicode"?
Comment 9 Toralf Förster gentoo-dev 2021-01-09 16:12:34 UTC
the attached etc.portage.tbz2 gives the answer ;-)  :

$ cat etc/portage/package.use/000thrown_use_flags_from_profile 
*/*  -dbm gpm javascript -lash mpi mysql -nsplugin spell -unicode xml
*/*  xmpp
Comment 10 Larry the Git Cow gentoo-dev 2021-03-08 00:03:46 UTC
The bug has been closed via the following commit(s):

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

commit d6d2aeb54b45ba83be3aeda1f2a72176abc9996a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-08 00:02:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-08 00:03:39 +0000

    app-misc/devtodo: don't demand unicode from ncurses
    
    Closes: https://bugs.gentoo.org/731780
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/devtodo/devtodo-0.1.20-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)