glslangValidator symlink cannot be created in a distro package build environment
envgap__KhronosGroup__glslang-3281
01 / FAILURE SIGNATURE
As reported upstream
CMake Error: failed to create symbolic link 'glslangValidator': Read-only file system
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
65397339c5033cc612519a29f3896bbd3dcd2d08- Manifest
StandAlone/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
KhronosGroup/glslang #3281 · read the original issue
Version: 12.3.1 ``` CMake Error: failed to create symbolic link 'glslangValidator': Read-only file system ``` Basically, cmake tries to symlink into /usr/bin/glslangValidator -> glslang, but it completely ignores $DESTDIR. In a distro packaging environment DESTDIR will be set somewhere (in my case, to /buildstream-install/), and the rest of the system (including /usr) will be mounted read-only.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]