Opened 5 years ago

Closed 5 years ago

#58746 closed defect (invalid)

(libgcc9@10.7) failed to activate libgcc9

Reported by: mrkapqa Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: cjones051073 (Chris Jones)
Port: libgcc9

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

Hello ,

i tried to

sudo port upgrade outdated on my Lion MP1.1

and if fails pretty soon here

sudo port upgrade outdated
--->  Computing dependencies for libgcc
The following dependencies will be installed:  libgcc9
Continue? [Y/n]: 
--->  Activating libgcc9 @9.1.0_2
Error: Failed to activate libgcc9

afterwards i would

sudo port deactivate libgcc

and re-run the above

sudo port upgrade outdated

but the error remains.

Attachments (1)

libgcc9.log (64.8 KB) - added by mrkapqa 5 years ago.

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by mrkapqa

Attachment: libgcc9.log added

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cjones051073 added
Description: modified (diff)
Keywords: libgcc9 libgcc removed
Port: libgcc9 added

Hmm, well the log says:

:error:activate Failed to activate libgcc9: Image error: /opt/local/include/gcc/c++/algorithm is being used by the active libgcc port.  Please deactivate this port first, or use 'port -f activate libgcc9' to force the activation.

I don't know why libgcc9 and libgcc are both trying to provide the same files. But I haven't been paying attention to what's been going on with the gcc ports of late. I'll Cc Chris who made the last commits there.

comment:2 Changed 5 years ago by cjones051073 (Chris Jones)

Looks like the OP has not updated for some time. libgcc has not provided that file in a long long time...

Try

sudo port -f uninstall libgcc
sudo port install libgcc

comment:3 Changed 5 years ago by cjones051073 (Chris Jones)

Please also run

sudo port sync

before, just to be sure...

comment:4 Changed 5 years ago by mrkapqa

Thank you very much°! This has been solved.

comment:5 Changed 5 years ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: newclosed

glad to help.

comment:6 Changed 5 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: closedreopened

comment:7 Changed 5 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.