Summary: | dev-util/omake fails to build with ncurses[tinfo] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, jer, sam, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | dev-util:omake-0.9.8.6.0_rc1:20141031-105423.log |
Description
Diego Elio Pettenò (RETIRED)
2013-03-05 08:28:12 UTC
I can not reproduce this with ocaml built with the fix to dev-lang/ocaml for: Bug 459512 - dev-lang/ocaml with sys-libs/ncurses[tinfo] - .../work/ocaml-4.00.1/byterun/terminfo.c:54: undefined reference to `tgetent' Created attachment 387876 [details] dev-util:omake-0.9.8.6.0_rc1:20141031-105423.log (In reply to Mark Wright from comment #1) It fails to link against libncurses, though. lib/configure/ncurses.om checks for initscr() setupterm() and tigetstr() in libncurses and magically gets that confirmed for some reason, but then fails to link against libncurses later on: lm_terminfo.c:72: error: undefined reference to 'tigetstr' lm_terminfo.c:35: error: undefined reference to 'setupterm' =dev-util/omake-0.9.8.6.0_rc1 now almost silently disables ncurses support: OMAKEFLAGS= OMAKEPATH=lib ./omake-boot --dotomake .omake --force-dotomake -j2 main *** omake: reading OMakefiles --- Checking for gcc... (found /usr/bin/gcc) --- Checking for g++... (found /usr/bin/g++) --- Checking for ncurses... (NOT found) --- Checking for FAM... (found) --- Checking whether FAM supports Gamin's extensions... (yes) --- Checking if ocamldep understands -modules... (yes) Updating the .config file. --- Checking for ocamlfind... (FAILED - no ocamlfind found) --- Checking for ocamlc.opt... (found /usr/bin/ocamlc.opt) --- Checking for ocamlopt.opt... (found /usr/bin/ocamlopt.opt) --- Checking whether ocamlc understands the "z" warnings... (yes) --- Checking for OCaml library location... (/usr/lib64/ocaml) --- Checking for ncurses... (NOT found) The ncurses check in =dev-util/omake-0.10.3 seems broken: --- Checking for ncurses... --- Checking for gcc... (found /usr/bin/gcc) --- Checking for g++... (found /usr/bin/g++) --- Checking for x86_64-pc-linux-gnu-gcc... (found /usr/bin/x86_64-pc-linux-gnu-gcc) --- Checking for g++... (found /usr/bin/g++) --- Checking for x86_64-pc-linux-gnu-gcc... (found /usr/bin/x86_64-pc-linux-gnu-gcc) --- Checking for ld... (found /usr/bin/ld) --- Checking for as... (found /usr/bin/as) (NOT found) --- Checking for inotify... (found) --- Checking if ocamldep understands -modules... (yes) Updating the .config file. --- Checking for OCaml library location... (/usr/lib64/ocaml) --- Checking for ncurses... --- Checking for gcc... (found /usr/bin/gcc) but ends up linking against libtinfo.so anyway: ~/portage/dev-util/omake-0.10.3/work/omake-0.10.3 $ scanelf -Rn . | grep tinfo ET_DYN libm.so.6,libdl.so.2,libtinfo.so.6,libpthread.so.0,libc.so.6 ./boot/omake_gen_parse.byte ET_DYN libm.so.6,libdl.so.2,libtinfo.so.6,libpthread.so.0,libc.so.6 ./boot/omake_gen_magic.byte ET_DYN libm.so.6,libdl.so.2,libtinfo.so.6,libpthread.so.0,libc.so.6 ./boot/omake.byte even when USE='-ncurses -readline' (depending on how dev-lang/ocaml was installed?) so USE=ncurses is not respected in that case. *** Bug 690106 has been marked as a duplicate of this bug. *** |