[Debian-astro-maintainers] Bug#1097955: swarp: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:55:50 GMT 2025
Package: src:swarp
Version: 2.41.5-1
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/swarp_2.41.5-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
[...]
3462 | int tscfwd(phi, theta, prj, x, y)
| ^~~~~~
proj.c: In function ‘tscrev’:
proj.c:3558:5: warning: old-style function definition [-Wold-style-definition]
3558 | int tscrev(x, y, prj, phi, theta)
| ^~~~~~
proj.c: In function ‘tnxset’:
proj.c:3641:5: warning: old-style function definition [-Wold-style-definition]
3641 | int tnxset(prj)
| ^~~~~~
proj.c: In function ‘tnxfwd’:
proj.c:3659:5: warning: old-style function definition [-Wold-style-definition]
3659 | int tnxfwd(phi, theta, prj, x, y)
| ^~~~~~
proj.c: In function ‘tnxrev’:
proj.c:3690:5: warning: old-style function definition [-Wold-style-definition]
3690 | int tnxrev(x, y, prj, phi, theta)
| ^~~~~~
rm -f libwcs_c.a
ar cr libwcs_c.a cel.o lin.o poly.o proj.o sph.o tnx.o wcs.o wcstrig.o
ranlib libwcs_c.a
make[4]: Leaving directory '/build/reproducible-path/swarp-2.41.5/src/wcs'
make[4]: Entering directory '/build/reproducible-path/swarp-2.41.5/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o back.o back.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o coadd.o coadd.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o data.o data.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o field.o field.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o fitswcs.o fitswcs.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o header.o header.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o interpolate.o interpolate.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/swarp-2.41.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c -o main.o main.c
coadd.c: In function ‘chi_bias’:
coadd.c:69:25: error: too many arguments to function ‘gammln’; expected 0, have 1
69 | #define LOGGAMMA gammln
| ^~~~~~
coadd.c:933:33: note: in expansion of macro ‘LOGGAMMA’
933 | bias[i] = 1.41421356237*exp(LOGGAMMA(val+0.5)-LOGGAMMA(val));
| ^~~~~~~~
coadd.c:70:25: note: declared here
70 | static double gammln();
| ^~~~~~
coadd.c:69:25: error: too many arguments to function ‘gammln’; expected 0, have 1
69 | #define LOGGAMMA gammln
| ^~~~~~
coadd.c:933:51: note: in expansion of macro ‘LOGGAMMA’
933 | bias[i] = 1.41421356237*exp(LOGGAMMA(val+0.5)-LOGGAMMA(val));
| ^~~~~~~~
coadd.c:70:25: note: declared here
70 | static double gammln();
| ^~~~~~
coadd.c: At top level:
coadd.c:950:17: error: conflicting types for ‘gammln’; have ‘double(double)’
950 | static double gammln(double xx)
| ^~~~~~
coadd.c:70:25: note: previous declaration of ‘gammln’ with type ‘double(void)’
70 | static double gammln();
| ^~~~~~
coadd.c:70:25: warning: ‘gammln’ used but never defined
make[4]: *** [Makefile:521: coadd.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/swarp-2.41.5/src'
make[3]: *** [Makefile:550: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/swarp-2.41.5/src'
make[2]: *** [Makefile:517: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/swarp-2.41.5'
make[1]: *** [Makefile:424: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/swarp-2.41.5'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list