[MacPorts] #63797: py39-aubio: fatal error: 'numpy/arrayobject.h' file not found
MacPorts
noreply at macports.org
Fri Nov 5 15:30:24 UTC 2021
#63797: py39-aubio: fatal error: 'numpy/arrayobject.h' file not found
-------------------------+----------------------
Reporter: ryandesign | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: monterey
Port: py-aubio |
-------------------------+----------------------
Comment (by ryandesign):
On the Big Sur build we had:
`/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_python_py-
aubio/py39-aubio/work/compwrap/cc/usr/bin/clang -Wno-unused-result -Wsign-
compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch arm64
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1
-DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1
-DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1
-DHAVE_MEMCPY_HACKS=1 -DHAVE_ACCELERATE=1 -DHAVE_SOURCE_APPLE_AUDIO=1
-DHAVE_SINK_APPLE_AUDIO=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -Ipython/ext
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/include -Isrc -Ipython/gen
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9
-c python/ext/aubiomodule.c -o
build/temp.macosx-11.0-arm64-3.9/python/ext/aubiomodule.o`
But on the Monterey build we have:
`/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_python_py-
aubio/py39-aubio/work/compwrap/cc/usr/bin/clang -Wno-unused-result -Wsign-
compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
-Wall -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1
-DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1
-DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1
-DHAVE_MEMCPY_HACKS=1 -DHAVE_ACCELERATE=1 -DHAVE_SOURCE_APPLE_AUDIO=1
-DHAVE_SINK_APPLE_AUDIO=1 -DHAVE_WAVWRITE=1 -DHAVE_WAVREAD=1 -Ipython/ext
-Isrc -Ipython/gen
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9
-c python/ext/aubiomodule.c -o
build/temp.macosx-12.0-arm64-3.9/python/ext/aubiomodule.o`
Certainly the necessary flag
`-I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/include` is missing on the Monterey build but
I'm not sure why.
--
Ticket URL: <https://trac.macports.org/ticket/63797#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list