[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/eta_1.0.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
[...]
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package eta
dpkg-buildpackage: info: source version 1.0.1-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Mark King <mark@vemek.co>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
dh_auto_clean
make -j8 distclean
make[1]: Entering directory '/build/reproducible-path/eta-1.0.1'
make[1]: Leaving directory '/build/reproducible-path/eta-1.0.1'
dh_clean
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/eta.substvars debian/files
rm -fr -- debian/eta/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/reproducible-path/eta-1.0.1'
mkdir -p obj
mkdir -p obj
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eta-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Isrc -c src/eta.c -Wl,-z,relro -Wl,-z,now -o obj/eta.o
mkdir -p obj
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eta-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Isrc -c src/eta_calc.c -Wl,-z,relro -Wl,-z,now -o obj/eta_calc.o
mkdir -p obj
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eta-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Isrc -c src/measurements.c -Wl,-z,relro -Wl,-z,now -o obj/measurements.o
mkdir -p obj
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eta-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Isrc -c src/options.c -Wl,-z,relro -Wl,-z,now -o obj/options.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eta-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -Isrc -c src/printing.c -Wl,-z,relro -Wl,-z,now -o obj/printing.o
src/eta_calc.c:7:8: error: conflicting types for ‘compute_ratio_completed’; have ‘double(value_t, value_t)’ {aka ‘double(long long int, long long int)’}
7 | double compute_ratio_completed(value_t initial_value, value_t target_value) {
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/eta_calc.c:2:
src/eta_calc.h:6:8: note: previous declaration of ‘compute_ratio_completed’ with type ‘double(void)’
6 | double compute_ratio_completed();
| ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:16: obj/eta_calc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/eta.c: In function ‘main’:
src/eta.c:44:30: error: too many arguments to function ‘compute_ratio_completed’; expected 0, have 3
44 | double ratio_completed = compute_ratio_completed(
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/eta.c:9:
src/eta_calc.h:6:8: note: declared here
6 | double compute_ratio_completed();
| ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:16: obj/eta.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/eta-1.0.1'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2