Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914598

Summary: gui-libs/gtk-4.12.2 fails to compile because "glslc" isn't found
Product: Gentoo Linux Reporter: daniel <paessler>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description daniel 2023-09-24 08:56:55 UTC
Created attachment 871234 [details]
emerge --info

I don't know, which package provides the program "glslc", but emerge fails with:


...
Run-time dependency vulkan found: YES 1.3.261
Program glslc found: NO

meson.build:609:8: ERROR: Program 'glslc' not found or not executable

A full log can be found at /var/tmp/portage/gui-libs/gtk-4.12.2/work/gtk-4.12.2-build/meson-logs/meson-log.txt
Comment 1 Ionen Wolkens gentoo-dev 2023-09-24 09:14:34 UTC
(In reply to daniel from comment #0)
> I don't know, which package provides the program "glslc", but emerge fails
media-libs/shaderc

Haven't looked but I'd "guess" it's used when USE=vulkan is enabled, or so... but USE=vulkan is currently masked on gtk, did you unmask it?

Please provide the full build.log.
Comment 2 daniel 2023-09-24 10:20:28 UTC
(In reply to Ionen Wolkens from comment #1)
but USE=vulkan is currently masked on gtk, did you unmask it?

that's it, sorry. 
I disabled vulkan and gtk compiles fine. Thank you.