id summary reporter owner description type status priority milestone component version resolution keywords cc port 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? ballapete michaelld "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 }}}" defect closed Normal ports 2.6.2 fixed tiger kencu py-numpy