Details
-
Bug
-
Resolution: Incomplete
-
P4: Low
-
None
-
5.14
-
None
-
Debian 10 (Buster) AMD64. Headless build server.
Description
When upgrading Qt (branch dev) after there were changes (presumably in qtwayland) following the official documentation, the build system detects Vulkan, although libvulkan-dev isn't installed.
This cannot be reproduced by checking out a new clone and updating immediately afterwards. It happened already twice, that's why I'm reporting.
Steps to reproduce:
$ git clone https://code.qt.io/qt/qt5.git qt-dev $ cd qt-dev $ git checkout dev $ perl init-repository $ ./configure -developer-build -opensource -nomake tests -confirm-license $ make -j Some days later... $ git pull $ perl init-repository -f $ ./config.status
The last step results in:
... Qt Wayland Drivers: EGL .................................... yes Raspberry Pi ........................... no XComposite EGL ......................... no XComposite GLX ......................... no DRM EGL ................................ yes libhybris EGL .......................... no Linux dma-buf server buffer integration . yes Vulkan-based server buffer integration . yes Shm emulation server buffer integration . yes ...
Compilation subsequently fails:
make[3]: Entering directory '/home/user/nobackup/test/qt-dev/qtbase/src/gui' g++ -c -pipe -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_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_CORE_LIB -Wall -Wextra -Werror -Woverloaded-virtual -Wshadow -Wundef -Wfloat-equal -Wnon-virtual-dtor -Wpointer-arith -Wformat-security -Wno-long-long -Wno-variadic-macros -pedantic-errors -Wchar-subscripts -Wold-style-cast -Wcast-align -Wdouble-promotion -Wfloat-conversion -Wzero-as-null-pointer-constant -I. -I../3rdparty/md4c -I../../include -I../../include/QtGui -I../../include/QtGui/5.14.0 -I../../include/QtGui/5.14.0/QtGui -I.tracegen -isystem /usr/include/libdrm -I../../include/QtCore/5.14.0 -I../../include/QtCore/5.14.0/QtCore -I../../include/QtCore -I.moc -isystem /usr/include/libpng16 -I../3rdparty/harfbuzz-ng/include -I../../mkspecs/linux-g++ -DQT_NO_CAST_TO_ASCII=1 -DQT_NO_CAST_FROM_ASCII=1 -UQT_RESTRICTED_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_URL_CAST_FROM_STRING=1 -DQT_NO_CAST_FROM_BYTEARRAY=1 -DQT_NO_KEYWORDS=1 -DQT_USE_QSTRINGBUILDER -DQT_USE_FAST_OPERATOR_PLUS -Dsignals=int -Dslots=int -Demit=public: -Dforeach=public: -Dforever=public: -xc++ vulkan/qvulkaninstance.h -o .obj/header_qvulkaninstance.o vulkan/qvulkaninstance.h:55:10: fatal error: vulkan/vulkan.h: No such file or directory #include <vulkan/vulkan.h> ^~~~~~~~~~~~~~~~~ compilation terminated.
Expected configure output (clean clone):
... Qt Wayland Drivers: EGL .................................... yes Raspberry Pi ........................... no XComposite EGL ......................... no XComposite GLX ......................... no DRM EGL ................................ yes libhybris EGL .......................... no Linux dma-buf server buffer integration . yes Vulkan-based server buffer integration . no Shm emulation server buffer integration . yes ...