Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 09:26:59 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        AN <andy@neu.net>
Cc:        office@FreeBSD.org
Subject:   Re: fyi build failure
Message-ID:  <20120130082659.GA40244@azathoth.lan>
In-Reply-To: <alpine.BSF.2.00.1201282315460.35719@mail.neu.net>
References:  <alpine.BSF.2.00.1201282315460.35719@mail.neu.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 28, 2012 at 11:23:48PM -0500, AN wrote:
> Trying to build Libreoffice on FreeBSD10-current in a VirtualBox VM fails=
=20
> with the following:
>=20
> # uname -a
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r230717: Sat Jan 28=
=20
> 22:36:59 EST 2012     root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
>=20
> [root@FBSD10 /usr/ports/editors/libreoffice]# make install clean
> =3D=3D=3D>   libreoffice-3.4.5 depends on executable: zip - found
> =3D=3D=3D>   libreoffice-3.4.5 depends on executable: gpatch - found
> =3D=3D=3D>   libreoffice-3.4.5 depends on executable: unzip - found
> =3D=3D=3D>   libreoffice-3.4.5 depends on executable: bash - found
> =3D=3D=3D>   libreoffice-3.4.5 depends on executable: oo2po - not found
> =3D=3D=3D>    Verifying install for oo2po in=20
> /usr/ports/textproc/translate-toolkit
> =3D=3D=3D>   translate-toolkit-1.9.0_1 depends on package: py27-sqlite3>=
=3D0 -=20
> found
> =3D=3D=3D>   translate-toolkit-1.9.0_1 depends on package: py*-vobject>=
=3D0 -=20
> found
> =3D=3D=3D>   translate-toolkit-1.9.0_1 depends on executable: msghack - f=
ound
> =3D=3D=3D>   translate-toolkit-1.9.0_1 depends on package: py*-iniparse>=
=3D0 -=20
> found
> =3D=3D=3D>   translate-toolkit-1.9.0_1 depends on package: py*-levenshtei=
n>=3D0 -=20
> found
> =3D=3D=3D>   translate-toolkit-1.9.0_1 depends on package: py*-lxml>=3D0 =
- not=20
> found
> =3D=3D=3D>    Verifying install for py*-lxml>=3D0 in /usr/ports/devel/py-=
lxml
> =3D=3D=3D>  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:=20
> /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:=20
> /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:=20
> /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:=20
> /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:=20
> /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=
=20
> -fPIC -I/usr/local/include -I/usr/local/include/libxml2=20
> -I/usr/local/include/python2.7 -c src/lxml/lxml.etree.c -o=20
> 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 '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:46: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:47: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:48: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:49: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:58: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:60: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:62: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:64: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:85: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:86: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:87: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:88: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:89: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:91: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:93: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:94: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:95: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:96: error: expected decla
>=20
> snip
>=20
> usr/include/xlocale.h:248: error: expected declaration specifiers or '...=
'=20
> before 'locale_t'
> /usr/include/xlocale.h:251: error: expected declaration specifiers or=20
> '...' 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 '=3D', ',', '=
;',=20
> 'asm' or '__attribute__' before 'xsltLocale'
> /usr/local/include/libxslt/xsltlocale.h:52: error: expected '=3D', ',', '=
;',=20
> 'asm' or '__attribute__' before 'xsltNewLocale'
> /usr/local/include/libxslt/xsltlocale.h:53: error: expected ')' before=20
> 'locale'
> /usr/local/include/libxslt/xsltlocale.h:54: error: expected ')' before=20
> 'locale'
> /usr/local/include/libxslt/xsltlocale.h:55: error: expected ')' before=20
> 'locale'
> In file included from src/lxml/lxml.etree.c:265:
> /usr/local/include/libxslt/xsltInternals.h:1382: error: expected=20
> specifier-qualifier-list before 'xsltLocale'
> error: command 'cc' failed with exit status 1
> *** Error code 1
>=20
> Stop in /usr/ports/devel/py-lxml.
> *** Error code 1
>=20
> Stop in /usr/ports/textproc/translate-toolkit.
> *** Error code 1
>=20
> Stop in /usr/ports/editors/libreoffice.
> *** Error code 1
>=20
> Stop in /usr/ports/editors/libreoffice.
>=20
> _______________________________________________
> freebsd-office@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-office
> To unsubscribe, send any mail to "freebsd-office-unsubscribe@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 dep=
ends
anymore on translate-toolkit which brings the py-lxml dependency.

regards,
Bapt

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk8mVFMACgkQ8kTtMUmk6EzAlQCfZ0mTqpNs5auTX6HMZehOXlRP
fjMAniZCPtdE8HciPdafX8xeEqwyfrxu
=4UN9
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120130082659.GA40244>