[Pkg-puppet-devel] Bug#1057678: puppetdb: FTBFS with default Java 21 due to the FIPS clause in project.clj
Vladimir Petko
vpa1977 at gmail.com
Thu Dec 7 02:35:38 GMT 2023
Source: puppetdb
Version: 7.12.1-3
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21
Dear Maintainer,
The package fails to build with default Java 21 due to the :fips clause in
project.clj.
The relevant part of the build log:
-----
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
lein pom debian/pom.xml
puppetserver test dependency unconfigured (ignoring)
java.lang.Exception: Error loading /<<PKGBUILDDIR>>/project.clj
at leiningen.core.project$read_raw$fn__8409.invoke (project.clj:1115)
leiningen.core.project$read_raw.invokeStatic (project.clj:1109)
leiningen.core.project$read_raw.invoke (project.clj:1105)
leiningen.core.project$read.invokeStatic (project.clj:1126)
leiningen.core.project$read.invoke (project.clj:1123)
leiningen.core.project$read.invokeStatic (project.clj:1127)
leiningen.core.project$read.invoke (project.clj:1123)
leiningen.core.main$_main$fn__7764.invoke (main.clj:448)
leiningen.core.main$_main.invokeStatic (main.clj:442)
leiningen.core.main$_main.doInvoke (main.clj:439)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.core$apply.invokeStatic (core.clj:667)
clojure.main$main_opt.invokeStatic (main.clj:514)
clojure.main$main_opt.invoke (main.clj:510)
clojure.main$main.invokeStatic (main.clj:664)
clojure.main$main.doInvoke (main.clj:616)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.main.main (main.java:40)
Caused by: clojure.lang.Compiler$CompilerException: Syntax error macroexpanding
at (/<<PKGBUILDDIR>>/project.clj:139:1).
#:clojure.error{:phase :execution, :line 139, :column 1, :source
"/<<PKGBUILDDIR>>/project.clj"}
at clojure.lang.Compiler.load (Compiler.java:7665)
clojure.lang.Compiler.loadFile (Compiler.java:7591)
clojure.lang.RT$3.invoke (RT.java:327)
leiningen.core.project$read_raw$fn__8409.invoke (project.clj:1113)
leiningen.core.project$read_raw.invokeStatic (project.clj:1109)
leiningen.core.project$read_raw.invoke (project.clj:1105)
leiningen.core.project$read.invokeStatic (project.clj:1126)
leiningen.core.project$read.invoke (project.clj:1123)
leiningen.core.project$read.invokeStatic (project.clj:1127)
leiningen.core.project$read.invoke (project.clj:1123)
leiningen.core.main$_main$fn__7764.invoke (main.clj:448)
leiningen.core.main$_main.invokeStatic (main.clj:442)
leiningen.core.main$_main.doInvoke (main.clj:439)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.core$apply.invokeStatic (core.clj:667)
clojure.main$main_opt.invokeStatic (main.clj:514)
clojure.main$main_opt.invoke (main.clj:510)
clojure.main$main.invokeStatic (main.clj:664)
clojure.main$main.doInvoke (main.clj:616)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.main.main (main.java:40)
Caused by: clojure.lang.ExceptionInfo: Unsupported major Java version. Expects
8, 11, or 17.
{:major 21, :minor 0}
at leiningen.core.project$eval694.invokeStatic (project.clj:282)
leiningen.core.project$eval694.invoke (project.clj:139)
clojure.lang.Compiler.eval (Compiler.java:7194)
clojure.lang.Compiler.load (Compiler.java:7653)
clojure.lang.Compiler.loadFile (Compiler.java:7591)
clojure.lang.RT$3.invoke (RT.java:327)
leiningen.core.project$read_raw$fn__8409.invoke (project.clj:1113)
leiningen.core.project$read_raw.invokeStatic (project.clj:1109)
leiningen.core.project$read_raw.invoke (project.clj:1105)
leiningen.core.project$read.invokeStatic (project.clj:1126)
leiningen.core.project$read.invoke (project.clj:1123)
leiningen.core.project$read.invokeStatic (project.clj:1127)
leiningen.core.project$read.invoke (project.clj:1123)
leiningen.core.main$_main$fn__7764.invoke (main.clj:448)
leiningen.core.main$_main.invokeStatic (main.clj:442)
leiningen.core.main$_main.doInvoke (main.clj:439)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.core$apply.invokeStatic (core.clj:667)
clojure.main$main_opt.invokeStatic (main.clj:514)
clojure.main$main_opt.invoke (main.clj:510)
clojure.main$main.invokeStatic (main.clj:664)
clojure.main$main.doInvoke (main.clj:616)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.main.main (main.java:40)
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
-----
-- System Information:
Debian Release: trixie/sid
APT prefers mantic-updates
APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Pkg-puppet-devel
mailing list