[Pkg-tcltk-devel] Bug#1026572: itcl3: FTBFS: ./generic/itcl_methods.c:1159:48: error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
Lucas Nussbaum
lucas at debian.org
Tue Dec 20 17:15:23 GMT 2022
Source: itcl3
Version: 3.4.3-3.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"itcl\ 3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_itcl=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/usr/lib/x86_64-linux-gnu/itcl3.4\" -I"./generic" -I"/usr/include/tcl8.6/tcl-private/generic" -I"/usr/include/tcl8.6/tcl-private/unix" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ./generic/itcl_methods.c` -o itcl_methods.o
> In file included from /usr/include/tcl8.6/tcl-private/generic/tclPort.h:25,
> from /usr/include/tcl8.6/tcl-private/generic/tclInt.h:36,
> from ./generic/itclInt.h:50,
> from ./generic/itcl_methods.c:31:
> ./generic/itcl_methods.c: In function ‘Itcl_CreateArg’:
> ./generic/itcl_methods.c:1159:48: error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
> 1159 | (unsigned)(sizeof(CompiledLocal)-sizeof(localPtr->name) + nameLen+1)
> | ^
> /usr/include/tcl8.6/tcl-private/generic/tcl.h:2462:36: note: in definition of macro ‘ckalloc’
> 2462 | ((void *) Tcl_Alloc((unsigned)(x)))
> | ^
> make[2]: *** [Makefile:266: itcl_methods.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/itcl3_3.4.3-3.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-tcltk-devel
mailing list