Debian Bug report logs - #866908
doclint has returned from the grave

version graph

Package: src:openjdk-9; Maintainer for src:openjdk-9 is OpenJDK Team <openjdk@lists.launchpad.net>;

Reported by: Chris West <solo-debianbugs@goeswhere.com>

Date: Sun, 2 Jul 2017 18:27:01 UTC

Severity: wishlist

Found in version openjdk-9/9~b170-2

Fixed in version openjdk-9/9~b181-3

Done: Matthias Klose <doko@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#866908; Package src:openjdk-9. (Sun, 02 Jul 2017 18:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris West <solo-debianbugs@goeswhere.com>:
New Bug report received and forwarded. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Sun, 02 Jul 2017 18:27:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris West <solo-debianbugs@goeswhere.com>
To: submit@bugs.debian.org
Subject: doclint has returned from the grave
Date: Sun, 2 Jul 2017 19:23:05 +0100
Package: src:openjdk-9
Version: 9~b170-2
Severity: wishlist

Please disable javadoc's doclint feature by default.

In src:openjdk-8, javadoc's doclint feature has been disabled by
default. This allows older software, that happens to have cosmetic
javadoc problems, to continue to build.

openjdk-8 patch and discussion:
https://sources.debian.net/src/openjdk-8/8u111-b14-2/debian/patches/disable-doclint-by-default.diff/

openjdk-9 patch, which is apparently not working:
https://sources.debian.net/src/openjdk-9/9~b170-2/debian/patches/disable-doclint-by-default.diff/

This is causing around 80 packages to fail to build,
a guess of the list is: https://paste.debian.net/974395/
'shrinksafe' is a simple package that's definitely broken:

find src -name *.java -and -type f -print0 | xargs -s 512000 -0
/usr/lib/jvm/default-java/bin/javadoc -locale en_US
  -classpath /usr/share/java/js.jar:debian/_jh_build.shrinksafe
  -d debian/_jh_build.javadoc/api -quiet -notimestamp -source 1.7
Creating destination directory: "debian/_jh_build.javadoc/api/"
src/org/dojotoolkit/shrinksafe/TokenMapper.java:232: error: @param name not found
         * @param parseTree



Tiny testcase, which succeeds on Java 8 and fails on Java 9:

% cat A.java
/** <br/>Hi! */
public class A {}


% javadoc A.java
Loading source file A.java...
Constructing Javadoc information...
Standard Doclet version 9-Debian
Building tree for all the packages and classes...
A.java:1: error: self-closing element not allowed
/** <br/>Hi! */
    ^
Generating ./A.html...
[...]
1 error


Thanks.




Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#866908; Package src:openjdk-9. (Fri, 07 Jul 2017 17:27:09 GMT) (full text, mbox, link).


Acknowledgement sent to Chris West <solo-debianbugs@goeswhere.com>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Fri, 07 Jul 2017 17:27:09 GMT) (full text, mbox, link).


Message #10 received at 866908@bugs.debian.org (full text, mbox, reply):

From: Chris West <solo-debianbugs@goeswhere.com>
To: 866908@bugs.debian.org
Subject: updated patch
Date: Fri, 7 Jul 2017 18:25:44 +0100
Looks like the code that needs patching has been copy-pasted into
WorkArounds.java.

A patch like the following seems to work:

--- a/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java
+++ b/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java
@@ -125,7 +125,7 @@ public class WorkArounds {
         }
 
         if (!msgOptionSeen) {
-            doclintOpts.add(DocLint.XMSGS_OPTION);
+            return;
         }
 
         String sep = "";



Also, the VCS link for the openjdk-9 packaging on
https://tracker.debian.org/pkg/openjdk-9 is dead.

Chris.




Reply sent to Matthias Klose <doko@ubuntu.com>:
You have taken responsibility. (Sat, 22 Jul 2017 14:48:06 GMT) (full text, mbox, link).


Notification sent to Chris West <solo-debianbugs@goeswhere.com>:
Bug acknowledged by developer. (Sat, 22 Jul 2017 14:48:06 GMT) (full text, mbox, link).


Message #15 received at 866908-close@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@ubuntu.com>
To: 866908-close@bugs.debian.org
Subject: Bug#866908: fixed in openjdk-9 9~b179-1
Date: Sat, 22 Jul 2017 14:45:24 +0000
Source: openjdk-9
Source-Version: 9~b179-1

We believe that the bug you reported is fixed in the latest version of
openjdk-9, 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 866908@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@ubuntu.com> (supplier of updated openjdk-9 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 22 Jul 2017 11:49:18 +0200
Source: openjdk-9
Binary: openjdk-9-jdk-headless openjdk-9-jre-headless openjdk-9-jdk openjdk-9-jre openjdk-9-demo openjdk-9-source openjdk-9-doc openjdk-9-dbg openjdk-9-jre-zero
Architecture: source
Version: 9~b179-1
Distribution: unstable
Urgency: medium
Maintainer: OpenJDK Team <openjdk@lists.launchpad.net>
Changed-By: Matthias Klose <doko@ubuntu.com>
Description:
 openjdk-9-dbg - Java runtime based on OpenJDK (debugging symbols)
 openjdk-9-demo - Java runtime based on OpenJDK (demos and examples)
 openjdk-9-doc - OpenJDK Development Kit (JDK) documentation
 openjdk-9-jdk - OpenJDK Development Kit (JDK)
 openjdk-9-jdk-headless - OpenJDK Development Kit (JDK) (headless)
 openjdk-9-jre - OpenJDK Java runtime, using ${vm:Name}
 openjdk-9-jre-headless - OpenJDK Java runtime, using ${vm:Name} (headless)
 openjdk-9-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
 openjdk-9-source - OpenJDK Development Kit (JDK) source files
Closes: 864359 864464 866908 868205 868255
Changes:
 openjdk-9 (9~b179-1) unstable; urgency=medium
 .
   * OpenJDK 9, b179.
   * Drop armel as a hotspot architecture. Closes: #864464.
   * Configure --with-debug-level=slowdebug on Zero-only architectures.
     Closes: #868255.
   * Fix recommendation of microhei/zenhei font packages. Closes: #868205.
   * Enable the zero-sparc patch (Adrian Glaubitz). Closes: #864359.
   * Update the disable-doclint patch (Chris West ). Closes: #866908.
   * Disable the jamvm autopkg tests.
Checksums-Sha1:
 ad94537e033c2a09038fd958ac03fd695d1a1fce 4494 openjdk-9_9~b179-1.dsc
 f562c4a5f20bf016844c7b0d54c215d11d67d43e 74693298 openjdk-9_9~b179.orig.tar.gz
 65b45694123ca180dd933d0b0fc611d72e5143bf 198968 openjdk-9_9~b179-1.debian.tar.xz
 2d1113a88694ae33d63eab72702b857c58394693 17057 openjdk-9_9~b179-1_source.buildinfo
Checksums-Sha256:
 3ef6c4205abe5e22289a4249d888bb370ecb72d4d3bdd362a8328cd03e9952f2 4494 openjdk-9_9~b179-1.dsc
 b8eb587f5a55c3067fc52f13d2074302e0d13078778a68a09efc63aedb4dc900 74693298 openjdk-9_9~b179.orig.tar.gz
 1c9f71484a3b0e81374c5f3d8d08182dd5e119eabffaafdae4475d02202d2ded 198968 openjdk-9_9~b179-1.debian.tar.xz
 394c914acbd33ae3c677fc2075f0a66d721a6fac763566b0f78494639530ab4e 17057 openjdk-9_9~b179-1_source.buildinfo
Files:
 f16a277a9686b968d6ea814ce69c7316 4494 java optional openjdk-9_9~b179-1.dsc
 2f1e521f5e6021c0a0c918f63c38e97e 74693298 java optional openjdk-9_9~b179.orig.tar.gz
 2320b332a6d53b6253c3fcb3f682c072 198968 java optional openjdk-9_9~b179-1.debian.tar.xz
 f339c8577759a1f85a63825b6f1f3c9e 17057 java optional openjdk-9_9~b179-1_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAllzTP4QHGRva29AdWJ1
bnR1LmNvbQAKCRC9fqpgd4+m9eqED/9UmdX1NTvKP5SNGy6ITnf81wYgLgGjSZZp
1+1HuA3xUzcb8dQYuJg1JaKQJGpdqckYXGKCO3xbo1XZkvL+V+0NoXW16Sof4zxI
wBvFRN6bhzR9FaUDL12s/cocW4156CqA7phifm9sMgNwcpBXepUgkH1Pg0OnujUW
utQeiMa9WTRGSos5+PWCl2oGih7pxF2U03EP1teCM2Er54IjCVAyLQUSo1sl0xCs
e6ZinST4J4Q0tti5+hxyG+gaA3oHF5Di58/CmK7jV/O289LK2rMgs2w/PhR/HxZP
pu+gZxm055FS5qRmA94QT6DpXvEFddZ5mpFri3RM7yvdYK2UGd7AZ6syIUvUAt55
Lc6SNS7sYeUG1foFgyZs30CvZQjYXHl/KoMYR6Y0/4j/XLs4khJFVir2wTn2m6GR
0xXO0ExusSFo6aIO+DUVM91avd36s3sTqsxNe9Flp6ML8MEKSgDQUlph3ixJb4KN
YaAAoxtQHm1wIr+cEKJj2OyVnx5DgA3eaEtNezfAB93wcFa1FyswAm3mD1TSyWZ8
ZH0J6k/1E2z13YXpJkrXoRE4Lu5vkFw1Brh+sedQ55grTv5QXeLFcRwS3qtrdzcD
Y+wi3OQWrH2OXmYMwkMAVM7GQnIHmWikl5VN+OJQsmp3bv7IUiGvQaOu22o8Oof4
K1/c+a6zuw==
=KKVj
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#866908; Package src:openjdk-9. (Sat, 19 Aug 2017 20:09:08 GMT) (full text, mbox, link).


Acknowledgement sent to solo-debianbugs@goeswhere.com:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Sat, 19 Aug 2017 20:09:08 GMT) (full text, mbox, link).


Message #20 received at 866908@bugs.debian.org (full text, mbox, reply):

From: solo-debianbugs@goeswhere.com
To: 866908@bugs.debian.org
Subject: doclint still haunts us
Date: Sat, 19 Aug 2017 20:57:20 +0100
Control: reopen -1
Control: found 9~b181-2

The shipped javadoc command in 9~b181-2 still complains, as this bug
report mentions; the testcase above still fails.

I believe the patch, while updated, is not being applied:
https://sources.debian.net/src/openjdk-9/9~b181-2/debian/rules/#L393

Please save us from this evil!

Chris.




Bug reopened Request was from solo-debianbugs@goeswhere.com to 866908-submit@bugs.debian.org. (Sat, 19 Aug 2017 20:09:08 GMT) (full text, mbox, link).


No longer marked as fixed in versions openjdk-9/9~b179-1. Request was from solo-debianbugs@goeswhere.com to 866908-submit@bugs.debian.org. (Sat, 19 Aug 2017 20:09:09 GMT) (full text, mbox, link).


Reply sent to Matthias Klose <doko@ubuntu.com>:
You have taken responsibility. (Wed, 23 Aug 2017 23:12:04 GMT) (full text, mbox, link).


Notification sent to Chris West <solo-debianbugs@goeswhere.com>:
Bug acknowledged by developer. (Wed, 23 Aug 2017 23:12:04 GMT) (full text, mbox, link).


Message #29 received at 866908-close@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@ubuntu.com>
To: 866908-close@bugs.debian.org
Subject: Bug#866908: fixed in openjdk-9 9~b181-3
Date: Wed, 23 Aug 2017 23:08:42 +0000
Source: openjdk-9
Source-Version: 9~b181-3

We believe that the bug you reported is fixed in the latest version of
openjdk-9, 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 866908@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@ubuntu.com> (supplier of updated openjdk-9 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 24 Aug 2017 00:42:22 +0200
Source: openjdk-9
Binary: openjdk-9-jdk-headless openjdk-9-jre-headless openjdk-9-jdk openjdk-9-jre openjdk-9-demo openjdk-9-source openjdk-9-doc openjdk-9-dbg openjdk-9-jre-zero
Architecture: source
Version: 9~b181-3
Distribution: unstable
Urgency: medium
Maintainer: OpenJDK Team <openjdk@lists.launchpad.net>
Changed-By: Matthias Klose <doko@ubuntu.com>
Description:
 openjdk-9-dbg - Java runtime based on OpenJDK (debugging symbols)
 openjdk-9-demo - Java runtime based on OpenJDK (demos and examples)
 openjdk-9-doc - OpenJDK Development Kit (JDK) documentation
 openjdk-9-jdk - OpenJDK Development Kit (JDK)
 openjdk-9-jdk-headless - OpenJDK Development Kit (JDK) (headless)
 openjdk-9-jre - OpenJDK Java runtime, using ${vm:Name}
 openjdk-9-jre-headless - OpenJDK Java runtime, using ${vm:Name} (headless)
 openjdk-9-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
 openjdk-9-source - OpenJDK Development Kit (JDK) source files
Closes: 866908 871316 871319 871606 872756
Changes:
 openjdk-9 (9~b181-3) unstable; urgency=medium
 .
   * Fix libjvm.so's .debug file names.
   * Install an apport hook when building on Ubuntu and derivatives.
   * Update the disable-doclint patch (Chris West). Closes: #866908.
   * Configure --with-debug-level=release on m68k as well (Adrian Glaubitz).
     Closes: #871316.
   * Drop armel and sparc from the list of alternative zero archs (Adrian
     Glaubitz). Closes: #871319.
   * Simplify the zero-sparc patch (Adrian Glaubitz). Closes: #872756.
   * Remove some obsolete unused patches. Closes: #871606.
Checksums-Sha1:
 1893025c7355fcded261248b373c152392996fa3 4500 openjdk-9_9~b181-3.dsc
 d9e623ef7ee6c6b5397c99f52b0f148cd4fed9b4 175112 openjdk-9_9~b181-3.debian.tar.xz
 401726a321b7046c6eba6205bf26064814fb80eb 17216 openjdk-9_9~b181-3_source.buildinfo
Checksums-Sha256:
 99f28cc465b2ab385ff20a6ed2d29cead30009c2fa48e770fb05a313ec03b02e 4500 openjdk-9_9~b181-3.dsc
 43eb116e28be46015562e3c3e03cb78465ab2f6c47dfae3290f38833827aac57 175112 openjdk-9_9~b181-3.debian.tar.xz
 a355693e6ce05f4280aea1b038914f3349ab93f81dafdc5d65c4b3b9cd2f6f35 17216 openjdk-9_9~b181-3_source.buildinfo
Files:
 39affa2aa5b9e56c62ab430dc8f39983 4500 java optional openjdk-9_9~b181-3.dsc
 9d684f9e33f6ea59e213f56f9fc59c69 175112 java optional openjdk-9_9~b181-3.debian.tar.xz
 c37719b6f6784bade712f2dc676d33bf 17216 java optional openjdk-9_9~b181-3_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlmeBfkQHGRva29AdWJ1
bnR1LmNvbQAKCRC9fqpgd4+m9aIFEADWHgrImglnHksLmnAAL7stqUA9aFUGsU3n
IDRVE90qaKv+4bGWQAGtCyB9WGnxPncbshKT84i5cSCdAOkhfAF8xAj5R9L7pZzS
V/xtixT93+CKiRBlLuhjUdvOROrszmj7l7HJmqywvK2IJAdetri9WTljuae1WktR
gzzoKy1eUceFiXn+dI8HbTb9inwuNTBG+Fajg7mvZncfMnpBw45GNRmhEPSiQzE3
xHBRhqZU5ucjtW2WRyy8jeCEwHRasstZfpP30nLA+tebBjdRkjj4AMpVeDbDlGuM
6pQkatBhhAJwmRF+ztaf1+OFy8HOgF6Gpxgij2Ss0U5Jq1JBk0D+ryA+eIeLYUcb
SfeA4eiyQTBJOaFlGMJomvX6SZx5qd5i0cv3DEBUheXU4NzwM13FDxmqvvDH+W+h
RvObTM6sx3nenSIZsInx3MQ/O/tLz3cEuSPy1m7BqMwXU4XJKCFQrTbdqBVRCWQi
4GjyQzF2SJs1zI4o8WWvyKX3qXy7Lm9yr6rHX6fHgJJ1mPrgoFykGuRIkAv5E+qX
D6rtqJ60D3TwpR32Wgu0Z65nFrI4CcjUOXCpNtAXel1jxUI0QgrZOX5jxgRzcKk6
0kEHIYhw7T/dG4GRs/o3jMXIZSpnzMO5uSp+Jh3VNVvKUl6MKk/82C0Ddqd+ARdn
HiOto6LBAw==
=SaDG
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 21 Sep 2017 07:25:16 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 16:40:14 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.