[MacPorts] #61348: py-pyilmbase @2.3.0_3: fatal error: 'numpy/arrayobject.h' file not found
MacPorts
noreply at macports.org
Mon Oct 19 19:14:31 UTC 2020
#61348: py-pyilmbase @2.3.0_3: fatal error: 'numpy/arrayobject.h' file not found
--------------------------+---------------------------------
Reporter: chrstphrchvz | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: py-pyilmbase
--------------------------+---------------------------------
[https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/32817/steps
/install-port/logs/stdio Build fails on macOS 10.7], at least for
`py38-pyilmbase`:
{{{
/bin/sh ../libtool --tag=CXX --mode=compile
/opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I. -I../config
-D_THREAD_SAFE -I/opt/local/include/OpenEXR -I../PyImath -I.. -I../config
-I/opt/local/include -pipe -pipe -Os -stdlib=libc++ -arch x86_64
-std=c++14
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
-MT imathnumpymodule.lo -MD -MP -MF .deps/imathnumpymodule.Tpo -c -o
imathnumpymodule.lo imathnumpymodule.cpp
libtool: compile: /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.
-I../config -D_THREAD_SAFE -I/opt/local/include/OpenEXR -I../PyImath -I..
-I../config -I/opt/local/include -pipe -pipe -Os -stdlib=libc++ -arch
x86_64 -std=c++14
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
-MT imathnumpymodule.lo -MD -MP -MF .deps/imathnumpymodule.Tpo -c
imathnumpymodule.cpp -fno-common -DPIC -o .libs/imathnumpymodule.o
imathnumpymodule.cpp:41:10: fatal error: 'numpy/arrayobject.h' file not
found
#include <numpy/arrayobject.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
}}}
Unlike builds on at least 10.9 and later, the compile command on 10.7
appears to be missing
`-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/numpy/core/include`:
{{{
/bin/sh ../libtool --tag=CXX --mode=compile
/opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I. -I../config
-D_THREAD_SAFE -I/opt/local/include/OpenEXR
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/numpy/core/include -I../PyImath -I.. -I../config
-I/opt/local/include -pipe -pipe -Os -stdlib=libc++ -arch x86_64
-std=c++14
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
-MT imathnumpymodule.lo -MD -MP -MF .deps/imathnumpymodule.Tpo -c -o
imathnumpymodule.lo imathnumpymodule.cpp
libtool: compile: /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.
-I../config -D_THREAD_SAFE -I/opt/local/include/OpenEXR
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/numpy/core/include -I../PyImath -I.. -I../config
-I/opt/local/include -pipe -pipe -Os -stdlib=libc++ -arch x86_64
-std=c++14
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
-MT imathnumpymodule.lo -MD -MP -MF .deps/imathnumpymodule.Tpo -c
imathnumpymodule.cpp -fno-common -DPIC -o .libs/imathnumpymodule.o
In file included from imathnumpymodule.cpp:41:
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
warning: "Using deprecated NumPy API, disable it with " "#define
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
1 warning generated.
}}}
I wonder if the issue is actually in the `pyXX-numpy` port.
--
Ticket URL: <https://trac.macports.org/ticket/61348>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list