Summary: | dev-python/lxml-4.3.3 - In file included from /usr/include/libxslt/xsltInternals.h:24, from src/lxml/etree.c:718: /usr/include/libxslt/xsltlocale.h:20:10: fatal error: xlocale.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Mokrejš
2019-07-11 07:55:54 UTC
Maybe it assumes older libc? xlocale.h was removed from libc around 2017 while locale.h should be enough to use. From https://bugzilla.redhat.com/show_bug.cgi?id=1464244 I am quoting: Ralf Corsepius 2017-06-23 07:16:56 UTC From glibc.spec: * Wed Jun 21 2017 Florian Weimer <fweimer@redhat.com> - 2.25.90-8 - Adjust build requirements for gcc, binutils, kernel-headers. - Auto-sync with upstream master, commit 43e0ac24c836eed627a75ca932eb7e64698407c6, changing: - Remove <xlocale.h> Paul Howarth 2017-06-23 08:12:38 UTC Upstream glibc commit: https://sourceware.org/git/?p=glibc.git;a=commit;h=f0be25b6336db7492e47d2e8e72eb8af53b5506d Florian Weimer 2017-06-23 11:46:41 UTC <xlocale.h> previously said: /* Structure for reentrant locale using functions. This is an (almost) opaque type for the user level programs. The file and this data structure is not standardized. Don't rely on it. It can go away without warning. */ It's an internal glibc header which was installed by accident. Perl should not be including it, and I expect that recompiling Perl will simply undefine I_XLOCALE: #ifdef I_XLOCALE # include <xlocale.h> #endif … Checking to see if you have fpos64_t... <xlocale.h> NOT found. newlocale() found. … I_XLOCALE does not gate anything else AFAICS. There's a tracker bug (https://bugs.gentoo.org/show_bug.cgi?id=xlocale.h) but it seems hard to believe that you're having that problem so long after glibc-2.26 was stabilized... (In reply to Matt Turner from comment #3) > but it seems hard to believe that you're having that problem so long after > glibc-2.26 was stabilized... Well, the machine is a bit dated and I did not update it for some while, but definitely I did once in a year or so ... Anyway, it is as it is. This is an issue with <libxslt-1.1.32 together with >=glibc-2.26 which was reported upstream in https://bugzilla.gnome.org/show_bug.cgi?id=788264 and commited in https://gitlab.gnome.org/GNOME/libxslt/commit/8b4babb8f742a1a189df4c4569e68eda308df68f: Support glibc 2.26 which removes xlocale.h. Fixes bug 788264. Thanks to Quentin Minster for the report. Anyway, no clue as to why this happened so late, but all referenced versions of libxslt and lxml are gone now. |