Bug#1124217: vkmark: FTBFS: ../src/vulkan_state.cpp:207:52: error: no matching function for call to 'vk::Instance::createDebugUtilsMessengerEXT(const vk::DebugUtilsMessengerCreateInfoEXT&, std::nullptr_t, const {anonymous}::DebugUtilsDispatcher&) const'
Package: src:vkmark
Version: 2025.01-1
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/202512/
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:vkmark, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1
The Meson build system
Version: 1.10.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: vkmark
Project version: 2025.01
C compiler for the host machine: cc (gcc 15.2.0 "cc (Debian 15.2.0-12) 15.2.0")
C linker for the host machine: cc ld.bfd 2.45.50.20251209
C++ compiler for the host machine: c++ (gcc 15.2.0 "c++ (Debian 15.2.0-12) 15.2.0")
C++ linker for the host machine: c++ ld.bfd 2.45.50.20251209
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency vulkan found: YES 1.4.335
Library dl found: YES
Run-time dependency glm found: YES 1.0.1
Run-time dependency assimp found: YES 6.0.2
Run-time dependency xcb found: YES 1.17.0
Run-time dependency xcb-icccm found: YES 0.4.2
Run-time dependency wayland-client found: YES 1.24.0
Run-time dependency wayland-protocols found: YES 1.47
Run-time dependency wayland-scanner found: YES 1.24.0
Run-time dependency libdrm found: YES 2.4.129
Run-time dependency gbm found: YES 25.3.2-2
Program python3 found: YES (/usr/bin/python3)
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Checking for function "gbm_bo_create_with_modifiers2" with dependency gbm: YES
Run-time dependency threads found: YES
Message: Building with support for the following window systems: headless display wayland xcb kms
Build targets in project: 14
NOTICE: Future-deprecated features used:
* 0.56.0: {'dependency.get_pkgconfig_variable'}
vkmark 2025.01
User defined options
buildtype : plain
libdir : lib/x86_64-linux-gnu
localstatedir : /var
prefix : /usr
python.bytecompile: -1
sysconfdir : /etc
wrap_mode : nodownload
Found ninja-1.13.2 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/84] /usr/bin/wayland-scanner client-header //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml src/xdg-shell-client-protocol.h
[2/84] /usr/bin/wayland-scanner private-code //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml src/xdg-shell-protocol.c
[3/84] /usr/bin/python3 ../src/gen_format_map.py /usr/share/vulkan/registry/vk.xml src/format_map_gen.h
[4/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/benchmark.cpp.o -MF src/libvkmark-core.a.p/benchmark.cpp.o.d -o src/libvkmark-core.a.p/benchmark.cpp.o -c ../src/benchmark.cpp
[5/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/benchmark_collection.cpp.o -MF src/libvkmark-core.a.p/benchmark_collection.cpp.o.d -o src/libvkmark-core.a.p/benchmark_collection.cpp.o -c ../src/benchmark_collection.cpp
[6/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/default_benchmarks.cpp.o -MF src/libvkmark-core.a.p/default_benchmarks.cpp.o.d -o src/libvkmark-core.a.p/default_benchmarks.cpp.o -c ../src/default_benchmarks.cpp
[7/84] c++ -Isrc/vkmark.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ src/vkmark.p/main.cpp.o -MF src/vkmark.p/main.cpp.o.d -o src/vkmark.p/main.cpp.o -c ../src/main.cpp
[8/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/device_uuid.cpp.o -MF src/libvkmark-core.a.p/device_uuid.cpp.o.d -o src/libvkmark-core.a.p/device_uuid.cpp.o -c ../src/device_uuid.cpp
[9/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/log.cpp.o -MF src/libvkmark-core.a.p/log.cpp.o.d -o src/libvkmark-core.a.p/log.cpp.o -c ../src/log.cpp
[10/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/main_loop.cpp.o -MF src/libvkmark-core.a.p/main_loop.cpp.o.d -o src/libvkmark-core.a.p/main_loop.cpp.o -c ../src/main_loop.cpp
[11/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/mesh.cpp.o -MF src/libvkmark-core.a.p/mesh.cpp.o.d -o src/libvkmark-core.a.p/mesh.cpp.o -c ../src/mesh.cpp
[12/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/model.cpp.o -MF src/libvkmark-core.a.p/model.cpp.o.d -o src/libvkmark-core.a.p/model.cpp.o -c ../src/model.cpp
[13/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/options.cpp.o -MF src/libvkmark-core.a.p/options.cpp.o.d -o src/libvkmark-core.a.p/options.cpp.o -c ../src/options.cpp
[14/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/scene_collection.cpp.o -MF src/libvkmark-core.a.p/scene_collection.cpp.o.d -o src/libvkmark-core.a.p/scene_collection.cpp.o -c ../src/scene_collection.cpp
[15/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/scene.cpp.o -MF src/libvkmark-core.a.p/scene.cpp.o.d -o src/libvkmark-core.a.p/scene.cpp.o -c ../src/scene.cpp
[16/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/util.cpp.o -MF src/libvkmark-core.a.p/util.cpp.o.d -o src/libvkmark-core.a.p/util.cpp.o -c ../src/util.cpp
[17/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/vulkan_state.cpp.o -MF src/libvkmark-core.a.p/vulkan_state.cpp.o.d -o src/libvkmark-core.a.p/vulkan_state.cpp.o -c ../src/vulkan_state.cpp
FAILED: [code=1] src/libvkmark-core.a.p/vulkan_state.cpp.o
c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/vulkan_state.cpp.o -MF src/libvkmark-core.a.p/vulkan_state.cpp.o.d -o src/libvkmark-core.a.p/vulkan_state.cpp.o -c ../src/vulkan_state.cpp
../src/vulkan_state.cpp: In member function â??void VulkanState::create_instance(VulkanWSI&)â??:
../src/vulkan_state.cpp:203:32: warning: â??vk::DebugUtilsMessengerCreateInfoEXT& vk::DebugUtilsMessengerCreateInfoEXT::setPfnUserCallback(PFN_vkDebugUtilsMessengerCallbackEXT)â?? is deprecated: This setter is deprecated. Use the one taking a function pointer type from the vk-namespace instead. [-Wdeprecated-declarations]
195 | auto const debug_create_info = vk::DebugUtilsMessengerCreateInfoEXT{}
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | .setMessageSeverity(vk::DebugUtilsMessageSeverityFlagBitsEXT::eVerbose |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | vk::DebugUtilsMessageSeverityFlagBitsEXT::eInfo |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | vk::DebugUtilsMessageSeverityFlagBitsEXT::eWarning |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | vk::DebugUtilsMessageSeverityFlagBitsEXT::eError)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | .setMessageType(vk::DebugUtilsMessageTypeFlagBitsEXT::eGeneral |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | vk::DebugUtilsMessageTypeFlagBitsEXT::eValidation |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | vk::DebugUtilsMessageTypeFlagBitsEXT::ePerformance)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | .setPfnUserCallback(debug_callback);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /usr/include/vulkan/vulkan.hpp:9625,
from ../src/vulkan_state.h:26,
from ../src/vulkan_state.cpp:23:
/usr/include/vulkan/vulkan_structs.hpp:32331:40: note: declared here
32331 | DebugUtilsMessengerCreateInfoEXT & setPfnUserCallback( PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ ) VULKAN_HPP_NOEXCEPT
| ^~~~~~~~~~~~~~~~~~
../src/vulkan_state.cpp:207:52: error: no matching function for call to â??vk::Instance::createDebugUtilsMessengerEXT(const vk::DebugUtilsMessengerCreateInfoEXT&, std::nullptr_t, const {anonymous}::DebugUtilsDispatcher&) constâ??
207 | instance().createDebugUtilsMessengerEXT(debug_create_info, nullptr, dud),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/vulkan_state.cpp:207:52: note: there are 2 candidates
In file included from /usr/include/vulkan/vulkan.hpp:9624:
/usr/include/vulkan/vulkan_handles.hpp:21526:33: note: candidate 1: â??template<class Dispatch, typename std::enable_if<vk::detail::isDispatchLoader<Type>::value, bool>::type <anonymous> > vk::Result vk::Instance::createDebugUtilsMessengerEXT(const vk::DebugUtilsMessengerCreateInfoEXT*, const vk::AllocationCallbacks*, vk::DebugUtilsMessengerEXT*, const Dispatch&) constâ??
21526 | VULKAN_HPP_NODISCARD Result createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT * pCreateInfo,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vulkan/vulkan_handles.hpp:21526:33: note: template argument deduction/substitution failed:
../src/vulkan_state.cpp:207:81: note: cannot convert â??dudâ?? (type â??const {anonymous}::DebugUtilsDispatcherâ??) to type â??vk::DebugUtilsMessengerEXT*â??
207 | instance().createDebugUtilsMessengerEXT(debug_create_info, nullptr, dud),
| ^~~
/usr/include/vulkan/vulkan_handles.hpp:21535:7: note: candidate 2: â??template<class Dispatch, typename std::enable_if<vk::detail::isDispatchLoader<Type>::value, bool>::type <anonymous> > vk::ResultValueType<vk::DebugUtilsMessengerEXT>::type vk::Instance::createDebugUtilsMessengerEXT(const vk::DebugUtilsMessengerCreateInfoEXT&, vk::Optional<const vk::AllocationCallbacks>, const Dispatch&) constâ??
21535 | createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/vulkan/vulkan_handles.hpp:21535:7: note: template argument deduction/substitution failed:
/usr/include/vulkan/vulkan_handles.hpp:21533:152: error: no type named â??typeâ?? in â??struct std::enable_if<false, bool>â??
21533 | template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if<detail::isDispatchLoader<Dispatch>::value, bool>::type = true>
| ^~~~
../src/vulkan_state.cpp:208:95: error: no matching function for call to â??ManagedResource<vk::DebugUtilsMessengerEXT>::ManagedResource(<brace-enclosed initializer list>)â??
208 | [this, dud] (auto& d) {instance().destroyDebugUtilsMessengerEXT(d, nullptr, dud);}};
| ^
../src/vulkan_state.cpp:208:95: note: there are 3 candidates
In file included from ../src/vulkan_state.h:28:
../src/managed_resource.h:40:5: note: candidate 1: â??ManagedResource<T>::ManagedResource(ManagedResource<T>&&) [with T = vk::DebugUtilsMessengerEXT]â??
40 | ManagedResource(ManagedResource&& rhs)
| ^~~~~~~~~~~~~~~
../src/managed_resource.h:40:5: note: candidate expects 1 argument, 2 provided
../src/managed_resource.h:34:5: note: candidate 2: â??ManagedResource<T>::ManagedResource(T&&, Destructor&&) [with T = vk::DebugUtilsMessengerEXT; Destructor = std::function<void(vk::DebugUtilsMessengerEXT&)>]â??
34 | ManagedResource(T&& raw, Destructor&& destructor)
| ^~~~~~~~~~~~~~~
../src/managed_resource.h:34:5: note: conversion of argument 1 would be ill-formed:
../src/managed_resource.h:32:5: note: candidate 3: â??constexpr ManagedResource<T>::ManagedResource() [with T = vk::DebugUtilsMessengerEXT]â??
32 | ManagedResource() = default;
| ^~~~~~~~~~~~~~~
../src/managed_resource.h:32:5: note: candidate expects 0 arguments, 2 provided
[18/84] c++ -Isrc/libvkmark-core.a.p -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 '-DVKMARK_WINDOW_SYSTEM_DIR="/usr/lib/x86_64-linux-gnu/vkmark"' '-DVKMARK_DATA_DIR="/usr/share/vkmark"' '-DVKMARK_VERSION_STR="2025.01"' -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/libvkmark-core.a.p/window_system_loader.cpp.o -MF src/libvkmark-core.a.p/window_system_loader.cpp.o.d -o src/libvkmark-core.a.p/window_system_loader.cpp.o -c ../src/window_system_loader.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Reply to: