FS#79212 - [glslang] add /usr/bin/glslangValidator symlink

Attached to Project: Arch Linux
Opened by Aaron (potatoattack) - Thursday, 27 July 2023, 00:51 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 28 July 2023, 17:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No



In version 12.3.0 the following can be found in the change log:

Rename glslangValidator to glslang and create glslangValidator symlink

The symlink is not created in this package causing building some programs to fail (I found this issue with wlroots-git).
ln -s /usr/bin/glslang /usr/bin/glslangValidator fixes the issue.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 28 July 2023, 17:36 GMT
Reason for closing:  Fixed
Comment by Toolybird (Toolybird) - Thursday, 27 July 2023, 05:46 GMT
Arch is not doing anything special here....just using the upstream provided CMake files..maybe it's an upstream bug?

I see this in the build log:

CMake Error: failed to create symbolic link 'glslangValidator': Permission denied
Comment by q rty (q234rty) - Thursday, 27 July 2023, 06:00 GMT
This is indeed an upstream bug: https://github.com/KhronosGroup/glslang/issues/3281 https://github.com/KhronosGroup/glslang/pull/3283

However, would be still great if arch could pick up the PR or just add the symlink in the PKGBUILD, since this is currently breaking builds of e.g. mesa and wlroots.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 28 July 2023, 16:47 GMT
Please check rel-2.
Comment by q rty (q234rty) - Friday, 28 July 2023, 17:02 GMT
Can confirm the arch wlroots package builds fine w/ glslang 12.3.1-2.