[MacPorts] #67380: py-cython on Rosetta uses clang for ppc with a warning: clang: warning: not using the clang compiler for the 'powerpc' architecture

MacPorts noreply at macports.org
Sat May 6 21:45:54 UTC 2023


#67380: py-cython on Rosetta uses clang for ppc with a warning: clang: warning: not
using the clang compiler for the 'powerpc' architecture
-------------------------------------------+-----------------------
 Reporter:  barracuda156                   |      Owner:  (none)
     Type:  defect                         |     Status:  new
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.1
 Keywords:  powerpc, snowleopard, rosetta  |       Port:  py-cython
-------------------------------------------+-----------------------
 It looks like this:
 {{{
 building 'Cython.Plex.Scanners' extension
 creating build/temp.macosx-10.6-ppc-cpython-311
 creating build/temp.macosx-10.6-ppc-cpython-311/opt
 creating build/temp.macosx-10.6-ppc-cpython-311/opt/local
 creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var
 creating build/temp.macosx-10.6-ppc-cpython-311/opt/local/var/macports
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-cython
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-cython/py311-cython
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-cython/py311-cython/work
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Plex
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Scanners.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Scanners.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Scanners.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Plex/Scanners.cpython-311-darwin.so
 building 'Cython.Plex.Actions' extension
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Actions.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Actions.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Plex/Actions.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Plex/Actions.cpython-311-darwin.so
 building 'Cython.Compiler.Scanning' extension
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Scanning.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Scanning.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Scanning.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Compiler/Scanning.cpython-311-darwin.so
 building 'Cython.Compiler.Visitor' extension
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Visitor.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Visitor.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/Visitor.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Compiler/Visitor.cpython-311-darwin.so
 building 'Cython.Compiler.FlowControl' extension
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FlowControl.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FlowControl.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FlowControl.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Compiler/FlowControl.cpython-311-darwin.so
 building 'Cython.Runtime.refnanny' extension
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Runtime
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Runtime/refnanny.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Runtime/refnanny.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Runtime/refnanny.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Runtime/refnanny.cpython-311-darwin.so
 building 'Cython.Compiler.FusedNode' extension
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FusedNode.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FusedNode.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Compiler/FusedNode.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Compiler/FusedNode.cpython-311-darwin.so
 building 'Cython.Tempita._tempita' extension
 creating build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Tempita
 /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Tempita/_tempita.c -o
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Tempita/_tempita.o
 clang: warning: not using the clang compiler for the 'powerpc'
 architecture
 /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -Wl,-read_only_relocs,suppress
 -Wl,-force_cpusubtype_ALL -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.6-ppc-
 cpython-311/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cython/py311-cython/work/Cython-0.29.34/Cython/Tempita/_tempita.o -o
 build/lib.macosx-10.6-ppc-
 cpython-311/Cython/Tempita/_tempita.cpython-311-darwin.so
 installing to build/bdist.macosx-10.6-ppc/wheel
 }}}

 The build completes successfully, but the warning suggests it is not a
 correct behavior.

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


More information about the macports-tickets mailing list