Bug#1145503: warzone2100: FTBFS: /<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4258:95: error: 'eVkColorspaceSrgbNonlinear' is not a member of 'vk::ColorSpaceKHR'
Santiago Vila
sanvila at debian.org
Tue Aug 25 13:42:40 BST 2026
Package: src:warzone2100
Version: 4.7.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:warzone2100, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[1164/1603] /usr/bin/x86_64-linux-gnu-g++ -DBASISU_HAVE_STD_ [too-long-redacted] R>>/lib/ivis_opengl/gfx_api.cpp
[1165/1603] /usr/bin/x86_64-linux-gnu-g++ -DBASISU_HAVE_STD_ [too-long-redacted] /lib/ivis_opengl/gfx_api_vk.cpp
FAILED: [code=1] lib/ivis_opengl/CMakeFiles/ivis-opengl.dir/gfx_api_vk.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DBASISU_HAVE_STD_TRIVIALLY_CO [too-long-redacted] /lib/ivis_opengl/gfx_api_vk.cpp
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp: In function âvk::SurfaceFormatKHR chooseSwapSurfaceFormat(const std::vector<vk::SurfaceFormatKHR>&)â:
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4258:95: error: âeVkColorspaceSrgbNonlinearâ is not a member of âvk::ColorSpaceKHRâ
4258 | vk::SurfaceFormatKHR{ vk::Format::eA2B10G10R10UnormPack32, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4258:122: error: no matching function for call to âvk::SurfaceFormatKHR::SurfaceFormatKHR(<brace-enclosed initializer list>)â
4258 | vk::SurfaceFormatKHR{ vk::Format::eA2B10G10R10UnormPack32, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear },
| ^
⢠there are 3 candidates
In file included from /usr/include/vulkan/vulkan.hpp:11401,
from /<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.h:40,
from /<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:42:
⢠candidate 1: âvk::SurfaceFormatKHR::SurfaceFormatKHR(const VkSurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193417:5:
193417 | SurfaceFormatKHR( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT : SurfaceFormatKHR( *reinterpret_cast<SurfaceFormatKHR const *>( &rhs ) ) {}
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 2: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(const vk::SurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193415:26:
193415 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 3: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(vk::Format, vk::ColorSpaceKHR)â
/usr/include/vulkan/vulkan_structs.hpp:193409:26:
193409 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( Format format_ = Format::eUndefined, ColorSpaceKHR colorSpace_ = ColorSpaceKHR::eSrgbNonlinear ) VULKAN_HPP_NOEXCEPT
| ^~~~~~~~~~~~~~~~
⢠conversion of argument 2 would be ill-formed:
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4259:95: error: âeVkColorspaceSrgbNonlinearâ is not a member of âvk::ColorSpaceKHRâ
4259 | vk::SurfaceFormatKHR{ vk::Format::eA2R10G10B10UnormPack32, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4259:122: error: no matching function for call to âvk::SurfaceFormatKHR::SurfaceFormatKHR(<brace-enclosed initializer list>)â
4259 | vk::SurfaceFormatKHR{ vk::Format::eA2R10G10B10UnormPack32, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear },
| ^
⢠there are 3 candidates
⢠candidate 1: âvk::SurfaceFormatKHR::SurfaceFormatKHR(const VkSurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193417:5:
193417 | SurfaceFormatKHR( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT : SurfaceFormatKHR( *reinterpret_cast<SurfaceFormatKHR const *>( &rhs ) ) {}
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 2: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(const vk::SurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193415:26:
193415 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 3: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(vk::Format, vk::ColorSpaceKHR)â
/usr/include/vulkan/vulkan_structs.hpp:193409:26:
193409 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( Format format_ = Format::eUndefined, ColorSpaceKHR colorSpace_ = ColorSpaceKHR::eSrgbNonlinear ) VULKAN_HPP_NOEXCEPT
| ^~~~~~~~~~~~~~~~
⢠conversion of argument 2 would be ill-formed:
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4260:86: error: âeVkColorspaceSrgbNonlinearâ is not a member of âvk::ColorSpaceKHRâ
4260 | vk::SurfaceFormatKHR{ vk::Format::eB8G8R8A8Unorm, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4260:113: error: no matching function for call to âvk::SurfaceFormatKHR::SurfaceFormatKHR(<brace-enclosed initializer list>)â
4260 | vk::SurfaceFormatKHR{ vk::Format::eB8G8R8A8Unorm, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear },
| ^
⢠there are 3 candidates
⢠candidate 1: âvk::SurfaceFormatKHR::SurfaceFormatKHR(const VkSurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193417:5:
193417 | SurfaceFormatKHR( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT : SurfaceFormatKHR( *reinterpret_cast<SurfaceFormatKHR const *>( &rhs ) ) {}
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 2: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(const vk::SurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193415:26:
193415 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 3: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(vk::Format, vk::ColorSpaceKHR)â
/usr/include/vulkan/vulkan_structs.hpp:193409:26:
193409 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( Format format_ = Format::eUndefined, ColorSpaceKHR colorSpace_ = ColorSpaceKHR::eSrgbNonlinear ) VULKAN_HPP_NOEXCEPT
| ^~~~~~~~~~~~~~~~
⢠conversion of argument 2 would be ill-formed:
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4261:86: error: âeVkColorspaceSrgbNonlinearâ is not a member of âvk::ColorSpaceKHRâ
4261 | vk::SurfaceFormatKHR{ vk::Format::eR8G8B8A8Unorm, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4261:113: error: no matching function for call to âvk::SurfaceFormatKHR::SurfaceFormatKHR(<brace-enclosed initializer list>)â
4261 | vk::SurfaceFormatKHR{ vk::Format::eR8G8B8A8Unorm, vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear }
| ^
⢠there are 3 candidates
⢠candidate 1: âvk::SurfaceFormatKHR::SurfaceFormatKHR(const VkSurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193417:5:
193417 | SurfaceFormatKHR( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT : SurfaceFormatKHR( *reinterpret_cast<SurfaceFormatKHR const *>( &rhs ) ) {}
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 2: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(const vk::SurfaceFormatKHR&)â
/usr/include/vulkan/vulkan_structs.hpp:193415:26:
193415 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
| ^~~~~~~~~~~~~~~~
⢠candidate expects 1 argument, 2 provided
⢠candidate 3: âconstexpr vk::SurfaceFormatKHR::SurfaceFormatKHR(vk::Format, vk::ColorSpaceKHR)â
/usr/include/vulkan/vulkan_structs.hpp:193409:26:
193409 | VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( Format format_ = Format::eUndefined, ColorSpaceKHR colorSpace_ = ColorSpaceKHR::eSrgbNonlinear ) VULKAN_HPP_NOEXCEPT
| ^~~~~~~~~~~~~~~~
⢠conversion of argument 2 would be ill-formed:
/<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4269:56: error: âeVkColorspaceSrgbNonlinearâ is not a member of âvk::ColorSpaceKHRâ
4269 | format.colorSpace = vk::ColorSpaceKHR::eVkColorspaceSrgbNonlinear;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
[1166/1603] /usr/bin/x86_64-linux-gnu-g++ -DBASISU_HAVE_STD_ [too-long-redacted] R>>/lib/ivis_opengl/imdload.cpp
[1167/1603] /usr/bin/x86_64-linux-gnu-g++ -DBASISU_HAVE_STD_ [too-long-redacted] /lib/ivis_opengl/gfx_api_gl.cpp
ninja: build stopped: subcommand failed.
make[1]: *** [debian/rules:24: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-games-devel
mailing list