Skip to content

cpubuilder dockerfiles are failing to build for arm64 #26

@ScottTodd

Description

@ScottTodd

Sample logs: https://github.com/iree-org/base-docker-images/actions/runs/13686307061

#11 112.5 Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
#11 112.6 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
#11 113.0 Segmentation fault (core dumped)
#11 113.0 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
#11 113.4 Segmentation fault (core dumped)
#11 113.4 dpkg: error processing package libc-bin (--configure):
#11 113.4  installed libc-bin package post-installation script subprocess returned error exit status 139
#11 113.4 Processing triggers for ca-certificates (20240203~22.04.1) ...
#11 113.6 Updating certificates in /etc/ssl/certs...
#11 128.7 0 added, 0 removed; done.
#11 128.7 Running hooks in /etc/ca-certificates/update.d...
#11 128.8 done.
#11 128.9 Errors were encountered while processing:
#11 128.9  libc-bin
#11 128.9 E: Sub-process /usr/bin/dpkg returned an error code (1)
#11 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c apt update &&     apt install -y wget git unzip curl gnupg2 lsb-release" did not complete successfully: exit code: 100
------
 > [linux/arm64  2/20] RUN apt update &&     apt install -y wget git unzip curl gnupg2 lsb-release:
113.4 dpkg: error processing package libc-bin (--configure):
113.4  installed libc-bin package post-installation script subprocess returned error exit status 139
113.4 Processing triggers for ca-certificates (20240203~22.04.1) ...
113.6 Updating certificates in /etc/ssl/certs...
128.7 0 added, 0 removed; done.
128.7 Running hooks in /etc/ca-certificates/update.d...
128.8 done.
128.9 Errors were encountered while processing:
128.9  libc-bin
128.9 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
cpubuilder_ubuntu_jammy.Dockerfile:8
--------------------
   7 |     ######## Apt packages ########
   8 | >>> RUN apt update && \
   9 | >>>     apt install -y wget git unzip curl gnupg2 lsb-release
  10 |     # Python 3.
--------------------
ERROR: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c apt update &&     apt install -y wget git unzip curl gnupg2 lsb-release" did not complete successfully: exit code: 100

These point to docker/buildx#1170, which has a few things to try.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions