Source: tk-html3
Version: 3.0~fossil20110109-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -pipe -DPACKAGE_NAME=\"Tkhtml\" -DPACKAGE_TARNAME=\"tkhtml\" 
> -DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"Tkhtml\ 3.0\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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 -DUSE_THREAD_ALLOC=1 
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  
> -I"/usr/include/tcl8.6" -I"/usr/include/tcl8.6"   -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 -O2 
> -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c -I. -I./src `echo 
> ./src/swproc.c` -o swproc.o
> ./src/htmltcl.c: In function ‘runLayoutEngine’:
> ./src/htmltcl.c:446:17: warning: variable ‘pD’ set but not used 
> [-Wunused-but-set-variable]
>   446 |     HtmlDamage *pD;
>       |                 ^~
> ./src/htmltcl.c: In function ‘callbackHandler’:
> ./src/htmltcl.c:503:9: error: implicit declaration of function ‘usleep’ 
> [-Werror=implicit-function-declaration]
>   503 |         usleep( 2000 );
>       |         ^~~~~~
> ./src/htmltcl.c: In function ‘viewCommon’:
> ./src/htmltcl.c:1844:14: warning: variable ‘pScrollCommand’ set but not used 
> [-Wunused-but-set-variable]
>  1844 |     Tcl_Obj *pScrollCommand;
>       |              ^~~~~~~~~~~~~~
> ./src/swproc.c:7:19: warning: ‘rcsid’ defined but not used 
> [-Wunused-const-variable=]
>     7 | static const char rcsid[] = "$Id: swproc.c,v 1.6 2006/06/10 12:38:38 
> danielk1977 Exp $";
>       |                   ^~~~~
> ./src/htmltcl.c: At top level:
> ./src/htmltcl.c:33:19: warning: ‘rcsid’ defined but not used 
> [-Wunused-const-variable=]
>    33 | static char const rcsid[] = "@(#) $Id: htmltcl.c,v 1.207 2008/01/16 
> 06:29:27 danielk1977 Exp $";
>       |                   ^~~~~
> ./src/htmltree.c:39:19: warning: ‘rcsid’ defined but not used 
> [-Wunused-const-variable=]
>    39 | static const char rcsid[] = "$Id: htmltree.c,v 1.161 2008/02/14 
> 08:39:14 danielk1977 Exp $";
>       |                   ^~~~~
> gcc -pipe -DPACKAGE_NAME=\"Tkhtml\" -DPACKAGE_TARNAME=\"tkhtml\" 
> -DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"Tkhtml\ 3.0\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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 -DUSE_THREAD_ALLOC=1 
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  
> -I"/usr/include/tcl8.6" -I"/usr/include/tcl8.6"   -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 -O2 
> -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c -I. -I./src `echo 
> ./src/restrack.c` -o restrack.o
> ./src/restrack.c:64:19: warning: ‘rcsid’ defined but not used 
> [-Wunused-const-variable=]
>    64 | static const char rcsid[] = "$Id: restrack.c,v 1.13 2007/12/12 
> 04:50:29 danielk1977 Exp $";
>       |                   ^~~~~
> gcc -pipe -DPACKAGE_NAME=\"Tkhtml\" -DPACKAGE_TARNAME=\"tkhtml\" 
> -DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"Tkhtml\ 3.0\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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 -DUSE_THREAD_ALLOC=1 
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  
> -I"/usr/include/tcl8.6" -I"/usr/include/tcl8.6"   -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 -O2 
> -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c -I. -I./src `echo 
> ./src/htmldecode.c` -o htmldecode.o
> ./src/htmldecode.c: In function ‘HtmlEncode’:
> ./src/htmldecode.c:259:47: warning: pointer targets in passing argument 1 of 
> ‘tclStubsPtr->tcl_NewStringObj’ differ in signedness [-Wpointer-sign]
>   259 |     Tcl_SetObjResult(interp, Tcl_NewStringObj(zOut, iOut));
>       |                                               ^~~~
>       |                                               |
>       |                                               unsigned char *
> ./src/htmldecode.c:259:47: note: expected ‘const char *’ but argument is of 
> type ‘unsigned char *’
> ./src/htmldecode.c: At top level:
> ./src/htmldecode.c:33:19: warning: ‘rcsid’ defined but not used 
> [-Wunused-const-variable=]
>    33 | static char const rcsid[] = "@(#) $Id: htmldecode.c,v 1.9 2008/01/09 
> 06:49:37 danielk1977 Exp $";
>       |                   ^~~~~
> gcc -pipe -DPACKAGE_NAME=\"Tkhtml\" -DPACKAGE_TARNAME=\"tkhtml\" 
> -DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"Tkhtml\ 3.0\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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 -DUSE_THREAD_ALLOC=1 
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  
> -I"/usr/include/tcl8.6" -I"/usr/include/tcl8.6"   -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 -O2 
> -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c -I. -I./src `echo 
> ./src/htmltext.c` -o htmltext.o
> gcc -pipe -DPACKAGE_NAME=\"Tkhtml\" -DPACKAGE_TARNAME=\"tkhtml\" 
> -DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"Tkhtml\ 3.0\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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 -DUSE_THREAD_ALLOC=1 
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  
> -I"/usr/include/tcl8.6" -I"/usr/include/tcl8.6"   -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 -O2 
> -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c -I. -I./src `echo 
> ./src/htmlutil.c` -o htmlutil.o
> gcc -pipe -DPACKAGE_NAME=\"Tkhtml\" -DPACKAGE_TARNAME=\"tkhtml\" 
> -DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"Tkhtml\ 3.0\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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 -DUSE_THREAD_ALLOC=1 
> -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 
> -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  
> -I"/usr/include/tcl8.6" -I"/usr/include/tcl8.6"   -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 -O2 
> -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c -I. -I./src `echo 
> cssprop.c` -o cssprop.o
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:305: htmltcl.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/tk-html3_3.0~fossil20110109-8_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@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.

Reply via email to