Your message dated Tue, 28 Oct 2025 18:09:00 +0000
with message-id <[email protected]>
and subject line Bug#1117944: fixed in testng7 7.5-3
has caused the Debian Bug report #1117944,
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.)


-- 
1117944: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117944
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---

Source: testng7
Version: 7.5-2
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: ftbfs-snakeyaml2

Dear Maintainer,

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

Best regards,

--
Pierre
diff -Nru testng7-7.5/debian/changelog testng7-7.5/debian/changelog
--- testng7-7.5/debian/changelog	2023-06-15 20:21:39.000000000 +0200
+++ testng7-7.5/debian/changelog	2025-10-08 22:57:41.000000000 +0200
@@ -1,3 +1,9 @@
+testng7 (7.5-3) UNRELEASED; urgency=medium
+
+  * Building against snakeyaml 2.x
+
+ -- Pierre Gruet <[email protected]>  Wed, 08 Oct 2025 22:57:41 +0200
+
 testng7 (7.5-2) unstable; urgency=medium
 
   * Source-only upload.
diff -Nru testng7-7.5/debian/control testng7-7.5/debian/control
--- testng7-7.5/debian/control	2023-06-13 07:59:43.000000000 +0200
+++ testng7-7.5/debian/control	2025-10-08 22:57:41.000000000 +0200
@@ -13,7 +13,7 @@
  libguice-java,
  libjcommander-java,
  libmaven-bundle-plugin-java,
- libyaml-snake-java,
+ libyaml-snake-java (>= 2.5+ds),
  maven-repo-helper,
  gradle-debian-helper,
  libassertj-core-java
diff -Nru testng7-7.5/debian/maven.rules testng7-7.5/debian/maven.rules
--- testng7-7.5/debian/maven.rules	2023-03-22 04:42:42.000000000 +0100
+++ testng7-7.5/debian/maven.rules	2025-10-08 22:57:37.000000000 +0200
@@ -1,7 +1,7 @@
 
 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/ * *
 org.assertj assertj-core jar s/.*/debian/ * *
diff -Nru testng7-7.5/debian/patches/series testng7-7.5/debian/patches/series
--- testng7-7.5/debian/patches/series	2023-03-22 04:42:42.000000000 +0100
+++ testng7-7.5/debian/patches/series	2025-10-08 22:57:41.000000000 +0200
@@ -1 +1,2 @@
 build-with-gradle.patch
+snakeyaml2.patch
diff -Nru testng7-7.5/debian/patches/snakeyaml2.patch testng7-7.5/debian/patches/snakeyaml2.patch
--- testng7-7.5/debian/patches/snakeyaml2.patch	1970-01-01 01:00:00.000000000 +0100
+++ testng7-7.5/debian/patches/snakeyaml2.patch	2025-10-08 22:57:41.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-08
+
+--- a/testng-core/src/main/java/org/testng/internal/Yaml.java
++++ b/testng-core/src/main/java/org/testng/internal/Yaml.java
+@@ -16,6 +16,7 @@
+ import org.testng.xml.XmlScript;
+ 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.MappingNode;
+@@ -301,7 +302,7 @@
+   private static class TestNGConstructor extends Constructor {
+ 
+     public TestNGConstructor(Class<?> theRoot) {
+-      super(theRoot);
++      super(theRoot, new LoaderOptions());
+       yamlClassConstructors.put(NodeId.scalar, new ConstructParallelMode());
+       yamlClassConstructors.put(NodeId.mapping, new ConstructXmlScript());
+     }

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: testng7
Source-Version: 7.5-3
Done: Pierre Gruet <[email protected]>

We believe that the bug you reported is fixed in the latest version of
testng7, 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 testng7 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, 08 Oct 2025 22:57:41 +0200
Source: testng7
Architecture: source
Version: 7.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Pierre Gruet <[email protected]>
Closes: 1117944
Changes:
 testng7 (7.5-3) unstable; urgency=medium
 .
   * Team upload
   * Building against snakeyaml 2.x (Closes: #1117944)
   * Raising Standards version to 4.7.2 (no change)
   * Removing Eugene Zhukov, who has retired, from the uploaders. Thanks Eugene!
   * Marking the -java package as Multi-Arch: foreign
   * Raising d/watch version to 5, syntax changes
Checksums-Sha1:
 2b4723777bf4d8c902d7b31521f920e4e6838d6e 2160 testng7_7.5-3.dsc
 2927a9b6b165c340f048a91704bad6abb29d8a75 6508 testng7_7.5-3.debian.tar.xz
 76fc217be4fca1db48ef36f9b8c2af24f637f73f 14445 testng7_7.5-3_source.buildinfo
Checksums-Sha256:
 330d1b09cb8d021ada2d769d7d9134fcb82d2f384db68508eda38ef7948ce9a5 2160 
testng7_7.5-3.dsc
 463cab98293cd900596412bb27bad9f1085ef7379f4b37fd21b45f46a674f6e1 6508 
testng7_7.5-3.debian.tar.xz
 13d30ecbd19e4dce14226a0feaad94fafa47582822f5606032b3cb9aa9a7b166 14445 
testng7_7.5-3_source.buildinfo
Files:
 4ea64e38b2340ab8597bbafeb15b34ff 2160 java optional testng7_7.5-3.dsc
 bacc81c822fcfdfde0c0752503b14c5c 6508 java optional testng7_7.5-3.debian.tar.xz
 234e9f4cc7483cf48fc8f27fc56ef6f6 14445 java optional 
testng7_7.5-3_source.buildinfo

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

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmkBALIACgkQYAMWptwn
dHbhBQ//Zw9U0LgjClK8DzvwhnrcXSeclA8v9NKvuVzgVn/WehCE4GQMHg7pOdJc
mufEDwS1WQd8Kz3coxc6YmMdkX0dhfBho9/CshDoyZcMTN4BV80hVDP9xWJQQXjK
v+srdd/nXzTVVND9Zrtpckr0Vz3gPdOSziiRJhRRV8OtdvijbnUQha7KpWNmOTso
paZ1WJFH6OKc/XXdY5Tm85qphNBPSbvSyZF/69TYH1VDaFgiOK61Ryi7mZnNEng1
M6C1ATdp6sgwDTwYksNj/SanFIIF32rdDmIl7BHBQkiVvepIUWZezNMOFKZqS0ic
GUOv8gRjx+sFDs1MWGvFVek//L2xY6jEZ2dbZZoUahOU070z8z7rMz70kO4idznk
vozWlJMiqo6tbtz3FobQl+ZA0aC37FRcV3/EFSzKdC/oSO7CXjSsPfMHejd4IjJx
BUQgliNKIum4t7c7VhphdTqMrVM/zoXOI/i2B3KJELGus4HVRvdfBSDO60/0ru7a
WTCVAwifiIL6q+W0+JjsD9XhjZ+zUU0JIGY30O4m/w8iyrS56oIkyTJJmFm453hk
Ua5L9Mj+5riOI4xhkI8XvF4lMCenvb3JGlP3VjvS8I1xq3hCF0fD0KKk240LiGC3
IAlZ2Y0I013NEd2pVm/pYk4Xku/pKy7zWaa56LD2xrawMmYtopA=
=nihz
-----END PGP SIGNATURE-----

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