[MacPorts] #67179: libgcc11 does not build on Ventura 13.3 + Apple Silicon Macs

MacPorts noreply at macports.org
Mon Apr 3 00:27:22 UTC 2023


#67179: libgcc11 does not build on Ventura 13.3 + Apple Silicon Macs
-----------------------+---------------------
  Reporter:  moyang    |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:  ventura
      Port:  libgcc11  |
-----------------------+---------------------
Changes (by ryandesign):

 * keywords:  Ventura, arm64, m1, libgcc11, libgcc => ventura


Old description:

> {{{
> #!div style="font-size: 80%"
>   {{{#!python
> --->  Attempting to fetch
> libgcc11-11.3.0_5+stdlib_flag.darwin_22.arm64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc11
> --->  Fetching distfiles for libgcc11
> --->  Verifying checksums for libgcc11
> --->  Extracting libgcc11
> --->  Applying patches to libgcc11
> --->  Configuring libgcc11
> --->  Building libgcc11
> Error: Failed to build libgcc11: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there
> is a bug.
>   }}}
> }}}
>
> Logs are attached.

New description:

 {{{
 --->  Attempting to fetch
 libgcc11-11.3.0_5+stdlib_flag.darwin_22.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc11
 --->  Fetching distfiles for libgcc11
 --->  Verifying checksums for libgcc11
 --->  Extracting libgcc11
 --->  Applying patches to libgcc11
 --->  Configuring libgcc11
 --->  Building libgcc11
 Error: Failed to build libgcc11: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 Logs are attached.

--

Comment:

 The log says:
 {{{
 xgcc: warning: could not understand version '13.0'
 checking for arm64-apple-darwin22-gcc...
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/work/build/./gcc/
 -B/opt/local/arm64-apple-darwin22/bin/ -B/opt/local/arm64-apple-
 darwin22/lib/ -isystem /opt/local/arm64-apple-darwin22/include -isystem
 /opt/local/arm64-apple-darwin22/sys-include   -fno-checking
 checking whether the C compiler works... no
 }}}
 This version of gcc is too old to understand how to build for macOS 13.
 Please use a newer gcc port, such as gcc12 or gcc-devel.

-- 
Ticket URL: <https://trac.macports.org/ticket/67179#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list