Bug 1464640 - /usr/include/libxslt/xsltlocale.h includes removed <xlocale.h>
/usr/include/libxslt/xsltlocale.h includes removed <xlocale.h>
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: libxslt (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Petr Pisar
Fedora Extras Quality Assurance
https://apps.fedoraproject.org/kosche...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-24 02:46 EDT by Petr Pisar
Modified: 2017-06-26 11:00 EDT (History)
1 user (show)

See Also:
Fixed In Version: libxslt-1.1.29-2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-26 11:00:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Pisar 2017-06-24 02:46:24 EDT
libxslt-devel-1.1.29-1.fc27 has /usr/include/libxslt/xsltlocale.h that includes <xlocale.h> that was removed from glibc-2.25.90-8. The removal is intentional.

This breaks building any packages that include <libxslt/xsltlocale.h>. E.g. perl-XML-LibXSLT:

gcc -c  -I/usr/include/libxml2 -I/usr/include/libxml2  -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic   -DVERSION=\"1.95\" -DXS_VERSION=\"1.95\" -fPIC "-I/usr/lib64/perl5/CORE"  -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT LibXSLT.c
In file included from /usr/include/libxslt/xsltInternals.h:24:0,
                 from LibXSLT.xs:14:
/usr/include/libxslt/xsltlocale.h:20:10: fatal error: xlocale.h: No such file or directory
 #include <xlocale.h>
          ^~~~~~~~~~~

Please rebuild libxslt to stop including the header file.
Comment 1 Petr Pisar 2017-06-26 10:51:50 EDT
Rebuilding is libxslt is enough. I will do it.

Note You need to log in before you can comment on or make changes to this bug.