Bug#882978: error including xlocale.h with glibc 2.26
Petr Cech
cech at flora.cechovi.org
Tue Nov 28 10:13:14 UTC 2017
Package: perl
Version: 5.26.1-2
Severity: normal
Hi,
after upgrading to libc6 2.26 from experimental, I started seeing following error messages from cron/sa-compile
|In file included from body_0.xs:2:0:
|/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:738:13: fatal error: xlocale.h: No such file or directory
| # include <xlocale.h>
| ^~~~~~~~~~~
|compilation terminated.
|make: *** [body_0.o] Error 1
|command 'make >>/tmp/.spamassassin19158ehbB3utmp/log' failed: exit 2
As stated in the relese notes of glibc, the header file xlocale.h was removed with the 2.26 release.
I saw, that the inclusion of this header is protected by a I_XLOCALE define, so it should be possible to reconfigure perl to not need/use this
header with older glibc versions, which do still provide this header.
regards
Petr
-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages perl depends on:
ii dpkg 1.19.0.4
ii libperl5.26 5.26.1-2
ii perl-base 5.26.1-2
ii perl-modules-5.26 5.26.1-2
ii libc6 2.26-0experimental1
Versions of packages perl recommends:
ii netbase 5.4
Versions of packages perl suggests:
ii libterm-readline-gnu-perl 1.35-2
ii libterm-readline-perl-perl 1.0303-1
ii make 4.1-9.1
ii perl-doc 5.26.1-2
-- no debconf information
More information about the Perl-maintainers
mailing list