Bug#979066: mangohud: Build fails on buster

Stephen Kitt skitt at debian.org
Sat Jan 2 14:16:18 GMT 2021


Hi Bob,

On Sat, 02 Jan 2021 13:07:44 +0000, Bob Ham <rah+debianbts at settrans.net>
wrote:
> Trying to build the mangohud package on buster fails with:
> 
> ccache c++ -Isrc/25a6634@@MangoHud at sha -Isrc -I../src -I../include
> -Isubprojects/dearimgui -I../subprojects/dearimgui -I.
> -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
> -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64
> -std=c++14 -Werror=return-type -fno-math-errno -fno-trapping-math
> -Wno-non-virtual-dtor -Wno-missing-field-initializers
> -Wno-format-truncation -g -O2
> -fdebug-prefix-map=/store-f/rah/proj/games/mangohud-debian=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -fPIC -pthread -D__STDC_CONSTANT_MACROS
> -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="v0.6.1"'
> -DNDEBUG -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_GCC_ATOMIC_BUILTINS
> -DHAVE_TIMESPEC_GET -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64
> -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ
> -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL
> -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL
> -DHAVE___BUILTIN_UNREACHABLE '-DMANGOHUD_ARCH="64bit"' -DHAVE_XNVCTRL
> -DHAVE_X11 -DHAVE_DBUS -DVK_USE_PLATFORM_XLIB_KHR
> -DVK_USE_PLATFORM_WAYLAND_KHR -MD -MQ
> 'src/25a6634@@MangoHud at sha/vulkan.cpp.o' -MF
> 'src/25a6634@@MangoHud at sha/vulkan.cpp.o.d' -o
> 'src/25a6634@@MangoHud at sha/vulkan.cpp.o'
> -c ../src/vulkan.cpp ../src/vulkan.cpp:69:1: error:
> ‘VkPhysicalDeviceDriverProperties’ does not name a type; did you mean
> ‘VkPhysicalDeviceDriverPropertiesKHR’? VkPhysicalDeviceDriverProperties
> driverProps = {}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> I'm guessing there needs to be a minimum version for whichever package
> provides the VkPhysicalDeviceDriverProperties symbol in its headers.

That symbol was added in Vulkan 1.2, so presumably the Vulkan dependency
needs to be "(>= 1.2~)". Note that an appropriate version of libvulkan-dev is
already available in buster-backports.

Regards,

Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20210102/3c5f4294/attachment.sig>


More information about the Pkg-games-devel mailing list