glibc-headers no longer provides xlocale.h in 2.26 (rawhide)?

During one of the releng rebuilds my package OCE is failing to build[1]
because it can't find /usr/include/xlocale.h

In both Fedora 24/25 it is provided by the glibc-headers package but it
seems to have been dropped in 2.26 in rawhide.

# dnf repoquery --whatprovides /usr/include/xlocale.h
Fedora 26 - x86_64 - Updates
5.2 MB/s | 10 MB 00:01
Fedora 26 - x86_64
6.5 MB/s | 53 MB 00:08
Last metadata expiration check: 0:00:03 ago on Sat Aug 12 13:18:38 2017.

# dnf repoquery --whatprovides /usr/include/xlocale.h
Last metadata expiration check: 0:14:04 ago on Sat Aug 12 13:05:37 2017.

Was this intentional?


[1] <a href="" title=""></a>


Re: glibc-headers no longer provides xlocale.h in 2.26 (rawhide)

By Florian Weimer at 08/12/2017 - 09:28

On 08/12/2017 03:22 PM, Richard Shaw wrote:
Yes, it used to be installed by accident. The header itself clearly
said that it was an internal-only header.

We removed it without a deprecation warning because most programs had
configure checks for <xlocale.h> which started to fail after removal,
skipping the #include.


Re: glibc-headers no longer provides xlocale.h in 2.26 (rawhide)

By Zbigniew =?utf-... at 08/12/2017 - 10:00

On Sat, Aug 12, 2017 at 03:28:15PM +0200, Florian Weimer wrote:
Heh, I just fixed two ftbfs packages with xlocale.h includes, and a bunch
more back when glibc 2.25 came out, incl. systemd. From what I've seen,
people don't test for xlocale.h because it's "part of glibc, so always there" ;)