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. |
|
This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity. |
|
bump |
|
This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity. |
|
bump |
|
This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity. |
|
Bump |
oddstr13
left a comment
There was a problem hiding this comment.
I find it strange that this would be tied to the runner, as it is adding an additional dependency in the docker container (which is based on the node base image).
I think it more likely that the node baseimage changed to not include it, or that it is a new dependency in the licensed gem.
Either way, this is a required change to make the action buildable, and I came to the exact same solution myself (to the byte) before starting to look at what PRs where open.
|
This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity. |
|
Not stale |


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
nokogiricompilation fails due to missingxzcat.Problem
When running metrics action on Ubuntu 24.04 (new ubuntu-latest), licensed gem installation failed with:
Solution
Add
xz-utilspackage to Dockerfile dependencies to providexzcatcommand required bynokogiricompilation.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.04as workaround