Your message dated Wed, 29 Oct 2025 21:52:33 +0000
with message-id <[email protected]>
and subject line Bug#1117950: fixed in jtreg8 8.1+1+ds1-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: jtreg8
Source-Version: 8.1+1+ds1-1
Done: Vladimir Petko <[email protected]>

We believe that the bug you reported is fixed in the latest version of
jtreg8, 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 jtreg8 
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:07:49 +1300
Source: jtreg8
Architecture: source
Version: 8.1+1+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Vladimir Petko <[email protected]>
Changed-By: Vladimir Petko <[email protected]>
Closes: 1115694 1117950
Changes:
 jtreg8 (8.1+1+ds1-1) unstable; urgency=medium
 .
   * New upstream release jtreg 8.1, build 1.
   * 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.
Checksums-Sha1:
 2f297022fbfb1ede17f50bb67ce37e39bc6d4764 2683 jtreg8_8.1+1+ds1-1.dsc
 f6b5b5dc1bedb316a5b779afbf72d6c28615efdf 6653660 jtreg8_8.1+1+ds1.orig.tar.gz
 72e8992112bc007f0cf534d0425d08c7d20ba59f 42892 jtreg8_8.1+1+ds1-1.debian.tar.xz
 705344cc08249b4e3f89ea33a6cb777543820d42 19578 
jtreg8_8.1+1+ds1-1_amd64.buildinfo
Checksums-Sha256:
 909bec6bda42d6b8172b756e7bb398494087023d760083f4905877bc5f6119ee 2683 
jtreg8_8.1+1+ds1-1.dsc
 e821f78557acddd9af75810c85fe684a77c49cd19b9b583dc87e00d5c10c7d3c 6653660 
jtreg8_8.1+1+ds1.orig.tar.gz
 0435873c4bc210b5522a0e16b0f20b7cbc4c13068edce047ffcb2b9dbed57869 42892 
jtreg8_8.1+1+ds1-1.debian.tar.xz
 658fc69579f7c226ac4ed06a94a23beb82cf1fe2db8716c84f0f1c0a1a091678 19578 
jtreg8_8.1+1+ds1-1_amd64.buildinfo
Files:
 74c510a6b4d6b7a4bc79b2eda15a1aa1 2683 java optional jtreg8_8.1+1+ds1-1.dsc
 eb6ae0dea81d291a9d53f024db958d17 6653660 java optional 
jtreg8_8.1+1+ds1.orig.tar.gz
 6f7e127749985f17df151e951f1fd50f 42892 java optional 
jtreg8_8.1+1+ds1-1.debian.tar.xz
 4b080c40f2770e454c1132d06dc26c14 19578 java optional 
jtreg8_8.1+1+ds1-1_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmkCgyEUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpYLAw//V2RXT8/QH5n1ol8xjzl/A6j9DkPa
cErY1Dpn5cshoWxoFBxV06gxLRyiM1paaxGBinqOfEB9Kou9YMyfNxFVWlRz/bQU
v73lj//BtuTuuCV/5ycrtssRi5Qk0b5Sq/E+OnE3rZOAf2c6b+NQJSn8oqPCWdBE
nKAJjiZKOhrOnfGXxXztCXVoO+WXFzMHS6i1td1w66FzogbuZpessLkyPVRA+OH7
qB2x+l2KUIUE9QYs8reTl50tZV60xlX1qMz9ZB5nKkIy7+K6Lih1rGfsugFhBlBk
xqUHzqRo1Bbwcd/ZaWRS06V1cmhabcbyx/bbAuyxl7Aa6IgiTRHJgZWTR9l5ozhy
Wt6DTGfqMIolrjuk6nYOpKQdfGLLxzlYDoJlluQoaW0zt2y90pzLR2XiMkdhbzTp
oC4PU4JVTw1Cll7bqKOfG6fBQliqsMtUt8ESwffInrPQS5u1648b5TF4xv6qkx98
btYy9yzP7wSrB251VweiVZRC0iRvZ70WpFOZBwv7N3JvGweWYn6gcfinmligRbK5
cRkzLeFAG3OcEyx8DbM8K5LIkb49QdBbSbtkDInG63yLPnS9GJVehwQo9nHgig2K
/XoWkQD/8eORkZuSNX/b/xOzMum4DjM6EFyR283ZH4mImRbjFRbdKtNpwH+x032r
fVjfX+pfcv/v1fE=
=6nzv
-----END PGP SIGNATURE-----

Attachment: pgp33G2JtMxXY.pgp
Description: PGP signature


--- End Message ---

Reply via email to