* Package: dev-ml/labltk-8.06.10 * 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.10.tar.gz to /var/tmp/portage/dev-ml/labltk-8.06.10/work >>> Source unpacked in /var/tmp/portage/dev-ml/labltk-8.06.10/work >>> Preparing source in /var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10 ... * Applying findlib.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10 ... Configuring LablTk... runtest: x86_64-pc-linux-gnu-gcc -o tst tclversion.c -lm tclversion.c:21:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 21 | main () | ^~~~ 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.10/work/labltk-8.06.10 ... make -j4 -j1 cd support; make make[1]: Entering directory '/var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10/support' /usr/bin/ocamlc.opt -c -warn-error A-3 support.mli /usr/bin/ocamlc.opt -c -warn-error A-3 support.ml /usr/bin/ocamlc.opt -c -warn-error A-3 rawwidget.mli /usr/bin/ocamlc.opt -c -warn-error A-3 rawwidget.ml /usr/bin/ocamlc.opt -c -warn-error A-3 widget.mli /usr/bin/ocamlc.opt -c -warn-error A-3 widget.ml /usr/bin/ocamlc.opt -c -warn-error A-3 protocol.mli /usr/bin/ocamlc.opt -c -warn-error A-3 protocol.ml /usr/bin/ocamlc.opt -c -warn-error A-3 textvariable.mli /usr/bin/ocamlc.opt -c -warn-error A-3 textvariable.ml /usr/bin/ocamlc.opt -c -warn-error A-3 timer.mli /usr/bin/ocamlc.opt -c -warn-error A-3 timer.ml /usr/bin/ocamlc.opt -c -warn-error A-3 fileevent.mli /usr/bin/ocamlc.opt -c -warn-error A-3 fileevent.ml /usr/bin/ocamlc.opt -c -warn-error A-3 camltkwrap.mli /usr/bin/ocamlc.opt -c -warn-error A-3 camltkwrap.ml /usr/bin/ocamlc.opt -c -warn-error A-3 -I +threads -I vmthreads tkthread.mli /usr/bin/ocamlc.opt -c -warn-error A-3 -I +threads -I vmthreads tkthread.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:2441, 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 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 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 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)); | ^ 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 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 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 cltkImg.c /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" make[1]: Leaving directory '/var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10/support' cd compiler; make make[1]: Entering directory '/var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10/compiler' /usr/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support flags.ml (echo "let copyright=\"\\"; \ sed -e 's/$/\\n\\/' copyright; \ echo "\""; \ echo "let write ~w = w copyright;;") > copyright.ml /usr/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support copyright.ml /usr/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support tsort.ml /usr/bin/ocamlc.opt -c -warn-error A-3 -g -I ../support tables.ml File "tables.ml", line 245, characters 5-13: 245 | if List.mem ty !types_returned then () ^^^^^^^^ Error (warning 6 [labels-omitted]): label set was omitted in the application of this function. File "tables.ml", line 318, characters 7-21: 318 | if List.mem_assoc subtyp typdef.subtypes ^^^^^^^^^^^^^^ Error (warning 6 [labels-omitted]): label map was omitted in the application of this function. make[1]: *** [Makefile:74: tables.cmo] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10/compiler' make: *** [Makefile:30: library] Error 2 * ERROR: dev-ml/labltk-8.06.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ml/labltk-8.06.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/labltk-8.06.10::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:labltk-8.06.10:20211013-074514.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/labltk-8.06.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/labltk-8.06.10/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10' * S: '/var/tmp/portage/dev-ml/labltk-8.06.10/work/labltk-8.06.10'