Package: libgpars-groovy-java
Version: 1.2.1-2
Severity: important
Tags: patch

Hi,

I would like to upload gradle 2.5 to unstable but this package FTBFS
with new version of gradle.

Apparently it is sufficient to remove the runtimeClasspath property
from build.gradle. I'm not entirely sure why this is suddenly
necessary and whether it is related to the serious netty bug. However
the attached patch works for me. Please double check if there is not
a better solution.

Regards,

Markus

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libgpars-groovy-java depends on:
ii  groovy             1.8.6-4
ii  libjcsp-java       1.1-rc4-2
ii  libjsr166y-java    1.7.0-2
ii  libnetty-3.9-java  3.9.0.Final-1

libgpars-groovy-java recommends no packages.

Versions of packages libgpars-groovy-java suggests:
pn  libgpars-groovy-java-doc  <none>

-- no debconf information
Description: fix FTBFS with gradle 2.5
 Remove runtimeClasspath property to make the package build
     with gradle 2.5 again.
Author: Markus Koschany <a...@gambaru.de>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- libgpars-groovy-java-1.2.1.orig/build.gradle
+++ libgpars-groovy-java-1.2.1/build.gradle
@@ -332,9 +332,9 @@ task zipJavaDemo(type: Zip) {
 
 task zipDist(type: Zip) {
     from jar.outputs.files
-    from(runtimeClasspath) {
-        include('jsr166*', 'netty*', 'multiverse*')
-    }
+    //from(runtimeClasspath) {
+    //    include('jsr166*', 'multiverse*')
+    //}
     from('licenses') {
         include '*'
         into 'licenses'
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to