Bug#1075161: libcrypt-u2f-server-perl: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:33:00 BST 2024
Package: src:libcrypt-u2f-server-perl
Version: 0.46-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/libcrypt-u2f-server-perl_0.46-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
[...]
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package libcrypt-u2f-server-perl
dpkg-buildpackage: info: source version 0.46-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Yadd <yadd 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...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Crypt::U2F::Server
Writing MYMETA.yml and MYMETA.json
dh_auto_build
make -j8
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Running Mkbootstrap for Server ()
"/usr/bin/perl" "/usr/share/perl/5.38/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.38/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/typemap' U2F.xs > U2F.xsc
x86_64-linux-gnu-gcc -c -I. -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=\"0.46\" -DXS_VERSION=\"0.46\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE" u2f.c
chmod 644 "Server.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Server.bs blib/arch/auto/Crypt/U2F/Server/Server.bs 644
cp lib/Crypt/U2F/Server.pm blib/lib/Crypt/U2F/Server.pm
AutoSplitting blib/lib/Crypt/U2F/Server.pm (blib/lib/auto/Crypt/U2F/Server)
cp lib/Crypt/U2F/Server/Simple.pm blib/lib/Crypt/U2F/Server/Simple.pm
Please specify prototyping behavior for U2F.xs (see perlxs manual)
mv U2F.xsc U2F.c
x86_64-linux-gnu-gcc -c -I. -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=\"0.46\" -DXS_VERSION=\"0.46\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE" U2F.c
In file included from U2F.xs:6:
ppport.h:4385:10: warning: "WIDEST_UTYPE" redefined
4385 | # define WIDEST_UTYPE U64TYPE
| ^~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:3327,
from U2F.xs:3:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/handy.h:1422:9: note: this is the location of the previous definition
1422 | #define WIDEST_UTYPE PERL_UINTMAX_T
| ^~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:6168:
U2F.xs: In function ‘XS_Crypt__U2F__Server_u2fclib_verifyRegistration’:
U2F.xs:86:52: error: passing argument 2 of ‘Perl_newSVpvn’ from incompatible pointer type [-Wincompatible-pointer-types]
86 | XPUSHs(sv_2mortal(newSVpvn(pk,65)));
| ^~
| |
| char **
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/pp.h:498:61: note: in definition of macro ‘XPUSHs’
498 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END
| ^
U2F.xs:86:32: note: in expansion of macro ‘sv_2mortal’
86 | XPUSHs(sv_2mortal(newSVpvn(pk,65)));
| ^~~~~~~~~~
U2F.xs:86:43: note: in expansion of macro ‘newSVpvn’
86 | XPUSHs(sv_2mortal(newSVpvn(pk,65)));
| ^~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:6188:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/proto.h:3027:40: note: expected ‘const char * const’ but argument is of type ‘char **’
3027 | Perl_newSVpvn(pTHX_ const char * const buffer, const STRLEN len)
| ~~~~~~~~~~~~~~~~~~~^~~~~~
make[1]: *** [Makefile:347: U2F.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