[MacPorts] #51298: libgcc and libgcc-devel interfere
MacPorts
noreply at macports.org
Tue May 3 10:16:31 PDT 2016
#51298: libgcc and libgcc-devel interfere
-----------------------------------+-------------------
Reporter: dstrubbe@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: libgcc, libgcc-devel |
-----------------------------------+-------------------
Old description:
> There is some kind of problem with libgcc and libgcc-devel, such that
> they cannot activate and deactivate cleanly in the presence of the other.
> Possibly this is related to the warnings that the Portfile from the
> registry could not be executed.
>
> $ sudo port activate libgcc
> ---> Computing dependencies for libgcc
> Warning: Failed to execute portfile from registry for libgcc @5.2.0_0
> ---> Activating libgcc @5.2.0_0
> Error: port activate failed: Image error:
> /opt/local/lib/libgcc/libatomic.1.dylib is being used by the active
> libgcc-devel port. Please deactivate this port first, or use 'port -f
> activate libgcc' to force the activation.
> $ port installed libgcc
> The following ports are currently installed:
> libgcc @5.2.0_0
> $ sudo port -f deactivate libgcc-devel
> $ sudo port install libgc
> $ sudo port activate libgcc-devel @6-20160410_0
> ---> Computing dependencies for libgcc-devel
> Warning: Failed to execute portfile from registry for libgcc-devel
> @6-20160410_0
> ---> Activating libgcc-devel @6-20160410_0
> Error: port activate failed: Image error:
> /opt/local/lib/libgcc/libatomic.1.dylib is being used by the active
> libgcc port. Please deactivate this port first, or use 'port -f activate
> libgcc-devel' to force the activation.
> $ port installed libgcc
> libgcc @5.3.0_1 (active)
New description:
There is some kind of problem with libgcc and libgcc-devel, such that they
cannot activate and deactivate cleanly in the presence of the other.
Possibly this is related to the warnings that the Portfile from the
registry could not be executed.
{{{
$ sudo port activate libgcc
---> Computing dependencies for libgcc
Warning: Failed to execute portfile from registry for libgcc @5.2.0_0
---> Activating libgcc @5.2.0_0
Error: port activate failed: Image error:
/opt/local/lib/libgcc/libatomic.1.dylib is being used by the active
libgcc-devel port. Please deactivate this port first, or use 'port -f
activate libgcc' to force the activation.
$ port installed libgcc
The following ports are currently installed:
libgcc @5.2.0_0
$ sudo port -f deactivate libgcc-devel
$ sudo port install libgc
$ sudo port activate libgcc-devel @6-20160410_0
---> Computing dependencies for libgcc-devel
Warning: Failed to execute portfile from registry for libgcc-devel
@6-20160410_0
---> Activating libgcc-devel @6-20160410_0
Error: port activate failed: Image error:
/opt/local/lib/libgcc/libatomic.1.dylib is being used by the active libgcc
port. Please deactivate this port first, or use 'port -f activate libgcc-
devel' to force the activation.
$ port installed libgcc
libgcc @5.3.0_1 (active)
}}}
--
Comment (by dstrubbe@…):
For the record, this is with OSX 10.10.5.
--
Ticket URL: <https://trac.macports.org/ticket/51298#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list