Weird build failure on MacOS/Big Sur/AArch64

Andrew Haley aph at
Wed May 5 10:28:50 UTC 2021

On 5/5/21 2:44 AM, David Holmes wrote:
> On 5/05/2021 2:33 am, erik.joelsson at wrote:
>> Hello Andrew,
>> I think you are first in trying this on MacOS AArch64. I don't currently 
>> have access to such a machine to try it. Most likely it's something 
>> simple with the logic for picking the JDK to download for running the 
>> build.
> Build instructions assume CDS is always available?
> ./plugins/skara-images/src/main/java/org/openjdk/skara/gradle/images/
> project.exec((spec) -> {
>                  spec.setCommandLine(java, "-Xshare:dump", "-version");
>              });
> but no guarantee a JDK has CDS enabled. Also seems wrong to assume that 
> you should create a new CDS archive for the JDK being used even if CDS 
> is enabled.

Yay! Removing that line was all I needed.

45 actionable tasks: 24 executed, 21 up-to-date
info: if you are prompted for a password, fill in your personal access token,
      *not* your login password for
Username for '': theRealAph
Password for '':

Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the skara-dev mailing list