From owner-freebsd-ports@freebsd.org Thu Nov 30 10:35:40 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 4A1B6DFF120 for ; Thu, 30 Nov 2017 10:35:40 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 10C157F32E for ; Thu, 30 Nov 2017 10:35:40 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x231.google.com with SMTP id t1so7729953ite.5 for ; Thu, 30 Nov 2017 02:35:40 -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; bh=l11/tBTUpvTm/HFcf4WweB91pLTSdIMEA2qOKW/b94w=; b=CnRqCeo3Xj0uy7vjFz2xqY9EzfW49/zgCxesiMGMXRFF0KD8arqpHmQ+ss5HiPm0qL qSPZzAATEtzHR0Wo3Nrp/RpNZkNXg7vE4LXiAGCm7Ozlld8Ryg51pV0ITLZN23AkR7YT zvQ/Pm7O/Nq1ebaLFHdAq9LCaPUYYgMUcZjpVl37gqLySBOxRKIIj7Fwl+FVhKez4zfM CW1rQNAEUxqa60iaysKc4yVZsFtC9LSeKnAsxCY3EnS6CAvv8+aw5GKmJyCGKC+8mjoZ z7RW2JqCKpN+yExTaUDjkWdOJVyX0SSQ+1a8IHNayJLxherB5u1nHtIlbKUzJ+4kDBa5 /rXg== 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; bh=l11/tBTUpvTm/HFcf4WweB91pLTSdIMEA2qOKW/b94w=; b=UyDuqXyW4sE+eXdnouYvlbT4pzGM5lRlRrbenPcpEOQTScC3Kj6bH7VO0JrK3ZDmvP +VoGscLkDBEm+YyKfzcb+zBE9Qxp4CwSAF2uWemPyHC3nslGljiwggiwnSU7P1SDYmOy k8SR9hxkM4r0QdcTZSdyMGdYCX8WTW3B1Ws6OastT4LhUnPhor0MTuTAf2RsKeAdcjh2 2aREx3VHtZYiEj4dvDVndIgzOMz404qsapVcz2dWTXMIU8BVV4NkC3ShYuIvMLBmtKsD /lN8nPAWvlLpI7qu0kKuFJVOWa0FpkD1kjCxKbrn1Nf8pUNQg+akyIijsLvMwK8ixwrj QOPQ== X-Gm-Message-State: AJaThX71IhBxh0ktZwWLEdWYT+Tzws8LxsF/muAdatnMfvLWdCEMr86u TnDSPsQ3S2FQQqZ+fpnsWIkOmm5Gp3m7+73430FQOQ== X-Google-Smtp-Source: AGs4zMZuVTbL0qYqVEuLoPrTURZcsBJmFkhLBnm5aHjL1xKONuuPV55CnioY/MjFxyYqLFX0/Fj1ULwKRB/llnuKZXE= X-Received: by 10.36.116.135 with SMTP id o129mr2248975itc.119.1512038139015; Thu, 30 Nov 2017 02:35:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.11.31 with HTTP; Thu, 30 Nov 2017 02:35:29 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Thu, 30 Nov 2017 18:35:29 +0800 Message-ID: Subject: Re: building blender 2.79 fails because of python dependencies To: 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: Thu, 30 Nov 2017 10:35:40 -0000 On Wed, Nov 29, 2017 at 9:25 PM, blubee blubeeme wrote: > Here's a build log: > > running install_scripts > copying build/scripts-3.5/pydoc3.5 -> /usr/ports/lang/python35/work/ > stage/usr/local/bin > copying build/scripts-3.5/pyvenv-3.5 -> /usr/ports/lang/python35/work/ > stage/usr/local/bin > copying build/scripts-3.5/idle3.5 -> /usr/ports/lang/python35/work/ > stage/usr/local/bin > copying build/scripts-3.5/2to3-3.5 -> /usr/ports/lang/python35/work/ > stage/usr/local/bin > changing mode of /usr/ports/lang/python35/work/stage/usr/local/bin/pydoc3.5 > to 755 > changing mode of /usr/ports/lang/python35/work/stage/usr/local/bin/pyvenv-3.5 > to 755 > changing mode of /usr/ports/lang/python35/work/stage/usr/local/bin/idle3.5 > to 755 > changing mode of /usr/ports/lang/python35/work/stage/usr/local/bin/2to3-3.5 > to 755 > rm /usr/ports/lang/python35/work/stage/usr/local/lib/python3.5/ > lib-dynload/_sysconfigdata.py > rm -r /usr/ports/lang/python35/work/stage/usr/local/lib/python3.5/ > lib-dynload/__pycache__ > install -m 0644 ./Misc/python.man /usr/ports/lang/python35/work/ > stage/usr/local/man/man1/python3.5.1 > if test "xno" != "xno" ; then case no in upgrade) > ensurepip="--altinstall --upgrade" ;; install|*) ensurepip="--altinstall" > ;; esac; LD_LIBRARY_PATH=/usr/ports/lang/python35/work/Python-3.5.4 > ./python -E -m ensurepip $ensurepip --root=/usr/ports/lang/python35/work/stage/ > ; fi > /bin/rm -f /usr/ports/lang/python35/work/stage/usr/local/lib/libpython3.so # > Upstream Issue: http://bugs.python.org/issue17975 > for i in /usr/ports/lang/python35/work/stage/usr/local/lib/python3.5/lib-dynload/*.so; > do /usr/bin/strip $i; done # Strip shared extensions > install -m 0644 /usr/ports/lang/python35/work/Python-3.5.4/Tools/gdb/libpython.py > /usr/ports/lang/python35/work/stage/usr/local/lib/libpython3 > .5m.so.1.0-gdb.py > ====> Compressing man pages (compress-man) > ===> Installing for python35-3.5.4 > ===> Checking if python35 already installed > ===> Registering installation for python35-3.5.4 as automatic > Installing python35-3.5.4... > ============================================================ > =============== > > Note that some standard Python modules are provided as separate ports > as they require additional dependencies. They are available as: > > py35-gdbm databases/py35-gdbm > py35-sqlite3 databases/py35-sqlite3 > py35-tkinter x11-toolkits/py35-tkinter > > ============================================================ > =============== > > ===> SECURITY REPORT: > This port has installed the following files which may act as network > servers and may therefore pose a remote security risk to the system. > /usr/local/lib/python3.5/lib-dynload/_socket.so > > If there are vulnerabilities in these programs there may be a > security > risk to the system. FreeBSD makes no guarantee about the security of > ports included in the Ports Collection. Please type 'make deinstall' > to deinstall the port if this is a concern. > > For more information, and contact details about the security > status of this software, see the following webpage: > https://www.python.org/ > ===> blender-2.79_2 depends on file: /usr/local/bin/python3.5 - found > ===> Returning to build of blender-2.79_2 > ===> blender-2.79_2 depends on executable: msgfmt - found > ===> blender-2.79_2 depends on executable: gtk-update-icon-cache - found > ===> blender-2.79_2 depends on file: /usr/local/lib/libGL.so - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/glproto.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/glproto.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/xext.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/xmu.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/xrender.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/xi.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/libdata/pkgconfig/xi.pc > - found > ===> blender-2.79_2 depends on file: /usr/local/bin/ccache - found > ===> blender-2.79_2 depends on shared library: libpng.so - found > (/usr/local/lib/libpng.so) > ===> blender-2.79_2 depends on shared library: libfreetype.so - found > (/usr/local/lib/libfreetype.so) > ===> blender-2.79_2 depends on shared library: libboost_regex.so - found > (/usr/local/lib/libboost_regex.so) > ===> blender-2.79_2 depends on shared library: libunwind.so - found > (/usr/local/lib/libunwind.so) > ===> blender-2.79_2 depends on shared library: libavutil.so - found > (/usr/local/lib/libavutil.so) > ===> blender-2.79_2 depends on shared library: libfftw3.so - found > (/usr/local/lib/libfftw3.so) > ===> 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?