Your message dated Mon, 21 Aug 2023 18:50:07 +0000
with message-id <[email protected]>
and subject line Bug#1036065: fixed in jtreg6 6.2+1-1
has caused the Debian Bug report #1036065,
regarding jtreg6: errors in jasm tests despite libasmtools-java installed
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.)
--
1036065: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036065
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jtreg6
Version: 6.1+2-1ubuntu1
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
openjdk-8 adds asmtools dependency, but tests[1] requiring asmtools still fail,
e.g.
Error: compiler/conversions/TestPrimitiveConversions.java
----------rerun:(4/368)*----------
cd /tmp/hotspot/JTwork/scratch && \\
/build/openjdk-8-tuB2dS/openjdk-8-8u372-ga/build/bootcycle-
build/images/j2s>
-classpath /usr/share/java/asmtools.jar \\
org.openjdk.asmtools.jasm.Main -d
/tmp/hotspot/JTwork/classes/compiler/conv>
result: Error. can't find jasm
test result: Error. can't find jasm
--------------------
The errors apply to 11 and 17 as well.
In order to avoid this error, asmtools need to be present in the manfest of the
jtreg.jar, e.g. here is excerpt of the jtreg 6.2+1 MANIFEST.MF[2]
--------------------------------------
Class-Path: javatest.jar asmtools.jar
--------------------------------------
Please consider the attached patch to add asmtools.jar to the jtreg classpath.
[1]https://buildd.debian.org/status/fetch.php?pkg=openjdk-8&arch=all&ver=8u372-ga-1&stamp=1683819721&raw=0
[2] https://builds.shipilev.net/jtreg/jtreg-6.2%2B1.zip
-- System Information:
Debian Release: bookworm/sid
APT prefers lunar-updates
APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.2.0-20-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
commit 2360ee1532ced475af53125f0bc13d1ec3c41e98
Author: Vladimir Petko <[email protected]>
Date: Mon May 15 08:28:28 2023 +1200
add asmtools to classpath
diff --git a/debian/control b/debian/control
index 2515941..269aa92 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends:
libjtharness-java (>= 6.0),
libxalan2-java,
libhamcrest-java,
+ libasmtools-java,
testng
Standards-Version: 4.6.2
Vcs-Git: https://salsa.debian.org/java-team/jtreg.git
@@ -28,7 +29,8 @@ Depends:
javahelp2,
libjtharness-java (>= 6.0),
libhamcrest-java,
- libxalan2-java
+ libxalan2-java,
+ libasmtools-java,
Recommends: testng
Conflicts: jtreg
Description: Regression Test Harness for the OpenJDK platform
diff --git a/debian/jtreg6.links b/debian/jtreg6.links
index 9693cd1..682feab 100644
--- a/debian/jtreg6.links
+++ b/debian/jtreg6.links
@@ -8,6 +8,7 @@ usr/share/java/jh.jar
/usr/share/jtreg/lib/jh.jar
usr/share/java/jtreg.jar /usr/share/jtreg/lib/jtreg.jar
usr/share/java/junit4.jar /usr/share/jtreg/lib/junit.jar
usr/share/java/testng.jar /usr/share/jtreg/lib/testng.jar
+usr/share/java/asmtools.jar /usr/share/jtreg/lib/asmtools.jar
usr/share/java/hamcrest-core.jar
/usr/share/jtreg/share/java/hamcrest-core.jar
usr/share/java/javatest.jar
/usr/share/jtreg/share/java/javatest.jar
@@ -16,3 +17,4 @@ usr/share/java/jh.jar
/usr/share/jtreg/share/java/jh.jar
usr/share/java/jtreg.jar /usr/share/jtreg/share/java/jtreg.jar
usr/share/java/junit4.jar /usr/share/jtreg/share/java/junit.jar
usr/share/java/testng.jar /usr/share/jtreg/share/java/testng.jar
+usr/share/java/asmtools.jar
/usr/share/jtreg/share/java/asmtools.jar
diff --git a/debian/patches/add-asmtools-to-classpath.patch
b/debian/patches/add-asmtools-to-classpath.patch
new file mode 100644
index 0000000..ee79b17
--- /dev/null
+++ b/debian/patches/add-asmtools-to-classpath.patch
@@ -0,0 +1,16 @@
+Description: Provide path to asmtools.jar
+ A number of hotspot tests use java asmtools. Provide path to asmtools.jar
+Author: Vladimir Petko <[email protected]>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/jtreg6/+bug/2015011
+Last-Update: 2023-04-03
+--- a/make/build.xml
++++ b/make/build.xml
+@@ -144,7 +144,7 @@
+ <manifest>
+ <attribute name="Built-By" value="${user.name}"/>
+ <attribute name="Main-Class"
value="com.sun.javatest.regtest.Main"/>
+- <attribute name="Class-Path" value="javatest.jar jh.jar
junit.jar"/>
++ <attribute name="Class-Path" value="javatest.jar jh.jar
junit.jar asmtools.jar"/>
+ <attribute name="jtreg-Name" value="jtreg"/>
+ <attribute name="jtreg-Version" value="${build.version}"/>
+ <attribute name="jtreg-Milestone" value="${build.milestone}"/>
diff --git a/debian/patches/series b/debian/patches/series
index df57d95..d2c5b73 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
launchers.patch
add-jcommander-to-classpath.patch
use-release-instead-of-source-target.patch
+add-asmtools-to-classpath.patch
--- End Message ---
--- Begin Message ---
Source: jtreg6
Source-Version: 6.2+1-1
Done: tony mancill <[email protected]>
We believe that the bug you reported is fixed in the latest version of
jtreg6, 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.
tony mancill <[email protected]> (supplier of updated jtreg6 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: Sun, 20 Aug 2023 19:52:35 -0700
Source: jtreg6
Architecture: source
Version: 6.2+1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: tony mancill <[email protected]>
Closes: 1036065 1036066 1041282
Changes:
jtreg6 (6.2+1-1) unstable; urgency=medium
.
* Team upload.
.
[ Emmanuel Bourg ]
* New upstream release
- Refreshed the patches
* Removed debian/orig-tar.sh and updated the watch file
* Removed the gradle wrapper from the upstream tarball
* Standards-Version updated to 4.6.2
.
[ tony mancill ]
* Update jtreg6 dependences for openjdk-11 and 17 (Closes: #1041282)
Thank you to Vladimir Petko for the patch, which also
Closes: #1036065, #1036066
Checksums-Sha1:
7a6c31f06aeb2bff59530a878eb55a218ebc8df1 2134 jtreg6_6.2+1-1.dsc
8d668b74cab8969cb2933e97daa43d490429aba8 379080 jtreg6_6.2+1.orig.tar.xz
bcb9ecae2fdb4f9e18b2266d3d9d748ed5b0da95 6904 jtreg6_6.2+1-1.debian.tar.xz
7ebdcb18935cced8aed7e77efeb0a221ff11d74a 12487 jtreg6_6.2+1-1_amd64.buildinfo
Checksums-Sha256:
150d1d9cf737fd15b4c34c6c6646a99f5f81da09bd992dced71fb73480a0e294 2134
jtreg6_6.2+1-1.dsc
0005dc97eb34fe9ea23b1604358fe5b89b700ed6f25543341bfa880bab25abc9 379080
jtreg6_6.2+1.orig.tar.xz
7e3946ef4b31d9adac8e9a1c0df31616e92b22b5059a2317f4e9bfb21a82fc6d 6904
jtreg6_6.2+1-1.debian.tar.xz
e7b69724ee2fa197b4aa4c4a10298cfc1b3d0a98c1c068df6f4b3545c70c7312 12487
jtreg6_6.2+1-1_amd64.buildinfo
Files:
6baedc9e836aec20cfe32c108e53f119 2134 java optional jtreg6_6.2+1-1.dsc
2af9dc4c5ad680825634e5dc7b16bbe7 379080 java optional jtreg6_6.2+1.orig.tar.xz
62d39d15b26b54e8d9fa7d8c6accd664 6904 java optional
jtreg6_6.2+1-1.debian.tar.xz
31942d6817c81dbe7abeb95151b8d9a6 12487 java optional
jtreg6_6.2+1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmTjrWMUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpbB0A/+JguLQFzQxrWwVVY9MlaUog01UfDw
EaNrbZGqb9REBPdRDD2lpsNMTmBD9y0PknaXLP7SA1TWBtwQdGf6HdGzGRJ85JII
MpXHGfyMgZ2o3PYCyAZCGVFMdiMmBhpZq3yz6PHGisDSRrPRK3KbWChtYtfFca8b
fqu1Nd3ceg4XNswY9sME25l0p3sKPwOQiMGYrDNS27rwBYdVs2zw3s40mGra7uOE
fVix43XHL9KLswlJksdBYwO+2C5bAe8IbzFLtdRSn+sBzMliklR6PI7g9JG6rawE
qT0LxwUkrL9XpopUP4x/D1AMI09ssOAAckH7h2y4HLtpzA14ufpIJoSwRVHsx7Xi
2+/zy1x1FGECvMPlEizlZKAQ2umAqCEY7uhqpvDmqdMEdn9k5O/IDU5i/r9lf8Ln
JywYrudSUcnCJQ1EPmhWxr1hnt3SHt5gBW0GZj/QGKoIZCRszlppSLM3N6SaI2xq
jBM4BwgKFA9e3DdjVjV1A6E7Ra9n/5lQI/5gMaKpyjzwjhzLneMrO0e5NZcdVBrQ
yoKij/ND6zz7EHAoSlSfvBqGLe9E7HgjLhCVCWCoRN+a88PwRNGlYIPI1zDLYaap
7ApWwidsxZNecI4tVXFNDcuopzPDNhUs+/FMRiFX4gmuAMYoWEWbvUFSMLSKx9mc
Gu11dKjKGm6k8sc=
=DXqQ
-----END 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.