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

undefined references to internal libxcb

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.13.0 RC 1
    • Build System, QPA: X11/XCB
    • None
    • Linux, musl libc, GCC 8.2.0

    Description

      Hi there!

      Our internal CI tried newest Qt 5.13.0-rc1 and it fails in the Alpine Docker Builder. Same config and builder works with Qt 5.12.x and Qt 5.11.x

       ../../../../include/QtGui/5.13.0/QtGui/qpa/../../../../../src/gui/kernel/qwindowsysteminterface.h:81:31: note: declared here
            QT_DEPRECATED static void handleMouseEvent(QWindow *window, const QPointF &local, const QPointF &global, Qt::MouseButtons b,
                                      ^~~~~~~~~~~~~~~~
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_query_version':
      xfixes.c:(.text+0x53): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_query_version_unchecked':
      xfixes.c:(.text+0xc1): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_change_save_set_checked':
      xfixes.c:(.text+0x146): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_change_save_set':
      xfixes.c:(.text+0x1c3): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_select_selection_input_checked':
      xfixes.c:(.text+0x236): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o):xfixes.c:(.text+0x2a6): more undefined references to `xcb_send_request' follow
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_query_version_reply':
      xfixes.c:(.text+0xe0): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_get_cursor_image_reply':
      xfixes.c:(.text+0x4b5): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_fetch_region_reply':
      xfixes.c:(.text+0x12f8): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_get_cursor_name_reply':
      xfixes.c:(.text+0x184f): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(xfixes.o): in function `xcb_xfixes_get_cursor_image_and_name_reply':
      xfixes.c:(.text+0x1990): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_initialize':
      sync.c:(.text+0x189): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_initialize_unchecked':
      sync.c:(.text+0x1f8): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_list_system_counters':
      sync.c:(.text+0x292): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_list_system_counters_unchecked':
      sync.c:(.text+0x2f8): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_create_counter_checked':
      sync.c:(.text+0x37e): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o):sync.c:(.text+0x3eb): more undefined references to `xcb_send_request' follow
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_create_alarm_sizeof':
      sync.c:(.text+0x8a1): undefined reference to `xcb_popcount'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_create_alarm_checked':
      sync.c:(.text+0x8fb): undefined reference to `xcb_popcount'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: sync.c:(.text+0x931): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_create_alarm':
      sync.c:(.text+0x99d): undefined reference to `xcb_popcount'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: sync.c:(.text+0x9d0): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_change_alarm_sizeof':
      sync.c:(.text+0x9f4): undefined reference to `xcb_popcount'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_change_alarm_checked':
      sync.c:(.text+0xa4e): undefined reference to `xcb_popcount'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: sync.c:(.text+0xa84): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_change_alarm':
      sync.c:(.text+0xaf0): undefined reference to `xcb_popcount'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: sync.c:(.text+0xb23): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_destroy_alarm_checked':
      sync.c:(.text+0xb91): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_destroy_alarm':
      sync.c:(.text+0xbfb): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_query_alarm':
      sync.c:(.text+0xc68): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_query_alarm_unchecked':
      sync.c:(.text+0xcd2): undefined reference to `xcb_send_request'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o):sync.c:(.text+0xd48): more undefined references to `xcb_send_request' follow
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_initialize_reply':
      sync.c:(.text+0x217): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_list_system_counters_reply':
      sync.c:(.text+0x328): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_query_counter_reply':
      sync.c:(.text+0x5b8): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_query_alarm_reply':
      sync.c:(.text+0xcf1): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o): in function `xcb_sync_get_priority_reply':
      sync.c:(.text+0xeac): undefined reference to `xcb_wait_for_reply'
      /usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /[...]/src/qt/qtbase/lib/libxcb-static.a(sync.o):sync.c:(.text+0x12f0): more undefined references to `xcb_wait_for_reply' follow
      

      configure -release -optimize-size -no-qml-debug -prefix /home/jenkins/workspace/linux/build/dist -opensource -confirm-license -qt-zlib -no-mtdev -qt-libpng -qt-libjpeg -no-dbus -no-harfbuzz -qt-pcre -system-proxies -no-compile-examples -nomake examples -nomake tests -no-sql-sqlite -openssl-linked -I /home/jenkins/workspace/linux/build/dist/include -L /home/jenkins/workspace/linux/build/dist/lib -ccache -no-feature-bearermanagement -no-feature-dtls -no-feature-winrt_bt -no-feature-ftp -no-feature-paint_debug -no-feature-lcdnumber -no-feature-mdiarea -no-feature-calendarwidget -no-feature-colordialog -no-feature-cups -no-feature-dial -no-feature-fontcombobox -no-feature-fontdialog -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-sharedmemory -no-feature-textodfwriter -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview -no-feature-printer -no-feature-printdialog -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-splashscreen -no-feature-syntaxhighlighter -no-feature-dom -no-feature-sql -no-feature-qdoc -no-journald -no-directfb -no-linuxfb -no-libproxy -skip qtwebglplugin -skip qtscxml -skip qtxmlpatterns -skip qtwebchannel -skip qtwebengine -skip qtscript -skip qtactiveqt -skip qtlocation -skip qtserialbus -skip qtserialport -skip qtgamepad -skip qtvirtualkeyboard -skip qtcanvas3d -skip qtcharts -skip qtdatavis3d -skip qt3d -skip qtpurchasing -skip qtwayland -skip qtremoteobjects -skip qtspeech -skip qtwebview -skip multimedia -skip qtquickcontrols

         XCB:
           Using system-provided XCB libraries .. no
           XCB XKB .............................. yes
           XCB XInput ........................... yes
           Native painting (experimental) ....... no
           GL integrations:
             GLX Plugin ......................... yes
               XCB GLX .......................... yes
             EGL-X11 Plugin ..................... yes
      

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes