Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84925

moc_qfilesystemmodel.cpp build failed for WebAssembly on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None
    • Platform/s:
      WebAssembly

      Description

      https://codereview.qt-project.org/c/qt/qt5/+/304063 Update submodules on 'dev' in qt/qt5

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1591893317

      https://testresults.qt.io/coin/api/results/qt/qtbase/bf381ad746b5186c0cc26b2de744a191443d4f3a/MacOSMacOS_10_14x86_64MacOSWebAssemblyx86_64Clangqtci-macos-10.14-x86_64-e0be02DisableTests_DoNotCompileTestsDuringBuild_UseLegacyInstructions/39a53fc647f571a015ddc9fb8e628f0fd1b3fdc0/build_1591893393/log.txt.gz

      agent:2020/06/11 16:51:57 build.go:253: In file included from dialogs/qfilesystemmodel.cpp:2174:
      agent:2020/06/11 16:51:57 build.go:253: .moc/moc_qfilesystemmodel.cpp:138:137: error: no member named '__1' in namespace 'std'; did you mean '__2'?
      agent:2020/06/11 16:51:57 build.go:253:         case 5: _t->d_func()->_q_fileSystemChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVector<std::__1::pair<QString,QFileInfo>>(*)>(_a[2]))); break;
      agent:2020/06/11 16:51:57 build.go:253:                                                                                                                                    ~~~~~^~~
      agent:2020/06/11 16:51:57 build.go:253:                                                                                                                                         __2
      agent:2020/06/11 16:51:57 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/future:381:1: note: '__2' declared here
      agent:2020/06/11 16:51:57 build.go:253: _LIBCPP_BEGIN_NAMESPACE_STD
      agent:2020/06/11 16:51:57 build.go:253: ^
      agent:2020/06/11 16:51:57 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:814:70: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
      agent:2020/06/11 16:51:57 build.go:253: #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std { inline namespace _LIBCPP_ABI_NAMESPACE {
      agent:2020/06/11 16:51:57 build.go:253:                                                                      ^
      agent:2020/06/11 16:51:57 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:125:32: note: expanded from macro '_LIBCPP_ABI_NAMESPACE'
      agent:2020/06/11 16:51:57 build.go:253: # define _LIBCPP_ABI_NAMESPACE _LIBCPP_CONCAT(__,_LIBCPP_ABI_VERSION)
      agent:2020/06/11 16:51:57 build.go:253:                                ^
      agent:2020/06/11 16:51:57 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:122:45: note: expanded from macro '_LIBCPP_CONCAT'
      agent:2020/06/11 16:51:57 build.go:253: #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y)
      agent:2020/06/11 16:51:57 build.go:253:                                             ^
      agent:2020/06/11 16:51:57 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:121:46: note: expanded from macro '_LIBCPP_CONCAT1'
      agent:2020/06/11 16:51:57 build.go:253: #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y
      agent:2020/06/11 16:51:57 build.go:253:                                              ^
      agent:2020/06/11 16:51:57 build.go:253: <scratch space>:127:1: note: expanded from here
      agent:2020/06/11 16:51:57 build.go:253: __2
      agent:2020/06/11 16:51:57 build.go:253: ^
      agent:2020/06/11 16:51:58 build.go:253: In file included from dialogs/qfileinfogatherer.cpp:435:
      agent:2020/06/11 16:51:58 build.go:253: .moc/moc_qfileinfogatherer_p.cpp:123:114: error: no member named '__1' in namespace 'std'; did you mean '__2'?
      agent:2020/06/11 16:51:58 build.go:253:         case 0: _t->updates((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVector<std::__1::pair<QString,QFileInfo>>(*)>(_a[2]))); break;
      agent:2020/06/11 16:51:58 build.go:253:                                                                                                             ~~~~~^~~
      agent:2020/06/11 16:51:58 build.go:253:                                                                                                                  __2
      agent:2020/06/11 16:51:58 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/variant:229:1: note: '__2' declared here
      agent:2020/06/11 16:51:58 build.go:253: _LIBCPP_BEGIN_NAMESPACE_STD
      agent:2020/06/11 16:51:58 build.go:253: ^
      agent:2020/06/11 16:51:58 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:814:70: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
      agent:2020/06/11 16:51:58 build.go:253: #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std { inline namespace _LIBCPP_ABI_NAMESPACE {
      agent:2020/06/11 16:51:58 build.go:253:                                                                      ^
      agent:2020/06/11 16:51:58 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:125:32: note: expanded from macro '_LIBCPP_ABI_NAMESPACE'
      agent:2020/06/11 16:51:58 build.go:253: # define _LIBCPP_ABI_NAMESPACE _LIBCPP_CONCAT(__,_LIBCPP_ABI_VERSION)
      agent:2020/06/11 16:51:58 build.go:253:                                ^
      agent:2020/06/11 16:51:58 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:122:45: note: expanded from macro '_LIBCPP_CONCAT'
      agent:2020/06/11 16:51:58 build.go:253: #define _LIBCPP_CONCAT(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y)
      agent:2020/06/11 16:51:58 build.go:253:                                             ^
      agent:2020/06/11 16:51:58 build.go:253: /opt/emsdk/emscripten-1.39.8/system/include/libcxx/__config:121:46: note: expanded from macro '_LIBCPP_CONCAT1'
      agent:2020/06/11 16:51:58 build.go:253: #define _LIBCPP_CONCAT1(_LIBCPP_X,_LIBCPP_Y) _LIBCPP_X##_LIBCPP_Y
      agent:2020/06/11 16:51:58 build.go:253:                                              ^
      agent:2020/06/11 16:51:58 build.go:253: <scratch space>:51:1: note: expanded from here
      agent:2020/06/11 16:51:58 build.go:253: __2
      agent:2020/06/11 16:51:58 build.go:253: ^
      agent:2020/06/11 16:51:58 build.go:253: 1 error generated.
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              lpotter Lorn Potter
              Reporter:
              liaqi Liang Qi
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes