[MacPorts] #67284: clang-11-bootstrap @11.1.0_4: *error: arch takes no arguments

MacPorts noreply at macports.org
Sat Apr 22 04:03:14 UTC 2023


#67284: clang-11-bootstrap @11.1.0_4: *error: arch takes no arguments
------------------------+--------------------------------
 Reporter:  Cebtenzzre  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  clang-11-bootstrap
------------------------+--------------------------------
 The clang-11-bootstrap port creates a gcc wrapper that tries to use the
 'arch' command with the '-arch' argument. But that doesn't seem to work on
 OS X Tiger 10.4:
 {{{
 $ arch -arch i386
 *error: arch takes no arguments
 }}}

 So the build doesn't get very far:
 {{{
 $ sudo port install clang-11-bootstrap
 --->  Computing dependencies for clang-11-bootstrap
 --->  Fetching archive for clang-11-bootstrap
 --->  Attempting to fetch
 clang-11-bootstrap-11.1.0_4+emulated_tls.darwin_8.i386.tbz2 from
 http://packages.macports.org/clang-11-bootstrap
 --->  Attempting to fetch
 clang-11-bootstrap-11.1.0_4+emulated_tls.darwin_8.i386.tbz2 from
 http://ywg.ca.packages.macports.org/mirror/macports/packages/clang-11-bootstrap
 --->  Attempting to fetch
 clang-11-bootstrap-11.1.0_4+emulated_tls.darwin_8.i386.tbz2 from
 http://mirror.fcix.net/macports/packages/clang-11-bootstrap
 --->  Fetching distfiles for clang-11-bootstrap
 --->  Verifying checksums for clang-11-bootstrap
 --->  Extracting clang-11-bootstrap
 --->  Applying patches to clang-11-bootstrap
 --->  Configuring clang-11-bootstrap
 Error: Failed to configure clang-11-bootstrap: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work/build/CMakeFiles/CMakeError.log
 Error: Failed to configure clang-11-bootstrap: configure failure: command
 execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_clang-11-bootstrap/clang-11-bootstrap/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port clang-11-bootstrap failed
 }}}

 CMakeError.log starts like this and repeats similarly until CMake gives
 up:
 {{{
 Compiling the C compiler identification source file "CMakeCCompilerId.c"
 failed.
 Compiler:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work/bins/gcc
 Build flags: -pipe;-DNDEBUG
 Id flags:

 The output was:
 255
 *error: arch takes no arguments
 }}}

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


More information about the macports-tickets mailing list