Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APP BUG]: Weird build error in src/video_core/renderer_vulkan/vk_platform.cpp:402:28 #2106

Open
2 tasks done
v-fox opened this issue Jan 9, 2025 · 2 comments
Open
2 tasks done

Comments

@v-fox
Copy link

v-fox commented Jan 9, 2025

Checklist

  • I have searched for a similar issue in this repository and did not find one.
  • I am using an official build obtained from releases or updated one of those builds using its in-app updater.

Describe the Bug

Tried to make a package build of latest git snapshot (20250108.65f9bbbf) and got this:

[  314s] /home/abuild/rpmbuild/BUILD/shadPS4-20250108.65f9bbbf/src/video_core/renderer_vulkan/vk_platform.cpp:402:28: error: cannot initialize a member subobject of type 'vk::PFN_DebugUtilsMessengerCallbackEXT' (aka 'unsigned int (*)(vk::DebugUtilsMessageSeverityFlagBitsEXT, Flags<DebugUtilsMessageTypeFlagBitsEXT>, const vk::DebugUtilsMessengerCallbackDataEXT *, void *)') with an lvalue of type 'VkBool32 (VkDebugUtilsMessageSeverityFlagBitsEXT, VkDebugUtilsMessageTypeFlagsEXT, const VkDebugUtilsMessengerCallbackDataEXT *, void *)' (aka 'unsigned int (VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int, const VkDebugUtilsMessengerCallbackDataEXT *, void *)'): type mismatch at 1st parameter ('vk::DebugUtilsMessageSeverityFlagBitsEXT' vs 'VkDebugUtilsMessageSeverityFlagBitsEXT')
[  314s]   402 |         .pfnUserCallback = DebugUtilsCallback,
[  314s]       |                            ^~~~~~~~~~~~~~~~~~
[  314s] 1 error generated.

System is a rolling release with latest userspace, including vulkan-headers and vulkan-validationlayers of 1.4.304
According to commit history, this seems to relate to pretty old code introduced in c01b6f8
Have no clue what it actually complains about.

Reproduction Steps

Seems like making a normal build against fresh userspace would cause it, not sure why it's not broken for everyone.

Expected Behavior

Complete the build.

Specify OS Version

openSUSE Tumbleweed

@Hermiten
Copy link
Collaborator

Maybe because you use a specific Linux system, with different package not the good version. Idk, can you check if you have everything up to date ?

@v-fox
Copy link
Author

v-fox commented Jan 11, 2025

Maybe because you use a specific Linux system, with different package not the good version. Idk, can you check if you have everything up to date ?

Tumbleweed is a rolling release, so everything should have latest stable release (sometimes unstable) unless maintainer for some package have gone missing. If you look at the link above and click on "x86_64 -> [failed]", it will show the build log, starting with list of all packages used with their versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants