Opened 4 years ago

Last modified 7 months ago

#61883 new defect

Unable to install gcc6 in macOS Big Sur 11.1 — at Version 3

Reported by: YuncongMa (Yuncong Ma) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: libgcc7

Description (last modified by kencu (Ken))

Hi! I successfully installed MacPorts 2.6.4 in my Mac Pro 2019 with macOS Big Sur 11.1. I got errors when I tried "sudo port install gcc6". The error messages are as follows:

--->  Fetching archive for libgcc7
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch libgcc7-7.5.0_0.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc7
--->  Attempting to fetch libgcc7-7.5.0_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/libgcc7
--->  Attempting to fetch libgcc7-7.5.0_0.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/libgcc7
--->  Building libgcc7
Error: Failed to build libgcc7: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc7/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gcc6 failed

Change History (3)

comment:1 Changed 4 years ago by kencu (Ken)

Welcome!

Regarding your connection issue, try opening this URL in a browser and see what happens <https://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc7/>

If that works fine, try downloading a file from that url with curl and see what what happens

curl -O https://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc7/libgcc7-7.5.0_0.darwin_19.x86_64.tbz2

The full details on how to debug this are here wiki:MisbehavingServers.

FYI -- gcc7/libgcc7 is quite old, and may not work / be able to be made to work on BigSur.

The current gcc flavour for you would be gcc10 -- will that work for you?

sudo port -v install gcc10
Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 4 years ago by kencu (Ken)

Keywords: gcc6 macOS big sur 11.1 removed
Port: libgcc7 added

comment:3 Changed 4 years ago by kencu (Ken)

Description: modified (diff)
Note: See TracTickets for help on using tickets.