Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#66460 closed defect (duplicate)

Libgcc12 not working on MacOS Ventura (arm64).

Reported by: ftroisi Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.99
Keywords: ventura, arm64 Cc:
Port: libgcc12

Description (last modified by jmroot (Joshua Root))

Dear MacPort, I was trying to install the port gcc12 on my MacMini (with M1 CPU), running Ventura OS. I ran into the following error with the dependency port Libgcc12:

--->  Fetching archive for libgcc12
--->  Attempting to fetch libgcc12-12.2.0_2+stdlib_flag.darwin_22.arm64.tbz2 from https://cph.dk.packages.macports.org/libgcc12
--->  Attempting to fetch libgcc12-12.2.0_2+stdlib_flag.darwin_22.arm64.tbz2 from https://nue.de.packages.macports.org/libgcc12
--->  Attempting to fetch libgcc12-12.2.0_2+stdlib_flag.darwin_22.arm64.tbz2 from https://packages.macports.org/libgcc12
--->  Fetching distfiles for libgcc12
--->  Attempting to fetch gcc-12.2.0.tar.xz from ftp://ftp.gwdg.de/pub/linux/gcc/releases/gcc-12.2.0/
--->  Attempting to fetch gcc-12.2.0.tar.xz from https://cph.dk.distfiles.macports.org/gcc12
--->  Verifying checksums for libgcc12                                               
--->  Extracting libgcc12
--->  Applying patches to libgcc12
--->  Configuring libgcc12
Error: Failed to configure libgcc12: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/build/config.log
Error: Failed to configure libgcc12: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gcc12 failed

Attachments (1)

config.log (24.7 KB) - added by ftroisi 17 months ago.
Here I attach the config.log file generate by the failure of the installation of libgcc12

Download all attachments as: .zip

Change History (3)

comment:1 Changed 17 months ago by cjones051073 (Chris Jones)

Resolution: duplicate
Status: newclosed

You have not really posted enough information to be sure of the issue (you should attach the complete log) but I strongly suspect this is a duplicate of https://trac.macports.org/ticket/66457

Changed 17 months ago by ftroisi

Attachment: config.log added

Here I attach the config.log file generate by the failure of the installation of libgcc12

comment:2 Changed 17 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: ventura added; Libgcc12 Ventura removed
Milestone: MacPorts Future
In file included from conftest.c:10:
	/opt/local/include/mpc.h:287:35: error: unknown type name 'FILE'

So yes, it's a duplicate.

Note: See TracTickets for help on using tickets.