-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add xz-utils
as dependencies
#1677
base: master
Are you sure you want to change the base?
Conversation
The licensed gem installation fails due to missing `xzcat` command during `nokogiri` compilation. Adding `xz-utils` package resolves this dependency issue.
@lowlighter Hi, I noticed this issue during recent GitHub Actions ubuntu-latest upgrade process. Would you mind reviewing this PR? |
fix: add `xz-utils` dependencies, actions linux system not had this dependencies refer to lowlighter#1677 PR
Add xz-utils as dependencies lowlighter#1677 fix: add `xz-utils` dependencies, actions linux system not had this dependencies refer to lowlighter#1677 PR
I had the first failing one today (https://github.com/tr7zw/tr7zw/actions/runs/12682127087/attempts/1 but it worked on a second retry), outside of that I just noticed that all repo stat values vanish from time to time (tr7zw/tr7zw@2482f9a#diff-15c77d2bbedf6bd69a53f23e8705a32acfeeb9a45ca324f78e8f385924ab3f29L188), might depend on which ubuntu runner it happens to use. |
Description
Fix licensed gem installation failure on ubuntu-latest (probably Ubuntu 24.04) runner. The issue was discovered during recent GitHub Actions ubuntu-latest image upgrade (announcement), where
nokogiri
compilation fails due to missingxzcat
.Problem
When running metrics action on Ubuntu 24.04 (new ubuntu-latest), licensed gem installation failed with:
Solution
Add
xz-utils
package to Dockerfile dependencies to providexzcat
command required bynokogiri
compilation.Testing
Successfully tested with action running on ubuntu-latest (workflow run)
Notes
Since GitHub's ubuntu-latest upgrade is rolling out until January 17th, 2025 (see announcement):
runs-on: ubuntu-22.04
as workaround