Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2017 13:15:58 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Shane Ambler <FreeBSD@shaneware.biz>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: building blender 2.79 fails because of python dependencies
Message-ID:  <CALM2mEmoYsF6%2BJXnU75aaQc4vU6nc6D5YjF%2BtPO4vSFN2NZzqQ@mail.gmail.com>
In-Reply-To: <3cdcb686-1d69-51fe-d07d-cf1bc586c792@ShaneWare.Biz>
References:  <CALM2mE=CesbawAAiW2BTmmMKVbaMfKRKUnoajV9BUFBDagK=rA@mail.gmail.com> <CALM2mEkED2RwOmjTbeDfQy5Uco0oW4vAEPYGMgZ%2BiKULXv-rkg@mail.gmail.com> <3cdcb686-1d69-51fe-d07d-cf1bc586c792@ShaneWare.Biz>

next in thread | previous in thread | raw e-mail | index | archive | help
I do not have anything related to python in my make.conf only ccache.
WITH_CCACHE_BUILD=yes

.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc)
CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1}
.endif
.endif

.if ${CC:T} == "clang"
CFLAGS+= -Qunused-arguments
.endif


I am a bit weary of updating my /usr/src and or /usr/ports until this
python flavors thing calm down a bit before I update.


On Sun, Dec 3, 2017 at 9:16 AM, Shane Ambler <FreeBSD@shaneware.biz> wrote:

> On 30/11/2017 21:05, blubee blubeeme wrote:
> > On Wed, Nov 29, 2017 at 9:25 PM, blubee blubeeme <gurenchan@gmail.com>
> > wrote:
> >
> >> Here's a build log:
> >>
> >> running install_scripts
> ...
> >> ===>   blender-2.79_2 depends on shared library: libOpenColorIO.so - not
> >> found
> >> ===>  opencolorio-1.0.9_3 needs Python 2.7 at most, but 3.5 was
> specified.
> >> *** Error code 1
> >>
> >> Stop.
> >> make[1]: stopped in /usr/ports/graphics/opencolorio
> >> *** Error code 1
> >>
> >> Stop.
> >>
> >>
> > I solved this problem by deselecting the opencolorio, openimageio and
> > cycles options.
> >
> > But this error does bring up an error that I'm currently dealing with
> > somewhere else.
> >
> > A project that uses multiple versions of python often fail to build with
> an
> > error similar to this one above:
> > ===>  opencolorio-1.0.9_3 needs Python 2.7 at most, but 3.5 was
> specified.
> > *** Error code 1
> >
> > How do you porters work with projects that needs multiple versions of
> > python to build?
>
> blender should build with cycles openimageio and opencolorio enabled.
> Can you build and install openimageio and then build blender?
>
> A recent change added python flavors, we can now use make FLAVOR=py35 to
> build a python module for python 3.5 instead of the default 2.7
>
> https://wiki.freebsd.org/Ports/FlavorsTools
>
> My guess is it is related to the python flavors change, either it is a
> glitch that has since been fixed or a config you have is effecting it as
> I can't find a way to get the error.
>
> Check your make.conf
> Do you have PYTHON_VERSION set? it shouldn't be used any more
> Do you have DEFAULT_VERSIONS= python=3.5
>
>
> --
> FreeBSD - the place to B...Software Developing
>
> Shane Ambler
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEmoYsF6%2BJXnU75aaQc4vU6nc6D5YjF%2BtPO4vSFN2NZzqQ>