[MacPorts] #68924: py311-cython uses clang for ppc on 10.6.8 Rosetta
MacPorts
noreply at macports.org
Sun Dec 17 08:19:14 UTC 2023
#68924: py311-cython uses clang for ppc on 10.6.8 Rosetta
----------------------------------+--------------------------
Reporter: barracuda156 | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: rosetta, snowleopard | Port: py311-cython
----------------------------------+--------------------------
{{{
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.36
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.36/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.36/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.36/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.36/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.36/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.36/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.36/Cython/Plex/Actions.o
clang: warning: not using the clang compiler for the 'powerpc'
architecture
}}}
Even secifying `configure.compiler=macports-gcc-12` on command line does
not help.
Relevant log part:
{{{
version:1
:debug:main Starting logging for py311-cython @0.29.36_0
:debug:sysinfo Mac OS X 10.6.8 (darwin/10.8.0) arch powerpc
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode 3.2.6, CLT 1.0.0.9000000000.1.1248867338
:debug:sysinfo SDK 10.6
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.6
:msg:main ---> Computing dependencies for py311-cython:info:main
.:debug:main Checking for conflicts against py311-cython
:debug:main Searching for dependency: py311-cython-devel
:debug:main Didn't find receipt, going to depspec regex for: py311-cython-
devel
:debug:main Searching for dependency: py311-build
:debug:main Found Dependency: receipt exists for py311-build
:debug:main Searching for dependency: py311-installer
:debug:main Found Dependency: receipt exists for py311-installer
:debug:main Searching for dependency: py311-setuptools
:debug:main Found Dependency: receipt exists for py311-setuptools
:debug:main Searching for dependency: py311-wheel
:debug:main Found Dependency: receipt exists for py311-wheel
:debug:main Searching for dependency: python311
:debug:main Found Dependency: receipt exists for python311
:debug:main Searching for dependency: cython_select
:debug:main Found Dependency: receipt exists for cython_select
:debug:main Executing org.macports.main (py311-cython)
:debug:main dropping privileges: euid changed to 502, egid changed to 505.
:debug:archivefetch archivefetch phase started at Sun Dec 17 16:14:39 CST
2023
:debug:archivefetch Executing org.macports.archivefetch (py311-cython)
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:fetch fetch phase started at Sun Dec 17 16:14:39 CST 2023
:notice:fetch ---> Fetching distfiles for py311-cython
:debug:fetch Executing org.macports.fetch (py311-cython)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sun Dec 17 16:14:39 CST 2023
:notice:checksum ---> Verifying checksums for py311-cython
:debug:checksum Executing org.macports.checksum (py311-cython)
:info:checksum ---> Checksumming Cython-0.29.36.tar.gz
:debug:checksum Calculated (rmd160) is
746062161d57d0bc93bc8988ed5b36d038a64352
:debug:checksum Correct (rmd160) checksum for Cython-0.29.36.tar.gz
:debug:checksum Calculated (sha256) is
41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f
:debug:checksum Correct (sha256) checksum for Cython-0.29.36.tar.gz
:debug:checksum Calculated (size) is 2097760
:debug:checksum Correct (size) checksum for Cython-0.29.36.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as
root.
:debug:extract extract phase started at Sun Dec 17 16:14:40 CST 2023
:notice:extract ---> Extracting py311-cython
:debug:extract Executing org.macports.extract (py311-cython)
:info:extract ---> Extracting Cython-0.29.36.tar.gz
:debug:extract setting option extract.args to
'/opt/local/var/macports/distfiles/py-cython/Cython-0.29.36.tar.gz'
:debug:extract Environment:
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
cython/py311-cython/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract DEVELOPER_DIR='/Developer'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.6'
:info:extract Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work"
&& /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/py-
cython/Cython-0.29.36.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:debug:extract system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work"
&& /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/py-
cython/Cython-0.29.36.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work to
macports
:debug:extract euid/egid changed to: 502/505
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Privilege de-escalation not attempted as not running as
root.
:debug:patch patch phase started at Sun Dec 17 16:14:41 CST 2023
:debug:patch Executing org.macports.patch (py311-cython)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sun Dec 17 16:14:41 CST 2023
:notice:configure ---> Configuring py311-cython
:debug:configure Preferred compilers: gcc-4.2 llvm-gcc-4.2 clang gcc-4.0
macports-gcc-13 macports-gcc-12 macports-gcc-11 macports-gcc-10 macports-
gcc-9 macports-gcc-8 macports-gcc-7 macports-gcc-6 macports-gcc-5
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (py311-cython)
:debug:configure Executing portconfigure::configure_finish
:debug:configure Privilege de-escalation not attempted as not running as
root.
:debug:build build phase started at Sun Dec 17 16:14:41 CST 2023
:notice:build ---> Building py311-cython
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (py311-cython)
:debug:build Environment:
:debug:build CC='/usr/bin/clang'
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
cython/py311-cython/work/.CC_PRINT_OPTIONS'
:debug:build CFLAGS='-arch ppc -isysroot/'
:debug:build CPATH='/opt/local/include'
:debug:build CXX='/usr/bin/llvm-g++-4.2'
:debug:build CXXFLAGS='-arch ppc -isysroot/'
:debug:build DEVELOPER_DIR='/Developer'
:debug:build F90FLAGS='-m32'
:debug:build FCFLAGS='-m32'
:debug:build FFLAGS='-m32'
:debug:build LDFLAGS='-arch ppc'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build OBJC='/usr/bin/clang'
:debug:build OBJCFLAGS='-arch ppc -isysroot/'
:info:build Executing: cd
"/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.36" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work
:debug:build system: cd
"/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.36" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-cython/py311-cython/work
:info:build * Getting build dependencies for wheel...
}}}
The build nevertheless completes without errors.
--
Ticket URL: <https://trac.macports.org/ticket/68924>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list