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

Builds failing on ubuntu 24.04 #630

Closed
froggleston opened this issue Jan 10, 2025 · 2 comments · Fixed by #632
Closed

Builds failing on ubuntu 24.04 #630

froggleston opened this issue Jan 10, 2025 · 2 comments · Fixed by #632

Comments

@froggleston
Copy link
Contributor

froggleston commented Jan 10, 2025

I have added an explicit ubuntu 22.04 runner to highlight and confirm issues relating to ubuntu 24.04.

In this case, some underlying package is breaking sandpaper tests, and my money is on libxml2-dev as this has been bumped from 2.9.13 to 2.9.14.

I'll investigate more, but currently 24.04 builds are failing.

@froggleston
Copy link
Contributor Author

froggleston commented Jan 14, 2025

I can now reproduce this locally, and have traced it to {withr} behaviour, so have raised the issue there: r-lib/withr#277

@froggleston
Copy link
Contributor Author

froggleston commented Jan 16, 2025

If anyone else is experiencing this issue, the locale explicitly needs to be set in ubuntu 24.04 for the withr code to work as intended. withr fails silently when LANG is unset or set to C.UTF-8.

Using the following in the action fixes the problem:

  sudo locale-gen en_US.UTF-8
  sudo update-locale LANG=en_US.UTF-8

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 a pull request may close this issue.

1 participant