You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2021/03/02 17:17:00 UTC
[jira] [Comment Edited] (CASSANDRA-16428) Fix selections of JDKs in
debian docker images on arm64
[ https://issues.apache.org/jira/browse/CASSANDRA-16428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293848#comment-17293848 ]
Michael Semb Wever edited comment on CASSANDRA-16428 at 3/2/21, 5:16 PM:
-------------------------------------------------------------------------
Committed as [29dccda73cec1c80ffa838a3109c8bef68f162ee|https://github.com/apache/cassandra-builds/commit/29dccda73cec1c80ffa838a3109c8bef68f162ee].
The redhat packaging is still failing, will tackle that in a separate ticket.
was (Author: michaelsembwever):
Committed as [29dccda73cec1c80ffa838a3109c8bef68f162ee|https://github.com/apache/cassandra-builds/commit/29dccda73cec1c80ffa838a3109c8bef68f162ee].
The redhat packaging is still failure, will tackle that in a separate ticket.
> Fix selections of JDKs in debian docker images on arm64
> -------------------------------------------------------
>
> Key: CASSANDRA-16428
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16428
> Project: Cassandra
> Issue Type: Task
> Components: Build, Packaging
> Reporter: Michael Semb Wever
> Assignee: Michael Semb Wever
> Priority: Normal
> Fix For: 2.2.20, 3.0.25, 3.11.11, 4.0-beta5, 4.0
>
>
> The debian docker [image|https://github.com/apache/cassandra-builds/blob/trunk/docker/buster-image.docker] used by the [cassandra-deb-packaging.sh|https://github.com/apache/cassandra-builds/blob/trunk/build-scripts/cassandra-deb-packaging.sh] tries to set the jdk like
> {code}
> update-java-alternatives --set java-1.8.0-openjdk-amd64
> {code}
> This won't work on arm64.
> Suggestion is to replace it with the following:
> {code}
> update-java-alternatives --set $(update-java-alternatives -l | cut -d" " -f1 | grep java-1.8)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org