[MacPorts] #59434: qt53-qtbase @5.3.2_2: build fails against icu @65.1_0: error: expected '; ' at end of declaration list

MacPorts noreply at macports.org
Tue Oct 22 14:25:51 UTC 2019


#59434: qt53-qtbase @5.3.2_2: build fails against icu @65.1_0:  error: expected ';'
at end of declaration list
--------------------------+----------------------
  Reporter:  kencu        |      Owner:  kencu
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  qt53-qtbase  |
--------------------------+----------------------

Comment (by kencu):

 Oh, but much to my happy surprise, using the default `clang-9.0` instead
 of `clang-5.0`, the ICU auto-detection works, and the build proceeds:
 {{{
 ICU auto-detection... ()
 /opt/local/bin/clang++-mp-9.0 -c -pipe -stdlib=libc++ -arch x86_64 -Os
 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wall
 -W -fPIE -DNS_BUILD_32_LIKE_64 -I../../../mkspecs/macx-clang -I. -o icu.o
 icu.cpp
 /opt/local/bin/clang++-mp-9.0 -headerpad_max_install_names -stdlib=libc++
 -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -mmacosx-
 version-min=10.6 -o icu icu.o   -licui18n -licuuc -licudata
 ICU enabled.
 }}}

 This would be due to the fact that ICU now requires `c++11`, and
 `clang-9.0` defaults to (greater than) `c++11`, whereas `clang-5.0` does
 not, and there is no `-std=c++11` presently in the `qt53-qtbase` build.

 Perhaps with luck, then, clang-9.0 might be able to complete this build of
 `qt53-qtbase` and we'll be in business.

-- 
Ticket URL: <https://trac.macports.org/ticket/59434#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list