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

5.15.11 qtbase: nui;ld fails with libxkbcommon 1.6.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.11
    • Core: Other
    • None
    • Linux/Wayland

    Description

      Looks like build fails with latest libxkbcommon 1.6.0

      make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/src/platformsupport/input/xkbcommon'
      /usr/bin/g++ -c -pipe -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_XKBCOMMON_SUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include -I../../../../include/QtXkbCommonSupport -I../../../../include/QtXkbCommonSupport/5.15.11 -I../../../../include/QtXkbCommonSupport/5.15.11/QtXkbCommonSupport -I../../../../include/QtGui/5.15.11 -I../../../../include/QtGui/5.15.11/QtGui -I../../../../include/QtCore/5.15.11 -I../../../../include/QtCore/5.15.11/QtCore -I../../../../include/QtGui -I../../../../include/QtCore -I.moc -I../../../../mkspecs/linux-g++ -o .obj/qxkbcommon.o qxkbcommon.cpp
      qxkbcommon.cpp:277:16: error: ‘XKB_KEY_dead_lowline’ was not declared in this scope; did you mean ‘XKB_KEY_dead_belowring’?
        277 |         Xkb2Qt<XKB_KEY_dead_lowline,            Qt::Key_Dead_Lowline>,
            |                ^~~~~~~~~~~~~~~~~~~~
            |                XKB_KEY_dead_belowring
      qxkbcommon.cpp:277:69: error: template argument 1 is invalid
        277 |         Xkb2Qt<XKB_KEY_dead_lowline,            Qt::Key_Dead_Lowline>,
            |                                                                     ^
      qxkbcommon.cpp:278:16: error: ‘XKB_KEY_dead_aboveverticalline’ was not declared in this scope; did you mean ‘XKB_KEY_dead_abovering’?
        278 |         Xkb2Qt<XKB_KEY_dead_aboveverticalline,  Qt::Key_Dead_Aboveverticalline>,
            |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |                XKB_KEY_dead_abovering
      qxkbcommon.cpp:278:79: error: template argument 1 is invalid
        278 |         Xkb2Qt<XKB_KEY_dead_aboveverticalline,  Qt::Key_Dead_Aboveverticalline>,
            |                                                                               ^
      qxkbcommon.cpp:279:16: error: ‘XKB_KEY_dead_belowverticalline’ was not declared in this scope; did you mean ‘XKB_KEY_dead_belowtilde’?
        279 |         Xkb2Qt<XKB_KEY_dead_belowverticalline,  Qt::Key_Dead_Belowverticalline>,
            |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |                XKB_KEY_dead_belowtilde
      qxkbcommon.cpp:279:79: error: template argument 1 is invalid
        279 |         Xkb2Qt<XKB_KEY_dead_belowverticalline,  Qt::Key_Dead_Belowverticalline>,
            |                                                                               ^
      qxkbcommon.cpp:280:16: error: ‘XKB_KEY_dead_longsolidusoverlay’ was not declared in this scope
        280 |         Xkb2Qt<XKB_KEY_dead_longsolidusoverlay, Qt::Key_Dead_Longsolidusoverlay>,
            |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      qxkbcommon.cpp:280:80: error: template argument 1 is invalid
        280 |         Xkb2Qt<XKB_KEY_dead_longsolidusoverlay, Qt::Key_Dead_Longsolidusoverlay>,
            |                                                                                ^
      qxkbcommon.cpp:428:5: error: template argument 157 is invalid
        428 |     >::Data{}
            |     ^
      qxkbcommon.cpp:428:5: error: template argument 158 is invalid
      qxkbcommon.cpp:428:5: error: template argument 159 is invalid
      qxkbcommon.cpp:428:5: error: template argument 160 is invalid
      make[4]: *** [Makefile:815: .obj/qxkbcommon.o] Error 1
      make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/src/platformsupport/input/xkbcommon'
      make[3]: *** [Makefile:48: sub-xkbcommon-make_first-ordered] Error 2
      make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/src/platformsupport/input'
      make[2]: *** [Makefile:211: sub-input-make_first] Error 2
      make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/src/platformsupport'
      make[1]: *** [Makefile:479: sub-platformsupport-make_first] Error 2
      make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-5.15.11/src'
      make: *** [Makefile:51: sub-src-make_first] Error 2
       

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes