pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /lang/openjdk install (was lang/openjdk11 on NetBSD/aarch64)



On Tue, 5 Dec 2023 at 21:37, MLH <mlh%goathill.org@localhost> wrote:
>
> Paul Ripke wrote:
>
> > 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.
>
> I tried it on openjdk21 and it built and installed in a chroot.
> I then pkg_add-ed openjdk21-1.21.0.1.12.tgz outside the chroot and
> it installed the chroot but didn't add it to the pkg database there,
> whereas it did in the chroot.
>
> There are problems building it outside the chroot this time (didn't
> before - with or without the Makefile change) that I am looking
> into.

I am getting:
...

➜  openjdk21 make
=> Bootstrap dependency digest>=20211023: found digest-20220214
ERROR: This package is only available for these platforms: NetBSD-*-x86_64.
ERROR: This package has set PKG_SKIP_REASON:
ERROR: openjdk21-1.21.0.1.12 is not available for NetBSD-10.99.10-aarch64
...

>
> Thanks!



-- 
----


Home | Main Index | Thread Index | Old Index