-
Notifications
You must be signed in to change notification settings - Fork 473
Getting different architectures in slim images #278
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
Comments
Looks like the 8 variants have been failing to build on https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/openjdk/228/console Setting up ca-certificates-java (20170531+nmu1) ...
Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
dpkg: error processing package ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:armhf:
openjdk-8-jre-headless:armhf depends on ca-certificates-java; however:
Package ca-certificates-java is not configured yet.
dpkg: error processing package openjdk-8-jre-headless:armhf (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Errors were encountered while processing:
ca-certificates-java
openjdk-8-jre-headless:armhf
�[91mE: Sub-process /usr/bin/dpkg returned an error code (1)
�[0mRemoving intermediate container cb39184e783a
The command '/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; apt-get update; apt-get install -y --no-install-recommends openjdk-8-jre-headless="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; [ "$(readlink -f "$JAVA_HOME")" = "$(docker-java-home)" ]; update-alternatives --get-selections | awk -v home="$(readlink -f "$JAVA_HOME")" 'index($3, home) == 1 { $2 = "manual"; print | "update-alternatives --set-selections" }'; update-alternatives --query java | grep -q 'Status: manual'' returned a non-zero code: 100 |
I noticed that too when I built my own image based on the arm32v7 debian stretch image and then trying to install it the same way as is done in openjdks Dockerfile. Doesn't seem like an error with this image then? |
Yeah, there's something quirky going on with the Debian package we're pulling from, unfortunately (and it seems to not affect |
I did a clean install of the armhf openjdk on a fresh raspian install earlier today without any problems. I can't get any more specifics until Monday unfortunately, but I'll update with some more details then. |
So from a fresh raspbian install on a raspberry, I ran the following:
With the following sources:
I don't know if this might be of any help. |
None of the official images are based on Raspbian, so unfortunately not.
|
Slim images give the wrong architecture, see below:
The text was updated successfully, but these errors were encountered: