Summary: | media-gfx/renderdoc-1.20 fails to compile (lto): ShaderLang.h:181:8: error: type struct TInputLanguage violates the C++ One Definition Rule [-Werror=odr] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Matthew Smith <matthew> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-07-21 14:52:40 UTC
Created attachment 792872 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: lib/librenderdoc.so /var/tmp/portage/media-gfx/renderdoc-1.20/work/renderdoc-1.20/renderdoc/3rdparty/glslang/glslang/Public/ShaderLang.h:181:8: error: type ‘struct TInputLanguage’ violates the C++ One Definition Rule [-Werror=odr] The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3285fc55eac9e699b5fc4b50d0171d9745ca85b6 commit 3285fc55eac9e699b5fc4b50d0171d9745ca85b6 Author: Matthew Smith <matthew@gentoo.org> AuthorDate: 2022-07-22 09:28:43 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2022-07-22 09:28:43 +0000 media-gfx/renderdoc: filter lto Also: * rebase the system-glslang patch as one header from the vendored copy of glslang was used, causing issues due to the differing versions. * delete the vendored glslang directory in src_prepare to remove the possibility of the above happening again. Closes: https://bugs.gentoo.org/859799 Signed-off-by: Matthew Smith <matthew@gentoo.org> .../files/renderdoc-1.20-system-glslang.patch | 197 +++++++++++++++++++++ ...derdoc-1.20.ebuild => renderdoc-1.20-r1.ebuild} | 11 +- 2 files changed, 206 insertions(+), 2 deletions(-) |