Bug#883392: libc6-dev: break versions of libperl5.26 that require xlocale.h
As noted in
glibc 2.26 dropped xlocale.h, which was never intended to be a public
The Perl build time configuration script looks for xlocale.h. If found,
'#include xlocale.h' gets inserted into perl.h in the libperl5.26 binary
package. This is a public header for building Perl extensions or embedding
a Perl interpreter. I suspect the inclusion comes from the BSD world,
where xlocale.h provides an interface for "thread-safe extended locale
support" (see https://www.freebsd.org/cgi/man.cgi?query=xlocale&sektion=3 )
This means that while including xlocale.h has been harmless on glibc
until now, with 2.26 it breaks building packages that include perl.h
(see #882978). I fixed this in perl_5.26.1-3 by explicitly disabling the
xlocale.h probing, but partial upgrades are still potentially affected.
Please add a Breaks: libperl5.26 (<< 5.26.1-3) into libc6-dev to fix this.
Thanks for your work,
Niko Tyni firstname.lastname@example.org