[MacPorts] #68908: py311-numpy broken on PPC: ERROR: Unknown compiler(s): [['cython'], ['cython3']]
MacPorts
noreply at macports.org
Sat Dec 16 01:58:16 UTC 2023
#68908: py311-numpy broken on PPC: ERROR: Unknown compiler(s): [['cython'],
['cython3']]
-------------------------+-------------------------------------------------
Reporter: | Owner: michaelld
barracuda156 |
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger, leopard, snowleopard,
Port: | powerpc
py311-numpy |
-------------------------+-------------------------------------------------
Comment (by barracuda156):
And their vendored meson (why is it used instead of Macports one?)
completely ignores env vars:
{{{
:notice:build ---> Building py311-numpy
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing proc-pre-org.macports.build-build-1
:debug:build Executing proc-pre-org.macports.build-build-2
:debug:build Executing org.macports.build (py311-numpy)
:debug:build Environment:
:debug:build ARCHFLAGS='-arch ppc'
:debug:build ATLAS='None'
:debug:build CC='/opt/local/bin/gcc-mp-13'
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-
numpy/py311-numpy/work/.CC_PRINT_OPTIONS'
:debug:build CFLAGS='-arch ppc -isysroot/'
:debug:build CPATH='/opt/local/include'
:debug:build CXX='/opt/local/bin/g++-mp-13'
:debug:build CXXFLAGS='-arch ppc -D_GLIBCXX_USE_CXX11_ABI=0 -isysroot/'
:debug:build CYTHON='/opt/local/bin/cython-3.11'
:debug:build DEVELOPER_DIR='/Developer'
:debug:build F77='/opt/local/bin/gfortran-mp-13'
:debug:build F90='/opt/local/bin/gfortran-mp-13'
:debug:build F90FLAGS='-m32'
:debug:build FC='/opt/local/bin/gfortran-mp-13'
:debug:build FCFLAGS='-m32'
:debug:build FFLAGS='-m32'
:debug:build LDFLAGS='-arch ppc'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build MKLROOT='None'
:debug:build OBJC='/opt/local/bin/gcc-mp-13'
:debug:build OBJCFLAGS='-arch ppc -isysroot/'
:debug:build OPENBLAS='/opt/local/lib'
:debug:build SETUPTOOLS_USE_DISTUTILS='stdlib'
:info:build Executing: cd "/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
-m build --no-isolation --wheel --outdir /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work
:debug:build system: cd "/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
-m build --no-isolation --wheel --outdir /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work
:info:build * Getting build dependencies for wheel...
:info:build * Building wheel...
:info:build +
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
numpy/py311-numpy/work/numpy-1.26.2/vendored-meson/meson/meson.py setup
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
numpy/py311-numpy/work/numpy-1.26.2 /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2
/.mesonpy-rnpocwke/build -Dbuildtype=release -Db_ndebug=if-release
-Db_vscrt=md --cross-file /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2
/.mesonpy-rnpocwke/build/meson-python-cross-file.ini --native-
file=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
numpy/py311-numpy/work/numpy-1.26.2/.mesonpy-rnpocwke/build/meson-python-
native-file.ini
:info:build The Meson build system
:info:build Version: 1.2.99
:info:build Source dir: /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2
:info:build Build dir: /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2
/.mesonpy-rnpocwke/build
:info:build Build type: cross build
:info:build Project name: NumPy
:info:build Project version: 1.26.2
:info:build C compiler for the host machine: cc -arch ppc (gcc 4.2.1
"powerpc-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5626)")
:info:build C linker for the host machine: cc -arch ppc ld64 87.3.1
:info:build C++ compiler for the host machine: c++ -arch ppc (gcc 4.2.1
"powerpc-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5626)")
:info:build C++ linker for the host machine: c++ -arch ppc ld64 87.3.1
:info:build ../../meson.build:1:0: ERROR: Unknown compiler(s):
[['cython'], ['cython3']]
:info:build The following exception(s) were encountered:
:info:build Running `cython -V` gave "[Errno 2] No such file or directory:
'cython'"
:info:build Running `cython3 -V` gave "[Errno 2] No such file or
directory: 'cython3'"
:info:build A full log can be found at /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2
/.mesonpy-rnpocwke/build/meson-logs/meson-log.txt
:info:build ERROR Backend subprocess exited when trying to invoke
build_wheel
:info:build Command failed: cd "/opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work/numpy-1.26.2"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
-m build --no-isolation --wheel --outdir /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_python_py-numpy/py311-numpy/work
:info:build Exit code: 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68908#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list