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

Bug#975164: spirv-tools: FTBFS: operand.kinds-unified1.inc:1130:4: error: ‘SPV_OPERAND_TYPE_FRAGMENT_SHADING_RATE’ was not declared in this scope; did you mean ‘SPV_OPERAND_TYPE_FP_ROUNDING_MODE’?



Source: spirv-tools
Version: 2020.5-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201119 ftbfs-bullseye

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/source && /usr/bin/c++ -DSPIRV_CHECK_CONTEXT -DSPIRV_COLOR_TERMINAL -DSPIRV_LINUX -DSPIRV_TIMER_ENABLED -DSPIRV_TOOLS_IMPLEMENTATION -DSPIRV_TOOLS_SHAREDLIB -DSPIRV_Tools_shared_EXPORTS -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -fvisibility=hidden -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Werror -std=c++11 -fno-exceptions -fno-rtti -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -std=gnu++11 -o CMakeFiles/SPIRV-Tools-shared.dir/operand.cpp.o -c /<<PKGBUILDDIR>>/source/operand.cpp
> In file included from /<<PKGBUILDDIR>>/source/operand.cpp:35:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/operand.kinds-unified1.inc:1130:4: error: ‘SPV_OPERAND_TYPE_FRAGMENT_SHADING_RATE’ was not declared in this scope; did you mean ‘SPV_OPERAND_TYPE_FP_ROUNDING_MODE’?
>  1130 |   {SPV_OPERAND_TYPE_FRAGMENT_SHADING_RATE, ARRAY_SIZE(pygen_variable_FragmentShadingRateEntries), pygen_variable_FragmentShadingRateEntries},
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |    SPV_OPERAND_TYPE_FP_ROUNDING_MODE
> In file included from /<<PKGBUILDDIR>>/source/operand.cpp:35:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/operand.kinds-unified1.inc:1130:4: error: ‘SPV_OPERAND_TYPE_FRAGMENT_SHADING_RATE’ was not declared in this scope; did you mean ‘SPV_OPERAND_TYPE_FP_ROUNDING_MODE’?
>  1130 |   {SPV_OPERAND_TYPE_FRAGMENT_SHADING_RATE, ARRAY_SIZE(pygen_variable_FragmentShadingRateEntries), pygen_variable_FragmentShadingRateEntries},
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |    SPV_OPERAND_TYPE_FP_ROUNDING_MODE
> make[3]: *** [source/CMakeFiles/SPIRV-Tools-static.dir/build.make:259: source/CMakeFiles/SPIRV-Tools-static.dir/operand.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/spirv-tools_2020.5-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: