Date: Sat, 22 Aug 2015 17:22:25 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202577] graphics/opencolorio: force to use Python 2.x Message-ID: <bug-202577-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202577 Bug ID: 202577 Summary: graphics/opencolorio: force to use Python 2.x Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: novel@FreeBSD.org CC: freebsd-ports-bugs@FreeBSD.org Created attachment 160219 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160219&action=edit opencolorio: fix Python depencency graphics/opencolorio doesn't work properly with Python 3.x: -- Setting python bin to: /usr/local/bin/python3.4 File "<string>", line 1 from distutils import sysconfig; print sysconfig.get_python_version() ^ SyntaxError: invalid syntax File "<string>", line 1 import sys; print sys.maxunicode > 65536 and 'ucs4' or 'ucs2' ^ SyntaxError: invalid syntax File "<string>", line 1 from distutils import sysconfig; print ':'.join(set(sysconfig.get_config_var('INCLDIRSTOMAKE').split())) ^ SyntaxError: invalid syntax File "<string>", line 1 from distutils import sysconfig; print ':'.join(set(sysconfig.get_config_var('LIBPL').split())) ^ SyntaxError: invalid syntax ... -- Python bindings will not be built: /usr/local/bin/python3.4 returned 1 trying to determine library path. As Python 3.x doesn't allow print statements by default. As a result we have: pkg-static: Unable to access file /usr/ports/graphics/opencolorio/work/stage/usr/local/include/PyOpenColorIO/PyOpenColorIO.h: No such file or directory Attaching a patch with the following changes: - Force using Python 2.x - Drop python from BUILD_DEPENDS as it's already done by adding python to USES -- You are receiving this mail because: You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202577-13>