Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

configure errors: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.



  • Hello everyone,

    Trying to build Qt 5.10, not sure why I am getting the following errors when I try to run the following configure command:

    ~/dev/qt-build$ ~/dev/qt-everywhere-src-5.10.1/configure -release -opensource -confirm-license -nomake examples -nomake tests -nomake tools -skip qtandroidextras -skip qtconnectivity -skip qtdeclarative -skip qtgamepad -skip qtlocation -skip qtmacextras -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwayland -skip qtvirtualkeyboard -qt-xcb -prefix /opt/Qt5.10.1 -verbose
    

    Note: Also available for Linux: linux-clang linux-icc

    Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.

    ERROR: The OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
    QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

    I have all the needed development packages installed I believe, so I am not sure why I am still getting errors.

    Configure summary:

    Build type: linux-g++ (arm, CPU features: <none>)
    Configuration: use_gold_linker compile_examples enable_new_dtags largefile precompile_header shared rpath release c++11 c++14 concurrent dbus reduce_exports stl
    Build options:
    Mode ................................... release
    Optimize release build for size ........ no
    Building shared libraries .............. yes
    Using C++ standard ..................... C++14
    Using ccache ........................... no
    Using gold linker ...................... yes
    Using new DTAGS ........................ yes
    Using precompiled headers .............. yes
    Using LTCG ............................. no
    Target compiler supports:
    NEON ................................. no
    Build parts ............................ libs
    Qt modules and options:
    Qt Concurrent .......................... yes
    Qt D-Bus ............................... yes
    Qt D-Bus directly linked to libdbus .... no
    Qt Gui ................................. yes
    Qt Network ............................. yes
    Qt Sql ................................. yes
    Qt Testlib ............................. yes
    Qt Widgets ............................. yes
    Qt Xml ................................. yes
    Support enabled for:
    Using pkg-config ....................... yes
    QML debugging .......................... yes
    udev ................................... no
    Using system zlib ...................... yes
    Qt Core:
    DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
    GLib ................................... no
    iconv .................................. yes
    ICU .................................... no
    Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
    Using system PCRE2 ..................... no
    Qt Network:
    getifaddrs() ........................... yes
    IPv6 ifname ............................ yes
    libproxy ............................... no
    OpenSSL ................................ no
    Qt directly linked to OpenSSL ........ no
    SCTP ................................... no
    Use system proxies ..................... yes
    Qt Gui:
    Accessibility .......................... yes
    FreeType ............................... yes
    Using system FreeType ................ no
    HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
    Fontconfig ............................. no
    Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
    Using system libjpeg ............... no
    PNG .................................. yes
    Using system libpng ................ no
    EGL .................................... no
    OpenVG ................................. no
    OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
    Vulkan ................................. no
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. yes
    libinput ............................... no
    INTEGRITY HID .......................... no
    mtdev .................................. no
    tslib .................................. no
    xkbcommon-evdev ........................ no
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. no
    LinuxFB ................................ yes
    VNC .................................... yes
    Mir client ............................. no
    X11:
    Using system-provided XCB libraries .. no
    EGL on X11 ........................... no
    Xinput2 .............................. no
    XCB XKB .............................. yes
    XLib ................................. no
    XCB render ........................... yes
    XCB GLX .............................. no
    XCB Xlib ............................. no
    Using system-provided xkbcommon ...... no
    Native painting (experimental) ....... no
    Qt Widgets:
    GTK+ ................................... no
    Styles ................................. Fusion Windows
    Qt PrintSupport:
    CUPS ................................... no
    Qt Sql:
    DB2 (IBM) .............................. no
    InterBase .............................. no
    MySql .................................. no
    OCI (Oracle) ........................... no
    ODBC ................................... no
    PostgreSQL ............................. no
    SQLite2 ................................ no
    SQLite ................................. yes
    Using system provided SQLite ......... no
    TDS (Sybase) ........................... no
    QtXmlPatterns:
    XML schema support ..................... yes
    Qt 3D:
    Assimp ................................. yes
    System Assimp .......................... no
    Output Qt3D Job traces ................. no
    Output Qt3D GL traces .................. no
    Use SSE2 instructions .................. no
    Use AVX2 instructions .................. no
    Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
    Qt 3D GeometryLoaders:
    Autodesk FBX ........................... no
    Qt Multimedia:
    ALSA ................................... no
    GStreamer 1.0 .......................... no
    GStreamer 0.10 ......................... no
    Video for Linux ........................ yes
    OpenAL ................................. no
    PulseAudio ............................. no
    Resource Policy (libresourceqt5) ....... no
    Windows Audio Services ................. no
    DirectShow ............................. no
    Windows Media Foundation ............... no

    Note: Also available for Linux: linux-clang linux-icc

    Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.

    ERROR: The OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
    QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

    Thank you for reading, and thank you in advance for any help!


  • Lifetime Qt Champion

    Hi,

    You should add the -v option to see what tests failed. It will be easier to stop what's going on.



  • So here is the only other part of the output that comes before the summary

    the ' in front of the first two lines was to just remove the bullets that were made by the leading + character

    '+ cd qtbase
    '+ /home/udooer/dev/qt-everywhere-src-5.10.1/qtbase/configure -top-level -v -rele ase -opensource -confirm-license -nomake examples -nomake tests -nomake tools -s kip qtandroidextras -skip qtconnectivity -skip qtdeclarative -skip qtgamepad -sk ip qtlocation -skip qtmacextras -skip qtsensors -skip qtserialbus -skip qtserial port -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwayland -sk ip qtvirtualkeyboard -qt-xcb -prefix /opt/Qt5.10.1
    Performing shadow build...
    Preparing build tree...
    Creating qmake...
    make: Warning: File /home/udooer/dev/qt-everywhere-src-5.10.1/qtbase/qmake/Make file.unix' has modification time 1.5e+09 s in the future Out of date, please rerun configure make: Nothing to be done forfirst'.
    make: warning: Clock skew detected. Your build may be incomplete.
    Command line: -v -release -opensource -confirm-license -nomake examples -nomake tests -nomake tools -skip qtandroidextras -skip qtconnectivity -skip qtdeclarati ve -skip qtgamepad -skip qtlocation -skip qtmacextras -skip qtsensors -skip qtse rialbus -skip qtserialport -skip qtwebchannel -skip qtwebengine -skip qtwebsocke ts -skip qtwayland -skip qtvirtualkeyboard -qt-xcb -prefix /opt/Qt5.10.1

    This is the Qt Open Source Edition.

    You have already accepted the terms of the Open Source license.

    Running configuration tests...
    Done running configuration tests.


  • Lifetime Qt Champion

    When modifying the configure options, you should do that from a clean state.



  • This will sound like a silly question, but what do you mean by a clean state?

    simply clearing out the qt-build folder I am working in?


  • Lifetime Qt Champion

    Either you cleaned the sources before calling configure again. Or you nuked the build folder if you use an out of source build.



  • I had this problem, the output from configure (with -v) was a little confusing since it only mentioned dbus-1 being missing. The output says "no package found" after running:

    Checking for D-Bus >= 1.2...
    Trying source 0 (type pkgConfig) of library dbus ...
    + /bin/pkg-config --exists --silence-errors dbus-1 '>=' 1.2
    

    which was odd since I could see from running pkg-config by hand that dbus-1 was installed (actually version 1.10).

    This problem was solved from me by installing at-spi2 with:

    sudo yum install at-spi2-core-devel
    

    This was on Centos 7


Log in to reply