[MacPorts] #50440: qt5-qtbase: libc++ under Lion

MacPorts noreply at macports.org
Mon Jan 25 14:43:20 PST 2016


#50440: qt5-qtbase: libc++ under Lion
--------------------------+------------------------
 Reporter:  ctreleaven@…  |      Owner:  mcalhoun@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.4
 Keywords:                |       Port:  qt5-qtbase
--------------------------+------------------------
 I'm trying to install qt5-qtwebkit on Lion using XCode 4.6.3.

 First time around, I got all the pre-requisites installed but qt5-qtwebkit
 errored out insisting that libc++ was required.  It pointed to and I
 followed the direction to build EVERYTHING with libc++:

 https://trac.macports.org/wiki/LibcxxOnOlderSystems

 This build errored out at qt5-qtbase with numerous errors like:

 {{{
 :info:build In file included from ../../corelib/tools/qstring_mac.mm:34:
 :info:build ../../corelib/tools/qstring.h:739:55: error: no type named
 'u16string' in namespace 'std'
 :info:build     static inline QString fromStdU16String(const
 std::u16string &s);
 :info:build                                                  ~~~~~^
 }}}

 I believe this means that there is a problem with the c++ library?

 Note that just prior to the failure, the Configuration Report says:

 {{{
 :info:configure Build options:
 :info:configure   Configuration .......... accessibility audio-backend avx
 avx2 c++11 compile_examples concurrent corewlan cups dbus dbus-linked
 fontconfig full-config getaddrinfo getifaddrs glib iconv icu ipv6ifname
 large-config largefile medium-config minimal-config nis opengl openssl-
 linked png qpa qpa qt_framework reduce_exports release shared small-config
 sse2 sse3 sse4_1 sse4_2 ssse3 system-freetype system-harfbuzz system-jpeg
 system-png system-zlib xrender
 :info:configure   Build parts ............  libs tools
 :info:configure   Mode ................... release
 :info:configure   Using sanitizer(s)...... none
 :info:configure   Using C++11 ............ yes
 ...
 }}}

 I found a similar-looking report on the web but don't see how to implement
 the solution (second last posting):

 https://forum.qt.io/topic/56064/solved-problem-with-qt-5-5/11

 Will attach main log.

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


More information about the macports-tickets mailing list