Package: src:pd-tclpd
Version: 0.3.1-3
Severity: important
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/pd-tclpd_0.3.1-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
tcl_wrap.c:984:89: note: in definition of macro ‘SWIG_ConvertPtr’
  984 | #define SWIG_ConvertPtr(oc, ptr, ty, flags)             
SWIG_Tcl_ConvertPtr(interp, oc, ptr, ty, flags)
      |                                                                         
                ^~~
tcl_wrap.c:1181:61: note: expected ‘void **’ but argument is of type ‘t_text 
**’ {aka ‘struct _text **’}
 1181 | SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, 
swig_type_info *ty, int flags) {
      |                                                      ~~~~~~~^~~
tcl_wrap.c: In function ‘_wrap_canvas_addinlet’:
tcl_wrap.c:24447:10: error: assignment to ‘struct _class **’ from incompatible 
pointer type ‘t_tcl *’ {aka ‘struct _t_tcl *’} [-Wincompatible-pointer-types]
24447 |     arg2 = object_table_get(str);
      |          ^
tcl_wrap.c: In function ‘_wrap_canvas_addoutlet’:
tcl_wrap.c:24509:10: error: assignment to ‘struct _class **’ from incompatible 
pointer type ‘t_tcl *’ {aka ‘struct _t_tcl *’} [-Wincompatible-pointer-types]
24509 |     arg2 = object_table_get(str);
      |          ^
tcl_wrap.c: In function ‘_wrap_canvas_isconnected’:
tcl_wrap.c:25320:40: error: passing argument 3 of ‘SWIG_Tcl_ConvertPtr’ from 
incompatible pointer type [-Wincompatible-pointer-types]
25320 |     int res = SWIG_ConvertPtr(objv[2], &arg2, SWIGTYPE_p__text, 0 |  0 
);
      |                                        ^~~~~
      |                                        |
      |                                        t_text ** {aka struct _text **}
tcl_wrap.c:984:89: note: in definition of macro ‘SWIG_ConvertPtr’
  984 | #define SWIG_ConvertPtr(oc, ptr, ty, flags)             
SWIG_Tcl_ConvertPtr(interp, oc, ptr, ty, flags)
      |                                                                         
                ^~~
tcl_wrap.c:1181:61: note: expected ‘void **’ but argument is of type ‘t_text 
**’ {aka ‘struct _text **’}
 1181 | SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, 
swig_type_info *ty, int flags) {
      |                                                      ~~~~~~~^~~
tcl_wrap.c:25334:40: error: passing argument 3 of ‘SWIG_Tcl_ConvertPtr’ from 
incompatible pointer type [-Wincompatible-pointer-types]
25334 |     int res = SWIG_ConvertPtr(objv[4], &arg4, SWIGTYPE_p__text, 0 |  0 
);
      |                                        ^~~~~
      |                                        |
      |                                        t_text ** {aka struct _text **}
tcl_wrap.c:984:89: note: in definition of macro ‘SWIG_ConvertPtr’
  984 | #define SWIG_ConvertPtr(oc, ptr, ty, flags)             
SWIG_Tcl_ConvertPtr(interp, oc, ptr, ty, flags)
      |                                                                         
                ^~~
tcl_wrap.c:1181:61: note: expected ‘void **’ but argument is of type ‘t_text 
**’ {aka ‘struct _text **’}
 1181 | SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, 
swig_type_info *ty, int flags) {
      |                                                      ~~~~~~~^~~
tcl_wrap.c: In function ‘_wrap_pd_checkglist’:
tcl_wrap.c:25415:10: error: assignment to ‘struct _class **’ from incompatible 
pointer type ‘t_tcl *’ {aka ‘struct _t_tcl *’} [-Wincompatible-pointer-types]
25415 |     arg1 = object_table_get(str);
      |          ^
tcl_wrap.c: In function ‘_wrap_guiconnect_new’:
tcl_wrap.c:27001:10: error: assignment to ‘struct _class **’ from incompatible 
pointer type ‘t_tcl *’ {aka ‘struct _t_tcl *’} [-Wincompatible-pointer-types]
27001 |     arg1 = object_table_get(str);
      |          ^
tcl_wrap.c: In function ‘_wrap_CAST_t_pd’:
tcl_wrap.c:28496:10: error: assignment to ‘struct _class **’ from incompatible 
pointer type ‘t_tcl *’ {aka ‘struct _t_tcl *’} [-Wincompatible-pointer-types]
28496 |     arg1 = object_table_get(str);
      |          ^
tcl_wrap.c: In function ‘_wrap_CAST_t_text’:
tcl_wrap.c:28515:40: error: passing argument 3 of ‘SWIG_Tcl_ConvertPtr’ from 
incompatible pointer type [-Wincompatible-pointer-types]
28515 |     int res = SWIG_ConvertPtr(objv[1], &arg1, SWIGTYPE_p__text, 0 |  0 
);
      |                                        ^~~~~
      |                                        |
      |                                        t_text ** {aka struct _text **}
tcl_wrap.c:984:89: note: in definition of macro ‘SWIG_ConvertPtr’
  984 | #define SWIG_ConvertPtr(oc, ptr, ty, flags)             
SWIG_Tcl_ConvertPtr(interp, oc, ptr, ty, flags)
      |                                                                         
                ^~~
tcl_wrap.c:1181:61: note: expected ‘void **’ but argument is of type ‘t_text 
**’ {aka ‘struct _text **’}
 1181 | SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, 
swig_type_info *ty, int flags) {
      |                                                      ~~~~~~~^~~
tcl_wrap.c: In function ‘Tclpd_Init’:
tcl_wrap.c:30946:72: warning: left shift count >= width of type 
[-Wshift-count-overflow]
30946 |   SWIG_Tcl_SetConstantObj(interp, "MAXSIGSIZE", SWIG_From_int((int)((1 
<< 32))));
      |                                                                        
^~
make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: 
tcl_wrap.pd_linux.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" 
arch.c.flags= "LDFLAGS=-Wl,-z,relro -Wl,-z,now" "CFLAGS=-Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" 
"CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" 
PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/ returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to