[MacPorts] #35770: gcc ports should not include a C++ runtime
MacPorts
noreply at macports.org
Tue Sep 18 12:17:49 PDT 2012
#35770: gcc ports should not include a C++ runtime
--------------------------------------------------+------------------------
Reporter: jeremyhu@… | Owner: jeremyhu@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: fixed | Keywords: libstdc++
Port: gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 |
--------------------------------------------------+------------------------
Comment (by jonesc@…):
Sorry to come back to this otherwise finished thread.... but it looks like
there is an issue with libstdcxx versus libstdcxx-devel.
As I understand it, gcc47 and older require libstdcxx, whereas gcc48 needs
libstdcxx-devel. However, if libstdcxx-devel is installed, gcc47 and older
will happily use it ?
This though, doesn't seem to work with the current versions. I have gcc48
and libstdcxx-devel installed, but if I try and install gcc46 it still
tries to bring libstdcxx in, which fails.
{{{
macmini ~/Projects/MacPorts/portfiles > sudo port installed | grep
libstdcxx
libstdcxx-devel @4.8-20120909_101 (active)
macmini ~/Projects/MacPorts/portfiles > sudo port installed | grep gcc
gcc48 @4.8-20120909_4 (active)
gcc_select @0.1_7 (active)
macmini ~/Projects/MacPorts/portfiles > sudo port install gcc47
---> Computing dependencies for gcc47
---> Dependencies to be installed: libstdcxx
---> Fetching archive for libstdcxx
---> Attempting to fetch libstdcxx-4.7.1_101.darwin_12.x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/libstdcxx
---> Attempting to fetch libstdcxx-4.7.1_101.darwin_12.x86_64.tbz2 from
http://lil.fr.packages.macports.org/libstdcxx
---> Attempting to fetch libstdcxx-4.7.1_101.darwin_12.x86_64.tbz2 from
http://packages.macports.org/libstdcxx
---> Fetching distfiles for libstdcxx
---> Attempting to fetch gcc-4.7.1.tar.bz2 from
http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/gcc47
---> Attempting to fetch ecj-4.5.jar from
http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/gcc47
---> Verifying checksum(s) for libstdcxx
---> Extracting libstdcxx
---> Applying patches to libstdcxx
---> Configuring libstdcxx
---> Building libstdcxx
---> Staging libstdcxx into destroot
---> Installing libstdcxx @4.7.1_101
---> Activating libstdcxx @4.7.1_101
Error: org.macports.activate for port libstdcxx returned: Image error:
/opt/local/lib/.libstdcxx is being used by the active libstdcxx-devel
port. Please deactivate this port first, or use 'port -f activate
libstdcxx' to force the activation.
Error: Failed to install libstdcxx
Please see the log file for port libstdcxx for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/libstdcxx/main.log
Error: The following dependencies were not installed: libstdcxx
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port gcc47 failed
}}}
Chris
--
Ticket URL: <https://trac.macports.org/ticket/35770#comment:66>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list