[MacPorts] #50249: qt5-qtbase uses libstdc++ if C++11 support was not explicitly requested

MacPorts noreply at macports.org
Wed Jan 6 20:59:23 PST 2016


#50249: qt5-qtbase uses libstdc++ if C++11 support was not explicitly requested
--------------------------+------------------------
 Reporter:  ryandesign@…  |      Owner:  mcalhoun@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.99
 Keywords:                |       Port:  qt5-qtbase
--------------------------+------------------------
 qt5-qtbase is programmed to build software using libstdc++ if C++11
 support was not explicitly requested. For example, install the svn2git
 port on El Capitan and observe that it is linked with libstdc++ instead of
 libc++:

 {{{
 $ otool -L /opt/local/bin/svn-all-fast-export
 /opt/local/bin/svn-all-fast-export:
         /opt/local/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0,
 current version 1.0.0)
         /opt/local/lib/libsvn_repos-1.0.dylib (compatibility version
 1.0.0, current version 1.0.0)
         /opt/local/lib/libapr-1.0.dylib (compatibility version 6.0.0,
 current version 6.2.0)
         /opt/local/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0,
 current version 1.0.0)
         /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore
 (compatibility version 5.5.0, current version 5.5.1)
 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
 (compatibility version 1.0.0, current version 1.0.0)
         /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
 (compatibility version 1.0.0, current version 275.0.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 104.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1225.1.1)
 }}}

 This is weird and not the way other parts of MacPorts work. Ports built
 with Qt should respect the `configure.cxx_stdlib` variable like other
 ports do.

-- 
Ticket URL: <https://trac.macports.org/ticket/50249>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list