Date: Sat, 13 Jan 2018 17:56:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225144] devel/llvm*: fix python dependency Message-ID: <bug-225144-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225144 Bug ID: 225144 Summary: devel/llvm*: fix python dependency Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: sunpoet@FreeBSD.org CC: brooks@FreeBSD.org, python@FreeBSD.org CC: brooks@FreeBSD.org, python@FreeBSD.org Fix python dependency: restrict to python 2.7 from CMakeLists.txt: # Verify that we can find a Python 2 interpreter. Python 3 is unsupported. # FIXME: We should support systems with only Python 3, but that requires wo= rk # on LLDB. set(Python_ADDITIONAL_VERSIONS 2.7) include(FindPythonInterp) if( NOT PYTHONINTERP_FOUND ) message(FATAL_ERROR "Unable to find Python interpreter, required for builds and testing. Please install Python or specify the PYTHON_EXECUTABLE CMake variable.") endif() if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 ) message(FATAL_ERROR "Python 2.7 or newer is required") endif() The stage-qa and packaging error of devel/llvm50 on a box with python 3.6 as default are as follows: =3D=3D=3D=3D> Running Q/A tests (stage-qa) Error: /usr/local/llvm50/bin/lldb-server is linked to /usr/local/lib/libpython2.7.so.1 from lang/python27 but it is not declared = as a dependency Warning: you need LIB_DEPENDS+=3Dlibpython2.7.so:lang/python27 =3D=3D=3D> Building package for llvm50-5.0.1 pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/_lldb.so:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/embedded_interpreter.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/Logger.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/attrib_fromdict.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/cache.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/cpp/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/cpp/gnu_libstdcpp.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/cpp/libcxx.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/metrics.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/formatters/synth.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/lldb-argdumper:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/runtime/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/utils/__init__.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/lldb/utils/symbolication.py:No such file or directory pkg-static: Unable to access file /usr/ports/works/usr/ports/devel/llvm50/work/stage/usr/local/llvm50/lib/pyt= hon3.6/site-packages/six.py:No such file or directory *** Error code 1 Stop. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225144-13>