• Bug#1067012: renderdoc: FTBFS with glslang 14: fatal error: glslang/Inc

    From Andreas Beckmann@21:1/5 to All on Sat Mar 16 22:50:01 2024
    Source: renderdoc
    Version: 1.27+dfsg-1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past)

    renderdoc FTBFS with glslang 14 in sid due to a missing header:

    [184/311] /usr/bin/c++ -DAMD_EXTENSIONS -DDISTRIBUTION_CONTACT=\"https://salsa.debian.org/xorg-team/app/renderdoc\" -DDISTRIBUTION_NAME=\"Debian\" -DDISTRIBUTION_VERSION=\"1.27+dfsg-1\" -DNV_EXTENSIONS -DRELEASE -DRENDERDOC_EXPORTS -DRENDERDOC_PLATFORM_
    LINUX
    -DRENDERDOC_STABLE_BUILD=1 -DRENDERDOC_SUPPORT_EGL -DRENDERDOC_SUPPORT_GL -DRENDERDOC_SUPPORT_GLES -DRENDERDOC_SUPPORT_VULKAN -DRENDERDOC_VULKAN_JSON_SUFFIX="" -DRENDERDOC_WINDOWING_XCB -DRENDERDOC_WINDOWING_XLIB -DRENDERDOC_X86_PROC_FAMILY=1 -I/build/
    rende
    rdoc-1.27+dfsg/renderdoc -I/build/renderdoc-1.27+dfsg/renderdoc/3rdparty -g -O2 -ffile-prefix-map=/build/renderdoc-1.27+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Wno-unused-value -O3 -DNDEBUG -fPIC -MD -MT renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/glslang_compile.cpp.o -MF renderdoc/driver/shaders/spirv/CMakeFiles/
    rdoc_sp
    irv.dir/glslang_compile.cpp.o.d -o renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/glslang_compile.cpp.o -c /build/renderdoc-1.27+dfsg/renderdoc/driver/shaders/spirv/glslang_compile.cpp
    FAILED: renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/glslang_compile.cpp.o
    /usr/bin/c++ -DAMD_EXTENSIONS -DDISTRIBUTION_CONTACT=\"https://salsa.debian.org/xorg-team/app/renderdoc\" -DDISTRIBUTION_NAME=\"Debian\" -DDISTRIBUTION_VERSION=\"1.27+dfsg-1\" -DNV_EXTENSIONS -DRELEASE -DRENDERDOC_EXPORTS -DRENDERDOC_PLATFORM_LINUX -
    DRENDERD
    OC_STABLE_BUILD=1 -DRENDERDOC_SUPPORT_EGL -DRENDERDOC_SUPPORT_GL -DRENDERDOC_SUPPORT_GLES -DRENDERDOC_SUPPORT_VULKAN -DRENDERDOC_VULKAN_JSON_SUFFIX="" -DRENDERDOC_WINDOWING_XCB -DRENDERDOC_WINDOWING_XLIB -DRENDERDOC_X86_PROC_FAMILY=1 -I/build/renderdoc-1.
    27+
    dfsg/renderdoc -I/build/renderdoc-1.27+dfsg/renderdoc/3rdparty -g -O2 -ffile-prefix-map=/build/renderdoc-1.27+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Wno-unused-value -O3 -DNDEBUG -fPIC -MD -MT renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/glslang_compile.cpp.o -MF renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.
    dir/gl
    slang_compile.cpp.o.d -o renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/glslang_compile.cpp.o -c /build/renderdoc-1.27+dfsg/renderdoc/driver/shaders/spirv/glslang_compile.cpp
    /build/renderdoc-1.27+dfsg/renderdoc/driver/shaders/spirv/glslang_compile.cpp:32:10: fatal error: glslang/Include/Types.h: No such file or directory
    32 | #include "glslang/Include/Types.h"
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.

    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)