Date: Sun, 08 Feb 2026 20:17:43 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 293050] databases/cassandra4: allow building with JAVA_DEFAULT=jdk21 Message-ID: <bug-293050-7788@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293050 Bug ID: 293050 Summary: databases/cassandra4: allow building with JAVA_DEFAULT=jdk21 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ronald@FreeBSD.org CC: language.devel@gmail.com Flags: maintainer-feedback?(language.devel@gmail.com) CC: language.devel@gmail.com Created attachment 267911 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267911&action=edit git diff to fix build - ant needs to have JAVA_HOME set to the defined JAVA_VERSION Reason: when apache-ant pulls in openjdk21 as run dependency it will try to use it if JAVA_HOME is not set. This gives the error: "Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.", as cassandra needs an older Java version. These ports have USES=ant, but override do-build and fetch. That is why some special handling is needed. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293050-7788>
