Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

main.log (3.8 KB) - added by rouson@… 12 years ago.
Log file from failed gcc48 installation.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by rouson@…

Attachment: main.log added

Log file from failed gcc48 installation.

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: mww openmaintainer removed
Description: modified (diff)
Port: gcc48 removed
Resolution: invalid
Status: newclosed

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

comment:2 Changed 12 years ago by rouson@…

Cc: rouson@… added

Cc Me!

comment:3 Changed 12 years ago by bhadder@…

Cc: bhadder@… added

Cc Me!

Note: See TracTickets for help on using tickets.