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

Fix linux static build by pinning ghc-musl container version #3132

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

paulcadman
Copy link
Collaborator

The linux nightly build stopped working on 2024-10-22 after the ghc-musl:9.8.2 image was rebuilt.

With the following error:

Preprocessing executable 'juvix' for juvix-0.6.6..
Building executable 'juvix' for juvix-0.6.6..
[  1 of 199] Compiling Commands.Extra.Package
[  2 of 199] Compiling CommonOptions

<no location info>: error:
    Error loading shared library -lncursesw: No such file or directory

I've fixed this by pinning the container image using the container hash from before the failure. We must use the docker.io repository because quay.io does not seem to store old manifest files.

The linux nightly build is now working after this change:

https://github.com/anoma/juvix-nightly-builds/actions/runs/11579013347/job/32234216197

@paulcadman paulcadman added this to the 0.6.7 milestone Oct 29, 2024
@paulcadman paulcadman self-assigned this Oct 29, 2024
@paulcadman paulcadman changed the title Fix linux static build by pinning container version Fix linux static build by pinning ghc-musl container version Oct 29, 2024
@paulcadman
Copy link
Collaborator Author

paulcadman commented Oct 29, 2024

I investigated the issue with the container but I couldn't see anything in the recent changes that seemed like it would cause a problem. I've raised an issue with the ghc-musl maintainer to see if they can help benz0li/ghc-musl#10

The linux nightly build stopped working on 2024-10-22 after the
ghc-musl:9.8.2 image was rebuilt.

With the following error:

```
Preprocessing executable 'juvix' for juvix-0.6.6..
Building executable 'juvix' for juvix-0.6.6..
[  1 of 199] Compiling Commands.Extra.Package
[  2 of 199] Compiling CommonOptions

<no location info>: error:
    Error loading shared library -lncursesw: No such file or directory
```

I've fixed this by pinning the container image using the container hash
from before the failure. We must use the `docker.io` repository because
`quay.io` does not seem to store old manifest files.
@paulcadman paulcadman merged commit 23837ed into main Oct 29, 2024
4 checks passed
@paulcadman paulcadman deleted the fix-static-linux-build branch October 29, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants