* Package: dev-lang/ocaml-3.12.1  * Repository: gentoo  * Maintainer: ml@gentoo.org  * USE: X abi_x86_64 amd64 elibc_glibc gdbm kernel_linux latex multilib ncurses ocamlopt userland_GNU  * FEATURES: preserve-libs sandbox >>> Unpacking source... >>> Unpacking ocaml-3.12.1.tar.bz2 to /var/tmp/portage/dev-lang/ocaml-3.12.1/work >>> Unpacking ocaml-patches-3.tar.bz2 to /var/tmp/portage/dev-lang/ocaml-3.12.1/work * Applying various patches (bugfixes/updates) ... * 010_all_execstacks.patch ...  [ ok ] * 020_all_configure.patch ...  [ ok ] * 030_all_automagic.patch ...  [ ok ] * 040_all_yaccldflags.patch ...  [ ok ] * 050_all_objinfoldflags.patch ...  [ ok ] * 060_all_linkorder.patch ...  [ ok ] * Done with patching >>> Source unpacked in /var/tmp/portage/dev-lang/ocaml-3.12.1/work >>> Compiling source in /var/tmp/portage/dev-lang/ocaml-3.12.1/work/ocaml-3.12.1 ... Configuring for a x86_64-pc-linux-gnu ... The C compiler is ANSI-compliant. Checking the sizes of integers and pointers... Wow! A 64 bit architecture! This is a little-endian architecture. Doubles can be word-aligned. 64-bit integers can be word-aligned. Native division and modulus have round-towards-zero semantics, will use them. ranlib found #! appears to work in shell scripts POSIX signal handling found. expm1() and log1p() found. getrusage() found. times() found. termcap functions found (with libraries '-lcurses') You have BSD sockets. socklen_t is defined in inet_aton() found. IPv6 is supported. unistd.h found. off_t is defined in dirent.h found. rewinddir() found. lockf() found. mkfifo() found. getcwd() found. getwd() found. getpriority() found. utime() found. utimes() found. dup2() found. fchmod() found. truncate() found. sys/select.h found. select() found. symlink() found. waitpid() found. wait4() found. getgroups() found. setgroups() found. initgroups() found. POSIX termios found. Asynchronous I/O are supported. setitimer() found. gethostname() found. uname() found. gettimeofday() found. mktime() found. setsid() found. putenv() found. setlocale() and found. dlopen() found in -ldl. Dynamic loading of shared libraries is supported. mmap() found. gethostbyname_r() found (with 6 arguments). gethostbyaddr_r() found (with 8 arguments). Replay debugger supported. System stack overflow can be detected. POSIX threads library supported. Options for linking with POSIX threads: -lpthread sigwait() found Bytecode threads library supported. Location of X11 include files: /usr/include/X11 Options for linking with X11: -lX11 NDBM found (in /usr/include/gdbm) Configuring LablTk... Configuration failed, LablTk will not be built. BFD library not found, 'objinfo' will be unable to display info on .cmxs files ** Configuration summary ** Directories where Objective Caml will be installed: binaries.................. /usr/bin standard library.......... /usr/lib64/ocaml manual pages.............. /usr/share/man (with extension .1) Configuration for the bytecode compiler: C compiler used........... x86_64-pc-linux-gnu-gcc options for compiling..... -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT options for linking....... -Wl,-O1 -Wl,--as-needed -Wl,-E -lm -ldl -lcurses -lpthread shared libraries are supported options for compiling..... -fPIC -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT command for building...... x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -o lib.so -Wl,-rpath,/a/path objs Configuration for the native-code compiler: hardware architecture..... amd64 OS variant................ linux C compiler used........... x86_64-pc-linux-gnu-gcc options for compiling..... -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT options for linking....... -Wl,-O1 -Wl,--as-needed -lm assembler ................ x86_64-pc-linux-gnu-as preprocessed assembler ... x86_64-pc-linux-gnu-gcc -c native dynlink ........... true profiling with gprof ..... supported Source-level replay debugger: supported Additional libraries supported: unix str num dynlink bigarray systhreads threads graph dbm Configuration for the "num" library: target architecture ...... amd64 (asm level 1) Configuration for the "graph" library: options for compiling .... options for linking ...... -lX11 The "labltk" library: not supported ** Objective Caml configuration completed successfully ** make -j5 -j1 world make coldstart make[1]: Entering directory `/var/tmp/portage/dev-lang/ocaml-3.12.1/work/ocaml-3.12.1' cd byterun; make all make[2]: Entering directory `/var/tmp/portage/dev-lang/ocaml-3.12.1/work/ocaml-3.12.1/byterun' sed -n -e '/^ /s/ \([A-Z]\)/ \&\&lbl_\1/gp' \ -e '/^}/q' instruct.h > jumptbl.h x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o interp.o interp.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o misc.o misc.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o stacks.o stacks.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o fix_code.o fix_code.c echo "#define OCAML_VERSION \"`sed -e 1q ../VERSION`\"" > version.h x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o startup.o startup.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o freelist.o freelist.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o major_gc.o major_gc.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o minor_gc.o minor_gc.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o memory.o memory.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o alloc.o alloc.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o roots.o roots.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o globroots.o globroots.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o fail.o fail.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o signals.o signals.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o signals_byt.o signals_byt.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o printexc.o printexc.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o backtrace.o backtrace.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o compare.o compare.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o ints.o ints.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o floats.o floats.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o str.o str.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o array.o array.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o io.o io.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o extern.o extern.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o intern.o intern.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o hash.o hash.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o sys.o sys.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o meta.o meta.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o parsing.o parsing.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o gc_ctrl.o gc_ctrl.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o terminfo.o terminfo.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o md5.o md5.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o obj.o obj.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o lexing.o lexing.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o callback.o callback.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o debugger.o debugger.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o weak.o weak.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o compact.o compact.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o finalise.o finalise.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o custom.o custom.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o dynlink.o dynlink.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o unix.o unix.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o main.o main.c ar rc libcamlrun.a interp.o misc.o stacks.o fix_code.o startup.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o globroots.o fail.o signals.o signals_byt.o printexc.o backtrace.o compare.o ints.o floats.o str.o array.o io.o extern.o intern.o hash.o sys.o meta.o parsing.o gc_ctrl.o terminfo.o md5.o obj.o lexing.o callback.o debugger.o weak.o compact.o finalise.o custom.o dynlink.o unix.o main.o ranlib libcamlrun.a sed -n -e "s/CAMLprim value \([a-z0-9_][a-z0-9_]*\).*/\1/p" \ alloc.c array.c compare.c extern.c floats.c gc_ctrl.c hash.c intern.c interp.c ints.c io.c lexing.c md5.c meta.c obj.c parsing.c signals.c str.c sys.c terminfo.c callback.c weak.c finalise.c stacks.c dynlink.c backtrace.c > primitives (echo '#include "mlvalues.h"'; \ echo '#include "prims.h"'; \ sed -e 's/.*/extern value &();/' primitives; \ echo 'c_primitive caml_builtin_cprim[] = {'; \ sed -e 's/.*/ &,/' primitives; \ echo ' 0 };'; \ echo 'char * caml_names_of_builtin_cprim[] = {'; \ sed -e 's/.*/ "&",/' primitives; \ echo ' 0 };') > prims.c x86_64-pc-linux-gnu-gcc -DCAML_NAME_SPACE -O -march=core2 -mtune=generic -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o prims.o prims.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-E -Wl,-O1 -Wl,--as-needed -Wl,-E -o ocamlrun \ prims.o libcamlrun.a -lm -ldl -lcurses -lpthread libcamlrun.a(terminfo.o): In function `caml_terminfo_setup': terminfo.c:(.text+0x67): undefined reference to `tgetent' terminfo.c:(.text+0x86): undefined reference to `tgetnum' terminfo.c:(.text+0x9b): undefined reference to `tgetstr' terminfo.c:(.text+0xb1): undefined reference to `tgetstr' terminfo.c:(.text+0xc7): undefined reference to `tgetstr' terminfo.c:(.text+0xdd): undefined reference to `tgetstr' terminfo.c:(.text+0x167): undefined reference to `tgetstr' libcamlrun.a(terminfo.o):terminfo.c:(.text+0x17d): more undefined references to `tgetstr' follow libcamlrun.a(terminfo.o): In function `caml_terminfo_backup': terminfo.c:(.text+0x1bd): undefined reference to `tputs' libcamlrun.a(terminfo.o): In function `caml_terminfo_standout': terminfo.c:(.text+0x203): undefined reference to `tputs' libcamlrun.a(terminfo.o): In function `caml_terminfo_resume': terminfo.c:(.text+0x24d): undefined reference to `tputs' collect2: error: ld returned 1 exit status make[2]: *** [ocamlrun] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-lang/ocaml-3.12.1/work/ocaml-3.12.1/byterun' make[1]: *** [coldstart] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-lang/ocaml-3.12.1/work/ocaml-3.12.1' make: *** [world] Error 2 emake failed * ERROR: dev-lang/ocaml-3.12.1 failed (compile phase): * make world failed! * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2635: Called die * The specific snippet of code: * emake -j1 world || die "make world failed!"; * * If you need support, post the output of `emerge --info '=dev-lang/ocaml-3.12.1'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ocaml-3.12.1'`. * The complete build log is located at '/var/tmp/portage/dev-lang/ocaml-3.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ocaml-3.12.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ocaml-3.12.1/work/ocaml-3.12.1' * S: '/var/tmp/portage/dev-lang/ocaml-3.12.1/work/ocaml-3.12.1'