* Package: dev-ml/labltk-8.06.12-r2:0/8.06.12 * Repository: gentoo * Maintainer: ml@gentoo.org * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt * 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-r2/work >>> Source unpacked in /var/tmp/portage/dev-ml/labltk-8.06.12-r2/work >>> Preparing source in /var/tmp/portage/dev-ml/labltk-8.06.12-r2/work/labltk-8.06.12 ... * Applying findlib.patch ... [ ok ] * Applying labltk-8.06.9-configure-clang16.patch ... [ ok ] * Applying labltk-8.06.12-shuffle.patch ... [ ok ] * Applying labltk-8.06.12-c2x.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ml/labltk-8.06.12-r2/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 .... 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-r2/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-r2/work/labltk-8.06.12/support' /usr/bin/ocamlc.opt -c support.mli /usr/bin/ocamlc.opt -c support.ml /usr/bin/ocamlc.opt -c rawwidget.mli /usr/bin/ocamlc.opt -c rawwidget.ml /usr/bin/ocamlc.opt -c widget.mli /usr/bin/ocamlc.opt -c widget.ml /usr/bin/ocamlc.opt -c protocol.mli /usr/bin/ocamlc.opt -c protocol.ml /usr/bin/ocamlc.opt -c textvariable.mli /usr/bin/ocamlc.opt -c textvariable.ml /usr/bin/ocamlc.opt -c timer.mli /usr/bin/ocamlc.opt -c timer.ml /usr/bin/ocamlc.opt -c fileevent.mli /usr/bin/ocamlc.opt -c fileevent.ml /usr/bin/ocamlc.opt -c camltkwrap.mli /usr/bin/ocamlc.opt -c camltkwrap.ml /usr/bin/ocamlc.opt -c -I +threads -I vmthreads tkthread.mli /usr/bin/ocamlc.opt -c -I +threads -I vmthreads tkthread.ml x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -march=native -fno-diagnostics-color -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 -O2 -pipe -march=native -fno-diagnostics-color -I/usr/lib64/ocaml/caml -c cltkUtf.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -march=native -fno-diagnostics-color -I/usr/lib64/ocaml/caml -c cltkEval.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -march=native -fno-diagnostics-color -I/usr/lib64/ocaml/caml -c cltkEvent.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -march=native -fno-diagnostics-color -I/usr/lib64/ocaml/caml -c cltkFile.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -march=native -fno-diagnostics-color -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 -O2 -pipe -march=native -fno-diagnostics-color -I/usr/lib64/ocaml/caml -c cltkMisc.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -march=native -fno-diagnostics-color -I/usr/lib64/ocaml/caml -c cltkTimer.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -march=native -fno-diagnostics-color -I/usr/lib64/ocaml/caml -c cltkVar.c cltkVar.c: In function ‘tracevar’: cltkVar.c:86:17: error: passing argument 5 of ‘Tcl_UntraceVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 86 | tracevar, clientdata); | ^~~~~~~~ | | | char * (*)(void *, Tcl_Interp *, char *, char *, int) In file included from /usr/include/tcl.h:2418, from cltkVar.c:21: /usr/include/tclDecls.h:770:62: note: expected ‘char * (*)(void *, Tcl_Interp *, const char *, const char *, int)’ but argument is of type ‘char * (*)(void *, Tcl_Interp *, char *, char *, int)’ 770 | int flags, Tcl_VarTraceProc *proc, | ~~~~~~~~~~~~~~~~~~^~~~ cltkVar.c: In function ‘camltk_trace_var’: cltkVar.c:103:20: error: passing argument 5 of ‘Tcl_TraceVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 103 | tracevar, | ^~~~~~~~ | | | char * (*)(void *, Tcl_Interp *, char *, char *, int) /usr/include/tclDecls.h:742:51: note: expected ‘char * (*)(void *, Tcl_Interp *, const char *, const char *, int)’ but argument is of type ‘char * (*)(void *, Tcl_Interp *, char *, char *, int)’ 742 | Tcl_VarTraceProc *proc, | ~~~~~~~~~~~~~~~~~~^~~~ cltkVar.c: In function ‘camltk_untrace_var’: cltkVar.c:124:18: error: passing argument 5 of ‘Tcl_UntraceVar2’ from incompatible pointer type [-Wincompatible-pointer-types] 124 | tracevar, | ^~~~~~~~ | | | char * (*)(void *, Tcl_Interp *, char *, char *, int) /usr/include/tclDecls.h:770:62: note: expected ‘char * (*)(void *, Tcl_Interp *, const char *, const char *, int)’ but argument is of type ‘char * (*)(void *, Tcl_Interp *, char *, char *, int)’ 770 | int flags, Tcl_VarTraceProc *proc, | ~~~~~~~~~~~~~~~~~~^~~~ make[1]: *** [Makefile:89: cltkVar.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-ml/labltk-8.06.12-r2/work/labltk-8.06.12/support' make: *** [Makefile:32: library] Error 2 * ERROR: dev-ml/labltk-8.06.12-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ml/labltk-8.06.12-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/labltk-8.06.12-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:labltk-8.06.12-r2:20231205-164856.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ml/labltk-8.06.12-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ml/labltk-8.06.12-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-ml/labltk-8.06.12-r2/work/labltk-8.06.12' * S: '/var/tmp/portage/dev-ml/labltk-8.06.12-r2/work/labltk-8.06.12'