gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.41k stars 547 forks source link

[Bug]: 0.17.1 requires glibc 2.32, does not work on Debian bullseye (stable) #1890

Open taladar opened 1 year ago

taladar commented 1 year ago

Contact Details

No response

What happened?

0.17.0 did not require that glibc version and it would be useful to have binaries from the website work at least on the latest stable version of major distros.

Version

v0.17.1

What OS are you using?

Linux

Relevant log output

Jan 03 13:52:12 vpn-hetzner1 netmaker_0.17.1[2048363]: /usr/local/bin/netmaker_0.17.1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/bin/netmaker_0.17.1)
Jan 03 13:52:12 vpn-hetzner1 netmaker_0.17.1[2048363]: /usr/local/bin/netmaker_0.17.1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/bin/netmaker_0.17.1)
Jan 03 13:52:12 vpn-hetzner1 netmaker_0.17.1[2048363]: /usr/local/bin/netmaker_0.17.1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/netmaker_0.17.1)

Contributing guidelines

dsseng commented 1 year ago

Even 0.17.0 built by me (on Fedora 38) doesn't work on Debian bullseye. That's probably dependent on the build system versions and probably relevant to C compiler or libraries used

taladar commented 1 year ago

We still have not tried upgrading to anything beyond 0.17.0 because of this issue since 0.18 and above all say that you nee to be on 0.17.1 first. Debian bookworm also is not quite there yet in terms of third party support to upgrade to that (though that will likely change in the coming weeks).

sleeksorrow commented 2 months ago

Root cause is, that Github has updated their ubuntu-latest runner images to 22.04 (https://github.com/actions/runner-images/issues/6399) and by that introduced https://github.com/actions/runner-images/issues/6647 for every golang project using the latest runner. You (the devs here) can overcome this by explicitly specifying ubuntu-20.04 runner for now (see for example: https://github.com/hustcer/nushell/commit/e1e48ae842c3bafb90a5ded629648913798f16c0)