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

qtdeclarative: sub-tests-all target fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • None
    • Linux/Wayland

    Description

      Just started workink on my own qtdeclarative package and I found that test suite (sub-tests-all target) is failing because some missing symbols in qtbase.

      I'm not sure is ti bug in in qtbase or qtdeclarative needs to be updated.

      make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/x86_64-redhat-linux-gnu/tests/auto/quick/geometry'
      cd qquickpixmapcache/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/tkloczko/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/tests/auto/quick/qquickpixmapcache/qquickpixmapcache.pro 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -fdata-sections -ffunction-sections' 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -fdata-sections -ffunction-sections' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -fdata-sections -ffunction-sections' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -fdata-sections -ffunction-sections' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -Wl,--gc-sections' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -Wl,--gc-sections' QMAKE_STRIP= ) && make -f Makefile all
      make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/x86_64-redhat-linux-gnu/tests/auto/quick/qquickpixmapcache'
      g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--gc-sections -Wl,--enable-new-dtags -o tst_qquickpixmapcache .obj/tst_qquickpixmapcache.o .obj/testhttpserver.o .obj/util.o .obj/moc_testhttpserver.o .obj/moc_util.o   /home/tkloczko/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/x86_64-redhat-linux-gnu/lib/libQt5Quick.so /home/tkloczko/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/x86_64-redhat-linux-gnu/lib/libQt5QmlModels.so /home/tkloczko/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/x86_64-redhat-linux-gnu/lib/libQt5Qml.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Network.so /usr/lib64/libQt5Test.so /usr/lib64/libQt5Concurrent.so /usr/lib64/libQt5Core.so -lGL -lpthread
      /usr/bin/ld: .obj/tst_qquickpixmapcache.o: in function `QtConcurrent::RunFunctionTask<void>::run()':
      /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:139: undefined reference to `QFutureInterfaceBase::reportException(QException const&)'
      /usr/bin/ld: .obj/tst_qquickpixmapcache.o: in function `QUnhandledException::QUnhandledException()':
      /usr/include/qt5/QtCore/qexception.h:71: undefined reference to `vtable for QUnhandledException'
      /usr/bin/ld: .obj/tst_qquickpixmapcache.o: in function `QtConcurrent::RunFunctionTask<void>::run()':
      /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:141: undefined reference to `QFutureInterfaceBase::reportException(QException const&)'
      /usr/bin/ld: /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:141: undefined reference to `QUnhandledException::~QUnhandledException()'
      /usr/bin/ld: /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:141: undefined reference to `QUnhandledException::~QUnhandledException()'
      /usr/bin/ld: .obj/tst_qquickpixmapcache.o: in function `non-virtual thunk to QtConcurrent::RunFunctionTask<void>::run()':
      /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:140: undefined reference to `QFutureInterfaceBase::reportException(QException const&)'
      /usr/bin/ld: /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:140: undefined reference to `vtable for QUnhandledException'
      /usr/bin/ld: /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:140: undefined reference to `QFutureInterfaceBase::reportException(QException const&)'
      /usr/bin/ld: /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:140: undefined reference to `QUnhandledException::~QUnhandledException()'
      /usr/bin/ld: /usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:140: undefined reference to `QUnhandledException::~QUnhandledException()'
      /usr/bin/ld: .obj/tst_qquickpixmapcache.o:(.data.rel.local.DW.ref._ZTI10QException[DW.ref._ZTI10QException]+0x0): undefined reference to `typeinfo for QException'
      collect2: error: ld returned 1 exit status
      make[4]: *** [Makefile:142: tst_qquickpixmapcache] Error 1
      make[4]: Target 'all' not remade because of errors.
      make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/x86_64-redhat-linux-gnu/tests/auto/quick/qquickpixmapcache'
      make[3]: *** [Makefile:79: sub-qquickpixmapcache-all] Error 2
      
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kloczek Tomasz Kloczko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes