-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"
Created attachment 583208 [details] emerge-info.txt
Created attachment 583210 [details] dev-ml:lablgtk-2.18.5:20190717-002641.log
Created attachment 583212 [details] emerge-history.txt
Created attachment 583214 [details] environment
Created attachment 583216 [details] etc.portage.tbz2
Created attachment 583218 [details] logs.tbz2
Created attachment 583220 [details] temp.tbz2
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.
I don't see this problem on lablgtk-2.18.10