Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build -gnu targets on ubuntu-20.04 #234

Merged
merged 1 commit into from
Jan 11, 2023
Merged

Build -gnu targets on ubuntu-20.04 #234

merged 1 commit into from
Jan 11, 2023

Conversation

coolreader18
Copy link
Contributor

This happens to be similar to cargo-bins/cargo-binstall#607; essentially, the ubuntu-latest workflow runner now points to ubuntu 22.04, which has a newer glibc version than e.g. Debian stable, so when you try to run the binaries built on it on Debian stable, you get errors like:

/usr/local/cargo/bin/cargo-watch: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/cargo/bin/cargo-watch)
/usr/local/cargo/bin/cargo-watch: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/cargo/bin/cargo-watch)
/usr/local/cargo/bin/cargo-watch: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/cargo/bin/cargo-watch)

This fixes the issue by explicitly specifying 20.04, which has a lower version of glibc.

@passcod passcod merged commit df22393 into watchexec:8.x Jan 11, 2023
@passcod
Copy link
Member

passcod commented Jan 11, 2023

This is in 8.2.2

@coolreader18 coolreader18 deleted the ubuntu-20 branch January 11, 2023 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants