[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1013575: vulkan-tools: FTBFS: vk_typemap_helper.h:3141:31: error: ‘VkVideoEncodeH264SessionCreateInfoEXT’ was not declared in this scope; did you mean ‘VkVideoEncodeH264VclFrameInfoEXT’?



Source: vulkan-tools
Version: 1.3.204.0+dfsg1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/cube && /usr/bin/cc -DVK_ENABLE_BETA_EXTENSIONS -DVK_USE_PLATFORM_WAYLAND_KHR -I/<<PKGBUILDDIR>>/build/cube -I/<<PKGBUILDDIR>>/cube -I/<<PKGBUILDDIR>>/build/cube/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0 -fvisibility=hidden -MD -MT cube/CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o -MF CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o.d -o CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o -c /<<PKGBUILDDIR>>/build/cube/xdg-shell-code.c
> In file included from /<<PKGBUILDDIR>>/icd/generated/mock_icd.cpp:27:
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3141:31: error: ‘VkVideoEncodeH264SessionCreateInfoEXT’ was not declared in this scope; did you mean ‘VkVideoEncodeH264VclFrameInfoEXT’?
>  3141 | template <> struct LvlTypeMap<VkVideoEncodeH264SessionCreateInfoEXT> {
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                               VkVideoEncodeH264VclFrameInfoEXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3141:68: error: template argument 1 is invalid
>  3141 | template <> struct LvlTypeMap<VkVideoEncodeH264SessionCreateInfoEXT> {
>       |                                                                    ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3145:32: error: ‘VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT’?
>  3145 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT> {
>       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3145:91: error: template argument 1 is invalid
>  3145 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT> {
>       |                                                                                           ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3262:31: error: ‘VkVideoEncodeH265SessionCreateInfoEXT’ was not declared in this scope; did you mean ‘VkVideoEncodeH265VclFrameInfoEXT’?
>  3262 | template <> struct LvlTypeMap<VkVideoEncodeH265SessionCreateInfoEXT> {
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                               VkVideoEncodeH265VclFrameInfoEXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3262:68: error: template argument 1 is invalid
>  3262 | template <> struct LvlTypeMap<VkVideoEncodeH265SessionCreateInfoEXT> {
>       |                                                                    ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3266:32: error: ‘VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXT’?
>  3266 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT> {
>       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3266:91: error: template argument 1 is invalid
>  3266 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_EXT> {
>       |                                                                                           ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3317:31: error: ‘VkVideoEncodeH265NaluSliceEXT’ was not declared in this scope; did you mean ‘VkVideoEncodeH264NaluSliceEXT’?
>  3317 | template <> struct LvlTypeMap<VkVideoEncodeH265NaluSliceEXT> {
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                               VkVideoEncodeH264NaluSliceEXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3317:60: error: template argument 1 is invalid
>  3317 | template <> struct LvlTypeMap<VkVideoEncodeH265NaluSliceEXT> {
>       |                                                            ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3321:32: error: ‘VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_EXT’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_EXT’?
>  3321 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_EXT> {
>       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_EXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3321:82: error: template argument 1 is invalid
>  3321 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_EXT> {
>       |                                                                                  ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3405:31: error: ‘VkVideoDecodeH264SessionCreateInfoEXT’ was not declared in this scope; did you mean ‘VkVideoDecodeH264SessionParametersCreateInfoEXT’?
>  3405 | template <> struct LvlTypeMap<VkVideoDecodeH264SessionCreateInfoEXT> {
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                               VkVideoDecodeH264SessionParametersCreateInfoEXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3405:68: error: template argument 1 is invalid
>  3405 | template <> struct LvlTypeMap<VkVideoDecodeH264SessionCreateInfoEXT> {
>       |                                                                    ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3409:32: error: ‘VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT’?
>  3409 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT> {
>       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:3409:91: error: template argument 1 is invalid
>  3409 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT> {
>       |                                                                                           ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:4331:31: error: ‘VkVideoDecodeH265SessionCreateInfoEXT’ was not declared in this scope; did you mean ‘VkVideoDecodeH265SessionParametersCreateInfoEXT’?
>  4331 | template <> struct LvlTypeMap<VkVideoDecodeH265SessionCreateInfoEXT> {
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                               VkVideoDecodeH265SessionParametersCreateInfoEXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:4331:68: error: template argument 1 is invalid
>  4331 | template <> struct LvlTypeMap<VkVideoDecodeH265SessionCreateInfoEXT> {
>       |                                                                    ^
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:4335:32: error: ‘VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT’ was not declared in this scope; did you mean ‘VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT’?
>  4335 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT> {
>       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT
> /<<PKGBUILDDIR>>/icd/generated/vk_typemap_helper.h:4335:91: error: template argument 1 is invalid
>  4335 | template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT> {
>       |                                                                                           ^
> [ 81%] Linking C executable vkcube
> cd /<<PKGBUILDDIR>>/build/cube && /usr/bin/cmake -E cmake_link_script CMakeFiles/vkcube.dir/link.txt --verbose=1
> /usr/bin/cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0 -fvisibility=hidden -Wl,-z,relro CMakeFiles/vkcube.dir/cube.c.o -o vkcube  /usr/lib/x86_64-linux-gnu/libxcb.so -lm /usr/lib/x86_64-linux-gnu/libvulkan.so -lrt 
> [ 86%] Linking C executable vkcube-wayland
> cd /<<PKGBUILDDIR>>/build/cube && /usr/bin/cmake -E cmake_link_script CMakeFiles/vkcube-wayland.dir/link.txt --verbose=1
> /usr/bin/cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0 -fvisibility=hidden -Wl,-z,relro "CMakeFiles/vkcube-wayland.dir/cube.c.o" "CMakeFiles/vkcube-wayland.dir/xdg-shell-code.c.o" "CMakeFiles/vkcube-wayland.dir/xdg-decoration-code.c.o" -o vkcube-wayland  /usr/lib/x86_64-linux-gnu/libxcb.so -lm /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libvulkan.so -lrt 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 86%] Built target vkcube
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
> [ 86%] Built target vkcube-wayland
> make[3]: *** [icd/CMakeFiles/VkICD_mock_icd.dir/build.make:79: icd/CMakeFiles/VkICD_mock_icd.dir/generated/mock_icd.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/vulkan-tools_1.3.204.0+dfsg1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: