Package: src:powerman Version: 2.4.4-2 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/powerman_2.4.4-2_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 [...] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c error.c -o error.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fdutil.lo fdutil.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c fdutil.c -fPIC -DPIC -o .libs/fdutil.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c fdutil.c -o fdutil.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o hprintf.lo hprintf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c hprintf.c -fPIC -DPIC -o .libs/hprintf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c hprintf.c -o hprintf.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xmalloc.lo xmalloc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xmalloc.c -fPIC -DPIC -o .libs/xmalloc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xmalloc.c -o xmalloc.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xpoll.lo xpoll.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xpoll.c -fPIC -DPIC -o .libs/xpoll.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xpoll.c -o xpoll.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xread.lo xread.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xread.c -fPIC -DPIC -o .libs/xread.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xread.c -o xread.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xregex.lo xregex.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xregex.c -fPIC -DPIC -o .libs/xregex.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xregex.c -o xregex.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xsignal.lo xsignal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xsignal.c -fPIC -DPIC -o .libs/xsignal.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c xsignal.c -o xsignal.o >/dev/null 2>&1 /bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o libcommon.la argv.lo error.lo fdutil.lo hprintf.lo xmalloc.lo xpoll.lo xread.lo xregex.lo xsignal.lo libtool: link: ar cr .libs/libcommon.a .libs/argv.o .libs/error.o .libs/fdutil.o .libs/hprintf.o .libs/xmalloc.o .libs/xpoll.o .libs/xread.o .libs/xregex.o .libs/xsignal.o libtool: link: ranlib .libs/libcommon.a libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" ) make[3]: Leaving directory '/build/reproducible-path/powerman-2.4.4/src/libcommon' Making all in powerman make[3]: Entering directory '/build/reproducible-path/powerman-2.4.4/src/powerman' gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o powerman.o powerman.c /bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -o powerman powerman.o ../../src/liblsd/liblsd.la ../../src/libcommon/libcommon.la -lgenders libtool: link: gcc -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -Wl,-z -Wl,now -o powerman powerman.o ../../src/liblsd/.libs/liblsd.a ../../src/libcommon/.libs/libcommon.a -lgenders rm -f pm ln -s powerman pm gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o arglist.o arglist.c gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o client.o client.c gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o debug.o debug.c gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o device.o device.c gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o device_pipe.o device_pipe.c gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o device_serial.o device_serial.c gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o device_tcp.o device_tcp.c test -f parse_tab.c || /bin/bash ../../config/ylwrap parse_tab.y y.tab.c parse_tab.c y.tab.h `echo parse_tab.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output parse_tab.output -- bison -y -d /build/reproducible-path/powerman-2.4.4/src/powerman/parse_tab.y: warning: 8 shift/reduce conflicts [-Wconflicts-sr] /build/reproducible-path/powerman-2.4.4/src/powerman/parse_tab.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples updating parse_tab.h test -f parse_lex.c || /bin/bash ../../config/ylwrap parse_lex.l lex.yy.c parse_lex.c -- flex gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parse_lex.o parse_lex.c gcc -DHAVE_CONFIG_H -I. -I../../config -I../../src/liblsd -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/powerman-2.4.4=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o parse_tab.o parse_tab.c parse_tab.c: In function ‘yyparse’: parse_tab.c:2117:7: error: too many arguments to function ‘yyerror’; expected 0, have 1 2117 | yyerror (YY_("syntax error")); | ^~~~~~~ parse_tab.y:105:6: note: declared here 105 | void yyerror(); | ^~~~~~~ parse_tab.c:2228:3: error: too many arguments to function ‘yyerror’; expected 0, have 1 2228 | yyerror (YY_("memory exhausted")); | ^~~~~~~ parse_tab.y:105:6: note: declared here 105 | void yyerror(); | ^~~~~~~ make[3]: *** [Makefile:741: parse_tab.o] Error 1 make[3]: Leaving directory '/build/reproducible-path/powerman-2.4.4/src/powerman' make[2]: *** [Makefile:411: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/powerman-2.4.4/src' make[1]: *** [Makefile:475: all-recursive] Error 1 make[1]: Leaving directory '/build/reproducible-path/powerman-2.4.4' dh_auto_build: error: make -j1 returned exit code 2 make: *** [debian/rules:18: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2