Bug 1464640 - /usr/include/libxslt/xsltlocale.h includes removed <xlocale.h>
Summary: /usr/include/libxslt/xsltlocale.h includes removed <xlocale.h>
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libxslt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-24 06:46 UTC by Petr Pisar
Modified: 2017-06-26 15:00 UTC (History)
1 user (show)

Fixed In Version: libxslt-1.1.29-2.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-26 15:00:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2017-06-24 06:46:24 UTC
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 14:51:50 UTC
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.