devel/py-lxml fails to build on 10.0-CURRENT

Ruslan Mahmatkhanov cvs-src at
Fri Dec 16 09:18:09 UTC 2011

Good day.

I'm trying to build devel/py-lxml 2.3.2 (libreoffice dep) on
10.0-CURRENT with python27. Build fails like this:

building 'lxml.etree' extension
creating temp.freebsd-10.0-CURRENT-i386-2.7
creating temp.freebsd-10.0-CURRENT-i386-2.7/src
creating temp.freebsd-10.0-CURRENT-i386-2.7/src/lxml
cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe
-fno-strict-aliasing -fPIC -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/include/python2.7 -c
src/lxml/lxml.etree.c -o
temp.freebsd-10.0-CURRENT-i386-2.7/src/lxml/lxml.etree.o -w
In file included from /usr/local/include/libxslt/xsltlocale.h:19,
                 from /usr/local/include/libxslt/xsltInternals.h:24,
                 from src/lxml/lxml.etree.c:265:
/usr/include/xlocale.h:45: error: expected declaration specifiers or
'...' before 'locale_t'

Can anybody confirm that or it's just me? It builded just fine couple of
weeks ago. Full buildlog here:

Thanks in advance.

PS. I tried to rebuild libxslt/libxml2 to not avail.


Tinderboxing kills... the drives.

More information about the freebsd-ports mailing list