Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877569 Details for
Bug 919294
dev-ml/labltk-8.06.12-r2 - cltkVar.c: error: passing argument 5 of Tcl_UntraceVar2 from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-ml:labltk-8.06.12-r2:20231205-164856.log
dev-ml:labltk-8.06.12-r2:20231205-164856.log (text/plain), 8.77 KB, created by
Toralf Förster
on 2023-12-05 17:21:32 UTC
(
hide
)
Description:
dev-ml:labltk-8.06.12-r2:20231205-164856.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-05 17:21:32 UTC
Size:
8.77 KB
patch
obsolete
> * 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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919294
:
877568
| 877569 |
877570
|
877571
|
877572
|
877573
|
877574
|
877575