[MacPorts] #60711: py38-numpy @1.19.0 does not build on PPC Tiger, Mac OS X 10.4.11, because error: #pragma GCC diagnostic not allowed inside functions?
MacPorts
noreply at macports.org
Thu Jun 25 13:43:33 UTC 2020
#60711: py38-numpy @1.19.0 does not build on PPC Tiger, Mac OS X 10.4.11, because
error: #pragma GCC diagnostic not allowed inside functions?
-----------------------+------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: tiger | Port: py38-numpy
-----------------------+------------------------
It's not clear to me where the error appears. Perhaps early here:
{{{
gcc-apple-4.2:
build/src.macosx-10.4-ppc-3.8/numpy/core/src/multiarray/einsum.c
numpy/core/src/multiarray/einsum.c.src: In function
'get_combined_dims_view':
numpy/core/src/multiarray/einsum.c.src:2156: error: #pragma GCC diagnostic
not allowed inside functions
numpy/core/src/multiarray/einsum.c.src:2157: error: #pragma GCC diagnostic
not allowed inside functions
numpy/core/src/multiarray/einsum.c.src:2158: error: #pragma GCC diagnostic
not allowed inside functions
numpy/core/src/multiarray/einsum.c.src:2173: error: #pragma GCC diagnostic
not allowed inside functions
}}}
230 lines later this is reported:
{{{
error: Command "/opt/local/bin/gcc-apple-4.2 -fno-strict-aliasing -Wsign-
compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch
ppc -isysroot/ -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1
-DHAVE_CBLAS -Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/src/umath
-Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/src/npymath
-Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/src/common -Inumpy/core/include
-Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/include/numpy
-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/src/npysort
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
-Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/src/common
-Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/src/npymath -c
build/src.macosx-10.4-ppc-3.8/numpy/core/src/multiarray/einsum.c -o
build/temp.macosx-10.4-ppc-3.8/build/src.macosx-10.4-ppc-3.8/numpy/core/src/multiarray/einsum.o
-MMD -MF
build/temp.macosx-10.4-ppc-3.8/build/src.macosx-10.4-ppc-3.8/numpy/core/src/multiarray/einsum.o.d
-std=c99" failed with exit status 1
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_python_py-
numpy/py38-numpy/work/numpy-1.19.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
setup.py --no-user-cfg build -j1
Exit code: 1
Error: Failed to build py38-numpy: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60711>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list