[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1013514: gfxreconstruct: FTBFS: generated_vulkan_enum_to_string.h:198:34: error: ‘VkPrivateDataSlotCreateFlagBits’ was not declared in this scope; did you mean ‘VkPrivateDataSlotCreateFlags’?



Source: gfxreconstruct
Version: 0.9.11+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/framework/encode && /usr/bin/c++ -DENABLE_LZ4_COMPRESSION -DENABLE_ZLIB_COMPRESSION -DENABLE_ZSTD_COMPRESSION -DPAGE_GUARD_ENABLE_UCONTEXT_WRITE_DETECTION -DVK_ENABLE_BETA_EXTENSIONS -DVK_NO_PROTOTYPES -DVK_USE_PLATFORM_DISPLAY_KHR -DVK_USE_PLATFORM_HEADLESS -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DWAYLAND_LIBRARY=\"/usr/lib/x86_64-linux-gnu/libwayland-client.so\" -DX11_XCB_LIBRARY=\"/usr/lib/x86_64-linux-gnu/libX11-xcb.so\" -DXCB_KEYSYMS_LIBRARY=\"/usr/lib/x86_64-linux-gnu/libxcb-keysyms.so\" -DXCB_LIBRARY=\"/usr/lib/x86_64-linux-gnu/libxcb.so\" -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/framework -I/<<PKGBUILDDIR>>/external/Vulkan-Headers/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security "-Wno-error=stringop-overflow=" -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -Werror -std=gnu++14 -MD -MT framework/encode/CMakeFiles/gfxrecon_encode.dir/custom_vulkan_struct_handle_wrappers.cpp.o -MF CMakeFiles/gfxrecon_encode.dir/custom_vulkan_struct_handle_wrappers.cpp.o.d -o CMakeFiles/gfxrecon_encode.dir/custom_vulkan_struct_handle_wrappers.cpp.o -c /<<PKGBUILDDIR>>/framework/encode/custom_vulkan_struct_handle_wrappers.cpp
> In file included from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.h:35,
>                  from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.cpp:23:
> /<<PKGBUILDDIR>>/framework/generated/generated_vulkan_enum_to_string.h:198:34: error: ‘VkPrivateDataSlotCreateFlagBits’ was not declared in this scope; did you mean ‘VkPrivateDataSlotCreateFlags’?
>   198 | template <> std::string ToString<VkPrivateDataSlotCreateFlagBits>(const VkPrivateDataSlotCreateFlagBits& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize);
>       |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                  VkPrivateDataSlotCreateFlags
> /<<PKGBUILDDIR>>/framework/generated/generated_vulkan_enum_to_string.h:198:73: error: ‘VkPrivateDataSlotCreateFlagBits’ does not name a type; did you mean ‘VkPrivateDataSlotCreateFlags’?
>   198 | template <> std::string ToString<VkPrivateDataSlotCreateFlagBits>(const VkPrivateDataSlotCreateFlagBits& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize);
>       |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                                         VkPrivateDataSlotCreateFlags
> /<<PKGBUILDDIR>>/framework/generated/generated_vulkan_enum_to_string.h:198:25: error: template-id ‘ToString<<expression error> >’ for ‘std::string gfxrecon::util::ToString(const int&, gfxrecon::util::ToStringFlags, uint32_t, uint32_t)’ does not match any template declaration
>   198 | template <> std::string ToString<VkPrivateDataSlotCreateFlagBits>(const VkPrivateDataSlotCreateFlagBits& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/framework/generated/generated_vulkan_struct_to_string.h:33,
>                  from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.h:34,
>                  from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.cpp:23:
> /<<PKGBUILDDIR>>/framework/util/to_string.h:55:20: note: candidates are: ‘template<class T> std::string gfxrecon::util::ToString(uint32_t, gfxrecon::util::ToStringFlags, uint32_t, uint32_t)’
>    55 | inline std::string ToString(uint32_t      apiFlags,
>       |                    ^~~~~~~~
> /<<PKGBUILDDIR>>/framework/util/to_string.h:46:1: note:                 ‘template<class T> std::string gfxrecon::util::ToString(const T&, gfxrecon::util::ToStringFlags, uint32_t, uint32_t)’
>    46 | ToString(const T& obj, ToStringFlags toStringFlags = kToString_Default, uint32_t tabCount = 0, uint32_t tabSize = 4)
>       | ^~~~~~~~
> In file included from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.h:35,
>                  from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.cpp:23:
> /<<PKGBUILDDIR>>/framework/generated/generated_vulkan_enum_to_string.h:199:34: error: ‘VkPrivateDataSlotCreateFlagBits’ was not declared in this scope; did you mean ‘VkPrivateDataSlotCreateFlags’?
>   199 | template <> std::string ToString<VkPrivateDataSlotCreateFlagBits>(VkFlags vkFlags, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize);
>       |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                  VkPrivateDataSlotCreateFlags
> /<<PKGBUILDDIR>>/framework/generated/generated_vulkan_enum_to_string.h:199:25: error: template-id ‘ToString<<expression error> >’ for ‘std::string gfxrecon::util::ToString(VkFlags, gfxrecon::util::ToStringFlags, uint32_t, uint32_t)’ does not match any template declaration
>   199 | template <> std::string ToString<VkPrivateDataSlotCreateFlagBits>(VkFlags vkFlags, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/framework/generated/generated_vulkan_struct_to_string.h:33,
>                  from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.h:34,
>                  from /<<PKGBUILDDIR>>/framework/decode/custom_vulkan_ascii_consumer.cpp:23:
> /<<PKGBUILDDIR>>/framework/util/to_string.h:55:20: note: candidates are: ‘template<class T> std::string gfxrecon::util::ToString(uint32_t, gfxrecon::util::ToStringFlags, uint32_t, uint32_t)’
>    55 | inline std::string ToString(uint32_t      apiFlags,
>       |                    ^~~~~~~~
> /<<PKGBUILDDIR>>/framework/util/to_string.h:46:1: note:                 ‘template<class T> std::string gfxrecon::util::ToString(const T&, gfxrecon::util::ToStringFlags, uint32_t, uint32_t)’
>    46 | ToString(const T& obj, ToStringFlags toStringFlags = kToString_Default, uint32_t tabCount = 0, uint32_t tabSize = 4)
>       | ^~~~~~~~
> make[3]: *** [framework/decode/CMakeFiles/gfxrecon_decode.dir/build.make:79: framework/decode/CMakeFiles/gfxrecon_decode.dir/custom_vulkan_ascii_consumer.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/gfxreconstruct_0.9.11+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: