#36168 closed defect (invalid)
gcc48 build fails on libstdcxx-devel installation
Reported by: | rouson@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | rouson@…, bhadder@… | |
Port: |
Description (last modified by mf2k (Frank Schima))
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.
Attachments (1)
Change History (4)
Changed 12 years ago by rouson@…
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Cc: | mww openmaintainer removed |
---|---|
Description: | modified (diff) |
Port: | gcc48 removed |
Resolution: | → invalid |
Status: | new → closed |
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
Note: See
TracTickets for help on using
tickets.
Log file from failed gcc48 installation.