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

ATH container is broken on AArch64 #1322

Open
timja opened this issue Aug 11, 2023 · 1 comment
Open

ATH container is broken on AArch64 #1322

timja opened this issue Aug 11, 2023 · 1 comment
Labels

Comments

@timja
Copy link
Member

timja commented Aug 11, 2023

          Fails to build on arm64:
➜  acceptance-test-harness git:(openjdk21) docker build -t ath src/main/resources/ath-container
[+] Building 55.2s (9/27)
 => [internal] load build definition from Dockerfile                                                                                                                                                 0.0s
 => => transferring dockerfile: 6.47kB                                                                                                                                                               0.0s
 => [internal] load .dockerignore                                                                                                                                                                    0.0s
 => => transferring context: 2B                                                                                                                                                                      0.0s
 => [internal] load metadata for docker.io/library/ubuntu:22.04                                                                                                                                      0.0s
 => [ 1/23] FROM docker.io/library/ubuntu:22.04                                                                                                                                                      0.0s
 => [internal] load build context                                                                                                                                                                    0.0s
 => => transferring context: 3.92kB                                                                                                                                                                  0.0s
 => [ 2/23] RUN apt-get update &&   apt-get install -y --no-install-recommends     gpg-agent     software-properties-common     &&   apt-get clean all && rm -rf /var/cache/apt                     15.0s
 => [ 3/23] RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive     TZ=Etc/UTC     apt-get install -y --no-install-recommends         ca-certificates         gnupg         lsb-release        30.9s
 => [ 4/23] RUN curl -sSLo /tmp/jdk21.tar.gz "https://github.com/adoptium/temurin21-binaries/releases/download/jdk21-${JDK21_VERSION}/OpenJDK21U-jdk_x64_linux_hotspot_${JDK21_VERSION//-beta/}.tar  9.0s
 => ERROR [ 5/23] RUN update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-21-openjdk-amd64/bin/java 21   && update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-21-  0.2s
------
 > [ 5/23] RUN update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-21-openjdk-amd64/bin/java 21   && update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-21-openjdk-amd64/bin/javac 21   && update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java   && update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac:
#8 0.171 update-alternatives: error: alternative /usr/lib/jvm/java-17-openjdk-amd64/bin/java for java not registered; not setting
------
executor failed running [/bin/bash -o pipefail -c update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-21-openjdk-amd64/bin/java 21   && update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-21-openjdk-amd64/bin/javac 21   && update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java   && update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac]: exit code: 2

Originally posted by @timja in #1321 (review)

@basil basil changed the title ath-container is broken on arm64 ATH container is broken on AArch64 Jul 29, 2024
@basil
Copy link
Member

basil commented Jul 31, 2024

https://blog.nightly.mozilla.org/2024/04/19/firefox-nightly-now-available-for-linux-on-arm64/ has some promising news:

Our goal is to integrate ARM64 builds into Firefox’s extensive automated test suite, which will enable us to offer this architecture across the beta, release, and ESR channels.

@timja timja added the bug label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants