Opened 2 years ago
Last modified 2 years ago
#65424 closed defect
Failed to build libgcc10: command execution failed on M1 Mac Monterey 12.4 — at Initial Version
Reported by: | nasim147 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | monterey | Cc: | |
Port: | libgcc10 |
Description
Hello, I need to install gcc6 on my Mac and the system tries to install its dependencies as well:
sudo port install gcc6 ---> Computing dependencies for gcc6 The following dependencies will be installed: libgcc10 libgcc6 libgcc7 libgcc8 libgcc9 Continue? [Y/n]: Y ---> Fetching archive for libgcc10 ---> Attempting to fetch libgcc10-10.2.0_5.darwin_21.arm64.tbz2 from https://packages.macports.org/libgcc10 ---> Attempting to fetch libgcc10-10.2.0_5.darwin_21.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/libgcc10 ---> Attempting to fetch libgcc10-10.2.0_5.darwin_21.arm64.tbz2 from https://mse.uk.packages.macports.org/libgcc10 ---> Building libgcc10 Error: Failed to build libgcc10: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10/libgcc10/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port gcc6 failed
I also linked the Homebrew gcc to the system's gcc: ln -s gcc-11 gcc
gcc --version gcc (Homebrew GCC 11.3.0_2) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and:
sudo port -n upgrade --force libxml2
but still I get
Error: Failed to build libgcc10: command execution failed
after trying to install gcc6 that is needed for the software I am planning to install.
I heard gcc6 is not going to work on M1 Mac but I think the software needs to work with that. Is there any solution to this problem?
Thanks
Change History (4)
Changed 2 years ago by nasim147
Attachment: | main_libgcc6.log added |
---|
Changed 2 years ago by nasim147
Attachment: | main_gcc6.log added |
---|
Changed 2 years ago by nasim147
Attachment: | main_gcc47.log added |
---|
Changed 2 years ago by nasim147
Attachment: | main_gcc48.log added |
---|
Note: See
TracTickets for help on using
tickets.