Opened 18 months ago

Last modified 17 months ago

#66331 new defect

libgcc9: Error: gcc9 9.5.0 is not supported on Darwin 17 i386

Reported by: WolfgangFahl (Wolfgang Fahl) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: highsierra Cc: cooljeanius (Eric Gallager)
Port: libgcc9

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sudo port upgrade outdated

ends with the following show stopper on my Mac Os High Sierra

--->  Computing dependencies for libgcc9
--->  Fetching archive for libgcc9
--->  Attempting to fetch libgcc9-9.5.0_2.darwin_17.x86_64.tbz2 from http://packages.macports.org/libgcc9
--->  Attempting to fetch libgcc9-9.5.0_2.darwin_17.x86_64.tbz2 from http://fra.de.packages.macports.org/libgcc9
--->  Attempting to fetch libgcc9-9.5.0_2.darwin_17.x86_64.tbz2 from http://ema.uk.packages.macports.org/libgcc9
--->  Fetching distfiles for libgcc9
Error: gcc9 9.5.0 is not supported on Darwin 17 i386
Error: Failed to fetch libgcc9: incompatible macOS version
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.

I'd love to know how i can at least partly keep my system up-to date e.g. forcing to ignore/skip errors like this or find out which applications i might need to deinstall or install old versions from a dmg or the like.

Change History (9)

comment:1 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: highsierra added
Port: libgcc9 added
Summary: Handling of is not supported on Darwin 17 i386 within upgrade outdatedlibgcc9: Error: gcc9 9.5.0 is not supported on Darwin 17 i386

(lib)gcc9 is not supported on macOS High Sierra anymore. Use a newer version of (lib)gcc.

Since the problem happened when upgrading ports, figure out which of your installed ports depends on (lib)gcc9 and see if the port offers a variant to use a newer (lib)gcc instead.

comment:3 Changed 18 months ago by WolfgangFahl (Wolfgang Fahl)

port dependents libgcc9
OpenBLAS depends on libgcc9
gcc9 depends on libgcc9
libgcc depends on libgcc9
libgcc8 depends on libgcc9
port dependents OpenBLAS
py27-numpy depends on OpenBLAS
py310-numpy depends on OpenBLAS
py37-numpy depends on OpenBLAS

since numpy is important for me i'd need a HighSierra compatible version of it.

Last edited 17 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 18 months ago by WolfgangFahl (Wolfgang Fahl)

port info OpenBLAS
OpenBLAS @0.3.21_1 (math, science)
Sub-ports:            OpenBLAS-devel
Variants:             g95, gcc10, gcc11, [+]gcc12, gccdevel, [+]lapack, native,
                      universal

Description:          OpenBLAS is an optimized BLAS library based on GotoBLAS2
Homepage:             https://github.com/xianyi/OpenBLAS

Build Dependencies:   coreutils, gcc12
Library Dependencies: libgcc
Conflicts with:       OpenBLAS-devel
Platforms:            darwin
License:              BSD
Maintainers:          Email: nicos@macports.org, GitHub: NicosPavlov
                      Email: michaelld@macports.org, GitHub: michaelld
                      Policy: openmaintainer
Last edited 17 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 18 months ago by WolfgangFahl (Wolfgang Fahl)

Trying sudo port install OpenBLAS +gcc11

Last edited 17 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 18 months ago by WolfgangFahl (Wolfgang Fahl)

sudo port uninstall gcc9

Last edited 17 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 18 months ago by WolfgangFahl (Wolfgang Fahl)

It would be good if the upgrade outdated failure would already suggest the steps.

comment:8 Changed 17 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:9 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

What steps, specifically, do you think the message should suggest? The message comes from the libgcc9 port. The libgcc9 port cannot suggest that you install OpenBLAS with the +gcc11 variant because the libgcc9 port does not know for what reason it was being installed/upgraded.

Note: See TracTickets for help on using tickets.