Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690076 - dev-ml/lablgtk-2.18.5 : (.text+<snip>): undefined reference to tgetent
Summary: dev-ml/lablgtk-2.18.5 : (.text+<snip>): undefined reference to tgetent
Status: CONFIRMED
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:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2019-07-17 16:52 UTC by Toralf Förster
Modified: 2019-12-13 14:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.75 KB, text/plain)
2019-07-17 16:52 UTC, Toralf Förster
Details
dev-ml:lablgtk-2.18.5:20190717-002641.log (dev-ml:lablgtk-2.18.5:20190717-002641.log,62.47 KB, text/plain)
2019-07-17 16:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,100.80 KB, text/plain)
2019-07-17 16:52 UTC, Toralf Förster
Details
environment (environment,43.77 KB, text/plain)
2019-07-17 16:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.12 KB, application/x-bzip)
2019-07-17 16:52 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.38 KB, application/x-bzip)
2019-07-17 16:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,16.45 KB, application/x-bzip)
2019-07-17 16:52 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 2019-07-17 16:52:02 UTC
   -I . lablgtk.cma lablgtkgl.cma lablrsvg.cma lablgtkspell.cma gtkThread.cmo
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/ocaml/libcamlrun.a(terminfo.o): in function `caml_terminfo_setup':
(.text+0x7b): undefined reference to `tgetent'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x98): undefined reference to `tgetnum'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0xb1): undefined reference to `tgetstr'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0xcb): undefined reference to `tgetstr'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl_abi32+64-20190714-070131

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

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) *
Available Rust versions:
  [1]   rust-1.36.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO dev-ml/lablgtk
[ebuild  N    ] dev-ml/lablgtk-2.18.5  USE="ocamlopt opengl spell svg -debug -examples -glade -gnomecanvas -sourceview"
Comment 1 Toralf Förster gentoo-dev 2019-07-17 16:52:05 UTC
Created attachment 583208 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-17 16:52:08 UTC
Created attachment 583210 [details]
dev-ml:lablgtk-2.18.5:20190717-002641.log
Comment 3 Toralf Förster gentoo-dev 2019-07-17 16:52:11 UTC
Created attachment 583212 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-07-17 16:52:14 UTC
Created attachment 583214 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-07-17 16:52:17 UTC
Created attachment 583216 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-17 16:52:19 UTC
Created attachment 583218 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-07-17 16:52:22 UTC
Created attachment 583220 [details]
temp.tbz2
Comment 8 Luke A. Guest 2019-11-07 12:14:17 UTC
I found this today as well.

I have found that by compiling as user it compiles fine, but as emerge it does not, the only difference was the lines containing ```-g -dtypes``` as the configure flag ```--disable-debug``` is ignored and enables it.

Copy the ebuild and remove $(use_enable debug) from it and it builds fine here.