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

CI (ARM): Errors were encountered while processing: libc-bin (Segmentation fault) #208

Closed
amotl opened this issue Feb 17, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@amotl
Copy link
Member

amotl commented Feb 17, 2025

Problem

Even after fixing the OCI build recently per 5c76e11 and 75f3ca1, it now fails for ARM when trying to install libc-bin on the GHA runner, which uses Ubuntu.

Details

 > [linux/arm64 stage-0 4/7] RUN     --mount=type=cache,id=apt,sharing=locked,target=/var/cache/apt     --mount=type=cache,id=apt,sharing=locked,target=/var/lib/apt     --mount=type=cache,id=pip,target=/root/.cache/pip     true     && apt-get update     && apt-get install --no-install-recommends --no-install-suggests --yes gcc git python3-dev     && pip install --use-pep517 --prefer-binary '/src'     && apt-get --yes remove --purge gcc git python3-dev && apt-get --yes autoremove:
131.0 Processing triggers for libc-bin (2.31-13+deb11u11) ...
131.1 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
131.4 Segmentation fault (core dumped)
131.5 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
131.8 Segmentation fault (core dumped)
131.8 dpkg: error processing package libc-bin (--configure):
131.8  installed libc-bin package post-installation script subprocess returned error exit status 139
131.8 Errors were encountered while processing:
131.8  libc-bin
: Sub-process /usr/bin/dpkg returned an error code (1)
------
Dockerfile:30

-- https://github.com/crate/mlflow-cratedb/actions/runs/13322229717/job/37208893118#step:10:1702

@amotl amotl added the bug Something isn't working label Feb 17, 2025
@amotl
Copy link
Member Author

amotl commented Feb 17, 2025

Previous CI runs displayed:

ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see actions/runner-images#10636

Q: Maybe downgrading to Ubuntu 22 will remedy the problem without much ado?

A: No, it didn't.

@amotl
Copy link
Member Author

amotl commented Feb 17, 2025

@amotl
Copy link
Member Author

amotl commented Feb 19, 2025

Indeed. We needed to follow the suggestion actions/runner-images#11471 (comment) by @ashwin153 to fix OCI builds for ARM. Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant