Source: shaderc
Version: 2023.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

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/libshaderc_util && /usr/bin/c++ 
> -DENABLE_HLSL -I/<<PKGBUILDDIR>>/libshaderc_util/include 
> -I/usr/include/glslang -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -Wimplicit-fallthrough -std=gnu++11 -Wextra-semi -Wall -Werror 
> -fvisibility=hidden -fPIC -std=c++11 -MD -MT 
> libshaderc_util/CMakeFiles/shaderc_util.dir/src/version_profile.cc.o -MF 
> CMakeFiles/shaderc_util.dir/src/version_profile.cc.o.d -o 
> CMakeFiles/shaderc_util.dir/src/version_profile.cc.o -c 
> /<<PKGBUILDDIR>>/libshaderc_util/src/version_profile.cc
> In file included from /usr/include/glslang/Include/Types.h:47,
>                  from /usr/include/glslang/Include/intermediate.h:57,
>                  from 
> /usr/include/glslang/MachineIndependent/localintermediate.h:42,
>                  from /usr/include/glslang/SPIRV/SpvTools.h:50,
>                  from /usr/include/glslang/SPIRV/GlslangToSpv.h:42,
>                  from /<<PKGBUILDDIR>>/libshaderc_util/src/compiler.cc:23:
> /usr/include/glslang/Include/SpirvIntrinsics.h:120:10: error: ‘variant’ in 
> namespace ‘std’ does not name a template type
>   120 |     std::variant<const TIntermConstantUnion*, const TType*> value;
>       |          ^~~~~~~
> /usr/include/glslang/Include/SpirvIntrinsics.h:120:5: note: ‘std::variant’ is 
> only available from C++17 onwards
>   120 |     std::variant<const TIntermConstantUnion*, const TType*> value;
>       |     ^~~
> /usr/include/glslang/Include/SpirvIntrinsics.h: In constructor 
> ‘glslang::TSpirvTypeParameter::TSpirvTypeParameter(const 
> glslang::TIntermConstantUnion*)’:
> /usr/include/glslang/Include/SpirvIntrinsics.h:100:60: error: ‘value’ was not 
> declared in this scope
>   100 |     TSpirvTypeParameter(const TIntermConstantUnion* arg) { value = 
> arg; }
>       |                                                            ^~~~~
> /usr/include/glslang/Include/SpirvIntrinsics.h: In constructor 
> ‘glslang::TSpirvTypeParameter::TSpirvTypeParameter(const glslang::TType*)’:
> /usr/include/glslang/Include/SpirvIntrinsics.h:101:45: error: ‘value’ was not 
> declared in this scope
>   101 |     TSpirvTypeParameter(const TType* arg) { value = arg; }
>       |                                             ^~~~~
> /usr/include/glslang/Include/SpirvIntrinsics.h: In member function ‘const 
> glslang::TIntermConstantUnion* glslang::TSpirvTypeParameter::getAsConstant() 
> const’:
> /usr/include/glslang/Include/SpirvIntrinsics.h:105:13: error: ‘value’ was not 
> declared in this scope
>   105 |         if (value.index() == 0)
>       |             ^~~~~
> /usr/include/glslang/Include/SpirvIntrinsics.h: In member function ‘const 
> glslang::TType* glslang::TSpirvTypeParameter::getAsType() const’:
> /usr/include/glslang/Include/SpirvIntrinsics.h:111:13: error: ‘value’ was not 
> declared in this scope
>   111 |         if (value.index() == 1)
>       |             ^~~~~
> make[4]: *** [libshaderc_util/CMakeFiles/shaderc_util.dir/build.make:93: 
> libshaderc_util/CMakeFiles/shaderc_util.dir/src/compiler.cc.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/shaderc_2023.2-1_unstable.log

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