Bug#508485: fop: executable does not work; binary package dependency needs updating

2008-12-12 Thread Noritada Kobayashi
Hi,

On Thu, 11 Dec 2008 20:52:04 +0100
Vincent Fourmond fourm...@debian.org wrote:
   Hmmm... I had started to fix these dependencies ages ago in the SVN,
 but for some reason I didn't upload them. Funny. But I hadn't spotted
 all of them, so thanks for you report.
 
   I didn't actually use your patch as such, sorry, but it is fixed
 anyway. Please expect an upload within a few minutes, just the time for
 me to check it autobuilds fine.

Thanks for your quick replies and quick fix.  I have
tested fop with openjdk-6-jre by running my personal
(non-simple) XSL-FO programs and made sure it works
well.  If I find some errors potentially due to non-Sun
runtime, I'll report it. ;-)

Thanks a lot,

-nori



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508485: fop: executable does not work; binary package dependency needs updating

2008-12-11 Thread Kobayashi Noritada
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-4Common 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-java1.4-1  Common useful IO related classes
ii  libcommons-logging-java   1.1.1-1commmon wrapper interface for seve
ii  libxalan2-java2.7.1-2XSL Transformations (XSLT) process
ii  libxerces2-java   2.9.1-2Validating XML parser for Java wit
ii  libxmlgraphics-commons-ja 1.3.1.dfsg-1   reusable components used by Batik 
ii  libxp61:1.0.0.xsf1-2 X Printing Extension (Xprint) clie
ii  libxt61: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-doc1: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
--- debian/control.orig 2008-12-11 23:53:30.0 +0900
+++ debian/control  2008-12-12 03:24:29.0 +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


Bug#508485: fop: executable does not work; binary package dependency needs updating

2008-12-11 Thread Onkar Shinde
Why is this RC bug? The version you have specified is in experimental.
testing has 1:0.94.dfsg-2. AFAIK, that version is not affected by this
bug.


Onkar



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508485: fop: executable does not work; binary package dependency needs updating

2008-12-11 Thread Vincent Fourmond
notfound 508485 1:0.94.dfsg-2
thanks

Onkar Shinde wrote:
 Why is this RC bug? 

  Sorry ?

  This is a RC bug. That it does affect testing or not is irrelevant
with respect to its gravity. But if it does not affect testing, then the
best way to make sure it is understood by the BTS is to tell him, which
is what I'm currently doing.

  Cheers,

Vincent

-- 
More than any other time in history, mankind faces a crossroads.
One path leads to despair and utter hopelessness.
The other, to total extinction.
Let us pray we have the wisdom to choose correctly.
 -- Woody Allen

Vincent, listening to Prayer For a Wanker (Noir Desir)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508485: fop: executable does not work; binary package dependency needs updating

2008-12-11 Thread Onkar Shinde
Vincent,

Thanks for enlightenment. I am not very familiar with BTS. :-)


Onkar



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#508485: fop: executable does not work; binary package dependency needs updating

2008-12-11 Thread Vincent Fourmond

  Hello,

Kobayashi Noritada wrote:
 First of all, sorry for making a fuss by reporting an RC bug.

  No problems - anyway, it's in experimental, so impact on releasability
is relatively minor...

 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.

  Hmmm... I had started to fix these dependencies ages ago in the SVN,
but for some reason I didn't upload them. Funny. But I hadn't spotted
all of them, so thanks for you report.

  I didn't actually use your patch as such, sorry, but it is fixed
anyway. Please expect an upload within a few minutes, just the time for
me to check it autobuilds fine.

  Cheers,

Vincent

-- 
Vincent Fourmond, Debian Developer
http://vince-debian.blogspot.com/

Give a man a fish and you feed him for a day.
Give him a poisoned fish and you feed him for the rest of his life !
 -- Slightly modified chinese proverb

Vincent, listening to Oublie (Noir Desir)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org