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

Bug#1054709: vulkan-validationlayers: FTBFS: gpu_validation.cpp:959:55: error: too many arguments to function ‘spvtools::Optimizer::PassToken spvtools::CreateInstBindlessCheckPass(uint32_t, uint32_t)’



Source: vulkan-validationlayers
Version: 1.3.250.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/layers && /usr/bin/c++ -DVK_ENABLE_BETA_EXTENSIONS -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DXXH_NO_LONG_LONG -Dvvl_EXPORTS -I/<<PKGBUILDDIR>>/layers/. -I/<<PKGBUILDDIR>>/layers/vulkan -isystem /<<PKGBUILDDIR>>/layers/external -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wpointer-arith -Wno-unused-parameter -MD -MT layers/CMakeFiles/vvl.dir/object_tracker/object_tracker_utils.cpp.o -MF CMakeFiles/vvl.dir/object_tracker/object_tracker_utils.cpp.o.d -o CMakeFiles/vvl.dir/object_tracker/object_tracker_utils.cpp.o -c /<<PKGBUILDDIR>>/layers/object_tracker/object_tracker_utils.cpp
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp: In member function ‘virtual bool GpuAssisted::InstrumentShader(const vvl::span<const unsigned int>&, std::vector<unsigned int>&, uint32_t*)’:
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:959:55: error: too many arguments to function ‘spvtools::Optimizer::PassToken spvtools::CreateInstBindlessCheckPass(uint32_t, uint32_t)’
>   959 |     optimizer.RegisterPass(CreateInstBindlessCheckPass(desc_set_bind_index, unique_shader_module_id, descriptor_indexing,
>       |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   960 |                                                        descriptor_indexing, buffer_oob_enabled, buffer_oob_enabled));
>       |                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/layers/./state_tracker/shader_module.h:30,
>                  from /<<PKGBUILDDIR>>/layers/./core_checks/cc_shader.h:27,
>                  from /<<PKGBUILDDIR>>/layers/./gpu_validation/gpu_utils.h:19,
>                  from /<<PKGBUILDDIR>>/layers/./gpu_validation/gpu_validation.h:20,
>                  from /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:21:
> /usr/include/spirv-tools/optimizer.hpp:772:22: note: declared here
>   772 | Optimizer::PassToken CreateInstBindlessCheckPass(uint32_t desc_set,
>       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp: In function ‘bool GenerateValidationMessage(const uint32_t*, std::string&, std::string&, bool&, const GpuAssistedBufferInfo&, GpuAssisted*)’:
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:1004:33: error: static assertion failed: If this asserts then SPIRV-Tools was updated with a new instrument.hpp and kInstErrorMax was updated. This needs to be changed in GPU-AV so that the GLSL gpu_shaders can read the constants.
>  1004 |         spvtools::kInstErrorMax == _kInstErrorMax,
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:1004:33: note: the comparison reduces to ‘(4 == 7)’
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:1029:14: error: ‘kInstErrorBuffOOBUniform’ was not declared in this scope
>  1029 |         case kInstErrorBuffOOBUniform:
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:1030:14: error: ‘kInstErrorBuffOOBStorage’ was not declared in this scope
>  1030 |         case kInstErrorBuffOOBStorage: {
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:1048:14: error: ‘kInstErrorBuffOOBUniformTexel’ was not declared in this scope
>  1048 |         case kInstErrorBuffOOBUniformTexel:
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/layers/gpu_validation/gpu_validation.cpp:1049:14: error: ‘kInstErrorBuffOOBStorageTexel’ was not declared in this scope
>  1049 |         case kInstErrorBuffOOBStorageTexel: {
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[3]: *** [layers/CMakeFiles/vvl.dir/build.make:961: layers/CMakeFiles/vvl.dir/gpu_validation/gpu_validation.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/vulkan-validationlayers_1.3.250.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&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 mark 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: