Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 704918

Summary: dev-qt/qtdeclarative-5.14.0 should depend on dev-util/vulkan-headers - In file included from scenegraph/util/qsgrhinativetextureimporter.cpp:41: /usr/include/qt5/QtGui/qvulkaninstance.h:55:10: fatal error: vulkan/vulkan.h: No such file or directory
Product: Gentoo Linux Reporter: Jaakko Perttilä <jormangeud>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=703594
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 699328    

Description Jaakko Perttilä 2020-01-07 09:51:28 UTC
The new feature list at https://wiki.qt.io/New_Features_in_Qt_5.14 mentions Vulkan for Qt Quick.

Snip from log:

In file included from /usr/include/qt5/QtGui/5.14.0/QtGui/private/qrhivulkan_p.h:52,
                 from ../../include/QtQuick/5.14.0/QtQuick/private/../../../../../src/quick/scenegraph/qsgrhisupport_p.h:66,
                 from ../../include/QtQuick/5.14.0/QtQuick/private/qsgrhisupport_p.h:1,
                 from scenegraph/util/qsgrhinativetextureimporter.cpp:41:
/usr/include/qt5/QtGui/qvulkaninstance.h:55:10: fatal error: vulkan/vulkan.h: No such file or directory
   55 | #include <vulkan/vulkan.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:20651: .obj/qsgrhinativetextureimporter.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/tmpfs/portage/dev-qt/qtdeclarative-5.14.0/work/qtdeclarative-everywhere-src-5.14.0/src/quick'
make[1]: *** [Makefile:187: sub-quick-make_first-ordered] Error 2
make[1]: Leaving directory '/var/tmp/tmpfs/portage/dev-qt/qtdeclarative-5.14.0/work/qtdeclarative-everywhere-src-5.14.0/src'
make: *** [Makefile:50: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtdeclarative-5.14.0::gentoo failed (compile phase):
Comment 1 Andreas Sturmlechner gentoo-dev 2020-01-07 10:16:37 UTC
Certainly not required here, so there must be some automagic that thinks it can enable vulkan on your system, but fails.
Comment 2 Andreas Sturmlechner gentoo-dev 2020-03-07 17:39:17 UTC
Should be fixed by commit 52e33ecce45082b463edb683ef33ddc729c1d690.