Bug#1097250: libpgplot-perl: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:33:11 GMT 2025
Package: src:libpgplot-perl
Version: 1:2.33-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/libpgplot-perl_2.33-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
[...]
cp lib/PDL/Demos/PGPLOT.pm blib/lib/PDL/Demos/PGPLOT.pm
cp lib/PDL/Graphics/LUT/tables/smooth3.fits blib/lib/PDL/Graphics/LUT/tables/smooth3.fits
cp lib/PDL/Graphics/LUT/tables/rainbow4.fits blib/lib/PDL/Graphics/LUT/tables/rainbow4.fits
cp lib/PDL/Graphics/PGPLOTOptions.pm blib/lib/PDL/Graphics/PGPLOTOptions.pm
cp lib/PGPLOT.pm blib/lib/PGPLOT.pm
cp lib/PDL/Graphics/PGPLOT.pm blib/lib/PDL/Graphics/PGPLOT.pm
cp lib/PDL/Graphics/LUT/tables/random2.fits blib/lib/PDL/Graphics/LUT/tables/random2.fits
cp lib/PDL/Graphics/LUT/tables/standard.fits blib/lib/PDL/Graphics/LUT/tables/standard.fits
cp lib/PDL/Graphics/LUT/tables/pastel.fits blib/lib/PDL/Graphics/LUT/tables/pastel.fits
cp lib/PDL/Graphics/LUT/tables/random1.fits blib/lib/PDL/Graphics/LUT/tables/random1.fits
cp lib/PDL/Graphics/LUT/tables/stairs9.fits blib/lib/PDL/Graphics/LUT/tables/stairs9.fits
cp lib/PDL/Graphics/LUT/tables/smooth.fits blib/lib/PDL/Graphics/LUT/tables/smooth.fits
cp lib/PDL/Graphics/LUT/tables/stairs8.fits blib/lib/PDL/Graphics/LUT/tables/stairs8.fits
cp lib/PDL/Graphics/LUT/tables/random4.fits blib/lib/PDL/Graphics/LUT/tables/random4.fits
cp lib/PDL/Graphics/LUT/tables/rainbow.fits blib/lib/PDL/Graphics/LUT/tables/rainbow.fits
cp lib/PDL/Graphics/LUT/tables/smooth2.fits blib/lib/PDL/Graphics/LUT/tables/smooth2.fits
cp lib/PDL/Graphics/LUT/tables/random5.fits blib/lib/PDL/Graphics/LUT/tables/random5.fits
cp lib/PDL/Graphics/LUT/tables/rainbow3.fits blib/lib/PDL/Graphics/LUT/tables/rainbow3.fits
cp lib/PDL/Graphics/LUT/tables/random3.fits blib/lib/PDL/Graphics/LUT/tables/random3.fits
cp lib/PDL/Graphics/LUT/tables/manycol.fits blib/lib/PDL/Graphics/LUT/tables/manycol.fits
cp lib/PDL/Graphics/LUT/tables/smooth1.fits blib/lib/PDL/Graphics/LUT/tables/smooth1.fits
cp lib/PDL/Graphics/LUT/tables/random.fits blib/lib/PDL/Graphics/LUT/tables/random.fits
cp lib/PDL/Graphics/LUT/tables/ramp.fits blib/lib/PDL/Graphics/LUT/tables/ramp.fits
cp lib/PDL/Graphics/LUT/tables/red.fits blib/lib/PDL/Graphics/LUT/tables/red.fits
cp lib/PDL/Graphics/LUT/tables/rainbow1.fits blib/lib/PDL/Graphics/LUT/tables/rainbow1.fits
cp lib/PDL/Graphics/LUT/tables/light.fits blib/lib/PDL/Graphics/LUT/tables/light.fits
cp lib/PDL/Graphics/LUT/tables/staircase.fits blib/lib/PDL/Graphics/LUT/tables/staircase.fits
cp lib/PDL/Graphics/LUT/tables/real.fits blib/lib/PDL/Graphics/LUT/tables/real.fits
cp lib/PDL/Graphics/PGPLOT/Window.pm blib/lib/PDL/Graphics/PGPLOT/Window.pm
cp lib/PDL/Graphics/LUT/tables/random6.fits blib/lib/PDL/Graphics/LUT/tables/random6.fits
cp lib/PDL/Graphics/LUT/tables/rainbow2.fits blib/lib/PDL/Graphics/LUT/tables/rainbow2.fits
Please specify prototyping behavior for PGPLOT.xs (see perlxs manual)
mv PGPLOT.xsc PGPLOT.c
x86_64-linux-gnu-gcc -c -I/usr/include -I/Applications/PDL/pgplot -I/usr/local/pgplot -I/opt/homebrew/opt/pgplot/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpgplot-perl-2.33=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"2.33\" -DXS_VERSION=\"2.33\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.40/CORE" PGPLOT.c
In file included from PGPLOT.xs:16:
pgfun.c: In function ‘pgfun1’:
pgfun.c:78:7: warning: old-style function definition [-Wold-style-definition]
78 | float pgfun1(x)
| ^~~~~~
pgfun.c:79:4: error: number of arguments doesn’t match prototype
79 | float *x; {
| ^~~~~
pgfun.c:29:7: error: prototype declaration
29 | float pgfun1();
| ^~~~~~
pgfun.c: In function ‘pgfun2’:
pgfun.c:120:7: warning: old-style function definition [-Wold-style-definition]
120 | float pgfun2(x)
| ^~~~~~
pgfun.c:121:4: error: number of arguments doesn’t match prototype
121 | float *x; {
| ^~~~~
pgfun.c:30:7: error: prototype declaration
30 | float pgfun2();
| ^~~~~~
pgfun.c: In function ‘pgfunplot’:
pgfun.c:161:6: warning: old-style function definition [-Wold-style-definition]
161 | void pgfunplot(visible,x,y,z)
| ^~~~~~~~~
pgfun.c:163:4: error: number of arguments doesn’t match prototype
163 | float *x,*y,*z; {
| ^~~~~
pgfun.c:31:8: error: prototype declaration
31 | void pgfunplot();
| ^~~~~~~~~
make[1]: *** [Makefile:411: PGPLOT.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/libpgplot-perl-2.33'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-perl-maintainers
mailing list