From owner-freebsd-ports@freebsd.org Sun Dec 3 05:16:00 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 70ED0DEEDD6 for ; Sun, 3 Dec 2017 05:16:00 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3663E6BE4E for ; Sun, 3 Dec 2017 05:16:00 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x232.google.com with SMTP id x129so15296242iod.13 for ; Sat, 02 Dec 2017 21:16:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aAKwiBiD7PMZKrmOKpNb2iwKqq+IwSjBbQ76dMr16Fc=; b=uz+jt08BL1Hncurs5vr36NWZ779H3WfiVWph5d/QWRV3I75vkRteTvMCXDHypLWMIG PfqV/P0G0bttHJ0q1L8cFAT4reEt9dyEoNTO994SHMjupvAcCVHZQy2ecNUHHf2WASgY IQkFJJA6D1O/9Gn9WBQzfCJ21g6adeLASUhFaa47kiffTfMW5IuJkI8tnm2WPXX5h5q5 hZJLwiX6RCTHCa3qqMHu6VEptKq8+qXJ2mTJ9YsiDcKBbvu5dnuS+1UXm0YiboyThXNp k8c29P7hUQ4289eIw+Kg1Bk2BxhA8b5SGYgm51QRcZFwXraoDuoNWEs/Grup3a3MH7Fn LFDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aAKwiBiD7PMZKrmOKpNb2iwKqq+IwSjBbQ76dMr16Fc=; b=O3Y/cGSOt9W+cJHr4TDFWsLzleZoMSA1CWvFIGaHUgWyM1Z5IciEN3sOc7KLkZQZzj eJT12FZjwcWn53sLEvPEXYvWZZi1SbFy4yrV7sW3Os12lfXeTP8x3vF0K4biCJI3rqx2 iu+IqWe+ZmhXi7xrvCeDybn5GI1r8P//1+xwL+Z5a50nhA5kOxVOSg5WfGL1rF8a6qv1 Q//lAlzFvZ6yP161e01qCv9wQPnDf5xb962NqAkzj+jD91n7JnxLIzd+dnxvnK4iVDU/ pmtNDnYPJoc4g8nZd0jQxdl9mZ2eEt+MzijROAJFOpOUQLNwkWsBO+LAtMLTbybuK7yd Z1wQ== X-Gm-Message-State: AJaThX52bGPQkE64q5CgdgX22fldLa3bCjIoXzomtDyNf7hW7I49RQ0z aLwSypkhEUZPHaTkqrMB5veBDE6PN3gzKH7go89A4g== X-Google-Smtp-Source: AGs4zMaA2D8yX0iS3sNaKdI59kUMVUGnwhET+o9km/Jc3T/nGLGXSr7Xv2R0eFskUMh7srUG/23VU0Gyc1LkVjMAZS0= X-Received: by 10.107.5.147 with SMTP id 141mr16460125iof.213.1512278159409; Sat, 02 Dec 2017 21:15:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.11.31 with HTTP; Sat, 2 Dec 2017 21:15:58 -0800 (PST) In-Reply-To: <3cdcb686-1d69-51fe-d07d-cf1bc586c792@ShaneWare.Biz> References: <3cdcb686-1d69-51fe-d07d-cf1bc586c792@ShaneWare.Biz> From: blubee blubeeme Date: Sun, 3 Dec 2017 13:15:58 +0800 Message-ID: Subject: Re: building blender 2.79 fails because of python dependencies To: Shane Ambler Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 05:16:00 -0000 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 wrote: > 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 > >