Your message dated Sun, 16 Sep 2018 10:34:43 +0000
with message-id <[email protected]>
and subject line Bug#896436: fixed in gradle 3.4.1-8
has caused the Debian Bug report #896436,
regarding gradle FTBFS: error fetching java api url when building with 
openjdk-10
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.)


-- 
896436: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896436
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gradle
Version: 3.4.1-7
Severity: normal

Dear Maintainer,

When using openjdk-10 as the default-jdk gradle will fail with the
following error:

:signing:assemble
:docs:javadocAlljavadoc: error - Error fetching URL: 
file:/usr/share/doc/default-jdk/api/
javadoc: warning - You have not specified the version of HTML to use.

Until openjdk-9 any missing api URLs were considered a warning but from
openjdk-10 upwards this was changed to an error.

The URL is missing because it has been hardcoded in the
subprojects/docs/docs.gradle file as:

def javaApiUrl = "file:///usr/share/doc/default-jdk/api/"

but the path /usr/share/doc/default-jdk is a link that belongs to the
default-jdk package which is not a build dependency of gradle (it is
in fact listed as an alternate dependency of default-jdk-headless).
Still, that is not enough as the default-jdk package does neither
contain nor depend on a package that holds the required api files.
Those files are in the openjdk-X-doc package and the dependency on it
is done through default-jdk-doc.

gradle already build depends on default-jdk-doc and even gradle-doc has
a dependency on it. By changing the javaApiUrl to point to the right api
directory, as in:

def javaApiUrl = "file:///usr/share/doc/default-jdk-doc/api/"

the build works as expected.

The patch debian/patches/use-local-artifacts.patch should be updated to
reflect this new patch.

thanks

Tiago

-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic'), (400, 'bionic-proposed')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-17-lowlatency (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: gradle
Source-Version: 3.4.1-8

We believe that the bug you reported is fixed in the latest version of
gradle, 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.
Emmanuel Bourg <[email protected]> (supplier of updated gradle 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, 16 Sep 2018 12:18:43 +0200
Source: gradle
Binary: gradle libgradle-core-java libgradle-plugins-java gradle-doc
Architecture: source
Version: 3.4.1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Emmanuel Bourg <[email protected]>
Description:
 gradle     - Powerful build system for the JVM
 gradle-doc - Powerful build system for the JVM - Documentations
 libgradle-core-java - Powerful build system for the JVM - Core libraries
 libgradle-plugins-java - Powerful build system for the JVM - All plugins
Closes: 896436
Changes:
 gradle (3.4.1-8) unstable; urgency=medium
 .
   * Team upload.
   * Added a hook in MavenResolver to resolve the artifacts from the system
     repository
   * Build depend on default-jdk instead of default-jdk-headless
     (Closes: #896436)
   * Standards-Version updated to 4.2.1
   * Use salsa.debian.org Vcs-* URLs
Checksums-Sha1:
 09657cd515f9030086e442fe83e85fbb97f0264d 3427 gradle_3.4.1-8.dsc
 90d0eefd2c44b875982a13f1e33c7cc59b2a4bb0 47328 gradle_3.4.1-8.debian.tar.xz
 2cbcd0b25fb053bd434bc88c9eb8775f5855308c 16005 gradle_3.4.1-8_source.buildinfo
Checksums-Sha256:
 903428fd4f8d6948085ab90e5be52a2165f1293df6c92d0f8500d3395b53566a 3427 
gradle_3.4.1-8.dsc
 0d790a53d490afe78a7ad3fea2bf4108385b785566e08c3c47b64bc2e67a672f 47328 
gradle_3.4.1-8.debian.tar.xz
 b675273fd6a7e66a834ec1b20bad467d2d1a06df2e8f6e863fd32a22684bc3d3 16005 
gradle_3.4.1-8_source.buildinfo
Files:
 711c63a954ca598a646668f5ec4ac490 3427 java optional gradle_3.4.1-8.dsc
 2bd45f5bbc7b179e75944f2b0b89eec9 47328 java optional 
gradle_3.4.1-8.debian.tar.xz
 08e2d6a9c7e019c39d7e222f4c74e424 16005 java optional 
gradle_3.4.1-8_source.buildinfo

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

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlueLicSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsT2UP/A1Ro7I3/lYXZJAqQkaF2cVAFDOsiz9+
zcorDHwmwtTEdSLMVALABZpJhZII1xv7QWRiYVQppsQMB6D2f/TOyX8dhBRh63aR
+Ze1qx9FjgxH/f4LS49m8iojX47BqnqBOnVw3z5ZbtH7+Kn9DOK6bMypNapfIaWp
uWiELEBDRNfzPwrTF39JY6PbNhEUwFeedc4yGj5YIxq89Dly4woiPi/6aL7YzbPs
LawU9TugDhyI/i+KHEI2qb33S+kxFI4FvdSkL9V8xI/y0hubQS5dWDAUwoSm48Kf
Eet7oRlxXWWNDe5HGfvVRszSH0nKCAE3KfQynauy//S8kro233RYErlkhVlWuCLk
GKqUcqtpPEBzkP+iEmriSDEJRBouBV955fjXR/kBAQ/hEK6SKLjSFfPMdw7l3foC
qxmOw/L0OmycU4GOeq9wyPOwGUF1XU4JbrI0pHH81vzL7D8iJZsJruO4C6aJrSu5
IFCX0pcAncqg9+kR+r8Zrew9c2GxWUgq5tGPVY6ARXrBAISCwhPCwT6nVSKi5HCV
lBe3dZRqEeNl5v+2sPs4dXNt5P19yk4C687bSViZDFQ57mkiFzDgEVc/EUC+TMYq
U/dMMgovycENBenWWpQUiSn6USzh5oQATvTBFv2XtOFZd0lHtewB73/46mAtpgl/
flcpXiuSfz/C
=D0Uj
-----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.

Reply via email to