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

qtcoap build failure in qt5.git integration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.0.0 RC
    • 6.0.0 Alpha
    • CoAP
    • None
    • 55983293291970a341f453b4050acac938d11284 (qt/qtcoap/dev)

    Description

      agent:2020/08/05 11:06:09 build.go:264: In file included from /home/qt/work/install/include/QtTest/qtest.h:45,
      agent:2020/08/05 11:06:09 build.go:264: from /home/qt/work/install/include/QtTest/QtTest:11,
      agent:2020/08/05 11:06:09 build.go:264: from /home/qt/work/qt/qtcoap/tests/auto/qcoapinternalreply/tst_qcoapinternalreply.cpp:31:
      agent:2020/08/05 11:06:09 build.go:264: /home/qt/work/install/include/QtTest/qtestcase.h: In instantiation of ‘bool TestNamespace::QTest::qCompare(const T1&, const T2&, const char*, const char*, const char*, int) [with T1 = TestNamespace::QByteArray; T2 = TestNamespace::QString]’:
      agent:2020/08/05 11:06:09 build.go:264: /home/qt/work/qt/qtcoap/tests/auto/qcoapinternalreply/tst_qcoapinternalreply.cpp:163:5: required from here
      agent:2020/08/05 11:06:09 build.go:264: /home/qt/work/install/include/QtTest/qtestcase.h:454:34: error: ambiguous overload for ‘operator==’ (operand types are ‘const TestNamespace::QByteArray’ and ‘const TestNamespace::QString’)
      agent:2020/08/05 11:06:09 build.go:264: 454 | return compare_helper(t1 == t2, "Compared values are not the same",
      agent:2020/08/05 11:06:09 build.go:264: | ~~^~~~
      agent:2020/08/05 11:06:09 build.go:264: In file included from /home/qt/work/install/include/QtCore/qobject.h:47,
      agent:2020/08/05 11:06:09 build.go:264: from /home/qt/work/install/include/QtCore/qabstractanimation.h:43,
      agent:2020/08/05 11:06:09 build.go:264: from /home/qt/work/install/include/QtCore/QtCore:6,
      agent:2020/08/05 11:06:09 build.go:264: from /home/qt/work/install/include/QtTest/QtTestDepends:3,
      agent:2020/08/05 11:06:09 build.go:264: from /home/qt/work/install/include/QtTest/QtTest:3,
      agent:2020/08/05 11:06:09 build.go:264: from /home/qt/work/qt/qtcoap/tests/auto/qcoapinternalreply/tst_qcoapinternalreply.cpp:31:
      agent:2020/08/05 11:06:09 build.go:264: /home/qt/work/install/include/QtCore/qstring.h:1210:32: note: candidate: ‘bool TestNamespace::operator==(const char*, const TestNamespace::QString&)’
      agent:2020/08/05 11:06:09 build.go:264: 1210 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2)
      agent:2020/08/05 11:06:09 build.go:264: | ^~~~~~~~
      agent:2020/08/05 11:06:09 build.go:264: /home/qt/work/install/include/QtCore/qstring.h:755:31: note: candidate: ‘bool TestNamespace::operator==(const TestNamespace::QString&, const TestNamespace::QString&)’
      agent:2020/08/05 11:06:09 build.go:264: 755 | friend Q_CORE_EXPORT bool operator==(const QString &s1, const QString &s2) noexcept;
      agent:2020/08/05 11:06:09 build.go:264: | ^~~~~~~~
      agent:2020/08/05 11:06:11 build.go:264: [33/36] /usr/bin/g++ -DQT_COAP_LIB -DQT_CORE_LIB -DQT_NAMESPACE=TestNamespace -DQT_NETWORK_LIB -DQT_NO_EXCEPTIONS -DQT_TESTCASE_BUILDDIR=\"/home/qt/work/qt/qtcoap_standalone_tests/tests/auto/qcoapreply\" -DQT_TESTCASE_SOURCEDIR=\"/home/qt/work/qt/qtcoap/tests/auto/qcoapreply\" -DQT_TEST_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Itests/auto/qcoapreply/qcoapreply_autogen/include -I/home/qt/work/qt/qtcoap/tests/auto/qcoapreply -Itests/auto/qcoapreply -Iinclude -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include -isystem /home/qt/work/install/include/QtTest -isystem /home/qt/work/install/include/QtCoap -isystem /home/qt/work/install/include/QtCoap/6.0.0 -isystem /home/qt/work/install/include/QtCoap/6.0.0/QtCoap -isystem /home/qt/work/install/include/QtCore/6.0.0 -isystem /home/qt/work/install/include/QtCore/6.0.0/QtCore -isystem /home/qt/work/install/include/QtNetwork -g -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -std=gnu++17 -MD -MT tests/auto/qcoapreply/CMakeFiles/qcoapreply.dir/tst_qcoapreply.cpp.o -MF tests/auto/qcoapreply/CMakeFiles/qcoapreply.dir/tst_qcoapreply.cpp.o.d -o tests/auto/qcoapreply/CMakeFiles/qcoapreply.dir/tst_qcoapreply.cpp.o -c /home/qt/work/qt/qtcoap/tests/auto/qcoapreply/tst_qcoapreply.cpp
      agent:2020/08/05 11:06:11 build.go:264: ninja: build stopped: subcommand failed.
      agent:2020/08/05 11:06:11 build.go:315: Process finished with error: exit status 1
      agent:2020/08/05 11:06:11 build.go:540: Executing scheduled instruction 1 of 1 - Upload all core dumps if there are some
      agent:2020/08/05 11:06:11 build.go:448: Skip uploading core files because CORE_FILES_PATH is not set in the environment
      agent:2020/08/05 11:06:11 build.go:545:
      agent:2020/08/05 11:06:11 agent.go:272: Build failed
      agent:2020/08/05 11:06:11 agent.go:202: ERROR building: exit status 1

      build log: http://coin-master.ci.qt.io/coin/api/results/qt/qtcoap/bbae0bf03d35c08fcb1c651b83cf0287daa73376/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-a4895e/e8e169d8b01a5027d94f3747810a3e8e3e88868f/build_1596625409/log.txt.gz

      Details: http://coin-master.ci.qt.io/coin/integration/qt/tqtc-qt5/tasks/web_qt_tqtc-qt5_1596625227973

      Attachments

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

        Activity

          People

            sonakur Sona Kurazyan
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes