#1063370 vulkan-tools: Fails to build from source.

Package:
vulkan-tools
Source:
vulkan-tools
Description:
Miscellaneous Vulkan utilities
Submitter:
Elizabeth Loss-Cutler-Hull
Date:
2024-03-01 07:00:11 UTC
Severity:
normal
Tags:
#1063370#5
Date:
2024-02-06 21:45:14 UTC
From:
To:
In file included from /<<PKGBUILDDIR>>/vulkaninfo/vulkaninfo.cpp:33:
/<<PKGBUILDDIR>>/vulkaninfo/generated/vulkaninfo.hpp: In function ‘std::vector<const char*> VkVideoCodecOperationFlagBitsKHRGetStrings(VkVideoCodecOperationFlagBitsKHR)’:
/<<PKGBUILDDIR>>/vulkaninfo/generated/vulkaninfo.hpp:1337:9: error: ‘VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT’ was not declared in this scope; did you mean ‘VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR’?
 1337 |     if (VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT & value) strings.push_back("VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_KHR
/<<PKGBUILDDIR>>/vulkaninfo/generated/vulkaninfo.hpp:1338:9: error: ‘VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT’ was not declared in this scope; did you mean ‘VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR’?
 1338 |     if (VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT & value) strings.push_back("VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_KHR

I confirmed that building through sbuild in a sid chroot behaves exactly
the same way as building on my sid machine.

#1063370#10
Date:
2024-02-15 13:46:49 UTC
From:
To:
Control: tag -1 upstream fixed-upstream

The mismatch between 1.3.268 and 1.2.275 is likely the problem.
https://github.com/KhronosGroup/Vulkan-Tools/commit/64d9218726083ece79099341249890c75a5c4491
is where this issue was fixed and that commit is part of 1.3.274 (and higher).

If you downgrade src:vulkan-loader to 1.3.268.0-1 then it should compile again.

Looks like the vulkan-sdk versions need to be in sync.

#1063370#27
Date:
2024-03-01 06:57:15 UTC
From:
To:
close 1063370 1.3.275.0+dfsg1-1
thanks

Didn't realize there was a bug filed for the FTBFS.