Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2017 13:45:19 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        "Mikhail T." <mi+r29b@aldan.algebra.com>, office@FreeBSD.org, python@FreeBSD.org
Subject:   Re: libreoffice-5.3.5.2 would not build for me with Python-2.7
Message-ID:  <b8466680-d635-72ed-062c-46470225ffcf@FreeBSD.org>
In-Reply-To: <e7358efa-97bb-d927-64ce-f11ca183df80@aldan.algebra.com>
References:  <e7358efa-97bb-d927-64ce-f11ca183df80@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/9/17 7:24 AM, Mikhail T. wrote:
> I have python=3.6 in my DEFAULT_VERSIONS, but both 2.7 and 3.6 are
> installed.
> 
> While trying to build libreoffice, the build attempted to use 2.7 and I
> kept getting the compiler errors like this:
> 
>    pyuno_util.cxx:43:18: error: no matching function for call to
>    'PyUnicodeUCS2_FromUnicode'
> 
> until I changed the USES line in editors/libreoffice/Makefile from
> simply "python" to "python:3".
> 
> I don't think, that should be necessary -- simply having "python" there
> should've picked up my desired default version, right? Not sure, if this
> is the problem of libreoffice or python... Yours,
> 
>    -mi
> 

What, if any OPTIONS have been set/unset for lang/python27?

This could be related to:

====> Unicode support: you have to select exactly one of them
     UCS2=off: Enable UCS2 Unicode Strings
     UCS4=on: Enable UCS4 Unicode Strings



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b8466680-d635-72ed-062c-46470225ffcf>