pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lang/openjdk11 on NetBSD/aarch64
On Mon, Dec 04, 2023 at 03:31:52PM -0500, MLH wrote:
> From: Robert Swindells
>
> > Getting build errors for lang/openjdk11 (and lang/openjdk17) on
> > NetBSD-current for aarch64.
> >
> > The bootstrap JVM dumps core for keytool for each of the certificate
> > files that it is trying to import.
I also noticed this - I do build testing on a free Oracle aarch64 VM
currently running netbsd-10 :)
I didn't get anywhere figuring out what was broken.
> On amd64 the certificate files aren't a problem but neither openjdk11
> or openjdk21 can install due to the images directory not existing.
>
> make install
> => Bootstrap dependency digest>=20211023: found digest-20220214
> => Fetching bootstrap-jdk-1.11.0.5.8-netbsd-7-amd64-20190928.tar.xz
> => Fetching jdk11u-jdk-11.0.21-9-1.tar.gz
> ===> Skipping vulnerability checks.
> WARNING: No /var/db/pkgnew/pkg-vulnerabilities file found.
> WARNING: To fix run: `/usr/pkgnew/sbin/pkg_admin -K /var/db/pkgnew fetch-pkg-vulnerabilities'.
> ===> Installing for openjdk11-1.11.0.21.9
> => Generating pre-install file lists
> => Creating installation directories
> /usr/bin/install -d -o root -g wheel -m 755 /pkg_comp/obj/pkgsrc/lang/openjdk11/default/.destdir/usr/pkgnew/java/openjdk11
> cd /pkg_comp/obj/pkgsrc/lang/openjdk11/default/jdk11u-jdk-11.0.21-9-1/build/bsd-x86_64-normal-server-release/images/jdk && pax -rwpp . /pkg_comp/obj/pkgsrc/lang/openjdk11/default/.destdir/usr/pkgnew/java/openjdk11/.
> cd: can't cd to /pkg_comp/obj/pkgsrc/lang/openjdk11/default/jdk11u-jdk-11.0.21-9-1/build/bsd-x86_64-normal-server-release/images/jdk
> *** Error code 2
>
> Stop.
> make[1]: stopped in /opt/pkgsrc-current/lang/openjdk11
> *** Error code 1
Can you see if the suggestion in:
https://marc.info/?l=pkgsrc-users&m=169896209209983
fixes your issue?
That is, add 'MAKE_ENV+= MAKEFLAGS=' to the openjdk Makefile. This
fixed the above issue for me with openjdk17 on netbsd-10 amd64.
--
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.
Home |
Main Index |
Thread Index |
Old Index