The main reason puppetdb fails to build with JDK 17 is a check in project.clj which only allows Java 8 or 11. However, this has recently been expanded to allow Java 17 in upstream [1] and should be part of the 7.12.0 release. So upgrading the package should hopefully resolve this.

Somewhat unrelated but I did notice that several other puppet-related packages, at least
https://tracker.debian.org/pkg/puppetlabs-http-client-clojure
https://tracker.debian.org/pkg/trapperkeeper-metrics-clojure
https://tracker.debian.org/pkg/trapperkeeper-webserver-jetty9-clojure

have similar checks which will fail with Java 17. They don't seem to have newer upstream versions though, and I don't know if additional changes in the code would be required for these to support Java 17.


[1] https://github.com/puppetlabs/puppetdb/blob/main/project.clj#L281
--
mvh / best regards
Hans Joachim Desserud
http://desserud.org

Reply via email to