Bug#1065785: libxml-easy-perl: FTBFS on arm{el,hf}: lib/XML/Easy.xs:1154:43: 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:11:49 GMT 2024


Source: libxml-easy-perl
Version: 0.011-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=libxml-easy-perl&arch=armel&ver=0.011-3%2Bb3&stamp=1709846986&raw=0

arm-linux-gnueabi-gcc -I/usr/lib/arm-linux-gnueabi/perl/5.38/CORE '-DVERSION="0.011"' '-DXS_VERSION="0.011"' -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/XML/Easy.o lib/XML/Easy.c
lib/XML/Easy.xs:9: warning: "PERL_VERSION_GE" redefined
    9 | #define PERL_VERSION_GE(r,v,s) \
      | 
In file included from /usr/lib/arm-linux-gnueabi/perl/5.38/CORE/perl.h:3327,
                 from lib/XML/Easy.xs:3:
/usr/lib/arm-linux-gnueabi/perl/5.38/CORE/handy.h:578: note: this is the location of the previous definition
  578 | # define PERL_VERSION_GE(j,n,p)  (! PERL_VERSION_LT(j,n,p))
      | 
lib/XML/Easy.xs: In function ‘THX_parse_chars’:
lib/XML/Easy.xs:1154:43: error: implicit declaration of function ‘uvuni_to_utf8_flags’; did you mean ‘uvchr_to_utf8_flags’? [-Werror=implicit-function-declaration]
 1154 |                                 vnewend = uvuni_to_utf8_flags(voldend, val,
      |                                           ^~~~~~~~~~~~~~~~~~~
      |                                           uvchr_to_utf8_flags
lib/XML/Easy.xs:1154:41: warning: assignment to ‘U8 *’ {aka ‘unsigned char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 1154 |                                 vnewend = uvuni_to_utf8_flags(voldend, val,
      |                                         ^
cc1: some warnings being treated as errors

Cheers
-- 
Sebastian Ramacher



More information about the pkg-perl-maintainers mailing list