Bug#1075192: libnet-libdnet-perl: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:33:57 BST 2024


Package: src:libnet-libdnet-perl
Version: 0.99-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/libnet-libdnet-perl_0.99-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

[...]
Libdnet.xs:619:52: note: in expansion of macro ‘SvPV’
  619 |                                 StrAddr = (char *) SvPV(SvAddr, len);
      |                                                    ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’
  908 |                  STRLEN * const lp,
      |                  ~~~~~~~~~~~~~~~^~
Libdnet.xs: In function ‘XS_Net__Libdnet__obsolete_intf_get_dst’:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type [-Wincompatible-pointer-types]
 1952 |    Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_,                \
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
 1972 | #define SvPV(sv, len)               SvPV_flags(sv, len, SV_GMAGIC)
      |                                     ^~~~~~~~~~
Libdnet.xs:670:52: note: in expansion of macro ‘SvPV’
  670 |                                 StrAddr = (char *) SvPV(SvAddr, len);
      |                                                    ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’
  908 |                  STRLEN * const lp,
      |                  ~~~~~~~~~~~~~~~^~
Libdnet.xs: In function ‘XS_Net__Libdnet__obsolete_route_add’:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type [-Wincompatible-pointer-types]
 1952 |    Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_,                \
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
 1972 | #define SvPV(sv, len)               SvPV_flags(sv, len, SV_GMAGIC)
      |                                     ^~~~~~~~~~
Libdnet.xs:721:52: note: in expansion of macro ‘SvPV’
  721 |                                 StrAddr = (char *) SvPV(SvDstAddr, len);
      |                                                    ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’
  908 |                  STRLEN * const lp,
      |                  ~~~~~~~~~~~~~~~^~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type [-Wincompatible-pointer-types]
 1952 |    Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_,                \
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
 1972 | #define SvPV(sv, len)               SvPV_flags(sv, len, SV_GMAGIC)
      |                                     ^~~~~~~~~~
Libdnet.xs:732:60: note: in expansion of macro ‘SvPV’
  732 |                                         StrAddr = (char *) SvPV(SvGwAddr, len);
      |                                                            ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’
  908 |                  STRLEN * const lp,
      |                  ~~~~~~~~~~~~~~~^~
Libdnet.xs: In function ‘XS_Net__Libdnet__obsolete_route_delete’:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type [-Wincompatible-pointer-types]
 1952 |    Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_,                \
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
 1972 | #define SvPV(sv, len)               SvPV_flags(sv, len, SV_GMAGIC)
      |                                     ^~~~~~~~~~
Libdnet.xs:781:52: note: in expansion of macro ‘SvPV’
  781 |                                 StrAddr = (char *) SvPV(SvDstAddr, len);
      |                                                    ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’
  908 |                  STRLEN * const lp,
      |                  ~~~~~~~~~~~~~~~^~
Libdnet.xs: In function ‘XS_Net__Libdnet__obsolete_route_get’:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type [-Wincompatible-pointer-types]
 1952 |    Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_,                \
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv.h:1972:37: note: in expansion of macro ‘SvPV_flags’
 1972 | #define SvPV(sv, len)               SvPV_flags(sv, len, SV_GMAGIC)
      |                                     ^~~~~~~~~~
Libdnet.xs:830:52: note: in expansion of macro ‘SvPV’
  830 |                                 StrAddr = (char *) SvPV(SvDstAddr, len);
      |                                                    ^~~~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/sv_inline.h:908:33: note: expected ‘STRLEN * const’ {aka ‘long unsigned int * const’} but argument is of type ‘int *’
  908 |                  STRLEN * const lp,
      |                  ~~~~~~~~~~~~~~~^~
make[1]: *** [Makefile:360: Libdnet.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-perl-maintainers mailing list