Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649878 - dev-python/lxml-3.8.0: fails to build on amd64-fbsd; /usr/include/libxslt/xsltlocale.h:28:9: error: unknown type name ‘locale_t’ (dev-libs/libxslt?)
Summary: dev-python/lxml-3.8.0: fails to build on amd64-fbsd; /usr/include/libxslt/xsl...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-07 21:41 UTC by Michał Górny
Modified: 2020-08-06 01:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:lxml-3.8.0:20180307-213830.log (dev-python:lxml-3.8.0:20180307-213830.log,13.58 KB, text/x-log)
2018-03-07 21:41 UTC, Michał Górny
Details
e-info.txt (e-info.txt,4.48 KB, text/plain)
2018-03-07 21:42 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-07 21:41:59 UTC
Created attachment 522906 [details]
dev-python:lxml-3.8.0:20180307-213830.log

x86_64-gentoo-freebsd11.1-gcc -O2 -pipe -march=native -fno-strict-aliasing -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o /var/tmp/portage/dev-python/lxml-3.8.0/work/lxml-3.8.0-python2_7/build/temp.freebsd-11.1-RELEASE-amd64-2.7/src/lxml/lxml.etree.o -w
In file included from /usr/include/libxslt/xsltInternals.h:24:0,
                 from src/lxml/lxml.etree.c:545:
/usr/include/libxslt/xsltlocale.h:28:9: error: unknown type name ‘locale_t’
 typedef locale_t xsltLocale;
         ^~~~~~~~
Compile failed: command 'x86_64-gentoo-freebsd11.1-gcc' failed with exit status 1


This kinda sucks a lot because no version of lxml builds here. Kinda looks like a problem with libxslt headers but since it happens via something called 'xsltInternals.h', not sure if the header is supposed to be really useful.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-07 21:42:15 UTC
Created attachment 522908 [details]
e-info.txt
Comment 2 Joshua Kinard gentoo-dev 2018-03-31 23:44:11 UTC
Trying to update my Gentoo/FreeBSD VM, I ran into this as well.  At some point, I successfully built lxml-4.0.0, but none of the available lxml versions will build now.

Some digging dredged up this really old thread from 2008 that hints this is one of those errors you hit when something else isn't set correctly.  Specifically, _GNU_SOURCE needs to be defined somewhere:

https://mail.gnome.org/archives/xslt/2008-July/msg00000.html
Comment 3 Mart Raudsepp gentoo-dev 2018-04-21 13:01:34 UTC
Please try with libxslt-1.1.32
Comment 4 Jonas Stein gentoo-dev 2020-08-05 20:47:31 UTC
dev-python/lxml-3.8.0 is no longer in the tree. Is this bug still present with current versions?
Comment 5 Joshua Kinard gentoo-dev 2020-08-06 00:40:36 UTC
(In reply to Jonas Stein from comment #4)
> dev-python/lxml-3.8.0 is no longer in the tree. Is this bug still present
> with current versions?

Gentoo/FreeBSD is no longer an active project and the keyword has since been removed.  I've since deleted the VM I was working with, so couldn't test even if I wanted to.  Probably safe to mark the bug OBSOLETE.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-06 01:56:11 UTC
amd64-fbsd is gone.