FTBFS: contrib: placebo is unusable
[21/36] Compiling C object src/libplacebo.a.p/vulkan_context.c.o
FAILED: src/libplacebo.a.p/vulkan_context.c.o
gcc -Isrc/libplacebo.a.p -Isrc -I../src -I../src/include -I../subprojects/xtalloc/include -I../subprojects/bstr/include -I/home/remi/videolan/vlc/contrib/x86_64-linux-gnu/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O2 -g -Wall -Wundef -Wshadow -Wparentheses -Wpointer-arith -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -D_ISOC99_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -U__STRICT_ANSI__ -fvisibility=hidden -Wmissing-prototypes -Wno-pointer-sign -fPIC -pthread -MD -MQ src/libplacebo.a.p/vulkan_context.c.o -MF src/libplacebo.a.p/vulkan_context.c.o.d -o src/libplacebo.a.p/vulkan_context.c.o -c ../src/vulkan/context.c
../src/vulkan/context.c: In function ‘find_physical_device’:
../src/vulkan/context.c:341:10: error: ‘VK_PHYSICAL_DEVICE_TYPE_END_RANGE’ undeclared (first use in this function); did you mean ‘VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM’?
341 | [VK_PHYSICAL_DEVICE_TYPE_END_RANGE+1] = {0},
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM
../src/vulkan/context.c:341:10: note: each undeclared identifier is reported only once for each function it appears in
../src/vulkan/context.c:341:10: error: array index in initializer not of integer type
../src/vulkan/context.c:341:10: note: (near initialization for ‘types’)
[28/36] Compiling C object src/libplacebo.a.p/vulkan_swapchain.c.o
FAILED: src/libplacebo.a.p/vulkan_swapchain.c.o
gcc -Isrc/libplacebo.a.p -Isrc -I../src -I../src/include -I../subprojects/xtalloc/include -I../subprojects/bstr/include -I/home/remi/videolan/vlc/contrib/x86_64-linux-gnu/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O2 -g -Wall -Wundef -Wshadow -Wparentheses -Wpointer-arith -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -D_ISOC99_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -U__STRICT_ANSI__ -fvisibility=hidden -Wmissing-prototypes -Wno-pointer-sign -fPIC -pthread -MD -MQ src/libplacebo.a.p/vulkan_swapchain.c.o -MF src/libplacebo.a.p/vulkan_swapchain.c.o.d -o src/libplacebo.a.p/vulkan_swapchain.c.o -c ../src/vulkan/swapchain.c
../src/vulkan/swapchain.c: In function ‘vk_map_color_space’:
../src/vulkan/swapchain.c:133:10: error: ‘VK_COLOR_SPACE_RANGE_SIZE_KHR’ undeclared (first use in this function); did you mean ‘VK_COLOR_SPACE_MAX_ENUM_KHR’?
133 | case VK_COLOR_SPACE_RANGE_SIZE_KHR:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VK_COLOR_SPACE_MAX_ENUM_KHR
../src/vulkan/swapchain.c:133:10: note: each undeclared identifier is reported only once for each function it appears in
Edited by Rémi Denis-Courmont