Re: Call for testing: OpenJDK 11 on Arm64

From: tech-lists <tech-lists_at_zyxst.net>
Date: Fri, 31 Dec 2021 17:09:01 UTC
Hi,

On Fri, Dec 31, 2021 at 11:59:02AM +0000, Andrew Haley wrote:

>The PR is https://github.com/openjdk/aarch64-port/pull/14
>The tree is https://github.com/openjdk/aarch64-port
>
>Checkout this PR locally:
> $ git fetch https://git.openjdk.java.net/aarch64-port pull/14/head:pull/14

These instructions don't work, as far as I can tell. paste error? my error?

I make a dir called ~/projects

1. cd ~/projects
2. ~/projects % git fetch https://git.openjdk.java.net/aarch64-port pull/14/head:pull/14
fatal: not a git repository (or any parent up to mount point /usr)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

If I presume you meant 'git clone' rather than 'git fetch', this happens:

~/projects % git clone https://git.openjdk.java.net/aarch64-port pull/14/head:pull/14
Cloning into 'pull/14/head:pull/14'...
warning: redirecting to https://github.com/openjdk/aarch64-port/
remote: Enumerating objects: 1255843, done.
remote: Counting objects: 100% (18712/18712), done.
remote: Compressing objects: 100% (6840/6840), done.
remote: Total 1255843 (delta 12183), reused 15395 (delta 10923), pack-reused 1237131
Receiving objects: 100% (1255843/1255843), 516.32 MiB | 8.62 MiB/s, done.
Resolving deltas: 100% (938788/938788), done.
Updating files: 100% (64433/64433), done.

~/projects %

If I then run

> $ git checkout pull/14

this happens:

fatal: not a git repository (or any parent up to mount point /usr)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

If I just clone like this: git clone https://git.openjdk.java.net/aarch64-port
then do this:

cd aarch64-port/
% make
You are not using GNU Make/gmake, this is a requirement

then
% gmake
Please run 'bash configure' to create a configuration.

then
% bash configure

it runs configure, if zip isn't installed, it'll fail there. Install zip, it fails 
later if java isn't already installed like so:

checking for javac... [not found]
checking for java... [not found]
configure: Could not find a valid Boot JDK. OpenJDK distributions are available at http://jdk.java.net/.
configure: This might be fixed by explicitly setting --with-boot-jdk
configure: error: Cannot continue
configure exiting with result code 1

OK, so I'll need to install a bootstrap. Has what I've downloaded so far included 
the changes you want me to test?
-- 
J.