Bug#508485: fop: executable does not work; binary package dependency needs updating
Kobayashi Noritada
nori1 at dolphin.c.u-tokyo.ac.jp
Thu Dec 11 18:43:44 UTC 2008
Package: fop
Version: 1:0.95.dfsg-1
Severity: grave
Tags: patch
Justification: renders package unusable
Hi,
First of all, sorry for making a fuss by reporting an RC bug.
Although fop switched to use openjdk-6-jdk instead of
java-gcj-compat-dev and also changed some more dependencies in version
1:0.95.dfsg-1, some items in Depends still remains old. That resulted
in the executable not working in my environment:
$ fop
[warning] /usr/bin/fop: No java runtime was found
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.fop.apps.FopFactory
[snip]
I found openjdk-6-jre not installed and then installed it. However:
$ fop
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlgraphics/image/loader/ImageContext
[snip]
I downloaded the source package and then found that Depends had
"libxmlgraphics-commons-java (>= 1.2)" although Build-Depends-Indep has
"libxmlgraphics-commons-java (>= 1.3)". The version of mine was
1.2.dfsg-1 from unstable. So, I installed 1.3.1.dfsg-1 from
experimental and then fop worked correctly.
I also found that libxml-commons-external-java was added in
Build-Depends-Indep in 1:0.95.dfsg-1, but not in Depends. Since
libxml-commons-external-java was already installed in my system, the
missing dependency did not caused an error. But I think it would be
better to have the package in Depends.
Here attached a patch to update three dependencies above. Could you
please check and apply it?
Many thanks,
-nori
-- System Information:
Debian Release: lenny/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (90, 'unstable'), (80, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fop depends on:
ii java-gcj-compat [java2-ru 1.0.78-2 Java runtime environment using GIJ
ii java-wrappers 0.1.11 wrappers for java executables
ii libavalon-framework-java 4.2.0-4 Common framework for Java server a
ii libbatik-java 1.7-1 xml.apache.org SVG Library
ii libbsf-java 1:2.4.0-2 Bean Scripting Framework to suppor
ii libcommons-io-java 1.4-1 Common useful IO related classes
ii libcommons-logging-java 1.1.1-1 commmon wrapper interface for seve
ii libxalan2-java 2.7.1-2 XSL Transformations (XSLT) process
ii libxerces2-java 2.9.1-2 Validating XML parser for Java wit
ii libxmlgraphics-commons-ja 1.3.1.dfsg-1 reusable components used by Batik
ii libxp6 1:1.0.0.xsf1-2 X Printing Extension (Xprint) clie
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension
ii openjdk-6-jre [java2-runt 6b11-9 OpenJDK Java runtime, using Hotspo
fop recommends no packages.
Versions of packages fop suggests:
ii fop-doc 1:0.94.dfsg-2 Documentation for fop
ii libservlet2.4-java 5.0.30-8 Servlet 2.4 and JSP 2.0 Java class
-- no debconf information
-------------- next part --------------
--- debian/control.orig 2008-12-11 23:53:30.000000000 +0900
+++ debian/control 2008-12-12 03:24:29.000000000 +0900
@@ -15,7 +15,7 @@
Package: fop
Architecture: all
-Depends: java-gcj-compat-dev | java2-runtime, libxerces2-java, libxalan2-java, libbsf-java, libavalon-framework-java (>=4.1.2-2), libbatik-java (>= 1.7), libcommons-io-java, libcommons-logging-java, libxp6, libxt6, libxtst6, libxmlgraphics-commons-java (>= 1.2), java-wrappers (>= 0.1.9)
+Depends: openjdk-6-jre | java2-runtime, libxerces2-java, libxalan2-java, libbsf-java, libavalon-framework-java (>=4.1.2-2), libbatik-java (>= 1.7), libcommons-io-java, libcommons-logging-java, libxp6, libxt6, libxtst6, libxmlgraphics-commons-java (>= 1.3), java-wrappers (>= 0.1.9), libxml-commons-external-java
Suggests: fop-doc, libservlet2.4-java
Replaces: libfop-java
Description: XML to PDF Translator
More information about the pkg-java-maintainers
mailing list