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 Fri, 8 Dec 2023 at 10:14, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Fri, 8 Dec 2023 at 00:59, Tobias Nygren <tnn%netbsd.org@localhost> 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.
>
> and so it is -- building now.

and it fails on this system the same way:
...
INFO: Importing /usr/pkgsrc/lang/openjdk21/work/cacerts/mozilla-rootcert-0.pem
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000fcfa40276d8c, pid=20698, tid=278151767592960
#
# JRE version:  (21.0.1) (build )
# Java VM: OpenJDK 64-Bit Server VM
(21.0.1-internal-adhoc.pkgsrc.jdk21u-jdk-21.0.1-12-1, mixed mode,
tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# V  [libjvm.so+0x976d8c]  JVM_RaiseSignal+0x1ac394
#
# No core dump will be written. Core dumps have been disabled. To
enable core dumping, try "ulimit -c unlimited" before starting Java
again
#
# An error report file with more information is saved as:
# /usr/pkgsrc/lang/openjdk21/hs_err_pid20698.log
....

for every .pem file it tries to import.

>
> > 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.
>
> quite decent...
>
> > I'm sure I have tested on the 4GB ROCKPro64 at some point.
>
> 2c/12GB Ampere system on OCI - about half of the free offering you get
> from our red overlords... 4v/24GB for free is not too bad, but I keep
> the rest for two Linux nodes, I can't get RustDesk to compile under
> NetBSD...
>
> >
> > tnn@lx2k:tnn> uname -a
> > NetBSD lx2k.rymdfartsverket.se 10.99.10 NetBSD 10.99.10 (GENERIC.lx2k) #0: Sun Nov 26 00:21:08 CET 2023  tnn%lx2k.rymdfartsverket.se@localhost:/work/obj/sys/arch/evbarm/compile/GENERIC.lx2k evbarm
> > tnn@lx2k:tnn> pkg_info | grep jdk
> > openjdk8-1.8.392    Open-source implementation of the Java Platform, Standard Edition
> > openjdk11-1.11.0.21.9 Open-source implementation of the Java Platform, Standard Edition
> > openjdk21-1.21.0.1.12nb1 Open-source implementation of the Java Platform, 21 LTS
> > openjdk17-1.17.0.9.9 Open-source implementation of the Java Platform, Standard Edition
> > tnn@lx2k:tnn> openjdk8-java -version
> > openjdk version "1.8.0_392-internal"
> > OpenJDK Runtime Environment (build 1.8.0_392-internal-pkgsrc_1.8.392-b00)
> > OpenJDK 64-Bit Server VM (build 25.392-b00, mixed mode)
> > tnn@lx2k:tnn> openjdk11-java -version
> > openjdk version "11.0.21-internal" 2023-10-17
> > OpenJDK Runtime Environment (build 11.0.21-internal+0-adhoc.pkgsrc.jdk11u-jdk-11.0.21-9-1)
> > OpenJDK 64-Bit Server VM (build 11.0.21-internal+0-adhoc.pkgsrc.jdk11u-jdk-11.0.21-9-1, mixed mode)
> > tnn@lx2k:tnn> openjdk17-java -version
> > openjdk version "17.0.9-internal" 2023-10-17
> > OpenJDK Runtime Environment (build 17.0.9-internal+0-adhoc.pkgsrc.jdk17u-jdk-17.0.9-9-1)
> > OpenJDK 64-Bit Server VM (build 17.0.9-internal+0-adhoc.pkgsrc.jdk17u-jdk-17.0.9-9-1, mixed mode)
> > tnn@lx2k:tnn> openjdk21-java -version
> > openjdk version "21.0.1-internal" 2023-10-17
> > OpenJDK Runtime Environment (build 21.0.1-internal-adhoc.pkgsrc.jdk21u-jdk-21.0.1-12-1)
> > OpenJDK 64-Bit Server VM (build 21.0.1-internal-adhoc.pkgsrc.jdk21u-jdk-21.0.1-12-1, mixed mode)
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index