Package: src:tla
Version: 1.3.5+dfsg2-1
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/tla_1.3.5+dfsg2-1_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

[...]
gcc -I/<<PKGBUILDDIR>>/debian/build/config-include 
-I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/src -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  
-c -o cvt.o /<<PKGBUILDDIR>>/src/hackerlab/fmt/cvt.c
/<<PKGBUILDDIR>>/src/hackerlab/fmt/cvt.c: In function ‘cvt_ulong_to_HEX’:
/<<PKGBUILDDIR>>/src/hackerlab/fmt/cvt.c:305:32: warning: pointer targets in 
initialization of ‘const t_uchar *’ {aka ‘const unsigned char *’} from ‘char *’ 
differ in signedness [-Wpointer-sign]
  305 |   static const t_uchar * HEX = "0123456789ABCDEF";
      |                                ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/hackerlab/fmt/cvt.c: In function ‘cvt_ulong_to_hex’:
/<<PKGBUILDDIR>>/src/hackerlab/fmt/cvt.c:441:32: warning: pointer targets in 
initialization of ‘const t_uchar *’ {aka ‘const unsigned char *’} from ‘char *’ 
differ in signedness [-Wpointer-sign]
  441 |   static const t_uchar * hex = "0123456789abcdef";
      |                                ^~~~~~~~~~~~~~~~~~
echo cvt-double.o cvt.o | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/column.sed > Objects
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/hackerlab/fmt'
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build/hackerlab/hash'
printf "%s %s.o %s.d: " sha1 sha1 sha1 > sha1.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/sha1.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> sha1.d
echo >> sha1.d
printf "%s %s.o %s.d: " sha1-utils sha1-utils sha1-utils > sha1-utils.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/sha1-utils.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> sha1-utils.d
echo >> sha1-utils.d
printf "%s %s.o %s.d: " md5 md5 md5 > md5.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/md5.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> md5.d
echo >> md5.d
printf "%s %s.o %s.d: " md5-utils md5-utils md5-utils > md5-utils.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/md5-utils.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> md5-utils.d
echo >> md5-utils.d
printf "%s %s.o %s.d: " hashtree hashtree hashtree > hashtree.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/hashtree.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> hashtree.d
echo >> hashtree.d
printf "%s %s.o %s.d: " hash-utils hash-utils hash-utils > hash-utils.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/hash-utils.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> hash-utils.d
echo >> hash-utils.d
printf "%s %s.o %s.d: " sha1 sha1 sha1 > sha1.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/sha1.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> sha1.d
echo >> sha1.d
printf "%s %s.o %s.d: " sha1-utils sha1-utils sha1-utils > sha1-utils.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/sha1-utils.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> sha1-utils.d
echo >> sha1-utils.d
printf "%s %s.o %s.d: " md5 md5 md5 > md5.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/md5.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> md5.d
echo >> md5.d
printf "%s %s.o %s.d: " md5-utils md5-utils md5-utils > md5-utils.d
gcc -DFOR_MAKEFILE_DEPENDENCIES -E 
-I/<<PKGBUILDDIR>>/debian/build/config-include -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
 /<<PKGBUILDDIR>>/src/hackerlab/hash/md5-utils.c | sed -f 
/<<PKGBUILDDIR>>/src/build-tools/Makefiles/cpp-to-includes.sed | sort -u | sed 
-e 's/$/ \\/' >> md5-utils.d
echo >> md5-utils.d
gcc -I/<<PKGBUILDDIR>>/debian/build/config-include 
-I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/src -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  
-c -o hash-utils.o /<<PKGBUILDDIR>>/src/hackerlab/hash/hash-utils.c
gcc -I/<<PKGBUILDDIR>>/debian/build/config-include 
-I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/src -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  
-c -o hashtree.o /<<PKGBUILDDIR>>/src/hackerlab/hash/hashtree.c
/<<PKGBUILDDIR>>/src/hackerlab/hash/hashtree.c: In function ‘hashtree_store’:
/<<PKGBUILDDIR>>/src/hackerlab/hash/hashtree.c:439:19: warning: pointer targets 
in passing argument 1 of ‘mem_set0’ differ in signedness [-Wpointer-sign]
  439 |         mem_set0 ((char *)newtab, sizeof (*newtab));
      |                   ^~~~~~~~~~~~~~
      |                   |
      |                   char *
In file included from /<<PKGBUILDDIR>>/src/hackerlab/hash/hashtree.c:12:
/<<PKGBUILDDIR>>/src/hackerlab/mem/mem.h:20:33: note: expected ‘t_uchar *’ {aka 
‘unsigned char *’} but argument is of type ‘char *’
   20 | extern void mem_set0 (t_uchar * mem, size_t n);
      |                       ~~~~~~~~~~^~~
gcc -I/<<PKGBUILDDIR>>/debian/build/config-include 
-I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/src -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  
-c -o md5-utils.o /<<PKGBUILDDIR>>/src/hackerlab/hash/md5-utils.c
gcc -I/<<PKGBUILDDIR>>/debian/build/config-include 
-I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/src -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  
-c -o md5.o /<<PKGBUILDDIR>>/src/hackerlab/hash/md5.c
gcc -I/<<PKGBUILDDIR>>/debian/build/config-include 
-I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/src -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  
-c -o sha1-utils.o /<<PKGBUILDDIR>>/src/hackerlab/hash/sha1-utils.c
gcc -I/<<PKGBUILDDIR>>/debian/build/config-include 
-I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/src -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  
-c -o sha1.o /<<PKGBUILDDIR>>/src/hackerlab/hash/sha1.c
/<<PKGBUILDDIR>>/src/hackerlab/hash/sha1.c: In function ‘sha1_process_blocks’:
/<<PKGBUILDDIR>>/src/hackerlab/hash/sha1.c:341:27: error: initialization of 
‘const t_uint32 *’ {aka ‘const unsigned int *’} from incompatible pointer type 
‘const t_uchar *’ {aka ‘const unsigned char *’} [-Wincompatible-pointer-types]
  341 |   const t_uint32 *words = buffer;
      |                           ^~~~~~
make[3]: *** [<builtin>: sha1.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/hackerlab/hash'
make[2]: *** [/<<PKGBUILDDIR>>/src/build-tools/Makefiles/dirs.mk:28: all] Error 
2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/hackerlab'
make[1]: *** [/<<PKGBUILDDIR>>/src/build-tools/Makefiles/top-level.mk:50: all] 
Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make: *** [debian/rules:38: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to