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

libxkbcommon.so: error adding symbols: file in wrong format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0 Beta2
    • Build System
    • None
    • Ubuntu 22 X86_64 with kernel 5.19.0-32-generic
    • Linux/Wayland

    Description

      This is my recipe to build qtbase,qtdeclarative from dev

       

      mkdir QT_QEMU_qa_automation && cd QT_QEMU_qa_automation && MyQtBaseDir=/home/username/Downloads/myGitHub/QT_QEMU_qa_automation
      git clone https://github.com/qt/qt5 qt5 && cd qt5
      perl init-repository --module-subset=qtbase,qtdeclarative
      cd ${MyQtBaseDir} && rm -Rf build_host/ && rm -Rf build_artifacts_host && mkdir build_host build_artifacts_host
      cd ${MyQtBaseDir}/build_host && ../qt5/configure -release -opensource -nomake examples -nomake tests -confirm-license -prefix ../build_artifacts_host -- --trace-redirect=log.txt --trace-expand
      cmake --build . --parallel && cmake --install .

       

      But I get error

      libxkbcommon.so: error adding symbols: file in wrong format

       

      Before I get warnings

       

      CMake Warning at /home/username/Downloads/myGitHub/QT_QEMU_qa_automation/build_host/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
        Cannot generate a safe runtime search path for target cmTC_49e96 because
        files in some directories may conflict with libraries in implicit
        directories:
          runtime library [libGLESv2.so.2] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
            /usr/lib/i386-linux-gnu
        Some of these libraries may not be found correctly.
      

      see log in attachment.

      If I remove "qtdeclarative" from "perl init-repository --module-subset=qtbase,qtdeclarative" I can build well.

      Attachments

        1. log.7z
          1.43 MB
        2. log_libxkbcommon.txt
          56 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            dungeonlords Andrei Cherniaev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes