[MacPorts] #64019: py38-numpy @1.21.4 cannot be installed on PPC Mac OS X 10.4.11, Tiger, because: "unknown architecture"

MacPorts noreply at macports.org
Sat Nov 20 16:11:24 UTC 2021


#64019: py38-numpy @1.21.4 cannot be installed on PPC Mac OS X 10.4.11, Tiger,
because:  "unknown architecture"
-----------------------+------------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.1
 Keywords:  tiger      |       Port:  py38-numpy
-----------------------+------------------------
 {{{
 compile options: '-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 -Inumpy/core/src/_simd
 -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'
 extra options: '-march=native'
 CCompilerOpt.dist_test[581] : CCompilerOpt._dist_test_spawn[716] : Command
 (/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/compwrap/cc/opt/local/bin/gcc-mp-7 -fno-strict-
 aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
 -pipe -Os -arch ppc -isysroot/ -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 -Inumpy/core/src/_simd
 -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
 /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.21.4/numpy/distutils/checks/test_flags.c -o
 /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/.tmp/tmpug5tjgld/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.21.4/numpy/distutils/checks/test_flags.o
 -MMD -MF
 /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/.tmp/tmpug5tjgld/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.21.4/numpy/distutils/checks/test_flags.o.d
 -march=native) failed with exit status 1 output ->
 gcc-mp-7: error: unrecognized command line option '-march=native'; did you
 mean '-mcpu=native'?

 CCompilerOpt.cc_test_flags[1017] : testing failed
 CCompilerOpt.cc_test_flags[1013] : testing flags (-O3)
 C compiler:
 /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/compwrap/cc/opt/local/bin/gcc-mp-7 -fno-strict-
 aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
 -pipe -Os -arch ppc -isysroot/

 compile options: '-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 -Inumpy/core/src/_simd
 -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'
 extra options: '-O3'
 CCompilerOpt.cc_test_flags[1013] : testing flags (-Werror)
 C compiler:
 /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/compwrap/cc/opt/local/bin/gcc-mp-7 -fno-strict-
 aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
 -pipe -Os -arch ppc -isysroot/

 compile options: '-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 -Inumpy/core/src/_simd
 -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'
 extra options: '-Werror'
 CCompilerOpt.__init__[1701] : check requested baseline
 CCompilerOpt.__init__[1710] : check requested dispatch-able features
 CCompilerOpt.__init__[1726] : initialize targets groups
 CCompilerOpt.__init__[1728] : parse target group simd_test
 CCompilerOpt._parse_target_tokens[1939] : skip targets (FMA4 XOP SSE42
 VSX3 VSX2 SSE2 VSX NEON AVX512F AVX512_SKX (AVX2 FMA3) ASIMD) not part of
 baseline or dispatch-able features
 CCompilerOpt.generate_dispatch_header[2272] : generate CPU dispatch
 header:
 (build/src.macosx-10.4-ppc-3.8/numpy/distutils/include/npy_cpu_dispatch_config.h)
 CCompilerOpt.generate_dispatch_header[2281] : dispatch header dir
 build/src.macosx-10.4-ppc-3.8/numpy/distutils/include does not exist,
 creating it
 building 'npymath' library
 compiling C sources
 C compiler:
 /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/compwrap/cc/opt/local/bin/gcc-mp-7 -fno-strict-
 aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
 -pipe -Os -arch ppc -isysroot/

 creating build/temp.macosx-10.4-ppc-3.8
 creating build/temp.macosx-10.4-ppc-3.8/numpy
 creating build/temp.macosx-10.4-ppc-3.8/numpy/core
 creating build/temp.macosx-10.4-ppc-3.8/numpy/core/src
 creating build/temp.macosx-10.4-ppc-3.8/numpy/core/src/npymath
 creating build/temp.macosx-10.4-ppc-3.8/build
 creating build/temp.macosx-10.4-ppc-3.8/build/src.macosx-10.4-ppc-3.8
 creating
 build/temp.macosx-10.4-ppc-3.8/build/src.macosx-10.4-ppc-3.8/numpy
 creating
 build/temp.macosx-10.4-ppc-3.8/build/src.macosx-10.4-ppc-3.8/numpy/core
 creating
 build/temp.macosx-10.4-ppc-3.8/build/src.macosx-10.4-ppc-3.8/numpy/core/src
 creating
 build/temp.macosx-10.4-ppc-3.8/build/src.macosx-10.4-ppc-3.8/numpy/core/src/npymath
 compile options: '-Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/src/npymath
 -Inumpy/core/include
 -Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/include/numpy
 -Ibuild/src.macosx-10.4-ppc-3.8/numpy/distutils/include
 -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 -Inumpy/core/src/_simd
 -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'
 gcc-mp-7: numpy/core/src/npymath/npy_math.c
 In file included from numpy/core/src/common/npy_cpu_features.h:5:0,
                  from numpy/core/src/common/npy_config.h:5,
                  from numpy/core/src/npymath/npy_math_private.h:24,
                  from numpy/core/src/npymath/npy_math_internal.h.src:56,
                  from numpy/core/src/npymath/npy_math.c:9:
 numpy/core/include/numpy/numpyconfig.h:33:10: error: #error "unknown
 architecture"
          #error "unknown architecture"
           ^~~~~
 Running from numpy source directory.
 Warning: attempted relative import with no known parent package
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/distutils/dist.py:274:
 UserWarning: Unknown distribution option: 'define_macros'
   warnings.warn(msg)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/setuptools/command/install.py:34:
 SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build
 and pip and other standards-based tools.
   warnings.warn(

 ########### CLIB COMPILER OPTIMIZATION ###########
 Platform      :
   Architecture: unsupported
   Compiler    : gcc

 CPU baseline  :
   Requested   : optimization disabled
   Enabled     : none
   Flags       : none
   Extra checks: none
   Requested   : optimization disabled

 CPU dispatch  :
   Enabled     : none
   Generated   : none
 CCompilerOpt.cache_flush[809] : write cache to path ->
 /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.21.4/build/temp.macosx-10.4-ppc-3.8/ccompiler_opt_cache_clib.py
 error: Command
 "/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/compwrap/cc/opt/local/bin/gcc-mp-7 -fno-strict-
 aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
 -pipe -Os -arch ppc -isysroot/
 -Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/src/npymath
 -Inumpy/core/include
 -Ibuild/src.macosx-10.4-ppc-3.8/numpy/core/include/numpy
 -Ibuild/src.macosx-10.4-ppc-3.8/numpy/distutils/include
 -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 -Inumpy/core/src/_simd
 -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
 numpy/core/src/npymath/npy_math.c -o
 build/temp.macosx-10.4-ppc-3.8/numpy/core/src/npymath/npy_math.o -MMD -MF
 build/temp.macosx-10.4-ppc-3.8/numpy/core/src/npymath/npy_math.o.d" 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.21.4" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
 setup.py --no-user-cfg build -j1
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64019>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list