Your message dated Thu, 30 Oct 2025 05:04:58 +0000
with message-id <[email protected]>
and subject line Bug#1117950: fixed in jtreg7 7.5.2+1+ds2-1
has caused the Debian Bug report #1117950,
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.)


-- 
1117950: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117950
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jtreg7
Version: 7.5.2+1+ds1-2
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: ftbfs-snakeyaml2

Dear Maintainer,

jtreg7 7.5.2+1+ds1-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 jtreg7-7.5.2+1+ds1/debian/changelog jtreg7-7.5.2+1+ds1/debian/changelog
--- jtreg7-7.5.2+1+ds1/debian/changelog	2025-08-20 22:17:51.000000000 +0200
+++ jtreg7-7.5.2+1+ds1/debian/changelog	2025-10-10 07:00:23.000000000 +0200
@@ -1,3 +1,9 @@
+jtreg7 (7.5.2+1+ds1-3) UNRELEASED; urgency=medium
+
+  * Building against snakeyaml 2.x
+
+ -- Pierre Gruet <[email protected]>  Fri, 10 Oct 2025 07:00:23 +0200
+
 jtreg7 (7.5.2+1+ds1-2) unstable; urgency=medium
 
   * d/copyright: revert FSF address change.
diff -Nru jtreg7-7.5.2+1+ds1/debian/control jtreg7-7.5.2+1+ds1/debian/control
--- jtreg7-7.5.2+1+ds1/debian/control	2025-08-20 22:17:51.000000000 +0200
+++ jtreg7-7.5.2+1+ds1/debian/control	2025-10-10 07:00:23.000000000 +0200
@@ -34,7 +34,7 @@
  libmaven-shade-plugin-java,
  libassertj-core-java,
  libjtharness-java (>= 6.0),
- libyaml-snake-java,
+ libyaml-snake-java (>= 2.5+ds),
  libfindbugs-java,
  libbsh-java,
  libasm-java,
diff -Nru jtreg7-7.5.2+1+ds1/debian/patches/series jtreg7-7.5.2+1+ds1/debian/patches/series
--- jtreg7-7.5.2+1+ds1/debian/patches/series	2025-08-20 22:17:51.000000000 +0200
+++ jtreg7-7.5.2+1+ds1/debian/patches/series	2025-10-10 06:59:25.000000000 +0200
@@ -28,3 +28,4 @@
 java21-codetools-7903646.patch
 preview-test.patch
 flush-alarm.patch
+snakeyaml2.patch
diff -Nru jtreg7-7.5.2+1+ds1/debian/patches/snakeyaml2.patch jtreg7-7.5.2+1+ds1/debian/patches/snakeyaml2.patch
--- jtreg7-7.5.2+1+ds1/debian/patches/snakeyaml2.patch	1970-01-01 01:00:00.000000000 +0100
+++ jtreg7-7.5.2+1+ds1/debian/patches/snakeyaml2.patch	2025-10-10 07:00:23.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/testng-core/src/main/java/org/testng/internal/Yaml.java
++++ b/testng/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());
+     }
diff -Nru jtreg7-7.5.2+1+ds1/debian/testng/maven.rules jtreg7-7.5.2+1+ds1/debian/testng/maven.rules
--- jtreg7-7.5.2+1+ds1/debian/testng/maven.rules	2025-08-20 22:17:51.000000000 +0200
+++ jtreg7-7.5.2+1+ds1/debian/testng/maven.rules	2025-10-10 07:00:04.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/ * *

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: jtreg7
Source-Version: 7.5.2+1+ds2-1
Done: Vladimir Petko <[email protected]>

We believe that the bug you reported is fixed in the latest version of
jtreg7, 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.
Vladimir Petko <[email protected]> (supplier of updated jtreg7 
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: Thu, 23 Oct 2025 08:54:01 +1300
Source: jtreg7
Architecture: source
Version: 7.5.2+1+ds2-1
Distribution: unstable
Urgency: medium
Maintainer: Vladimir Petko <[email protected]>
Changed-By: Vladimir Petko <[email protected]>
Closes: 1115694 1117950
Changes:
 jtreg7 (7.5.2+1+ds2-1) unstable; urgency=medium
 .
   * d/{control, copyright,p/testng-build-with-gradle.patch}: drop
     snakeyaml dependency (Closes: #1117950).
   * Add patches to resolve test ftbfs (Closes: #1115694):
     - d/p/codetools-7904101.patch: capture all stdout/stderr output
       from the agent vm to the log file.
     - d/p/codetools-7904104-proposed.patch: do not interrupt main
       thread if the agent process is killed.
     - d/p/codetools-7904105-proposed.patch: synchronize test result
       updates.
     - d/p/codetools-7904106-proposed.patch: use different work
       directories for TestNativePath.
     - d/p/codetools-7904107-proposed.patch: add a separate target to
       filter log files.
   * d/flush_stream.patch: drop patch, it is replaced by
     d/p/codetools-7904101.patch.
   * d/watch: update repack version.
Checksums-Sha1:
 731ce557720b492de7286f7889b839da07c7bb9c 2697 jtreg7_7.5.2+1+ds2-1.dsc
 55bab84ceb329eb12614ec29f93950f64f8e2e89 6650766 jtreg7_7.5.2+1+ds2.orig.tar.gz
 fef3e9033cc651d4b17419b06a0cf4d32ca04b71 43920 
jtreg7_7.5.2+1+ds2-1.debian.tar.xz
 f60e80152bb0ff599c2e929fd32d6a79b28aa7ca 19594 
jtreg7_7.5.2+1+ds2-1_amd64.buildinfo
Checksums-Sha256:
 88a8118fe8cbec120d93a2f00c6d3a559c9aea9543830413fd0dbaecae6362d7 2697 
jtreg7_7.5.2+1+ds2-1.dsc
 ab0c1dea5fa3ec5ba6c7507fe95ff5fe56cd26c3025128080dd11c338903e2c9 6650766 
jtreg7_7.5.2+1+ds2.orig.tar.gz
 0ecc69c00bf77ea3790d3e4202720552622321234fdb20eac753cbf334971261 43920 
jtreg7_7.5.2+1+ds2-1.debian.tar.xz
 b003083b38fe5a25fec2a0c1bfd27809005d348e10b606999a7c1ec16700a65e 19594 
jtreg7_7.5.2+1+ds2-1_amd64.buildinfo
Files:
 74a4b2bd7621f18c95ef0fa4bd53d3db 2697 java optional jtreg7_7.5.2+1+ds2-1.dsc
 a6afa26cdabfc2455e0aa1d8f9964b4a 6650766 java optional 
jtreg7_7.5.2+1+ds2.orig.tar.gz
 96a0314d7a1b764f8ebf9279f8600ab2 43920 java optional 
jtreg7_7.5.2+1+ds2-1.debian.tar.xz
 09bbaef3c9f9c70ecb8f81f570f2cb18 19594 java optional 
jtreg7_7.5.2+1+ds2-1_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmkC7QQUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpbC0RAAxlfa8aB1gnRdVct9gReDGhrzTyKw
w5euoECLv0wlr1heSUySvRd2e9/MESSMZd4gWkiUnFrBa5zW/FUZRNcawmKJnH2U
AuX+YELAPUywZLKBGEB84pZJeGDUS8YwJxzopKey8laYNefwo1ljMmZ9U0QeBGyB
2kjjuxG8AkAsG866EOWg3YpRIthaLTATKpjTMZSK4DX9lqyhBSJo3kbxxnFS/0Td
K/86HFBMtD04yvCKGM7Tq8FXyRZKrrhcpzp3lC9HgqOcIxrjYO8kWL1Me3PZcXk7
QANAhhv/pd0irPp6MI4C9xZYpHtkN8kvB9s8fTQ4Xboxpo8ePQtwyllso6Of5XsV
gOwViUnF/Z0HdRMfHOZhAMdApkzky7YGkfugVmmhgyHAcLJunxudGVge0g5PExiC
n0LwCScx11G4Ob5BGcX38QuJK+FXN93JUp5a7QddIoMKP5ei9Cf0XFhGdfTS5qqR
+64fW2Ros0ept5k5Svl3T/ZhXUE1kvry45I2MKrb9cnQ5McrF795DeOGeytqTMGD
3ULg/dnWqYqpWBy9uWa1AhANthRM1u8Rs4phz4ftYhziRSJxVUWR6iZ+01TAgQju
oG7O0G9WYdKLoVPv01gCfNzb+tmmb+xRdlgt1zOsLrWkdffmmHoaZjkt+33eZLuc
DoEl721m8QF7cbg=
=1ksP
-----END PGP SIGNATURE-----

Attachment: pgpRmCNZ1at0m.pgp
Description: PGP signature


--- End Message ---

Reply via email to