NLnetLabs / ploutos

Reusable packaging workflow for Rust projects
BSD 3-Clause "New" or "Revised" License
26 stars 4 forks source link

Self-test failing due to Node <-> GLIBC mismatch #125

Open ximon18 opened 1 day ago

ximon18 commented 1 day ago

E.g. https://github.com/NLnetLabs/ploutos-testing/actions/runs/12100450980/job/33746703240#step:3:1

/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
ximon18 commented 1 day ago

I think this is caused by running the GH checkout action v3 on Ubuntu Bionic where the action now requires Node 20 which requires newer glibc than is present in Bionic.

I'm not sure there is a solution to this as IIRC the older action version will cease working from December 5th.

So that might mean we can no longer package on these older systems whose glibc is too old.

ximon18 commented 1 day ago

Hmm, if it's just the checkout action failing we could do it using normal git instead.

ximon18 commented 1 day ago

Hmm, if it's just the checkout action failing we could do it using normal git instead.

That doesn't work because then it fails at the next action used which is actions/cache.

ximon18 commented 1 day ago

Disabling building on Ubuntu Bionic and Debian Stretch allows the packaging tests to succeed.

ximon18 commented 21 hours ago

For context this is presumably in some way related to https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ but I'm not sure exactly what caused it. The only difference I can see is the use of new runner image https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20241124.1.