Bug#1065786: libnet-idn-encode-perl: FTBFS on arm{el,hf}: lib/Net/IDN/Punycode.xs:256:19: error: implicit declaration of function =?UTF-8?Q?=E2=80=98uvuni=5Fto=5Futf8=5Fflags=E2=80=99; ?= did you mean ‘uvchr_to_utf8_flags’? [-Werror=implicit-function-declaration]

Sebastian Ramacher sramacher at debian.org
Sat Mar 9 21:15:19 GMT 2024


Source: libnet-idn-encode-perl
Version: 2.500-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=libnet-idn-encode-perl&arch=armhf&ver=2.500-3%2Bb3&stamp=1709809265&raw=0

Building Net-IDN-Encode
arm-linux-gnueabihf-gcc -I/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE '-DVERSION="2.500"' '-DXS_VERSION="2.500"' -fPIC -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' -g -O2 '-Werror=implicit-function-declaration' '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' '-D_TIME_BITS=64' -Wdate-time '-D_FORTIFY_SOURCE=2' -o lib/Net/IDN/Punycode.o lib/Net/IDN/Punycode.c
lib/Net/IDN/Punycode.xs: In function ‘XS_Net__IDN__Punycode_decode_punycode’:
lib/Net/IDN/Punycode.xs:256:19: error: implicit declaration of function ‘uvuni_to_utf8_flags’; did you mean ‘uvchr_to_utf8_flags’? [-Werror=implicit-function-declaration]
  256 |                   uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY);
      |                   ^~~~~~~~~~~~~~~~~~~
      |                   uvchr_to_utf8_flags
cc1: some warnings being treated as errors
error building lib/Net/IDN/Punycode.o from 'lib/Net/IDN/Punycode.c' at /usr/share/perl/5.38/ExtUtils/CBuilder/Base.pm line 185.
dh_auto_build: error: /usr/bin/perl Build returned exit code 2

Cheers
-- 
Sebastian Ramacher



More information about the pkg-perl-maintainers mailing list