[MacPorts] #63971: Installation issue with gcc

MacPorts noreply at macports.org
Tue Nov 16 18:51:59 UTC 2021


#63971: Installation issue with gcc
--------------------------------------+--------------------
 Reporter:  40015116                  |      Owner:  (none)
     Type:  defect                    |     Status:  new
 Priority:  Normal                    |  Milestone:
Component:  ports                     |    Version:  2.7.1
 Keywords:  gcc installation failure  |       Port:  gcc7
--------------------------------------+--------------------
 Hi there,
 I am trying to install gcc7 on a macOS Monterey (version 12.0.1) but the
 installation process fails as follows:
 sudo port install gcc7
 Password:
 --->  Computing dependencies for gcc7
 The following dependencies will be installed:
  libgcc7
  libgcc8
  libgcc9
 Continue? [Y/n]: Y
 --->  Fetching archive for libgcc9
 --->  Attempting to fetch libgcc9-9.4.0_0.darwin_21.x86_64.tbz2 from
 https://packages.macports.org/libgcc9
 --->  Attempting to fetch libgcc9-9.4.0_0.darwin_21.x86_64.tbz2 from
 https://pek.cn.packages.macports.org/macports/packages/libgcc9
 --->  Attempting to fetch libgcc9-9.4.0_0.darwin_21.x86_64.tbz2 from
 https://kmq.jp.packages.macports.org/libgcc9
 --->  Fetching distfiles for libgcc9
 --->  Verifying checksums for libgcc9
 --->  Extracting libgcc9
 --->  Applying patches to libgcc9
 --->  Configuring libgcc9
 Warning: Applying '--without-build-config' workaround to Xcode 13.1 / CLT
 13.1.0.0.1.1633545042
 Warning: If versions > 12.5 please check if it is still required
 --->  Building libgcc9
 Error: Failed to build libgcc9: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/libgcc9/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port gcc7 failed

 Before executing the installation I did a sudo port selfupdate and a sudo
 port upgrade outdated and they both completed successfully.

 I am also attaching the main.log for further details.

 The macports version I am using is 2.7.1.

 Any help to get this resolved would be very much appreciated.

 Thanks

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


More information about the macports-tickets mailing list