Package: src:tdom
Version: 0.9.5-1.1
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/tdom_0.9.5-1.1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgIndex.tcl
( cd extensions/tdomhtml ; ./configure \
        --host=x86_64-linux-gnu \
        --build=x86_64-linux-gnu \
        --prefix=/build/reproducible-path/tdom-0.9.5/debian/tdom/usr \
        --mandir=\${prefix}/share/man \
        --infodir=\${prefix}/share/info \
        --libdir=\${prefix}/lib/tcltk/x86_64-linux-gnu \
        
--includedir=/build/reproducible-path/tdom-0.9.5/debian/tdom-dev/usr/include/tdom
 )
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating pkgIndex.tcl
make[1]: Leaving directory '/build/reproducible-path/tdom-0.9.5'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/tdom-0.9.5'
# Add here commands to compile the package.
( cd unix ; /usr/bin/make )
make[2]: Entering directory '/build/reproducible-path/tdom-0.9.5/unix'
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" 
-DPACKAGE_VERSION=\"0.9.5\" -DPACKAGE_STRING=\"tdom\ 0.9.5\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tdom=/\*\*/ 
-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 -DTcl_Size=int -DHAVE_MEMMOVE=1 
-DHAVE_BCOPY=1 -DHAVE_ARC4RANDOM_BUF=1 -DHAVE_GETRANDOM=1 -DXML_DEV_URANDOM=1 
-DXML_POOR_ENTROPY=1 -DHAVE_UINTPTR_T=1 -DTDOM_HAVE_GUMBO=1 
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 
-DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ 
__attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 
-DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 
-DTCL_CFG_OPTIMIZED=1 -DTCL_MAJOR_VERSION=8 -DXML_DTD=1 -DXML_CONTEXT_BYTES=0 
-DXML_GE=1 -DXML_LARGE_SIZE=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 
-DUSE_NORMAL_ALLOCATOR=1  -I/usr/include -I../generic -I"/usr/include/tcl8.6" 
-I/build/reproducible-path/tdom-0.9.5/unix    -O2 -fomit-frame-pointer -DNDEBUG 
-Wall -fPIC -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/tdom-0.9.5=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -pipe -O2 -fomit-frame-pointer -DNDEBUG 
-Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ../generic/xmlsimple.c` -o 
xmlsimple.o
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" 
-DPACKAGE_VERSION=\"0.9.5\" -DPACKAGE_STRING=\"tdom\ 0.9.5\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tdom=/\*\*/ 
-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 -DTcl_Size=int -DHAVE_MEMMOVE=1 
-DHAVE_BCOPY=1 -DHAVE_ARC4RANDOM_BUF=1 -DHAVE_GETRANDOM=1 -DXML_DEV_URANDOM=1 
-DXML_POOR_ENTROPY=1 -DHAVE_UINTPTR_T=1 -DTDOM_HAVE_GUMBO=1 
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 
-DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ 
__attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 
-DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 
-DTCL_CFG_OPTIMIZED=1 -DTCL_MAJOR_VERSION=8 -DXML_DTD=1 -DXML_CONTEXT_BYTES=0 
-DXML_GE=1 -DXML_LARGE_SIZE=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 
-DUSE_NORMAL_ALLOCATOR=1  -I/usr/include -I../generic -I"/usr/include/tcl8.6" 
-I/build/reproducible-path/tdom-0.9.5/unix    -O2 -fomit-frame-pointer -DNDEBUG 
-Wall -fPIC -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/tdom-0.9.5=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -pipe -O2 -fomit-frame-pointer -DNDEBUG 
-Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ../generic/dom.c` -o dom.o
../generic/dom.c: In function ‘TclTdomObjCmd’:
../generic/dom.c:5494:43: error: expected identifier or ‘(’ before ‘bool’
 5494 |     int              methodIndex, result, bool;
      |                                           ^~~~
../generic/dom.c:5606:58: error: expected expression before ‘bool’
 5606 |             if (Tcl_GetBooleanFromObj (interp, objv[3], &bool) != 
TCL_OK) {
      |                                                          ^~~~
../generic/dom.c:5609:37: error: expected expression before ‘bool’
 5609 |             info->storeLineColumn = bool;
      |                                     ^~~~
../generic/dom.c:5661:54: error: expected expression before ‘bool’
 5661 |         if (Tcl_GetBooleanFromObj (interp, objv[3], &bool) != TCL_OK) {
      |                                                      ^~~~
../generic/dom.c:5664:36: error: expected expression before ‘bool’
 5664 |         info->ignoreWhiteSpaces = !bool;
      |                                    ^~~~
../generic/dom.c:5665:42: error: expected expression before ‘bool’
 5665 |         handlerSet->ignoreWhiteCDATAs = !bool;
      |                                          ^~~~
../generic/dom.c:5685:54: error: expected expression before ‘bool’
 5685 |         if (Tcl_GetBooleanFromObj (interp, objv[3], &bool) != TCL_OK) {
      |                                                      ^~~~
../generic/dom.c:5688:17: error: expected identifier or ‘(’ before ‘)’ token
 5688 |         if (bool) {
      |                 ^
../generic/dom.c:5688:13: error: declaration in the controlling expression must 
have an initializer
 5688 |         if (bool) {
      |             ^~~~
../generic/dom.c:5714:54: error: expected expression before ‘bool’
 5714 |         if (Tcl_GetBooleanFromObj (interp, objv[3], &bool) != TCL_OK) {
      |                                                      ^~~~
../generic/dom.c:5718:32: error: expected expression before ‘bool’
 5718 |         expat->keepTextStart = bool;
      |                                ^~~~
../generic/dom.c:5730:58: error: expected expression before ‘bool’
 5730 |             if (Tcl_GetBooleanFromObj (interp, objv[3], &bool) != 
TCL_OK) {
      |                                                          ^~~~
../generic/dom.c:5733:33: error: expected expression before ‘bool’
 5733 |             info->ignorexmlns = bool;
      |                                 ^~~~
make[2]: *** [Makefile:336: dom.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/tdom-0.9.5/unix'
make[1]: *** [debian/rules:62: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/tdom-0.9.5'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

_______________________________________________
Pkg-tcltk-devel mailing list
Pkg-tcltk-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-tcltk-devel

Reply via email to