[MacPorts] #36168: gcc48 build fails on libstdcxx-devel installation
MacPorts
noreply at macports.org
Sun Sep 16 13:56:21 PDT 2012
#36168: gcc48 build fails on libstdcxx-devel installation
-----------------------+--------------------------------
Reporter: rouson@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: invalid | Keywords:
Port: |
-----------------------+--------------------------------
Changes (by macsforever2000@…):
* cc: mww, openmaintainer (removed)
* status: new => closed
* resolution: => invalid
* port: gcc48 =>
Old description:
> The output is as follows:
> $ sudo port upgrade outdated
> Password:
> ---> Computing dependencies for gcc48
> ---> Dependencies to be installed: libstdcxx-devel
> ---> Activating libstdcxx-devel @4.8-20120909_101
> Error: org.macports.activate for port libstdcxx-devel returned: Image
> error: /opt/local/lib/.libstdcxx is being used by the active libstdcxx
> port. Please deactivate this port first, or use 'port -f activate
> libstdcxx-devel' to force the activation.
> Error: Failed to install libstdcxx-devel
> Please see the log file for port libstdcxx-devel for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48
> /libstdcxx-devel/main.log
> Error: The following dependencies were not installed: libstdcxx-devel
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
>
> I'm attaching the cited main.log file.
New description:
The output is as follows:
{{{
$ sudo port upgrade outdated
Password:
---> Computing dependencies for gcc48
---> Dependencies to be installed: libstdcxx-devel
---> Activating libstdcxx-devel @4.8-20120909_101
Error: org.macports.activate for port libstdcxx-devel returned: Image
error: /opt/local/lib/.libstdcxx is being used by the active libstdcxx
port. Please deactivate this port first, or use 'port -f activate
libstdcxx-devel' to force the activation.
Error: Failed to install libstdcxx-devel
Please see the log file for port libstdcxx-devel for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48
/libstdcxx-devel/main.log
Error: The following dependencies were not installed: libstdcxx-devel
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
I'm attaching the cited main.log file.
--
Comment:
In the future, please use WikiFormatting. Trac requires complete email
addresses and Cc'ing "openmaintainer" is not useful since it does not go
to anyone.
There is nothing to fix here. The libstdcxx and libstdcxx-devel ports
conflict, so do what the output says and just use libstdcxx-devel.
{{{
Image error: /opt/local/lib/.libstdcxx is being used by the active
libstdcxx port.
Please deactivate this port first, or use 'port -f activate libstdcxx-
devel' to force the activation.
}}}
The wording isn't so good though. So do this:
{{{
sudo port -f deactivate libstdcxx
sudo port activate libstdcxx-devel
}}}
--
Ticket URL: <https://trac.macports.org/ticket/36168#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list