Opened 4 years ago
#61348 assigned defect
py-pyilmbase @2.3.0_3: fatal error: 'numpy/arrayobject.h' file not found
Reported by: | chrstphrchvz (Christopher Chavez) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | ||
Port: | py-pyilmbase |
Description
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.
Note: See
TracTickets for help on using
tickets.