Your message dated Tue, 28 Oct 2025 18:08:29 +0000
with message-id <[email protected]>
and subject line Bug#1117945: fixed in resteasy 3.6.2-4
has caused the Debian Bug report #1117945,
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.)


-- 
1117945: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117945
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: resteasy
Version: 3.6.2-3
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: ftbfs-snakeyaml2

Dear Maintainer,

resteasy 3.6.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. Then I will team-upload openhft-chronicle-wire to unstable with the attached patch.

Best regards,

--
Pierre
diff -Nru resteasy-3.6.2/debian/changelog resteasy-3.6.2/debian/changelog
--- resteasy-3.6.2/debian/changelog	2024-12-09 14:12:40.000000000 +0100
+++ resteasy-3.6.2/debian/changelog	2025-10-06 23:12:12.000000000 +0200
@@ -1,3 +1,9 @@
+resteasy (3.6.2-4) UNRELEASED; urgency=medium
+
+  * Building against snakeyaml 2.x
+
+ -- Pierre Gruet <[email protected]>  Mon, 06 Oct 2025 23:12:12 +0200
+
 resteasy (3.6.2-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru resteasy-3.6.2/debian/control resteasy-3.6.2/debian/control
--- resteasy-3.6.2/debian/control	2024-12-09 14:12:13.000000000 +0100
+++ resteasy-3.6.2/debian/control	2025-10-06 23:12:12.000000000 +0200
@@ -27,7 +27,7 @@
  libscannotation-java,
  libservlet-api-java,
  libslf4j-java,
- libyaml-snake-java,
+ libyaml-snake-java (>= 2.5+ds),
  maven-debian-helper (>= 1.5)
 Standards-Version: 4.7.0
 Vcs-Git: https://salsa.debian.org/java-team/resteasy.git
diff -Nru resteasy-3.6.2/debian/maven.rules resteasy-3.6.2/debian/maven.rules
--- resteasy-3.6.2/debian/maven.rules	2024-12-09 14:09:52.000000000 +0100
+++ resteasy-3.6.2/debian/maven.rules	2025-10-06 23:11:53.000000000 +0200
@@ -5,7 +5,7 @@
 com.fasterxml.jackson.core jackson-databind jar s/2\..*/2.x/ * *
 junit junit jar s/.*/4.x/ * *
 org.codehaus.jettison jettison s/bundle/jar/ s/.*/debian/ * *
-org.yaml snakeyaml * s/.*/1.x/ * *
+org.yaml snakeyaml * s/.*/2.x/ * *
 com.sun.istack istack-commons-runtime * s/debian/2.17/ * *
 s/jboss/javassist/ javassist * s/.*/debian/ * *
 log4j log4j * s/.*/1.2.x/ * *
diff -Nru resteasy-3.6.2/debian/patches/series resteasy-3.6.2/debian/patches/series
--- resteasy-3.6.2/debian/patches/series	2019-01-02 00:53:23.000000000 +0100
+++ resteasy-3.6.2/debian/patches/series	2025-10-06 23:12:12.000000000 +0200
@@ -1,2 +1,3 @@
 01-ignore-tjws.patch
 jaxb-api-compatibility.diff
+snakeyaml2.patch
diff -Nru resteasy-3.6.2/debian/patches/snakeyaml2.patch resteasy-3.6.2/debian/patches/snakeyaml2.patch
--- resteasy-3.6.2/debian/patches/snakeyaml2.patch	1970-01-01 01:00:00.000000000 +0100
+++ resteasy-3.6.2/debian/patches/snakeyaml2.patch	2025-10-06 23:12:12.000000000 +0200
@@ -0,0 +1,25 @@
+Description: constructing CustomClassLoaderConstructor with default
+ LoaderOptions to comply with the interface of snakeyaml 2.x
+Author: Pierre Gruet <[email protected]>
+Forwarded: no
+Last-Update: 2025-10-08
+
+--- a/providers/yaml/src/main/java/org/jboss/resteasy/plugins/providers/YamlProvider.java
++++ b/providers/yaml/src/main/java/org/jboss/resteasy/plugins/providers/YamlProvider.java
+@@ -5,6 +5,7 @@
+ import org.jboss.resteasy.plugins.providers.yaml.i18n.Messages;
+ import org.jboss.resteasy.spi.ReaderException;
+ import org.jboss.resteasy.spi.WriterException;
++import org.yaml.snakeyaml.LoaderOptions;
+ import org.yaml.snakeyaml.Yaml;
+ import org.yaml.snakeyaml.constructor.CustomClassLoaderConstructor;
+ 
+@@ -54,7 +55,7 @@
+          if (isValidInternalType(type)) {
+             return new Yaml().load(entityStream);
+          } else {
+-            CustomClassLoaderConstructor customClassLoaderConstructor = new CustomClassLoaderConstructor(type.getClassLoader());
++            CustomClassLoaderConstructor customClassLoaderConstructor = new CustomClassLoaderConstructor(type.getClassLoader(), new LoaderOptions());
+             return new Yaml(customClassLoaderConstructor).loadAs(entityStream, type);
+          }
+       } catch (Exception e) {

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: resteasy
Source-Version: 3.6.2-4
Done: Pierre Gruet <[email protected]>

We believe that the bug you reported is fixed in the latest version of
resteasy, 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.
Pierre Gruet <[email protected]> (supplier of updated resteasy 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: Tue, 28 Oct 2025 18:41:11 +0100
Source: resteasy
Architecture: source
Version: 3.6.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Pierre Gruet <[email protected]>
Closes: 1117945
Changes:
 resteasy (3.6.2-4) unstable; urgency=medium
 .
   * Team upload.
   * Building against snakeyaml 2.x (Closes: #1117945)
   * Raising Standards version to 4.7.2 (no change)
   * B-D on debhelper-compat 13, dropping old d/compat file
   * Removing unneeded versioned B-D
   * Rewriting d/watch with version 5, syntax changes
Checksums-Sha1:
 796bf2af40c901ca49f670203d83c2d9ebd018bc 2433 resteasy_3.6.2-4.dsc
 cb1cc429956c2b44b206ec9230edb3ce4e67c35f 7176 resteasy_3.6.2-4.debian.tar.xz
 c1169c71ebee6fa80d875e4858758a24ab06ee3a 17122 
resteasy_3.6.2-4_source.buildinfo
Checksums-Sha256:
 e9adf1a79bc5f41cbd39fea97c9b2e85c99fd5117363aa44bb31c10efb56c3d0 2433 
resteasy_3.6.2-4.dsc
 6cf7d0d02f996f2e9b16790e57a9bd7275aac62632629f19c256dfa27431930d 7176 
resteasy_3.6.2-4.debian.tar.xz
 2576fa1c9af80e422ed72603c37690ca75d46f65b423445a4e90a7b54aae7c28 17122 
resteasy_3.6.2-4_source.buildinfo
Files:
 93091ccd27a1e4c4ec24f01d10d43354 2433 java optional resteasy_3.6.2-4.dsc
 6277e4040c86b850836d966adacb4d48 7176 java optional 
resteasy_3.6.2-4.debian.tar.xz
 60265c56cc12ee53b95d75db79793df1 17122 java optional 
resteasy_3.6.2-4_source.buildinfo

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

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmkBAFcACgkQYAMWptwn
dHbx8g/9EPeTS4vZQjoRZF65cFxaUlcLxVEiy3Np2LfyYdgKrkRufCQYomYGP5SF
4UDk4o/CarD3+VEtVlKU6Kq6WhQv+6nmjTZtjnJZ1UujS7zJgNYWDmx3TysKUzTL
AKUVaaKyQSpi4/x6Wp4U4YGDxVgDeh6olqEu1nWKLOUWIOlMtyteVJlKUc11PBWU
XP5JYVIlO6Z+kurd1wiwH4vHMSdA1x5BUt8drxePECXu0QM+5NFci9hBEljC/LWO
rxwGHtb1Utk/HwEapylFNelic5HFaV1qqQLcEKfHjjbuWU+VE2+g+8DXf0TcXJCr
ISvywL4qsbFSpNE70vdEWO4RvRI63DcfidVd95kTnouNrdjVQJujhsmyePJLHmFf
3pfocWDYtqGs8apYbmJJv5cxRmm0YlaMp/4D/bfnWAJlu5r6yMpSxjjhiHFirCWr
YaKsNaRoHqy3tMjpHrgmGdtMrt/g5HevXd8Cz6gzEFsRLbfYx3Ra7SkoaY964u3e
YXeb3pCp8BWU36oLSaD7lUT7DDfmQDrZd4wmU62nglIpGq+BNnkdt7t+OiYj+2rQ
GRMmBIadEA2861AEcMlcNwvfQxa5cwM2o+9ZYFFd92WMxshM+7MUwn83JkwiRTmo
tuxVaWPkT++t2IhYIbEbcUBl8Ml41SSGcucHphS4wbGX7Zg0kms=
=UZjb
-----END PGP SIGNATURE-----

Attachment: pgpZnMEmV_T0_.pgp
Description: PGP signature


--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to