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 Sat, 20 Jan 2024 18:28:50 -0500 (EST)
mlh%goathill.org@localhost (MLH) wrote:

> MLH wrote:
> > Tobias Nygren wrote:
> > 
> > > On Tue, 5 Dec 2023 22:26:19 +0000
> > > Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
> > > 
> > > > 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
> > > > ...
> > > 
> > > This should be fixed now for 21.
> > > If you are building in a chroot please check that /proc is mounted.
> > > It might be a requirement.
> > > I couldn't reproduce on either my Layerscape or my Ampere system, but
> > > they are 16c/64GB and 64c/192GB respectively so not exactly Pi-class.
> > > I'm sure I have tested on the 4GB ROCKPro64 at some point.
> > 
> > Yes. It built and packaged in the chroot and installed correctly
> > outside using the package.
> > 
> > I also used the workaround to build 11 so you might apply the same
> > fixes to 11.  Thanks!
> 
> openjdk11 doesn't install again.

There seems to be some bug related to /libexec/ld.elf_so still.
Building ld.elf_so with different compiler flags / optimization settings
works around the problem. I'm not sure exactly why yet. I've uploaded
my copy of ld.elf_so. Please test if using it makes any difference for
you: https://ftp.netbsd.org/pub/NetBSD/misc/tnn/ld.elf_so

-Tobias


Home | Main Index | Thread Index | Old Index