pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
unifi10: Drop openjdk17 and explain non-working status
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Wed Aug 26 17:58:25 2026 -0400
Changeset: 1e4727e5a85608fd1303dd67d72dfdb22bbdd51a
Modified Files:
unifi10/Makefile
Log Message:
unifi10: Drop openjdk17 and explain non-working status
Upstream uses jdk25, class file version 69.0, and openjdk21 has 65.0.
Drop openjdk17 (which only supports class file version 61.0).
await async_request_package("openjdk25");
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1e4727e5a85608fd1303dd67d72dfdb22bbdd51a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
unifi10/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diffs:
diff --git a/unifi10/Makefile b/unifi10/Makefile
index b4a8c02026..42253f1698 100644
--- a/unifi10/Makefile
+++ b/unifi10/Makefile
@@ -8,6 +8,13 @@ DISTFILES= ${DEFAULT_DISTFILES}
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
# unifi-10.1.89 is (as of 2026-04-23) the last version to run in pre java25
+# Because pkgsrc is at 10.1.89, this (wip) package is focused on a
+# future upgrade. Starting it fails with a complaint:
+# Error: LinkageError occurred while loading main class com.ubnt.ace.Launcher
+# java.lang.UnsupportedClassVersionError: com/ubnt/ace/Launcher has
+# been compiled by a more recent version of the Java Runtime (class
+# file version 69.0), this version of the Java Runtime only
+# recognizes class file versions up to 65.0
# Updates must be tested to not only build but actually function under
# at least NetBSD 10/amd64 with actual UBNT hardware.
@@ -49,7 +56,7 @@ INSTALLATION_DIRS= unifi share/doc/unifi
# Emulated JDK doesn't work due to epoll issues. Also, would require
# matching emulated native libraries, and we only compile actual
# native libaries.
-PKG_JVMS_ACCEPTED= openjdk21 openjdk17
+PKG_JVMS_ACCEPTED= openjdk21
PKGSRC_MAKE_ENV+= JAVA_HOME=${PKG_JAVA_HOME}
USE_LANGUAGES= c c++ # for snappy JNI library
USE_TOOLS+= gmake pax
Home |
Main Index |
Thread Index |
Old Index