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

qdbusmarshall autotest doesn't build in RHEL 6.6 in Qt 5.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.6.1
    • 5.8.0 Alpha
    • D-Bus
    • RHEL 6.6

    Description

      Moving to do packages on RHEL 7.x instead of RHEL 6.x in Qt 5.8 makes us change the build so that we build a DeveloperBuild for RHEL 6.6 in Qt 5.8+. Developer builds enable more tests to be built, and thus we encountered this:

      [qt@t-rhel66-x64-04 qdbusmarshall]$ make check
      cd qpong/ && ( test -e Makefile || /home/qt/work/install/bin/qmake /home/qt/work/qt/qtbase/tests/auto/dbus/qdbusmarshall/qpong/qpong.pro -o Makefile ) && make -f Makefile check
      make[1]: Entering directory `/home/qt/work/qt/qtbase/tests/auto/dbus/qdbusmarshall/qpong'
      make[1]: Nothing to be done for `check'.
      make[1]: Leaving directory `/home/qt/work/qt/qtbase/tests/auto/dbus/qdbusmarshall/qpong'
      cd qdbusmarshall/ && ( test -e Makefile || /home/qt/work/install/bin/qmake /home/qt/work/qt/qtbase/tests/auto/dbus/qdbusmarshall/qdbusmarshall/qdbusmarshall.pro -o Makefile ) && make -f Makefile check
      make[1]: Entering directory `/home/qt/work/qt/qtbase/tests/auto/dbus/qdbusmarshall/qdbusmarshall'
      g++ -c -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_XKB -DQT_LINKED_LIBDBUS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_DBUS_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/qt/work/qt/qtbase/tests/auto/dbus/qdbusmarshall/qdbusmarshall"' -I. -I/home/qt/work/install/include/QtDBus/5.8.0 -I/home/qt/work/install/include/QtDBus/5.8.0/QtDBus -I/home/qt/work/install/include/QtCore/5.8.0 -I/home/qt/work/install/include/QtCore/5.8.0/QtCore -I/home/qt/work/install/include -I/home/qt/work/install/include/QtDBus -I/home/qt/work/install/include/QtTest -I/home/qt/work/install/include/QtCore -I.moc -I../../../../../mkspecs/linux-g++ -o .obj/tst_qdbusmarshall.o ../tst_qdbusmarshall.cpp
      ../tst_qdbusmarshall.cpp: In member function ‘void tst_QDBusMarshall::receiveUnknownType()’:
      ../tst_qdbusmarshall.cpp:1177:78: error: ‘DBUS_TYPE_UNIX_FD_AS_STRING’ was not declared in this scope
                       q_dbus_message_iter_open_container(&iter, DBUS_TYPE_VARIANT, DBUS_TYPE_UNIX_FD_AS_STRING, &subiter);
                                                                                    ^
      ../tst_qdbusmarshall.cpp:1179:76: error: ‘DBUS_TYPE_UNIX_FD_AS_STRING’ was not declared in this scope
                       q_dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, DBUS_TYPE_UNIX_FD_AS_STRING, &subiter);
                                                                                  ^
      make[1]: *** [.obj/tst_qdbusmarshall.o] Error 1
      make[1]: Leaving directory `/home/qt/work/qt/qtbase/tests/auto/dbus/qdbusmarshall/qdbusmarshall'
      make: *** [sub-qdbusmarshall-check_ordered] Error 2
      

      The installed dbus in RHEL 6.6 is:

      Installed Packages
      dbus.x86_64                                               1:1.2.24-7.el6_3                                                @anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6
      Available Packages
      dbus.x86_64                                               1:1.2.24-8.el6_6                                                rhel-6-workstation-rpms
      

      And the internet says this:
      http://upstream.rosalinux.ru/compat_reports/dbus/1.2.30_to_1.3.0/abi_compat_report.html

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes