Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2017 18:35:29 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: building blender 2.79 fails because of python dependencies
Message-ID:  <CALM2mEkED2RwOmjTbeDfQy5Uco0oW4vAEPYGMgZ%2BiKULXv-rkg@mail.gmail.com>
In-Reply-To: <CALM2mE=CesbawAAiW2BTmmMKVbaMfKRKUnoajV9BUFBDagK=rA@mail.gmail.com>
References:  <CALM2mE=CesbawAAiW2BTmmMKVbaMfKRKUnoajV9BUFBDagK=rA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 29, 2017 at 9:25 PM, blubee blubeeme <gurenchan@gmail.com>
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEkED2RwOmjTbeDfQy5Uco0oW4vAEPYGMgZ%2BiKULXv-rkg>