Bug#1097176: libcoro-perl: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:30:49 GMT 2025


Package: src:libcoro-perl
Version: 6.570-3
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/libcoro-perl_6.570-3_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

[...]
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Coro
Writing MYMETA.yml and MYMETA.json
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/libcoro-perl-6.570'
make[2]: Entering directory '/build/reproducible-path/libcoro-perl-6.570/Coro'
Running Mkbootstrap for State ()
"/usr/bin/perl" "/usr/share/perl/5.40.0/ExtUtils/xsubpp"  -typemap '/usr/share/perl/5.40/ExtUtils/typemap' -typemap '/build/reproducible-path/libcoro-perl-6.570/Coro/typemap'  State.xs > State.xsc
chmod 644 "State.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- State.bs ../blib/arch/auto/Coro/State/State.bs 644
cp Coro/CoroAPI.h blib/lib/Coro/CoroAPI.h
cp Coro/Timer.pm blib/lib/Coro/Timer.pm
cp Coro/Semaphore.pm blib/lib/Coro/Semaphore.pm
cp Coro/jit-amd64-unix.pl blib/lib/Coro/jit-amd64-unix.pl
cp Coro/Handle.pm blib/lib/Coro/Handle.pm
cp Coro/MakeMaker.pm blib/lib/Coro/MakeMaker.pm
cp Coro/Storable.pm blib/lib/Coro/Storable.pm
cp Coro/Signal.pm blib/lib/Coro/Signal.pm
cp Coro/jit-x86-unix.pl blib/lib/Coro/jit-x86-unix.pl
cp Coro/SemaphoreSet.pm blib/lib/Coro/SemaphoreSet.pm
cp Coro/Channel.pm blib/lib/Coro/Channel.pm
cp Coro/Util.pm blib/lib/Coro/Util.pm
cp Coro/Socket.pm blib/lib/Coro/Socket.pm
cp Coro/BDB.pm blib/lib/Coro/BDB.pm
cp Coro/RWLock.pm blib/lib/Coro/RWLock.pm
cp Coro/Debug.pm blib/lib/Coro/Debug.pm
cp Coro.pm blib/lib/Coro.pm
cp Coro/AnyEvent.pm blib/lib/Coro/AnyEvent.pm
cp Coro/State.pm blib/lib/Coro/State.pm
cp Coro/LWP.pm blib/lib/Coro/LWP.pm
cp Coro/Select.pm blib/lib/Coro/Select.pm
cp Coro/Specific.pm blib/lib/Coro/Specific.pm
cp Coro/AIO.pm blib/lib/Coro/AIO.pm
Skip ../blib/lib/Coro/Debug.pm (unchanged)
Skip ../blib/lib/Coro/Storable.pm (unchanged)
Skip ../blib/lib/Coro/LWP.pm (unchanged)
Skip ../blib/lib/Coro/Select.pm (unchanged)
Skip ../blib/lib/Coro/Signal.pm (unchanged)
cp Intro.pod ../blib/lib/Coro/Intro.pod
Skip ../blib/lib/Coro/Handle.pm (unchanged)
Skip ../blib/lib/Coro/State.pm (unchanged)
Skip ../blib/lib/Coro/Socket.pm (unchanged)
Skip ../blib/lib/Coro/Util.pm (unchanged)
Skip ../blib/lib/Coro/Specific.pm (unchanged)
Skip ../blib/lib/Coro/jit-amd64-unix.pl (unchanged)
Skip ../blib/lib/Coro/AIO.pm (unchanged)
Skip ../blib/lib/Coro/Channel.pm (unchanged)
Skip ../blib/lib/Coro/SemaphoreSet.pm (unchanged)
Skip ../blib/lib/Coro/RWLock.pm (unchanged)
Skip ../blib/lib/Coro/Semaphore.pm (unchanged)
Skip ../blib/lib/Coro/BDB.pm (unchanged)
Skip ../blib/lib/Coro/AnyEvent.pm (unchanged)
Skip ../blib/lib/Coro/Timer.pm (unchanged)
Skip ../blib/lib/Coro/jit-x86-unix.pl (unchanged)
Skip ../blib/lib/Coro/MakeMaker.pm (unchanged)
mv State.xsc State.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=/build/reproducible-path/libcoro-perl-6.570=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -DVERSION=\"6.57\" -DXS_VERSION=\"6.57\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.40/CORE"  -DCORO_ASM -DCORO_STACKSIZE=16384 -DCORO_GUARDPAGES=4 -DCORO_JIT=1 State.c
State.xs: In function ‘XS_Coro__Util_time’:
State.xs:4576:18: error: too many arguments to function ‘nvtime’; expected 0, have 1
 4576 |         RETVAL = nvtime (aTHX);
      |                  ^~~~~~
make[2]: *** [Makefile:365: State.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/libcoro-perl-6.570/Coro'
make[1]: *** [Makefile:571: subdirs] Error 2
make[1]: Leaving directory '/build/reproducible-path/libcoro-perl-6.570'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-perl-maintainers mailing list