Bug#1075172: libgraphics-libplot-perl: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:33:21 BST 2024
Package: src:libgraphics-libplot-perl
Version: 2.2.3-1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/libgraphics-libplot-perl_2.2.3-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-b30ff1a2-b50e-4fd4-9f61-98b0aa965814
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package libgraphics-libplot-perl
dpkg-buildpackage: info: source version 2.2.3-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by gregor herrmann <gregoa at debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now"
Checking if your kit is complete...
Warning: the following files are missing in your kit:
debian/NOTES.debian
debian/README.debian
Please inform the author.
Generating a Unix-style Makefile
Writing Makefile for Graphics::Libplot
Writing MYMETA.yml and MYMETA.json
dh_auto_build
make -j8
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Running Mkbootstrap for Libplot ()
"/usr/bin/perl" "/usr/share/perl/5.38/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.38/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/typemap' Libplot.xs > Libplot.xsc
chmod 644 "Libplot.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Libplot.bs blib/arch/auto/Graphics/Libplot/Libplot.bs 644
cp Libplot.pm blib/lib/Graphics/Libplot.pm
AutoSplitting blib/lib/Graphics/Libplot.pm (blib/lib/auto/Graphics/Libplot)
Please specify prototyping behavior for Libplot.xs (see perlxs manual)
mv Libplot.xsc Libplot.c
x86_64-linux-gnu-gcc -c -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=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"2.2.3\" -DXS_VERSION=\"2.2.3\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE" Libplot.c
Libplot.xs: In function ‘constant’:
Libplot.xs:91:13: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch]
91 | return __BEGIN_DECLS;
| ^~~~~~
Libplot.xs:24:1: note: declared here
24 | constant(name, arg)
| ^~~~~~~~
Libplot.xs:97:13: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch]
97 | return __END_DECLS;
| ^~~~~~
Libplot.xs:24:1: note: declared here
24 | constant(name, arg)
| ^~~~~~~~
make[1]: *** [Makefile:337: Libplot.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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