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

linguist failed to build on Ubuntu 22.04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.5.0 FF
    • 6.5
    • Tools: Linguist
    • None
    • Linux/Wayland, Linux/X11

    Description

      https://testresults.qt.io/coin/integration/qt/qttools/tasks/web_qt_qttools_1664800755775
      https://testresults.qt.io/coin/api/results/qt/qttools/3e85e27a91bdecb64a135f021fb1c872675b7290/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-f5b3c4Documentation_Sccache_UseConfigure/d1765fcf686e116cb12755fa773b96cde350601d/build_1678550653/log.txt.gz

      agent:2022/10/03 14:41:48 build.go:394: In file included from /usr/local/libclang-12.0/include/llvm/ADT/StringRef.h:12,
      agent:2022/10/03 14:41:48 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.h:21,
      agent:2022/10/03 14:41:48 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/lupdatepreprocessoraction.h:7,
      agent:2022/10/03 14:41:48 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/lupdatepreprocessoraction.cpp:4:
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:48 build.go:394:       |                  ^~~~~
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:48 build.go:394:       |                 ~^~~~~
      agent:2022/10/03 14:41:48 build.go:394:       |                  )
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:48 build.go:394:       |                      ^~~~~
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:48 build.go:394:       |                     ~^~~~~
      agent:2022/10/03 14:41:48 build.go:394:       |                      )
      agent:2022/10/03 14:41:48 build.go:394: Sccache command failed, re-try calling build tool directly
      agent:2022/10/03 14:41:48 build.go:394: In file included from /usr/local/libclang-12.0/include/llvm/ADT/StringRef.h:12,
      agent:2022/10/03 14:41:48 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.h:21,
      agent:2022/10/03 14:41:48 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/lupdatepreprocessoraction.h:7,
      agent:2022/10/03 14:41:48 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/lupdatepreprocessoraction.cpp:4:
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:48 build.go:394:       |                  ^~~~~
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:48 build.go:394:       |                 ~^~~~~
      agent:2022/10/03 14:41:48 build.go:394:       |                  )
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:48 build.go:394:       |                      ^~~~~
      agent:2022/10/03 14:41:48 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:48 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:48 build.go:394:       |                     ~^~~~~
      agent:2022/10/03 14:41:48 build.go:394:       |                      )
      agent:2022/10/03 14:41:53 build.go:394: [101/785] sccache /usr/bin/g++ -DCINDEX_NO_EXPORTS -DLUPDATE_CLANG_VERSION_MAJOR=12 -DLUPDATE_CLANG_VERSION_MINOR=0 -DLUPDATE_CLANG_VERSION_PATCH=0 -DLUPDATE_CLANG_VERSION_STR=\"\"12.0.0\"\" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_NAMESPACE=TestNamespace -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_TOOLS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/work/qt/qttools_build/src/linguist/lupdate/lupdate_autogen/include -I/home/qt/work/qt/qttools/src/linguist/lupdate -I/home/qt/work/qt/qttools_build/src/linguist/lupdate -I/home/qt/work/qt/qttools/src/linguist/lupdate/../shared -I/home/qt/work/qt/qttools_build/include -I/home/qt/work/qt/qttools_build/include/QtTools -I/home/qt/work/qt/qttools/src/global -I/home/qt/work/qt/qttools_build/src/global -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0 -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0/QtTools -isystem /home/qt/work/install/include/QtCore/6.5.0 -isystem /home/qt/work/install/include/QtCore/6.5.0/QtCore -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtQml/6.5.0 -isystem /home/qt/work/install/include/QtQml/6.5.0/QtQml -isystem /home/qt/work/install/include/QtQml -isystem /home/qt/work/install/include/QtQmlIntegration -isystem /home/qt/work/install/include/QtNetwork -isystem /usr/local/libclang-12.0/include -g -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -fcf-protection=full -std=c++20 -MD -MT src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o -MF src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o.d -o src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o -c /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp
      agent:2022/10/03 14:41:53 build.go:394: FAILED: src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o 
      agent:2022/10/03 14:41:53 build.go:394: sccache /usr/bin/g++ -DCINDEX_NO_EXPORTS -DLUPDATE_CLANG_VERSION_MAJOR=12 -DLUPDATE_CLANG_VERSION_MINOR=0 -DLUPDATE_CLANG_VERSION_PATCH=0 -DLUPDATE_CLANG_VERSION_STR=\"\"12.0.0\"\" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_NAMESPACE=TestNamespace -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_TOOLS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/work/qt/qttools_build/src/linguist/lupdate/lupdate_autogen/include -I/home/qt/work/qt/qttools/src/linguist/lupdate -I/home/qt/work/qt/qttools_build/src/linguist/lupdate -I/home/qt/work/qt/qttools/src/linguist/lupdate/../shared -I/home/qt/work/qt/qttools_build/include -I/home/qt/work/qt/qttools_build/include/QtTools -I/home/qt/work/qt/qttools/src/global -I/home/qt/work/qt/qttools_build/src/global -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0 -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0/QtTools -isystem /home/qt/work/install/include/QtCore/6.5.0 -isystem /home/qt/work/install/include/QtCore/6.5.0/QtCore -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtQml/6.5.0 -isystem /home/qt/work/install/include/QtQml/6.5.0/QtQml -isystem /home/qt/work/install/include/QtQml -isystem /home/qt/work/install/include/QtQmlIntegration -isystem /home/qt/work/install/include/QtNetwork -isystem /usr/local/libclang-12.0/include -g -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -fcf-protection=full -std=c++20 -MD -MT src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o -MF src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o.d -o src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o -c /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp
      agent:2022/10/03 14:41:53 build.go:394: In file included from /usr/local/libclang-12.0/include/llvm/ADT/StringRef.h:12,
      agent:2022/10/03 14:41:53 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.h:21,
      agent:2022/10/03 14:41:53 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.h:7,
      agent:2022/10/03 14:41:53 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:4:
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:53 build.go:394:       |                  ^~~~~
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:53 build.go:394:       |                 ~^~~~~
      agent:2022/10/03 14:41:53 build.go:394:       |                  )
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:53 build.go:394:       |                      ^~~~~
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:53 build.go:394:       |                     ~^~~~~
      agent:2022/10/03 14:41:53 build.go:394:       |                      )
      agent:2022/10/03 14:41:53 build.go:394: Sccache command failed, re-try calling build tool directly
      agent:2022/10/03 14:41:53 build.go:394: In file included from /usr/local/libclang-12.0/include/llvm/ADT/StringRef.h:12,
      agent:2022/10/03 14:41:53 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.h:21,
      agent:2022/10/03 14:41:53 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.h:7,
      agent:2022/10/03 14:41:53 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:4:
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:53 build.go:394:       |                  ^~~~~
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:53 build.go:394:       |                 ~^~~~~
      agent:2022/10/03 14:41:53 build.go:394:       |                  )
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:53 build.go:394:       |                      ^~~~~
      agent:2022/10/03 14:41:53 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:53 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:53 build.go:394:       |                     ~^~~~~
      agent:2022/10/03 14:41:53 build.go:394:       |                      )
      agent:2022/10/03 14:41:56 build.go:394: [102/785] sccache /usr/bin/g++ -DCINDEX_NO_EXPORTS -DLUPDATE_CLANG_VERSION_MAJOR=12 -DLUPDATE_CLANG_VERSION_MINOR=0 -DLUPDATE_CLANG_VERSION_PATCH=0 -DLUPDATE_CLANG_VERSION_STR=\"\"12.0.0\"\" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_NAMESPACE=TestNamespace -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_TOOLS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/work/qt/qttools_build/src/linguist/lupdate/lupdate_autogen/include -I/home/qt/work/qt/qttools/src/linguist/lupdate -I/home/qt/work/qt/qttools_build/src/linguist/lupdate -I/home/qt/work/qt/qttools/src/linguist/lupdate/../shared -I/home/qt/work/qt/qttools_build/include -I/home/qt/work/qt/qttools_build/include/QtTools -I/home/qt/work/qt/qttools/src/global -I/home/qt/work/qt/qttools_build/src/global -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0 -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0/QtTools -isystem /home/qt/work/install/include/QtCore/6.5.0 -isystem /home/qt/work/install/include/QtCore/6.5.0/QtCore -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtQml/6.5.0 -isystem /home/qt/work/install/include/QtQml/6.5.0/QtQml -isystem /home/qt/work/install/include/QtQml -isystem /home/qt/work/install/include/QtQmlIntegration -isystem /home/qt/work/install/include/QtNetwork -isystem /usr/local/libclang-12.0/include -g -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -fcf-protection=full -std=c++20 -MD -MT src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o -MF src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o.d -o src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o -c /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.cpp
      agent:2022/10/03 14:41:56 build.go:394: FAILED: src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o 
      agent:2022/10/03 14:41:56 build.go:394: sccache /usr/bin/g++ -DCINDEX_NO_EXPORTS -DLUPDATE_CLANG_VERSION_MAJOR=12 -DLUPDATE_CLANG_VERSION_MINOR=0 -DLUPDATE_CLANG_VERSION_PATCH=0 -DLUPDATE_CLANG_VERSION_STR=\"\"12.0.0\"\" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_NAMESPACE=TestNamespace -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_TOOLS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/work/qt/qttools_build/src/linguist/lupdate/lupdate_autogen/include -I/home/qt/work/qt/qttools/src/linguist/lupdate -I/home/qt/work/qt/qttools_build/src/linguist/lupdate -I/home/qt/work/qt/qttools/src/linguist/lupdate/../shared -I/home/qt/work/qt/qttools_build/include -I/home/qt/work/qt/qttools_build/include/QtTools -I/home/qt/work/qt/qttools/src/global -I/home/qt/work/qt/qttools_build/src/global -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0 -I/home/qt/work/qt/qttools_build/include/QtTools/6.5.0/QtTools -isystem /home/qt/work/install/include/QtCore/6.5.0 -isystem /home/qt/work/install/include/QtCore/6.5.0/QtCore -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtQml/6.5.0 -isystem /home/qt/work/install/include/QtQml/6.5.0/QtQml -isystem /home/qt/work/install/include/QtQml -isystem /home/qt/work/install/include/QtQmlIntegration -isystem /home/qt/work/install/include/QtNetwork -isystem /usr/local/libclang-12.0/include -g -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -fcf-protection=full -std=c++20 -MD -MT src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o -MF src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o.d -o src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o -c /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.cpp
      agent:2022/10/03 14:41:56 build.go:394: In file included from /usr/local/libclang-12.0/include/llvm/ADT/StringRef.h:12,
      agent:2022/10/03 14:41:56 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.h:21,
      agent:2022/10/03 14:41:56 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.cpp:4:
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:56 build.go:394:       |                  ^~~~~
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:56 build.go:394:       |                 ~^~~~~
      agent:2022/10/03 14:41:56 build.go:394:       |                  )
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:56 build.go:394:       |                      ^~~~~
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:56 build.go:394:       |                     ~^~~~~
      agent:2022/10/03 14:41:56 build.go:394:       |                      )
      agent:2022/10/03 14:41:56 build.go:394: Sccache command failed, re-try calling build tool directly
      agent:2022/10/03 14:41:56 build.go:394: In file included from /usr/local/libclang-12.0/include/llvm/ADT/StringRef.h:12,
      agent:2022/10/03 14:41:56 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.h:21,
      agent:2022/10/03 14:41:56 build.go:394:                  from /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.cpp:4:
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:56 build.go:394:       |                  ^~~~~
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1823:18: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1823 |   result_pair<R>(const result_pair<R> &Other)
      agent:2022/10/03 14:41:56 build.go:394:       |                 ~^~~~~
      agent:2022/10/03 14:41:56 build.go:394:       |                  )
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected unqualified-id before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:56 build.go:394:       |                      ^~~~~
      agent:2022/10/03 14:41:56 build.go:394: /usr/local/libclang-12.0/include/llvm/ADT/STLExtras.h:1873:22: error: expected ‘)’ before ‘const’
      agent:2022/10/03 14:41:56 build.go:394:  1873 |   enumerator_iter<R>(const enumerator_iter<R> &Other) : Result(Other.Result) {}
      agent:2022/10/03 14:41:56 build.go:394:       |                     ~^~~~~
      agent:2022/10/03 14:41:56 build.go:394:       |                      )
      agent:2022/10/03 14:41:56 build.go:394: ninja: build stopped: subcommand failed.
      agent:2022/10/03 14:41:56 build.go:445: Process finished with error: exit status 1
      

      gcc/g++ version 11.2.0, see the log in qtbase libs build.

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes