Open
Description
Xmake Version
v2.9.8
Operating System Version and Architecture
Ubuntu 22.04
Describe Bug
This is cache issue that I could only reproduce in a external runner (here ubicloud) that is compatible with github actions. If I manually delete the xmake cache, the job will run fine. It may or may not be a bug from the xmake action cache setup.
Run xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
actions-cache-folder: .xmake-cache
package-cache: false
build-cache: false
env:
CACHE_PATH:
CACHE_KEY:
XMAKE_GLOBALDIR: /home/runner/work/tinyvlm/xmake-global
Selected xmake branch master (commit: 14bb[2](https://github.com/samayala22/tinyvlm/actions/runs/13359598216/job/37307182192#step:8:2)1f4)
Received 0 of 1444122 (0.0%), 0.0 MBs/sec
Cache Size: ~1 MB (1444122 B)
/usr/bin/tar -xf /home/runner/work/_temp/f9550f8b-5057-41dc-82f4-[3](https://github.com/samayala22/tinyvlm/actions/runs/13359598216/job/37307182192#step:8:3)894709ae5ac/cache.tzst -P -C /home/runner/work/tinyvlm/tinyvlm --use-compress-program unzstd
Cache restored successfully
cache path: /home/runner/work/tinyvlm/tinyvlm/.xmake-cache, key: xmake-cache--master-1[4](https://github.com/samayala22/tinyvlm/actions/runs/13359598216/job/37307182192#step:8:4)bb21f46c019618fcd0e0fee4ebdbbb91aa36b7-x64-linux-Linux
/home/runner/work/tinyvlm/tinyvlm/.xmake-cache/bin/xmake --root --version
/home/runner/work/tinyvlm/tinyvlm/.xmake-cache/bin/xmake: /lib/x8[6](https://github.com/samayala22/tinyvlm/actions/runs/13359598216/job/37307182192#step:8:6)_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /home/runner/work/tinyvlm/tinyvlm/.xmake-cache/bin/xmake)
/home/runner/work/tinyvlm/tinyvlm/.xmake-cache/bin/xmake: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /home/runner/work/tinyvlm/tinyvlm/.xmake-cache/bin/xmake)
Error: The process '/home/runner/work/tinyvlm/tinyvlm/.xmake-cache/bin/xmake' failed with exit code 1
Received 1444122 of 1444122 (100.0%), 0.[7](https://github.com/samayala22/tinyvlm/actions/runs/13359598216/job/37307182192#step:8:7) MBs/sec
Expected Behavior
I expect the xmake gh action to be able to find the existing glibc lib when retrieved from cache.
Project Configuration
I will repeat that i can only reproduce this bug when using a ubicloud runner.