#1145503 warzone2100: FTBFS: /<<PKGBUILDDIR>>/lib/ivis_opengl/gfx_api_vk.cpp:4258:95: error: 'eVkColorspaceSrgbNonlinear' is not a member of 'vk::ColorSpaceKHR'

#1145503#5
Date:
2026-08-25 12:42:40 UTC
From:
To:
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
--------------------------------------------------------------------------------

#1145503#10
Date:
2026-08-25 16:19:12 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
warzone2100, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1145503@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Noel <twolife@debian.org> (supplier of updated warzone2100 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 25 Aug 2026 15:57:31 +0200
Source: warzone2100
Architecture: source
Version: 4.7.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sébastien Noel <twolife@debian.org>
Closes: 1000302 1060158 1145503
Changes:
 warzone2100 (4.7.0-3) unstable; urgency=medium
 .
   * Team upload
   * Add upstream patch to fix FTBFS with libvulkan-dev >= 1.4.350
     (Closes: #1145503)
   * Rework d/p/datadir.patch (Closes: #1000302)
   * Rework the startup script a little bit
     (mitigates: #1084152, Closes: #1060158)
   * d/watch: convert to v5
Checksums-Sha1:
 dcf516d3f9a73797b5886c2d370aebbac300fc19 2468 warzone2100_4.7.0-3.dsc
 f2dc123c3893a8a33dceac0c106364f7152dc03b 27912 warzone2100_4.7.0-3.debian.tar.xz
 75dd4b3ff71320c8e97104e3a072fca7bd84ccdc 17683 warzone2100_4.7.0-3_amd64.buildinfo
Checksums-Sha256:
 3682bc23f3372e27d2b7d6f4d32270a333ec7a6b53487e312921f740ee803958 2468 warzone2100_4.7.0-3.dsc
 ff4b9cca964746b4237780a89d954f3fae9ac4e1602c568a4cb4ba115b0eae45 27912 warzone2100_4.7.0-3.debian.tar.xz
 a62a181f4b5f9dfa7a5b2d996a5029b43baa94b8b59af770787fc41b403553f2 17683 warzone2100_4.7.0-3_amd64.buildinfo
Files:
 013789eb0620a747d10dfc0c92bb6f1c 2468 games optional warzone2100_4.7.0-3.dsc
 025954a0699960ab22324cdf14176143 27912 games optional warzone2100_4.7.0-3.debian.tar.xz
 1e22073e63bba526155d6cce13427f6a 17683 games optional warzone2100_4.7.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFHBAEBCgAxFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmqNvCkTHHR3b2xpZmVA
ZGViaWFuLm9yZwAKCRCsoAi4yTSn1Ir2B/wMeG33z8NQhEhPzBvD18KoHojo4al2
lslUjkvjcvQqJtwx8vty7gqxLZewo9ogQvs15UVM0l0q3YSRMWDUllVSMMGKPyPb
+4S0CVR5IGL7kgy4h4PPproHwT8hOwGdH5p7FZ6E+qi1ekPFU9iq11Hf/vGiLJfY
dm3J/Qh1/HsQbUceDvjV2UYni1HERRbbbTz1jvVnth3HiVVOfclQeR9lu4isMqU/
uEX9TzXYiFEoqWixspacml5gWw6M/EzX+c3ZYJcHvkRBkejOqJldg3OHe7nCkgDU
QeGjIfa63P9yfkWmdaogW28Rd6uAXhkWjjXE3QpnY0It8jPmbgiGEkQa
=9y+r
-----END PGP SIGNATURE-----