Version 056 of the java/sqlitejdbc will not build with java version 11+. It requires java 8. Adding JAVA_VERSION= 8 Fixes the build
(In reply to Patrick Mackinlay from comment #0) It builds fine for me in amd64: ===> sqlitejdbc-056_2 depends on file: /usr/local/openjdk8/bin/java - found Also, there are no pkg-fallout messages for this port and amd64. Are you referring to arm64 as in https://lists.freebsd.org/archives/freebsd-pkg-fallout/2022-June/226406.html maybe?
My machine is amd64, if you build the port without any java jdk's installed it will work fine (it will install openjdk8). I have many jdk's on my machine, but I had deleted version openjdk8 and when I tried to build this port it failed because it picked openjdk11. To reproduce the problem install openjdk11, remove all jdk's less than 11 and then try the build.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0276f6d332dc6cea04c3e1da35f71297fdb453b5 commit 0276f6d332dc6cea04c3e1da35f71297fdb453b5 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-07-07 12:30:52 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-07-07 12:30:52 +0000 java/sqlitejdbc: this old port requires specific (8th) version of JDK It should be fairly easy to make it compatible against Java 8~11, but that's the task for another day. While here, bump the source/target version to 1.6 and get rid of bogus `post-patch' target: LOCALBASE is already passed on the MAKE_ENV. PR: 264748 java/sqlitejdbc/Makefile | 7 ++----- java/sqlitejdbc/files/patch-Makefile | 21 +++++++++++++++------ 2 files changed, 17 insertions(+), 11 deletions(-)
The port does not currently build with 11th OpenJDK indeed. While bumping the source/target version to 1.6 delays the failure, it still complains about the absence of javah(1) later.