[Pkg-puppet-devel] Bug#1057680: puppetserver: FTBFS with default Java 21 due to the fips clause in project.clj

Vladimir Petko vpa1977 at gmail.com
Thu Dec 7 02:39:28 GMT 2023


Source: puppetserver
Version: 7.9.5-2
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:
-------
lein i18n make
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:25:1).
#:clojure.error{:phase :execution, :line 25, :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.
{:major "21", :minor nil}
 at leiningen.core.project$eval665.invokeStatic (project.clj:122)
    leiningen.core.project$eval665.invoke (project.clj:25)
    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:25: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-12-04T11:01:23Z

-------


-- 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