[MacPorts] #66832: libgcc12 build fails on Ventura with Xcode 14.2 due to new undeclared gawk dependency

MacPorts noreply at macports.org
Sat Feb 4 19:40:53 UTC 2023


#66832: libgcc12 build fails on Ventura with Xcode 14.2 due to new undeclared gawk
dependency
---------------------------+---------------------
  Reporter:  nocturne-mit  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  ventura
      Port:  libgcc12      |
---------------------------+---------------------
Description changed by nocturne-mit:

Old description:

> I'm migrating to Ventura on an Apple Silicon mac.
>
> After following the standard MacPorts migration doc, libgcc12 fails to
> build.
> At the time, there is no gawk available on the system, but the gcc12
> Makefile appears to think it should use it anyway, resulting in a gawk
> invocation failing to create tmp-optionlist, and the build fails.
>
> If I "port clean libgcc12" and then "port install gawk", the libgcc build
> succeeds.

New description:

 I'm migrating to Ventura on an Apple Silicon mac.

 After following the standard MacPorts migration doc, libgcc12 fails to
 build.
 At the time, there is no gawk available on the system, but the gcc12
 Makefile appears to think it should use it anyway, resulting in a gawk
 invocation failing to create tmp-optionlist, and the build fails.

 If I "port clean libgcc12" and then "port install gawk", the libgcc build
 succeeds.

 {{{
 :info:build checking for gawk... gawk
 }}}

 and later:

 {{{
 :info:build     gawk -f
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc
 /opt-gather.awk
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/ada
 /gcc-interface/lang.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/d/lang.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/fortran/lang.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/go/lang.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/lto/lang.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/c-family/c.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/common.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/params.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/analyzer/analyzer.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/config/aarch64/aarch64.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/config/rpath.opt
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/gcc/config/darwin.opt
 > tmp-optionlist
 :info:build /bin/sh: gawk: command not found
 }}}

--

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


More information about the macports-tickets mailing list