#1096590 eta: ftbfs with GCC-15

Package:
src:eta
Source:
src:eta
Submitter:
Matthias Klose
Date:
2026-08-13 13:07:02 UTC
Severity:
normal
Tags:
#1096590#5
Date:
2025-02-17 17:12:02 UTC
From:
To:
[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

#1096590#14
Date:
2026-01-16 18:23:07 UTC
From:
To:
Hi,

The attached debdiff fixes the FTBFS with GCC 15.

#1096590#19
Date:
2026-08-03 12:32:16 UTC
From:
To:
I am sponsoring the debdiff as NMU to unstable (DELAYED/10).
#1096590#26
Date:
2026-08-13 13:05:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
eta, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1096590@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matheus Polkorny <mpolkorny@gmail.com> (supplier of updated eta package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 16 Jan 2026 15:09:53 -0300
Source: eta
Architecture: source
Version: 1.0.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Mark King <mark@vemek.co>
Changed-By: Matheus Polkorny <mpolkorny@gmail.com>
Closes: 1096590
Changes:
 eta (1.0.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * d/p/Fix-build-for-gcc-15.2.patch: Import Upsteam patch (Closes: #1096590)
Checksums-Sha1:
 1c709c3fb8ac59f79b622c972dc008b8753d5c10 1829 eta_1.0.1-1.1.dsc
 17ed12089072856eb6343e8a86587cc7e3b092e7 6404 eta_1.0.1-1.1.debian.tar.xz
 80699c4a7a20ee0543c6013f832571003f9e0047 5263 eta_1.0.1-1.1_source.buildinfo
Checksums-Sha256:
 09ce6ee0dfdc6fd6f80230fb6316b4c41e6f457452336a7a207dc45573016981 1829 eta_1.0.1-1.1.dsc
 2a88d9d5f61213e794ffe85946c864dbb5ccfe2f9b483743a47263e6d80cff44 6404 eta_1.0.1-1.1.debian.tar.xz
 3c7c3b12ca710f7e6930c6fccd5c858bde5443c660a53df201d458abf076ef82 5263 eta_1.0.1-1.1_source.buildinfo
Files:
 c6b024df933872b84a83eff43267f8ce 1829 utils optional eta_1.0.1-1.1.dsc
 987fb13d585b91917569e128a489ae2b 6404 utils optional eta_1.0.1-1.1.debian.tar.xz
 c1571de592c623a3412ac9f7a0687870 5263 utils optional eta_1.0.1-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmpwifMQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFGDWDACYHnAt2M3Ud+byefzR0y6qAxaMUz3LMJah
7kZZIVPCKszLzDSwQd9H1aSEwukRsIMNVDVXY9p3zz8zWoglfpoLYd+8qZLLjqoc
yJ9uDbwIlaz4w6zjdSALyCNpOJnx3yXymjZn0cl418FbVF/uHu7BlhcAg0dAEvF/
2At0YGGi7zn2JbJae7nO7YxOk6jz3qamvv3ReBM5dYhkuXfWw6FTiCv6b6ifwMTf
UTsdva9lhDR6AltAsz0O/fntyIwvkHXfIOfvk5NISL9jGPYUHcy4u3YsSGqxyLFj
PTAflzorO+iJAtVSRLZeEj5KrUoXQYLVdnPc+UFs0tj06QLGaBgSn4Z/w2/ub8tC
cS7fX9iGU4VFwO37vwN3GXgO+1Z9yInja9srIc45761W/rLInleWkP+KxXQtPi1l
6UGcpWjpXCkr3gHXULpI4/l0mmXl6rqwkjZxd9t9Rp6L1BNLmsaY0W1B6bcv6BE0
wuAbl7EuuB6m4iBpR5HLvHeK9FN0xFM=
=tqU/
-----END PGP SIGNATURE-----