Bug#1097189: libgctp: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:31:13 GMT 2025
Package: src:libgctp
Version: 2.0.0-11
Severity: important
Tags: sid forky
User: debian-gcc at 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/libgctp_2.0.0-11_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
[...]
azimfor.c:73:6: warning: old-style function definition [-Wold-style-definition]
73 | long azimfor(lon, lat, x, y)
| ^~~~~~~
In file included from cproj.h:2,
from azimfor.c:24:
proj.h: At top level:
proj.h:300:15: warning: 'som_series' declared 'static' but never defined [-Wunused-function]
300 | static double som_series(double *fb, double *fa2, double *fa4, double *fc1,
| ^~~~~~~~~~
azimfor.c:32:20: warning: 'esp' defined but not used [-Wunused-variable]
32 | static double e,es,esp; /* eccentricity constants */
| ^~~
azimfor.c:32:17: warning: 'es' defined but not used [-Wunused-variable]
32 | static double e,es,esp; /* eccentricity constants */
| ^~
azimfor.c:32:15: warning: 'e' defined but not used [-Wunused-variable]
32 | static double e,es,esp; /* eccentricity constants */
| ^
azimfor.c:31:24: warning: 'e3' defined but not used [-Wunused-variable]
31 | static double e0,e1,e2,e3; /* eccentricity constants */
| ^~
azimfor.c:31:21: warning: 'e2' defined but not used [-Wunused-variable]
31 | static double e0,e1,e2,e3; /* eccentricity constants */
| ^~
azimfor.c:31:18: warning: 'e1' defined but not used [-Wunused-variable]
31 | static double e0,e1,e2,e3; /* eccentricity constants */
| ^~
azimfor.c:31:15: warning: 'e0' defined but not used [-Wunused-variable]
31 | static double e0,e1,e2,e3; /* eccentricity constants */
| ^~
alconfor.c: In function 'alconfor':
alconfor.c:172:10: warning: 'arn' may be used uninitialized [-Wmaybe-uninitialized]
172 | *x = (xp * ar - yp * ai + br) * r_major + false_easting;
| ~~~^~~~
alconfor.c:124:8: note: 'arn' was declared here
124 | double arn;
| ^~~
alconfor.c:172:20: warning: 'ain' may be used uninitialized [-Wmaybe-uninitialized]
172 | *x = (xp * ar - yp * ai + br) * r_major + false_easting;
| ~~~^~~~
alconfor.c:125:8: note: 'ain' was declared here
125 | double ain;
| ^~~
alconinv.c: In function 'alconinv':
alconinv.c:195:13: warning: 'arn' may be used uninitialized [-Wmaybe-uninitialized]
195 | fxyi = yp * ar + xp * ai + bi - y;
| ~~~^~~~
alconinv.c:125:8: note: 'arn' was declared here
125 | double arn;
| ^~~
alconinv.c:194:23: warning: 'ain' may be used uninitialized [-Wmaybe-uninitialized]
194 | fxyr = xp * ar - yp * ai + br - x;
| ~~~^~~~
alconinv.c:126:8: note: 'ain' was declared here
126 | double ain;
| ^~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgctp-2.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fPIC -c alberfor.c -o alberfor.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgctp-2.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fPIC -c aziminv.c -o aziminv.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgctp-2.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fPIC -c azimfor.c -o azimfor.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgctp-2.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fPIC -c alconfor.c -o alconfor.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgctp-2.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fPIC -c alberinv.c -o alberinv.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libgctp-2.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -fPIC -c alconinv.c -o alconinv.o >/dev/null 2>&1
make[3]: Leaving directory '/build/reproducible-path/libgctp-2.0.0/source'
make[2]: *** [Makefile:402: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/libgctp-2.0.0'
make[1]: *** [Makefile:334: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libgctp-2.0.0'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list