Your message dated Mon, 15 Dec 2025 11:05:01 +0000
with message-id <[email protected]>
and subject line Bug#1117952: fixed in ruby-psych 5.0.2-3.1
has caused the Debian Bug report #1117952,
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.)
--
1117952: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117952
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-psych
Version: 5.0.2-3
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: ftbfs-snakeyaml2
Dear Maintainer,
ruby-psych 5.0.2-3 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 ruby-psych-5.0.2/debian/changelog ruby-psych-5.0.2/debian/changelog
--- ruby-psych-5.0.2/debian/changelog 2024-08-21 23:11:16.000000000 +0200
+++ ruby-psych-5.0.2/debian/changelog 2025-10-11 23:48:08.000000000 +0200
@@ -1,3 +1,9 @@
+ruby-psych (5.0.2-4) UNRELEASED; urgency=medium
+
+ * Building against snakeyaml 2.x
+
+ -- Pierre Gruet <[email protected]> Sat, 11 Oct 2025 23:48:08 +0200
+
ruby-psych (5.0.2-3) unstable; urgency=medium
* Team upload.
diff -Nru ruby-psych-5.0.2/debian/control ruby-psych-5.0.2/debian/control
--- ruby-psych-5.0.2/debian/control 2024-08-21 23:10:58.000000000 +0200
+++ ruby-psych-5.0.2/debian/control 2025-10-11 23:48:08.000000000 +0200
@@ -11,7 +11,7 @@
jruby (>= 9.1.6.0~),
libjcodings-java,
libyaml-dev,
- libyaml-snake-java (>= 1.23~),
+ libyaml-snake-java (>= 2.5+ds),
rake,
rake-compiler
Standards-Version: 4.7.0
@@ -42,7 +42,7 @@
Architecture: all
Depends: jruby (>= 9.1.6.0~),
libjcodings-java,
- libyaml-snake-java (>= 1.23~),
+ libyaml-snake-java (>= 2.5+ds),
${misc:Depends}
Description: ruby-psych Java extension
ruby-psych is a YAML parser and emitter. Psych leverages libyaml for its
diff -Nru ruby-psych-5.0.2/debian/patches/series ruby-psych-5.0.2/debian/patches/series
--- ruby-psych-5.0.2/debian/patches/series 2024-08-21 23:06:42.000000000 +0200
+++ ruby-psych-5.0.2/debian/patches/series 2025-10-11 23:46:47.000000000 +0200
@@ -2,3 +2,4 @@
0002-Remove-snakeyaml-hardcoded-versions.patch
0003-Disable-ruby-maven.patch
0004-Fix-RestrictedYAMLTree-allowing-the-Symbol-class-sho.patch
+snakeyaml2.patch
diff -Nru ruby-psych-5.0.2/debian/patches/snakeyaml2.patch ruby-psych-5.0.2/debian/patches/snakeyaml2.patch
--- ruby-psych-5.0.2/debian/patches/snakeyaml2.patch 1970-01-01 01:00:00.000000000 +0100
+++ ruby-psych-5.0.2/debian/patches/snakeyaml2.patch 2025-10-11 23:48:08.000000000 +0200
@@ -0,0 +1,33 @@
+Description: using ScannerImpl to provide StreamReader to ParserImpl, due to
+ changes in the interface of snakeyaml
+Author: Pierre Gruet <[email protected]>
+Forwarded: no
+Last-Update: 2025-10-12
+
+--- a/ext/java/org/jruby/ext/psych/PsychParser.java
++++ b/ext/java/org/jruby/ext/psych/PsychParser.java
+@@ -62,6 +62,7 @@
+ import org.jruby.util.IOInputStream;
+ import org.jruby.util.io.EncodingUtils;
+ import org.yaml.snakeyaml.DumperOptions;
++import org.yaml.snakeyaml.LoaderOptions;
+ import org.yaml.snakeyaml.error.Mark;
+ import org.yaml.snakeyaml.error.MarkedYAMLException;
+ import org.yaml.snakeyaml.error.YAMLException;
+@@ -79,6 +80,7 @@
+ import org.yaml.snakeyaml.reader.ReaderException;
+ import org.yaml.snakeyaml.reader.StreamReader;
+ import org.yaml.snakeyaml.scanner.ScannerException;
++import org.yaml.snakeyaml.scanner.ScannerImpl;
+
+ import static org.jruby.runtime.Helpers.arrayOf;
+ import static org.jruby.runtime.Helpers.invoke;
+@@ -204,7 +206,7 @@
+ Ruby runtime = context.runtime;
+
+ try {
+- parser = new ParserImpl(readerFor(context, yaml));
++ parser = new ParserImpl(new ScannerImpl(readerFor(context, yaml), new LoaderOptions()));
+
+ if (path.isNil() && yaml.respondsTo("path")) {
+ path = sites[Call.path.ordinal()].call(context, this, yaml);
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: ruby-psych
Source-Version: 5.0.2-3.1
Done: Adrian Bunk <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ruby-psych, 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 ruby-psych 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: Mon, 01 Dec 2025 17:32:27 +0200
Source: ruby-psych
Architecture: source
Version: 5.0.2-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1117952
Changes:
ruby-psych (5.0.2-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Pierre Gruet ]
* Fix building against snakeyaml 2.x. (Closes: #1117952)
Checksums-Sha1:
b8dd28f2232c2b82bdb6e0ae07bedf2ea3414e6b 2223 ruby-psych_5.0.2-3.1.dsc
0dc54c5eb755d53f7718036f9073ee1c6b2950eb 11028
ruby-psych_5.0.2-3.1.debian.tar.xz
Checksums-Sha256:
293a5b1327e1f792c00b15b2337490bd0f9f7e273044ce973afae663ed6c2f94 2223
ruby-psych_5.0.2-3.1.dsc
aab312f790cc19439dec78a938873f31463dc9da012703b3e76e8ac7dd2e6dc5 11028
ruby-psych_5.0.2-3.1.debian.tar.xz
Files:
f983020f55640827562c1f006cf7fc28 2223 ruby optional ruby-psych_5.0.2-3.1.dsc
3c53b2b18960ea7c1e0c9b29152480fb 11028 ruby optional
ruby-psych_5.0.2-3.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmktto4ACgkQiNJCh6LY
mLFslA/+KFDjjbeZjrtz2IunguhKlyBsHEx8KnClE5Al6f3IId1RQEXLVIMJJ9Zn
Bv/9cYTM6pUop0H6gjraah/bV/fsSIa0D32GD/DZ+VczYaisBTzjhKdR93Kp/GU+
8wryV0AXMx+kFOMQ5XaNuJRfdPYVmrl8nKQUflFI+q83jbMI7ZJifUM6dY72ef9Z
gOnxSRZqd2PvgQPk3r2sMpRPDYhF2XFCS4r1PTmkB09gjVQEqtvy7V/8XBggxG1b
HXOMvkDBdloSOwg276lMGRJxX6vV17dzj6smsfb+93pnq5iY9hlk6aMLSiM+XEFQ
HBBxl6TEq0seLxkeuAb8aWgF9zlUrtdieEGb4i9WSqGo+1FPoNJLaAJI6cvIPu5o
vtb/0k/tHsYKpXzFPWw+xt1ReiyZBmyTQ0tZj8h0/sKYl+CeZ/75Ric/Lj84JMqO
eIKA+Y5vGWa1OuKxrho5nrC/hrxpN2RadwAk4MSO78S8fouhWB0AjbIJ3kr5dZS0
p8eFmoqmjuX+c6uqfKVWSXE+WnKt1OnhIb5NUV/ax3PEbhtxF4jupARt7D9ykTmS
Z+EawMZoyFDnYMlOHk8SPTlB7icCDDhMW4iUb8XDHjHiWh2MB1g3yRPdjKH39NZk
fxuK+sjtZtP4HSST0rfRQR87NdMUFhnUIW4Wetmm8UQU2hiq2Ao=
=Y7TK
-----END PGP SIGNATURE-----
pgpyyvMmnZVTS.pgp
Description: PGP signature
--- End Message ---