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.
Created attachment 522908 [details] e-info.txt
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
Please try with libxslt-1.1.32
dev-python/lxml-3.8.0 is no longer in the tree. Is this bug still present with current versions?
(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.
amd64-fbsd is gone.