From owner-freebsd-ports@freebsd.org Sun Dec 3 01:21:25 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98230E6EA0D for ; Sun, 3 Dec 2017 01:21:25 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail03.adl6.internode.on.net (ipmail03.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 359F13CCD for ; Sun, 3 Dec 2017 01:21:24 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-11-215.bras1.adl4.internode.on.net (HELO leader.local) ([121.45.11.215]) by ipmail03.adl6.internode.on.net with ESMTP; 03 Dec 2017 11:46:13 +1030 Subject: Re: building blender 2.79 fails because of python dependencies To: blubee blubeeme , FreeBSD Ports References: From: Shane Ambler Message-ID: <3cdcb686-1d69-51fe-d07d-cf1bc586c792@ShaneWare.Biz> Date: Sun, 3 Dec 2017 11:46:13 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 01:21:25 -0000 On 30/11/2017 21:05, blubee blubeeme wrote: > On Wed, Nov 29, 2017 at 9:25 PM, blubee blubeeme > 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