← All tasks
cppKhronosGroup/glslang #3268Not a task: already works

MSYS2/MinGW, CMake Error: failed to create symbolic link

envgap__KhronosGroup__glslang-3268

01 / FAILURE SIGNATURE

As reported upstream

CMake Error: failed to create symbolic link 'glslangValidator.exe': Dem Client fehlt ein erforderliches Recht. { Client lacks permission }
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
9b1a0f4d3e054d9b21ae584a20c06c98628c3015
Manifest
StandAlone/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

KhronosGroup/glslang #3268 · read the original issue
`cmake.exe -E create_symlink glslang.exe glslangValidator.exe`

MSYS2/MinGW does not support symbolic links:

```

[422/422] Linking CXX executable StandAlone\glslang.exe

FAILED: StandAlone/glslang.exe 

cmd.exe /C "cd . && G:\MABS\msys64\mingw32\bin\ccache.exe  g++ -fstack-protector-strong -mtune=generic -O2 -pipe -mthreads -O3 -DNDEBUG -pipe -static-libgcc -fstack-protector-strong -static-libstdc++   -static -static-libgcc -static-libstdc++  -Wl,--no-undefined StandAlone/CMakeFiles/glslang-standalone.dir/StandAlone.cpp.obj -o StandAlone\glslang.exe -Wl,--out-implib,StandAlone\libglslang.dll.a -Wl,--major-image-version,0,--minor-image-version,0  glslang/libglslang.a  SPIRV/libSPIRV.a  glslang/libglslang-default-resource-limits.a  SPIRV/libSPVRemapper.a  -lpsapi  glslang/libMachineIndependent.a  OGLCompilersDLL/libOGLCompiler.a  glslang/OSDependent/Windows/libOSDependent.a  glslang/libGenericCodeGen.a  External/spirv-tools/source/opt/libSPIRV-Tools-opt.a  External/spirv-tools/source/libSPIRV-Tools.a  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cmd.exe /C "cd /D G:\MABS\build\glslang-git\build-32bit\StandAlone && G:\MABS\msys64\mingw32\bin\cmake.exe -E create_symlink glslang.exe glslangValidator.exe""

CMake Error: failed to create symbolic link 'glslangValidator.exe': Dem Client fehlt ein erforderliches Recht. { Client lacks permission }



```

[logs.zip](https://github.com/m-ab-s/media-autobuild_suite/files/12100516/logs.zip)



Related to https://github.com/m-ab-s/media-autobuild_suite/issues/2482
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]