Closed wangeguo closed 7 months ago
This is due to memfd_create requires glibc 2.27, but it is not available on the latest cross (0.2.5)'s default image.
Upstream bug report: https://github.com/nix-rust/nix/issues/1972
One workaround is to use the edge image of cross, another is to use a way other than cross, which is the default.
# Cross.toml
[target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge"
Thanks, I switched to taiki-e/setup-cross-toolchain-action
and it works fine.
- name: Install cross-compilation tools
uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: ${{ matrix.target }}
Instance link: https://github.com/amphitheatre-app/desktop/actions/runs/7344765234 Commit: https://github.com/amphitheatre-app/desktop/commit/14fd0387da43de11cde4173579560e364ef4309c
Hello, My workflow is not working properly for the last 3 days, it is reporting the following error on Linux aarch64 platform:
Instance link: https://github.com/amphitheatre-app/desktop/actions/runs/7343335491/job/19995843592
I'm not sure what's wrong, can you help me out? Thank you.