Your message dated Tue, 28 Oct 2025 17:49:04 +0000
with message-id <[email protected]>
and subject line Bug#1117943: fixed in testng 6.9.12-5
has caused the Debian Bug report #1117943,
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.)


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

Dear Maintainer,

testng 6.9.12-4 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 testng-6.9.12/debian/changelog testng-6.9.12/debian/changelog
--- testng-6.9.12/debian/changelog	2018-08-08 15:24:23.000000000 +0200
+++ testng-6.9.12/debian/changelog	2025-10-10 08:29:35.000000000 +0200
@@ -1,3 +1,9 @@
+testng (6.9.12-5) UNRELEASED; urgency=medium
+
+  * Building against snakeyaml 2.x
+
+ -- Pierre Gruet <[email protected]>  Fri, 10 Oct 2025 08:29:35 +0200
+
 testng (6.9.12-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru testng-6.9.12/debian/control testng-6.9.12/debian/control
--- testng-6.9.12/debian/control	2018-08-08 15:24:23.000000000 +0200
+++ testng-6.9.12/debian/control	2025-10-10 08:29:35.000000000 +0200
@@ -13,7 +13,7 @@
  libguice-java,
  libjcommander-java,
  libmaven-bundle-plugin-java,
- libyaml-snake-java,
+ libyaml-snake-java (>= 2.5+ds),
  maven-debian-helper
 Standards-Version: 4.1.5
 Vcs-Git: https://salsa.debian.org/java-team/testng.git
diff -Nru testng-6.9.12/debian/maven.rules testng-6.9.12/debian/maven.rules
--- testng-6.9.12/debian/maven.rules	2018-08-08 15:24:23.000000000 +0200
+++ testng-6.9.12/debian/maven.rules	2025-10-10 08:29:19.000000000 +0200
@@ -1,6 +1,6 @@
 
 com.google.inject guice jar s/.*/debian/ s/no_aop// *
 junit junit jar s/4\..*/4.x/ * *
-org.yaml snakeyaml bundle s/1\..*/1.x/ * *
-org.yaml snakeyaml s/jar/bundle/ s/1\..*/1.x/ * *
+org.yaml snakeyaml bundle s/1\..*/2.x/ * *
+org.yaml snakeyaml s/jar/bundle/ s/1\..*/2.x/ * *
 s/ant/org.apache.ant/ * * s/.*/debian/ * *
diff -Nru testng-6.9.12/debian/patches/series testng-6.9.12/debian/patches/series
--- testng-6.9.12/debian/patches/series	2018-08-08 15:24:23.000000000 +0200
+++ testng-6.9.12/debian/patches/series	2025-10-10 08:29:35.000000000 +0200
@@ -1,2 +1,3 @@
 version_java.patch
 remove-guava-dependency-pr1086.patch
+snakeyaml2.patch
diff -Nru testng-6.9.12/debian/patches/snakeyaml2.patch testng-6.9.12/debian/patches/snakeyaml2.patch
--- testng-6.9.12/debian/patches/snakeyaml2.patch	1970-01-01 01:00:00.000000000 +0100
+++ testng-6.9.12/debian/patches/snakeyaml2.patch	2025-10-10 08:29:35.000000000 +0200
@@ -0,0 +1,25 @@
+Description: constructing Constructor with default LoaderOptions to comply
+ with the interface of snakeyaml 2.x
+Author: Pierre Gruet <[email protected]>
+Forwarded: no
+Last-Update: 2025-10-10
+
+--- a/src/main/java/org/testng/internal/Yaml.java
++++ b/src/main/java/org/testng/internal/Yaml.java
+@@ -5,6 +5,7 @@
+ import org.testng.xml.XmlPackage;
+ import org.testng.xml.XmlSuite;
+ import org.testng.xml.XmlTest;
++import org.yaml.snakeyaml.LoaderOptions;
+ import org.yaml.snakeyaml.TypeDescription;
+ import org.yaml.snakeyaml.constructor.Constructor;
+ import org.yaml.snakeyaml.nodes.Node;
+@@ -261,7 +262,7 @@
+ 
+   private static class TestNGConstructor extends Constructor {
+     public TestNGConstructor(Class<? extends Object> theRoot) {
+-      super(theRoot);
++      super(theRoot, new LoaderOptions());
+       yamlClassConstructors.put(NodeId.scalar, new ConstructParallelMode());
+     }
+ 

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: testng
Source-Version: 6.9.12-5
Done: Pierre Gruet <[email protected]>

We believe that the bug you reported is fixed in the latest version of
testng, 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 testng 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:28:05 +0100
Source: testng
Architecture: source
Version: 6.9.12-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Pierre Gruet <[email protected]>
Closes: 987137 1117943
Changes:
 testng (6.9.12-5) unstable; urgency=medium
 .
   * Team upload
   * Building against snakeyaml 2.x (Closes: #1117943)
   * Raising Standards version to 4.7.2 (no change)
   * Removing last human uploader, thanks Eugene for all the work!
     (Closes: #987137)
   * Rewriting d/watch with version 5, syntax changes
Checksums-Sha1:
 e337c82ca539db54526b7d26d6ac4e0795bf385f 2024 testng_6.9.12-5.dsc
 c3c144a0921863a88fe7f5f093d0982f9c976cd9 68748 testng_6.9.12-5.debian.tar.xz
 6e5dd379733648b723a2bcaaacc9409a02a12087 14278 testng_6.9.12-5_source.buildinfo
Checksums-Sha256:
 6436413834a111e01d36d1c4aa9652eceaf2a6d14282df143083be5821c2f369 2024 
testng_6.9.12-5.dsc
 73e794ff5a7f077dd51e5c268194fc95748a074e89bc4d2942be217c1646d39a 68748 
testng_6.9.12-5.debian.tar.xz
 7df9d643c313d46a68d2e939f156186e709c645831be7c80e970dc73e3c729ee 14278 
testng_6.9.12-5_source.buildinfo
Files:
 d486a3c60be3f1d3e924d1249ed212b8 2024 java optional testng_6.9.12-5.dsc
 6943819cac9af810cd5201ec0bfaf9b7 68748 java optional 
testng_6.9.12-5.debian.tar.xz
 77e52b61b2c7b1337a7ead07a79261ef 14278 java optional 
testng_6.9.12-5_source.buildinfo

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

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmkA/UUACgkQYAMWptwn
dHaJgxAAtWrAcNKw5cgB1SHQoPLe57C+1pkUtVzRniZH15zgwmqt6DZWc8mqfC5x
AeHWS7AzNrRsX/OWL8xahwtqJJJmBtVtWZzAs6ny0ID3OEiBTV9/awwrsQvOF93L
RBU+WKION45Fsn0TI5U9KfDFIrCVBDdgxLYtYyfbaW53UItRzo28vCkCfzou+78q
v07oEiUF4i8q/9CR/ilgnoc2pzE9XieogayBNL/1Sow7T4I8BqSxhwfm1gmox6my
IuhZwA1adZf89B2bPW59hqp2QZcjEohgfqus9FDtjAZEuCcEpqRZ01mH2hpkuV20
5O23ct9DLeQj9ckjeIwgs2Lo9e/I7f0S4FQ5GA61/11v1ebBL7QKKQ5ofGJlnzij
edcEEFw5JLa0NGZkMholt4RDlpthhKJSt/thwTJ5WMYoUgjFtCDMkRwCdxw5BRga
yGwMEhptvbpnXbiMzmIvTuwU5F78TcQUoXLjhqdCGQRkSeg3LEpimmaa9KvrvVAq
MuL9fLZhI7rtzb4wqDj/ndSNh1uXmGh1J6qnyciKSgjSoD/kGXCWqiAavhcnbl81
lA4YXBJqEm7r6JZPrKYPLRxpux7GxUxJ7aqeIWD7WvccROmbxgBjpMipmIaSJByp
sJ2il0r8vnOMGexEoEvcAhZVvw7095ftiUwCzafGiuv5g0OjRlU=
=5Gvg
-----END PGP SIGNATURE-----

Attachment: pgp364ffq5R8u.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