Opened 2 years ago

Closed 2 years ago

#64320 closed defect (invalid)

libgcc-devel problem

Reported by: giovannicantele Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mascguy (Christopher Nielsen)
Port: libgcc-devel

Description

while trying

sudo port install texlive-basic texlive-bin-extra texlive-publishers

macports requires to rebuild gimp2. In the attempt of doing it, it exits with error as follows:

Error: Can't install libgcc-devel because conflicting ports are active: libgcc
Error: Problem while installing libgcc-devel
Error: rev-upgrade failed: Error rebuilding gimp2
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

How can I proceed?

More information: macOS Monterey 12.0.1 M1 chip

Thanks for cooperation.

Change History (4)

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 2 years ago by reneeotten (Renee Otten)

Cc: giovanni.cantele@… removed
Priority: HighNormal

comment:3 Changed 2 years ago by giovannicantele

I'm sorry for bothering you, but I finally decided to fully remove MacPorts and reinstall it from scratch, together with "port installed requested" ports. Everything seems to work now. It has been probably the effect of an outdated version, that I've been keeping since months, because the latest upgrade on M1 completely broke Macports on M1 chip, and so I decided to keep the first working configuration I had reached.

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

If you had wanted to use libgcc-devel (and on Apple Silicon you have little choice, since all stable released versions of gcc do not work on Apple Silicon), then you must deactivate the conflicting libgcc port first.

sudo port -f deactivate libgcc

Once a stable released version of gcc supports Apple Silicon (hopefully that will be gcc12) you would switch back from libgcc-devel to libgcc.

Note: See TracTickets for help on using tickets.