devel/py-lxml fails to build on 10.0-CURRENT
fidaj at ukr.net
Fri Dec 16 10:01:04 UTC 2011
В Fri, 16 Dec 2011 13:17:41 +0400
Ruslan Mahmatkhanov <cvs-src at yandex.ru> пишет:
> 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.
I commented out #include <xlocale.h> in /usr/local/include/libxslt/xsltlocale.h
And added #include <xlocale.h> in /usr/ports/devel/py-lxml/work/lxml-2.3.2/src/lxml/lxml.etree.c
But this does not fix - it is only necessary for the successful building of the port...
More information about the freebsd-ports