fyi build failure
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jan 30 08:27:11 UTC 2012
On Sat, Jan 28, 2012 at 11:23:48PM -0500, AN wrote:
> Trying to build Libreoffice on FreeBSD10-current in a VirtualBox VM fails
> with the following:
>
> # uname -a
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r230717: Sat Jan 28
> 22:36:59 EST 2012 root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64
>
> [root at FBSD10 /usr/ports/editors/libreoffice]# make install clean
> ===> libreoffice-3.4.5 depends on executable: zip - found
> ===> libreoffice-3.4.5 depends on executable: gpatch - found
> ===> libreoffice-3.4.5 depends on executable: unzip - found
> ===> libreoffice-3.4.5 depends on executable: bash - found
> ===> libreoffice-3.4.5 depends on executable: oo2po - not found
> ===> Verifying install for oo2po in
> /usr/ports/textproc/translate-toolkit
> ===> translate-toolkit-1.9.0_1 depends on package: py27-sqlite3>=0 -
> found
> ===> translate-toolkit-1.9.0_1 depends on package: py*-vobject>=0 -
> found
> ===> translate-toolkit-1.9.0_1 depends on executable: msghack - found
> ===> translate-toolkit-1.9.0_1 depends on package: py*-iniparse>=0 -
> found
> ===> translate-toolkit-1.9.0_1 depends on package: py*-levenshtein>=0 -
> found
> ===> translate-toolkit-1.9.0_1 depends on package: py*-lxml>=0 - not
> found
> ===> Verifying install for py*-lxml>=0 in /usr/ports/devel/py-lxml
> ===> Building for py27-lxml-2.3.2
> Building lxml version 2.3.2.
> Building without Cython.
> Using build configuration of libxslt 1.1.26
> Building against libxml2/libxslt in the following directory:
> /usr/local/lib
> running setopt
> Writing setup.cfg
> Building lxml version 2.3.2.
> Building without Cython.
> Using build configuration of libxslt 1.1.26
> Building against libxml2/libxslt in the following directory:
> /usr/local/lib
> running setopt
> Writing setup.cfg
> Building lxml version 2.3.2.
> Building without Cython.
> Using build configuration of libxslt 1.1.26
> Building against libxml2/libxslt in the following directory:
> /usr/local/lib
> running setopt
> Writing setup.cfg
> Building lxml version 2.3.2.
> Building without Cython.
> Using build configuration of libxslt 1.1.26
> Building against libxml2/libxslt in the following directory:
> /usr/local/lib
> running setopt
> Writing setup.cfg
> Building lxml version 2.3.2.
> Building without Cython.
> Using build configuration of libxslt 1.1.26
> Building against libxml2/libxslt in the following directory:
> /usr/local/lib
> running bdist_egg
> running egg_info
> writing src/lxml.egg-info/PKG-INFO
> writing top-level names to src/lxml.egg-info/top_level.txt
> writing dependency_links to src/lxml.egg-info/dependency_links.txt
> reading manifest file 'src/lxml.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/lxml.egg-info/SOURCES.txt'
> installing library code to build/bdist.freebsd-10.0-CURRENT-amd64/egg
> running install_lib
> running build_py
> running build_ext
> building 'lxml.etree' extension
> 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-amd64-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'
> /usr/include/xlocale.h:46: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:47: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:48: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:49: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:58: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:60: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:62: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:64: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:85: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:86: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:87: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:88: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:89: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:91: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:93: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:94: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:95: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:96: error: expected decla
>
> snip
>
> usr/include/xlocale.h:248: error: expected declaration specifiers or '...'
> before 'locale_t'
> /usr/include/xlocale.h:251: error: expected declaration specifiers or
> '...' before 'locale_t'
> In file included from /usr/local/include/libxslt/xsltInternals.h:24,
> from src/lxml/lxml.etree.c:265:
> /usr/local/include/libxslt/xsltlocale.h:25: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'xsltLocale'
> /usr/local/include/libxslt/xsltlocale.h:52: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'xsltNewLocale'
> /usr/local/include/libxslt/xsltlocale.h:53: error: expected ')' before
> 'locale'
> /usr/local/include/libxslt/xsltlocale.h:54: error: expected ')' before
> 'locale'
> /usr/local/include/libxslt/xsltlocale.h:55: error: expected ')' before
> 'locale'
> In file included from src/lxml/lxml.etree.c:265:
> /usr/local/include/libxslt/xsltInternals.h:1382: error: expected
> specifier-qualifier-list before 'xsltLocale'
> error: command 'cc' failed with exit status 1
> *** Error code 1
>
> Stop in /usr/ports/devel/py-lxml.
> *** Error code 1
>
> Stop in /usr/ports/textproc/translate-toolkit.
> *** Error code 1
>
> Stop in /usr/ports/editors/libreoffice.
> *** Error code 1
>
> Stop in /usr/ports/editors/libreoffice.
>
> _______________________________________________
> freebsd-office at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-office
> To unsubscribe, send any mail to "freebsd-office-unsubscribe at freebsd.org"
The problem does not concern libreoffice but py-lxml.
FYI that would be solved anyway in libreoffice 3.5.0 because it doesn't depends
anymore on translate-toolkit which brings the py-lxml dependency.
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-office/attachments/20120130/87d2edda/attachment.pgp
More information about the freebsd-office
mailing list