.pNext = &pushd, ^ ../src/vulkan/gpu.c:254:22: note: (near initialization for 'props') In file included from ../src/vulkan/gpu.h:22, from ../src/vulkan/gpu.c:18: ../src/vulkan/common.h:29:22: error: unknown type name 'PFN_vkGetPhysicalDeviceProperties2KHR'; did you mean 'PFN_vkGetPhysicalDeviceProperties'? #define VK_FUN(name) PFN_##name name ^~~~ ../src/vulkan/common.h:32:33: note: in expansion of macro 'VK_FUN' #define VK_LOAD_FUN(inst, name) VK_FUN(name) = (PFN_##name) \ ^~~~~~ ../src/vulkan/gpu.c:257:9: note: in expansion of macro 'VK_LOAD_FUN' VK_LOAD_FUN(vk->inst, vkGetPhysicalDeviceProperties2KHR); ^~~~~~~~~~~ ../src/vulkan/common.h:32:49: error: 'PFN_vkGetPhysicalDeviceProperties2KHR' undeclared (first use in this function); did you mean 'vkGetPhysicalDeviceProperties2KHR'? #define VK_LOAD_FUN(inst, name) VK_FUN(name) = (PFN_##name) \ ^~~~ ../src/vulkan/gpu.c:257:9: note: in expansion of macro 'VK_LOAD_FUN' VK_LOAD_FUN(vk->inst, vkGetPhysicalDeviceProperties2KHR); ^~~~~~~~~~~ ../src/vulkan/common.h:33:29: error: expected ',' or ';' before 'vkGetInstanceProcAddr' vkGetInstanceProcAddr(inst, #name); ^~~~~~~~~~~~~~~~~~~~~ ../src/vulkan/gpu.c:257:9: note: in expansion of macro 'VK_LOAD_FUN' VK_LOAD_FUN(vk->inst, vkGetPhysicalDeviceProperties2KHR); ^~~~~~~~~~~ ../src/vulkan/gpu.c:258:9: error: called object 'vkGetPhysicalDeviceProperties2KHR' is not a function or function pointer vkGetPhysicalDeviceProperties2KHR(vk->physd, &props); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/vulkan/gpu.h:22, from ../src/vulkan/gpu.c:18: ../src/vulkan/gpu.c:257:31: note: declared here VK_LOAD_FUN(vk->inst, vkGetPhysicalDeviceProperties2KHR); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/vulkan/common.h:29:33: note: in definition of macro 'VK_FUN' #define VK_FUN(name) PFN_##name name ^~~~ ../src/vulkan/gpu.c:257:9: note: in expansion of macro 'VK_LOAD_FUN' VK_LOAD_FUN(vk->inst, vkGetPhysicalDeviceProperties2KHR); ^~~~~~~~~~~ ../src/vulkan/gpu.c:259:40: error: request for member 'maxPushDescriptors' in something not a structure or union p->max_push_descriptors = pushd.maxPushDescriptors; ^ ../src/vulkan/gpu.c: In function 'vk_pass_create': ../src/vulkan/gpu.c:1559:24: error: 'VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR' undeclared (first use in this function); did you mean 'VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT'? dinfo.flags |= VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT ../src/vulkan/gpu.c: In function 'vk_pass_run': ../src/vulkan/gpu.c:2133:9: error: called object is not a function or function pointer vk->vkCmdPushDescriptorSetKHR(cmd->buf, bindPoint[pass->params.type], ^~ ninja: build stopped: subcommand failed. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.s7Wmzm (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.s7Wmzm (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libplacebo.spec