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

Bug#980608: renderdoc: FTBFS: glslang_compile.cpp:145:1: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization



Source: renderdoc
Version: 1.11+dfsg-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 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/renderdoc && /usr/bin/c++ -DDISTRIBUTION_CONTACT=\"https://salsa.debian.org/xorg-team/app/renderdoc\"; -DDISTRIBUTION_NAME=\"Debian\" -DDISTRIBUTION_VERSION=\"1.11+dfsg-4\" -DRENDERDOC_EXPORTS -DRENDERDOC_PLATFORM_LINUX -DRENDERDOC_STABLE_BUILD=1 -DRENDERDOC_SUPPORT_EGL -DRENDERDOC_SUPPORT_GL -DRENDERDOC_SUPPORT_GLES -DRENDERDOC_SUPPORT_VULKAN -DRENDERDOC_WINDOWING_XCB -DRENDERDOC_WINDOWING_XLIB -D_RELEASE -I/<<PKGBUILDDIR>>/renderdoc -I/<<PKGBUILDDIR>>/renderdoc/3rdparty -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-unused-result -Wno-type-limits -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-reorder -Wno-unused-but-set-variable -Wno-maybe-uninitialized -Wno-class-memaccess -Wimplicit-fallthrough=2 -O3 -DNDEBUG -fPIC -o CMakeFiles/rdoc.dir/common/dds_readwrite.cpp.o -c /<<PKGBUILDDIR>>/renderdoc/common/dds_readwrite.cpp
> /<<PKGBUILDDIR>>/renderdoc/driver/shaders/spirv/glslang_compile.cpp:145:1: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in initialization
>   145 | };
>       | ^
> make[3]: *** [renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/build.make:85: renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/glslang_compile.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/renderdoc_1.11+dfsg-4_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!

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 me
so that we can identify if something relevant changed in the meantime.

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: