Skip to content

Conversation

@edan-bainglass
Copy link
Member

No description provided.

Copy link
Member

@superstar54 superstar54 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@danielhollas
Copy link
Contributor

The arm build failed, I've restarted it, let's see.

@edan-bainglass
Copy link
Member Author

Why is the build failing? Is this related to the change?

@danielhollas
Copy link
Contributor

It doesn't seem related, seems like it fails before the aiidalab-home is installed:


 > [full-stack linux/arm64  2/15] RUN if [ "arm64" = "arm64" ]; then         EXTRA_APT_PACKAGES="erlang libhdf5-serial-dev pkg-config curl povray rsync build-essential bc";     fi;    apt-get update --yes &&     apt-get install --yes --no-install-recommends curl povray rsync build-essential bc &&     apt-get clean && rm -rf /var/lib/apt/lists/*:
198.6 Setting up erlang-reltool (1:24.2.1+dfsg-1ubuntu0.1) ...
198.7 Setting up erlang-et (1:24.2.1+dfsg-1ubuntu0.1) ...
198.7 Setting up erlang-debugger (1:24.2.1+dfsg-1ubuntu0.1) ...
198.7 Setting up erlang-observer (1:24.2.1+dfsg-1ubuntu0.1) ...
198.7 Setting up erlang-common-test (1:24.2.1+dfsg-1ubuntu0.1) ...
198.7 Setting up erlang (1:24.2.1+dfsg-1ubuntu0.1) ...
198.7 Processing triggers for dictionaries-common (1.28.14) ...
201.3 Errors were encountered while processing:
201.3  libc-bin
201.4 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
Dockerfile:20
--------------------
  19 |     ARG TARGETARCH
  20 | >>> RUN if [ "$TARGETARCH" = "arm64" ]; then \
  21 | >>>         EXTRA_APT_PACKAGES="erlang libhdf5-serial-dev pkg-config ${EXTRA_APT_PACKAGES}"; \
  22 | >>>     fi;\
  23 | >>>     apt-get update --yes && \
  24 | >>>     apt-get install --yes --no-install-recommends ${EXTRA_APT_PACKAGES} && \
  25 | >>>     apt-get clean && rm -rf /var/lib/apt/lists/*
  26 |     
--------------------
Dockerfile:20
--------------------
  19 |     ARG TARGETARCH
  20 | >>> RUN if [ "$TARGETARCH" = "arm64" ]; then \
  21 | >>>         EXTRA_APT_PACKAGES="erlang libhdf5-serial-dev pkg-config ${EXTRA_APT_PACKAGES}"; \
  22 | >>>     fi;\
  23 | >>>     apt-get update --yes && \
  24 | >>>     apt-get install --yes --no-install-recommends ${EXTRA_APT_PACKAGES} && \
  25 | >>>     apt-get clean && rm -rf /var/lib/apt/lists/*
  26 |     
--------------------
ERROR: target full-stack: failed to solve: process "/bin/bash -o pipefail -c if [ \"$TARGETARCH\" = \"arm64\" ]; then         EXTRA_APT_PACKAGES=\"erlang libhdf5-serial-dev pkg-config ${EXTRA_APT_PACKAGES}\";     fi;    apt-get update --yes &&     apt-get install --yes --no-install-recommends ${EXTRA_APT_PACKAGES} &&     apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

@danielhollas
Copy link
Contributor

Confirmed that this happens in other PRs as well, here is a more complete error message. Still no idea why this is happening and don't see any quick workaround.

91.20 Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
91.29 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
91.75 Segmentation fault (core dumped)
91.80 qemu: uncaught target signal 11 (Segmentation fault) - core dumped
92.24 Segmentation fault (core dumped)
92.24 dpkg: error processing package libc-bin (--configure):
92.24  installed libc-bin package post-installation script subprocess returned error exit status 139
92.26 Errors were encountered while processing:
92.26  libc-bin
92.36 E: Sub-process /usr/bin/dpkg returned an error code (1)

@danielhollas
Copy link
Contributor

Looks like this issue, perhaps related to QEMU update.
tonistiigi/binfmt#215

@edan-bainglass
Copy link
Member Author

Looks like this issue, perhaps related to QEMU update. tonistiigi/binfmt#215

Thanks for the research Daniel. Let's keep an eye on it. For now, I will proceed with this one.

@edan-bainglass edan-bainglass merged commit 8658041 into main Feb 13, 2025
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants