Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922436 - media-gfx/renderdoc-1.30 - incompatibility with dev-util/glslang-1.3.275
Summary: media-gfx/renderdoc-1.30 - incompatibility with dev-util/glslang-1.3.275
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-18 18:15 UTC by Toralf Förster
Modified: 2024-01-27 17:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.41 KB, text/plain)
2024-01-18 18:15 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,64.80 KB, application/x-xz)
2024-01-18 18:15 UTC, Toralf Förster
Details
environment (environment,169.63 KB, text/plain)
2024-01-18 18:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.26 KB, application/x-xz)
2024-01-18 18:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.89 KB, application/x-xz)
2024-01-18 18:15 UTC, Toralf Förster
Details
media-gfx:renderdoc-1.30:20240118-091748.log (media-gfx:renderdoc-1.30:20240118-091748.log,5.63 KB, text/plain)
2024-01-18 18:15 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,68.00 KB, application/x-xz)
2024-01-18 18:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,37.97 KB, application/x-xz)
2024-01-18 18:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-18 18:15:41 UTC

CMake Error at CMakeLists.txt:490 (message):
  glslang or SPIRV target not found


-- Configuring incomplete, errors occurred!
 * ERROR: media-gfx/renderdoc-1.30::gentoo failed (configure phase):
 *   cmake failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20240112-230022

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit 78152c5bb1b63a6a18b989bd1aef6b1c3c3286ad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jan 18 08:18:13 2024 +0000

    2024-01-18 08:18:12 UTC

emerge -qpvO media-gfx/renderdoc
[ebuild   R   ] media-gfx/renderdoc-1.30  USE="-doc -pyside2 -qt5 -verify-sig" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-01-18 18:15:42 UTC
Created attachment 882557 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-18 18:15:43 UTC
Created attachment 882558 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-18 18:15:45 UTC
Created attachment 882559 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-18 18:15:45 UTC
Created attachment 882560 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-18 18:15:46 UTC
Created attachment 882561 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-18 18:15:47 UTC
Created attachment 882562 [details]
media-gfx:renderdoc-1.30:20240118-091748.log
Comment 7 Toralf Förster gentoo-dev 2024-01-18 18:15:48 UTC
Created attachment 882563 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-18 18:15:49 UTC
Created attachment 882564 [details]
temp.tar.xz
Comment 9 Alexander Maltsev 2024-01-27 06:49:19 UTC
It seems with newer glslang both cmake modules and API changed (it broke ffmpeg too btw, but there it is a USE option). I tried patching cmakelists, but headers changed too. I haven't dug deeper, maybe it's not that much; using bundled version of glslang seemed saner option.

Any downsides of adding USE=system-glslang option, and use bundled when it is disabled?
Comment 10 Matthew Smith gentoo-dev 2024-01-27 13:49:42 UTC
> using bundled version of glslang seemed saner option.

Yes - I'll drop the system-glslang patches and switch to the vendored copy. Recently it's started to break with every update and I don't think it's worth keeping up with.
Comment 11 Larry the Git Cow gentoo-dev 2024-01-27 17:37:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbab74604fc6fea1f0ddc167ca889e567ca6f25a

commit dbab74604fc6fea1f0ddc167ca889e567ca6f25a
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2024-01-27 17:37:12 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-01-27 17:37:31 +0000

    media-gfx/renderdoc: use vendored glslang
    
    Closes: https://bugs.gentoo.org/922436
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 .../files/renderdoc-1.30-r1-system-compress.patch  | 142 +++++++++++++++
 media-gfx/renderdoc/renderdoc-1.30-r1.ebuild       | 194 +++++++++++++++++++++
 2 files changed, 336 insertions(+)