Bug#875322: libbatik-java: batik-1.9 causes FTBFS for freeplane due to changed artifacts/poms

Felix Natter fnatter at gmx.net
Sun Sep 10 16:39:54 UTC 2017


Package: libbatik-java
Version: 1.9-1
Severity: important

Dear Maintainer,

freeplane depends on several batik artifacts:

   compile 'org.apache.xmlgraphics:batik-anim:1.7',
            'org.apache.xmlgraphics:batik-awt-util:1.7',
            'org.apache.xmlgraphics:batik-bridge:1.7',
            'org.apache.xmlgraphics:batik-codec:1.7',
            'org.apache.xmlgraphics:batik-css:1.7',
            'org.apache.xmlgraphics:batik-dom:1.7',
            'org.apache.xmlgraphics:batik-extension:1.7',
            'org.apache.xmlgraphics:batik-ext:1.7',
            'org.apache.xmlgraphics:batik-gui-util:1.7',
            'org.apache.xmlgraphics:batik-gvt:1.7',
            'org.apache.xmlgraphics:batik-parser:1.7',
            'org.apache.xmlgraphics:batik-script:1.7',
            'org.apache.xmlgraphics:batik-svg-dom:1.7',
            'org.apache.xmlgraphics:batik-svggen:1.7',
            'org.apache.xmlgraphics:batik-swing:1.7',
            'org.apache.xmlgraphics:batik-transcoder:1.7',
            'org.apache.xmlgraphics:batik-util:1.7',
            'org.apache.xmlgraphics:batik-xml:1.7',

This worked fine with 1.8-4, but now with 1.9-1, the compile fails due
to changed artifacts/poms:

Here is the freeplane build:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
> Could not resolve org.python:jython:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-script:debian
   > No cached version of org.python:jython:debian available for offline mode.
   > No cached version of org.python:jython:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.

I don't think adding jython to (build) depends will get me far, because
batik-i18n and batik-constants are missing.

So I tried with removed batik-util and batik-script dependencies:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-codec:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
> Could not resolve org.python:jython:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-swing:debian > org.apache.xmlgraphics:batik-script:debian
   > No cached version of org.python:jython:debian available for offline mode.
   > No cached version of org.python:jython:debian available for offline mode.

with only batik-all dependency:

:freeplane_plugin_svg:compileJava (Thread[main,5,main]) completed. Took 0.646 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':freeplane_plugin_svg:compileClasspath'.
> Could not resolve org.apache.xmlgraphics:batik-constants:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-constants:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-i18n:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-util:debian
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-i18n:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-rasterizer-ext:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
   > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-rasterizer-ext:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-squiggle-ext:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
   > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-squiggle-ext:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-svgbrowser:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-squiggle:debian
   > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-svgbrowser:debian available for offline mode.
> Could not resolve org.apache.xmlgraphics:batik-svgrasterizer:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-rasterizer:debian
   > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
   > No cached version of org.apache.xmlgraphics:batik-svgrasterizer:debian available for offline mode.
> Could not resolve org.python:jython:debian.
  Required by:
      project :freeplane_plugin_svg > org.apache.xmlgraphics:batik-all:debian > org.apache.xmlgraphics:batik-script:debian
   > No cached version of org.python:jython:debian available for offline mode.
   > No cached version of org.python:jython:debian available for offline mode.

I tried only batik-swing:

 problem occurred evaluating project ':freeplane_plugin_svg'.
> Could not resolve all dependencies for configuration ':freeplane_plugin_svg:runtime'.
   > Could not resolve org.apache.xmlgraphics:swing:1.7.
     Required by:
         project :freeplane_plugin_svg
      > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.
      > No cached version of org.apache.xmlgraphics:swing:1.7 available for offline mode.

Could you please fix this?


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

Kernel: Linux 4.12.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libbatik-java depends on:
ii  java-wrappers                 0.1.28
ii  libbsf-java                   1:2.4.0-5
ii  libcommons-io-java            2.5-1
ii  libcommons-logging-java       1.2-1
ii  libxalan2-java                2.7.1-9
ii  libxml-commons-external-java  1.4.01-2
ii  libxmlgraphics-commons-java   2.1-2

Versions of packages libbatik-java recommends:
ii  default-jre  2:1.8-59
pn  fop          <none>
pn  rhino        <none>

libbatik-java suggests no packages.

-- no debconf information

Thanks and Best Regards,
-- 
Felix Natter
debian/rules!



More information about the pkg-java-maintainers mailing list