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

Vincent Fourmond fourmond at debian.org
Thu Dec 11 19:52:04 UTC 2008


  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)





More information about the pkg-java-maintainers mailing list