* Package: dev-ml/labltk-8.06.12-r1:0/8.06.12 * Repository: gentoo * Maintainer: ml@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking labltk-8.06.12.tar.gz to /var/tmp/portage/dev-ml/labltk-8.06.12-r1/work >>> Source unpacked in /var/tmp/portage/dev-ml/labltk-8.06.12-r1/work >>> Preparing source in /var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12 ... * Applying findlib.patch ... [ ok ] * Applying labltk-8.06.9-configure-clang16.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12 ... Configuring LablTk... runtest: x86_64-pc-linux-gnu-gcc -o tst tclversion.c -lm tcl.h and tk.h version 8.6 found with "". hasgot -ltcl8.6 -lm Tcl_DoOneEvent: x86_64-pc-linux-gnu-gcc -o tst hasgot.c -lm -ltcl8.6 -lm hasgot -ltk8.6 -ltcl8.6 -lm Tk_SetGrid: x86_64-pc-linux-gnu-gcc -o tst hasgot.c -lm -ltk8.6 -ltcl8.6 -lm Tcl/Tk libraries found. ** Configuration summary ** Configuration for the "labltk" library: use tcl/tk version ....... 8.6 options for compiling .... -I/usr/local/include options for linking ...... -ltk8.6 -ltcl8.6 use native compilers ..... yes >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12 ... make -j4 -j1 all cd support; make make[1]: Entering directory '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12/support' /usr/bin/ocamlc.opt -c support.mli /usr/bin/ocamlc.opt -c rawwidget.mli /usr/bin/ocamlc.opt -c widget.mli /usr/bin/ocamlc.opt -c protocol.mli /usr/bin/ocamlc.opt -c fileevent.mli /usr/bin/ocamlc.opt -c fileevent.ml /usr/bin/ocamlc.opt -c protocol.ml /usr/bin/ocamlc.opt -c rawwidget.ml /usr/bin/ocamlc.opt -c widget.ml /usr/bin/ocamlc.opt -c textvariable.mli /usr/bin/ocamlc.opt -c timer.mli /usr/bin/ocamlc.opt -c camltkwrap.mli /usr/bin/ocamlc.opt -c camltkwrap.ml /usr/bin/ocamlc.opt -c support.ml x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkCaml.c In file included from cltkCaml.c:21: cltkCaml.c: In function ‘camltk_return’: /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of ‘Tcl_SetResult’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ cltkCaml.c:61:30: note: in expansion of macro ‘String_val’ 61 | Tcl_SetResult(cltclinterp, String_val(v), TCL_VOLATILE); | ^~~~~~~~~~ In file included from /usr/include/tcl.h:2418, from cltkCaml.c:19: /usr/include/tclDecls.h:693:65: note: expected ‘char *’ but argument is of type ‘const char *’ 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ cltkCaml.c: In function ‘camltk_init’: cltkCaml.c:81:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | tkerror_exn = caml_named_value("tkerror"); | ^ cltkCaml.c:83:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | handler_code = caml_named_value("camlcb"); | ^ x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkEvent.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkMisc.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkWait.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkUtf.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkEval.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkImg.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkTimer.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkVar.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkFile.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pipe -march=native -fno-diagnostics-color -O2 -I/usr/lib64/ocaml/caml -c cltkMain.c cltkMain.c: In function ‘camltk_opentk’: cltkMain.c:82:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | argv0 = String_val( Field( argv, 0 ) ); | ^ cltkMain.c:92:23: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | value *interp = caml_named_value("cltclinterp"); | ^~~~~~~~~~~~~~~~ cltkMain.c:121:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | tkargv[i] = String_val(Field(tmp, 0)); | ^ /usr/bin/ocamlmklib -o labltk cltkCaml.o cltkUtf.o cltkEval.o cltkEvent.o cltkFile.o cltkMain.o cltkMisc.o cltkTimer.o cltkVar.o cltkWait.o cltkImg.o -ldopt "-ltk8.6" -ldopt "-ltcl8.6" /usr/bin/ocamlc.opt -c timer.ml /usr/bin/ocamlc.opt -c textvariable.ml /usr/bin/ocamlc.opt -c -I +threads -I vmthreads tkthread.mli /usr/bin/ocamlc.opt -c -I +threads -I vmthreads tkthread.ml make[1]: Leaving directory '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12/support' cd compiler; make make[1]: Entering directory '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12/compiler' /usr/bin/ocamlyacc -v -v parser.mly 3 shift/reduce conflicts. /usr/bin/ocamlc.opt -c -g -I ../support flags.ml /usr/bin/ocamlc.opt -c -g -I ../support tsort.ml /usr/bin/ocamlc.opt -c -g -I ../support tables.ml /usr/bin/ocamlc.opt -c -g -I ../support parser.mli /usr/bin/ocamlc.opt -c -g -I ../support parser.ml /usr/bin/ocamllex lexer.mll 45 states, 921 transitions, table size 3954 bytes /usr/bin/ocamlc.opt -c -g -I ../support lexer.ml /usr/bin/ocamlc.opt -c -g -I ../support code.mli /usr/bin/ocamlc.opt -c -g -I ../support ppexec.ml /usr/bin/ocamlc.opt -c -g -I ../support printer.ml /usr/bin/ocamlyacc -v -v ppyac.mly /usr/bin/ocamlc.opt -c -g -I ../support ppyac.mli /usr/bin/ocamlc.opt -c -g -I ../support ppyac.ml /usr/bin/ocamlc.opt -c -g -I ../support pplex.mli /usr/bin/ocamlc.opt -c -g -I ../support ppparse.ml /usr/bin/ocamlc.opt -c -g -I ../support compile.ml /usr/bin/ocamlc.opt -c -g -I ../support intf.ml /usr/bin/ocamlc.opt -c -g -I ../support maincompile.ml File "maincompile.ml", line 229, characters 4-19: 229 | Copyright.write ~w:(output_string oc); ^^^^^^^^^^^^^^^ Error: Unbound module Copyright make[1]: *** [Makefile:74: maincompile.cmo] Error 2 shuffle=2736954083 make[1]: Leaving directory '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12/compiler' make: *** [Makefile:33: library] Error 2 shuffle=2736954083 * ERROR: dev-ml/labltk-8.06.12-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ml/labltk-8.06.12-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/labltk-8.06.12-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:labltk-8.06.12-r1:20221205-211219.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12' * S: '/var/tmp/portage/dev-ml/labltk-8.06.12-r1/work/labltk-8.06.12'