Your message dated Fri, 21 Nov 2025 12:04:40 +0000
with message-id <[email protected]>
and subject line Bug#1117955: fixed in clj-yaml-clojure 0.7.2-2.1
has caused the Debian Bug report #1117955,
regarding FTBFS against snakeyaml 2.5+ds-1 in experimental
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1117955: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117955
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: clj-yaml-clojure
Version: 0.7.2-2
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: ftbfs-snakeyaml2

Dear Maintainer,

clj-yaml-clojure 0.7.2-2 FTBFS against snakeyaml/2.5+ds-1 currently in
experimental. I solved this with the enclosed patch.

I am planning to upload snakeyaml/2.5+ds-2 to unstable on the 27th of October or a bit later.

Best regards,

--
Pierre
diff -Nru clj-yaml-clojure-0.7.2/debian/changelog clj-yaml-clojure-0.7.2/debian/changelog
--- clj-yaml-clojure-0.7.2/debian/changelog	2024-08-30 16:51:02.000000000 +0200
+++ clj-yaml-clojure-0.7.2/debian/changelog	2025-10-10 08:40:10.000000000 +0200
@@ -1,3 +1,9 @@
+clj-yaml-clojure (0.7.2-3) UNRELEASED; urgency=medium
+
+  * Building against snakeyaml 2.x
+
+ -- Pierre Gruet <[email protected]>  Fri, 10 Oct 2025 08:40:10 +0200
+
 clj-yaml-clojure (0.7.2-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru clj-yaml-clojure-0.7.2/debian/control clj-yaml-clojure-0.7.2/debian/control
--- clj-yaml-clojure-0.7.2/debian/control	2024-08-30 16:51:02.000000000 +0200
+++ clj-yaml-clojure-0.7.2/debian/control	2025-10-10 08:40:10.000000000 +0200
@@ -10,7 +10,7 @@
  leiningen,
  maven-repo-helper,
  libordered-clojure <!nocheck>,
- libyaml-snake-java <!nocheck>,
+ libyaml-snake-java (>= 2.5+ds) <!nocheck>,
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/clojure-team/clj-yaml-clojure
 Vcs-Git: https://salsa.debian.org/clojure-team/clj-yaml-clojure.git
diff -Nru clj-yaml-clojure-0.7.2/debian/patches/0001-Lein-Local.patch clj-yaml-clojure-0.7.2/debian/patches/0001-Lein-Local.patch
--- clj-yaml-clojure-0.7.2/debian/patches/0001-Lein-Local.patch	2024-08-30 16:51:02.000000000 +0200
+++ clj-yaml-clojure-0.7.2/debian/patches/0001-Lein-Local.patch	2025-10-10 08:40:03.000000000 +0200
@@ -20,7 +20,7 @@
 -  [[org.yaml/snakeyaml "1.26"]
 -   [org.flatland/ordered "1.5.9"]]
 -  :profiles {:provided {:dependencies [[org.clojure/clojure "1.10.1"]]}})
-+  [[org.yaml/snakeyaml "1.x"]
++  [[org.yaml/snakeyaml "2.x"]
 +   [org.flatland/ordered "debian"]]
 +  :profiles {:provided {:dependencies [[org.clojure/clojure "1.x"]]}}
 +  :local-repo "debian/maven-repo")
diff -Nru clj-yaml-clojure-0.7.2/debian/patches/series clj-yaml-clojure-0.7.2/debian/patches/series
--- clj-yaml-clojure-0.7.2/debian/patches/series	2024-08-30 16:51:02.000000000 +0200
+++ clj-yaml-clojure-0.7.2/debian/patches/series	2025-10-10 08:40:10.000000000 +0200
@@ -1,2 +1,3 @@
 0001-Lein-Local.patch
 use-java-target-source-from-java-common.patch
+snakeyaml2.patch
diff -Nru clj-yaml-clojure-0.7.2/debian/patches/snakeyaml2.patch clj-yaml-clojure-0.7.2/debian/patches/snakeyaml2.patch
--- clj-yaml-clojure-0.7.2/debian/patches/snakeyaml2.patch	1970-01-01 01:00:00.000000000 +0100
+++ clj-yaml-clojure-0.7.2/debian/patches/snakeyaml2.patch	2025-10-10 08:40:10.000000000 +0200
@@ -0,0 +1,35 @@
+Description: constructing Representer with a DumperOptions instance to comply
+ with the interface of snakeyaml 2.x
+Author: Pierre Gruet <[email protected]>
+Forwarded: no
+Last-Update: 2025-10-12
+
+--- a/src/java/clj_yaml/MarkedConstructor.java
++++ b/src/java/clj_yaml/MarkedConstructor.java
+@@ -1,5 +1,6 @@
+ package clj_yaml;
+ 
++import org.yaml.snakeyaml.LoaderOptions;
+ import org.yaml.snakeyaml.constructor.Construct;
+ import org.yaml.snakeyaml.constructor.Constructor;
+ import org.yaml.snakeyaml.constructor.SafeConstructor;
+@@ -21,7 +22,7 @@
+     public MarkedConstructor() {
+         // Make sure SafeConstructor's constructor is called first,
+         // so that we overwrite the keys that SafeConstructor sets.
+-        super();
++        super(new LoaderOptions());
+         // Wrap all the constructors with Marking constructors.
+         for (Tag tag : tags) {
+             Construct old = this.yamlConstructors.get(tag);
+--- a/src/clojure/clj_yaml/core.clj
++++ b/src/clojure/clj_yaml/core.clj
+@@ -60,7 +60,7 @@
+         dumper (if dumper-options
+                  (make-dumper-options :flow-style (:flow-style dumper-options))
+                  (default-dumper-options))]
+-    (Yaml. constructor (Representer.) dumper loader)))
++    (Yaml. constructor (Representer. dumper) dumper loader)))
+ 
+ (defrecord Marked
+   [start end unmark])
diff -Nru clj-yaml-clojure-0.7.2/debian/patches/use-java-target-source-from-java-common.patch clj-yaml-clojure-0.7.2/debian/patches/use-java-target-source-from-java-common.patch
--- clj-yaml-clojure-0.7.2/debian/patches/use-java-target-source-from-java-common.patch	2024-08-30 16:51:02.000000000 +0200
+++ clj-yaml-clojure-0.7.2/debian/patches/use-java-target-source-from-java-common.patch	2025-10-10 08:40:10.000000000 +0200
@@ -2,10 +2,8 @@
 Author: Jérôme Charaoui <[email protected]>
 Forwarded: not-needed
 Bug-Debian: #1052576
-Index: clj-yaml-clojure/project.clj
-===================================================================
---- clj-yaml-clojure.orig/project.clj
-+++ clj-yaml-clojure/project.clj
+--- a/project.clj
++++ b/project.clj
 @@ -9,7 +9,7 @@
    :global-vars {*warn-on-reflection* true}
    :source-paths ["src/clojure"]
@@ -13,5 +11,5 @@
 -  :javac-options ["-target" "1.7" "-source" "1.7" "-Xlint:-options"]
 +  :javac-options ["-target" ~(System/getenv, "JAVA_TARGET_VERSION") "-source" ~(System/getenv, "JAVA_SOURCE_VERSION") "-Xlint:-options"]
    :dependencies
-   [[org.yaml/snakeyaml "1.x"]
+   [[org.yaml/snakeyaml "2.x"]
     [org.flatland/ordered "debian"]]

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: clj-yaml-clojure
Source-Version: 0.7.2-2.1
Done: Adrian Bunk <[email protected]>

We believe that the bug you reported is fixed in the latest version of
clj-yaml-clojure, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated clj-yaml-clojure package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 19 Nov 2025 22:07:43 +0200
Source: clj-yaml-clojure
Architecture: source
Version: 0.7.2-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Clojure Maintainers <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1116720 1117955
Changes:
 clj-yaml-clojure (0.7.2-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Apply patch from Santiago Vila to fix FTBFS with the nocheck
     build profile. (Closes: #1116720)
 .
   [ Pierre Gruet ]
   * Fix building against snakeyaml 2.x. (Closes: #1117955)
Checksums-Sha1:
 ddc5d3b54de01b69dc9656924bbbf274757f7f3b 2209 clj-yaml-clojure_0.7.2-2.1.dsc
 d8feb6c4f3e77265f6f25cea44389ce7eafb3ffe 8024 
clj-yaml-clojure_0.7.2-2.1.debian.tar.xz
Checksums-Sha256:
 ee212729fb331e8531189543074d45ea271b0423ff3eb51aeadc3a7c87c71776 2209 
clj-yaml-clojure_0.7.2-2.1.dsc
 8a61af948142e931d4fbeb0f77cf32cd5c69f59f91f1767eecbf34cc4dd2c246 8024 
clj-yaml-clojure_0.7.2-2.1.debian.tar.xz
Files:
 73d4cd7d14ca09b55da5b40bf04e5be6 2209 java optional 
clj-yaml-clojure_0.7.2-2.1.dsc
 933b6a40be1c567bca1c4f9c11d7f047 8024 java optional 
clj-yaml-clojure_0.7.2-2.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmkeJDYACgkQiNJCh6LY
mLHtLw/+PQma/IjNuXtNVC0NvGIToCYMKEkjK+qfSud+CaBnMBtuqVdKZSEBbIOc
yo7mRUoS1C0A5IaPpO4dKUZlkGvmR0z17iftRpm2s2Ytg2EnWZV10B7G3CPbmHvY
HunsWujsoTBJK5n8EHN57mHVaD5DH97+FlLb3c7TjYjphMp0PcdUiRapICi4vOfl
AckqNV1vy4y3GIHH1oVakEO+oDKLHjwWTkiZJnvyblpQPyrK0eMWxbBtTvvTXPbO
5yyrp5Gk4V/fcMGZdtTVkaC5Z6Wy1C1QbCzX1evNn/0kWRLnfWQPkJ18U6P1Nolp
wG1GVm2fPioFu/HkC0tybHByKRhMGd/IHaw1d4LLpg2DeuJgvG88MtAcZjPyRe0r
FJuGgf6g+jHEEBHg21FslXUGPgLZR3E9YVHwjFCXI1hWCHQv9yU55uuhSKEna2eG
QxdCpYUqYgobXb3gCuqsBd+paKCDRzmGdZmABtuKuIVglGgHMwm3kGp9+PftlCIu
fLlLlioZAJF+135FiWgC0mL1+vYnJ/FcdQ1Biqa6UCyKIClbFCEMu0MRT13KRMKz
Pmzr/5bp7qhCRfwBTf2nS8Tiqk41HnjV5vkPJan5Q5Voaiyt9W/nZ9q3wSaEmLWF
LrK5DggxrhrJx7KqeAdS5vhBHGOoVDCywfTI83hXz4dFrUcVcOE=
=OBof
-----END PGP SIGNATURE-----

Attachment: pgp4l7Pu6pqnC.pgp
Description: PGP signature


--- End Message ---

Reply via email to