Package: src:naspro-bridge-it
Version: 0.5.1-3
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: ftbfs-gcc-16

Hi,

naspro-bridge-it fails to build in a test rebuild on at least amd64 and arm64 
with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/naspro-bridge-it_arm64.build.xz

The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/aarch64-linux-gnu-ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for NaturalDocs... no
checking for naturaldocs... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for nacore-5 >= 0.4.0... yes
checking for lv2 >= 1.0.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nabrit-3.pc
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/build/reproducible-path/naspro-bridge-it-0.5.1'
   dh_auto_build
        make -j128
make[1]: Entering directory '/build/reproducible-path/naspro-bridge-it-0.5.1'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/naspro-bridge-it-0.5.1'
Making all in doc
make[3]: Entering directory 
'/build/reproducible-path/naspro-bridge-it-0.5.1/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/naspro-bridge-it-0.5.1/doc'
Making all in include
make[3]: Entering directory 
'/build/reproducible-path/naspro-bridge-it-0.5.1/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 
'/build/reproducible-path/naspro-bridge-it-0.5.1/include'
Making all in src
make[3]: Entering directory 
'/build/reproducible-path/naspro-bridge-it-0.5.1/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror 
-I/usr/include/NASPRO/core-5 -pthread  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o bridge.lo bridge.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror 
-I/usr/include/NASPRO/core-5 -pthread  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o pluglib.lo pluglib.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror 
-I/usr/include/NASPRO/core-5 -pthread  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o plugin.lo plugin.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror 
-I/usr/include/NASPRO/core-5 -pthread  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o port.lo port.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror 
-I/usr/include/NASPRO/core-5 -pthread  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o preset.lo preset.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror 
-I/usr/include/NASPRO/core-5 -pthread  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o manifest.lo 
manifest.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../include -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror 
-I/usr/include/NASPRO/core-5 -pthread  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o util.lo util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -I/usr/include/NASPRO/core-5 
-pthread -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c preset.c  -fPIC -DPIC 
-o .libs/preset.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -I/usr/include/NASPRO/core-5 
-pthread -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c bridge.c  -fPIC -DPIC 
-o .libs/bridge.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -I/usr/include/NASPRO/core-5 
-pthread -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c port.c  -fPIC -DPIC -o 
.libs/port.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -I/usr/include/NASPRO/core-5 
-pthread -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c util.c  -fPIC -DPIC -o 
.libs/util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -I/usr/include/NASPRO/core-5 
-pthread -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c pluglib.c  -fPIC -DPIC 
-o .libs/pluglib.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -I/usr/include/NASPRO/core-5 
-pthread -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c plugin.c  -fPIC -DPIC 
-o .libs/plugin.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -pedantic -Wall -Werror -I/usr/include/NASPRO/core-5 
-pthread -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/naspro-bridge-it-0.5.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c manifest.c  -fPIC -DPIC 
-o .libs/manifest.o
manifest.c: In function 'nabrit_manifest_print_data':
manifest.c:127:19: error: variable 'j' set but not used 
[-Werror=unused-but-set-variable=]
  127 |         size_t i, j;
      |                   ^
cc1: all warnings being treated as errors
make[3]: *** [Makefile:468: manifest.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/naspro-bridge-it-0.5.1/src'
make[2]: *** [Makefile:481: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/naspro-bridge-it-0.5.1'
make[1]: *** [Makefile:390: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/naspro-bridge-it-0.5.1'
dh_auto_build: error: make -j128 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2

Reply via email to