On Fri, 30 Nov 2018 14:57:04 +0100 Emilio Pozuelo Monfort
<po...@debian.org> wrote:
> Source: scilab
> Version: 6.0.1-6
> Severity: serious
> 
> Hi,
> 
> On a rebuild against libhdf5-103, scilab has failed on amd64 twice. The second
> failure was during configure:
> 
> checking commons-logging... /usr/share/java/fop-transcoder-allinone.jar
> checking jlatexmath... /usr/share/java/jlatexmath-1.0.7.jar
> checking jlatexmath-fop... no
> configure: error: Could not find or use the Java package/jar jlatexmath-fop 
> used by LaTex Rendering - FOP plugin (looking for package 
> org.scilab.forge.jlatexmath.fop.JLaTeXMathObj)
> make[1]: *** [debian/rules:38: override_dh_auto_configure] Error 1
> 
> Full logs at 
> https://buildd.debian.org/status/logs.php?pkg=scilab&ver=6.0.1-6%2Bb1&arch=amd64

AIUI this is due to libfop-java 2.3 now providing subsets jar in
addition to fop.jar:

$ dpkg -L libfop-java | grep usr/share/java/ | grep 2\.3
/usr/share/java/fop-2.3.jar
/usr/share/java/fop-core-2.3.jar
/usr/share/java/fop-events-2.3.jar
/usr/share/java/fop-sandbox-2.3.jar
/usr/share/java/fop-transcoder-2.3.jar
/usr/share/java/fop-transcoder-allinone-2.3.jar
/usr/share/java/fop-util-2.3.jar

Then configure picks up fop-transcoder-allinone-2.3.jar instead of
fop-2.3.jar when looking for class org.apache.fop.pdf.PDFInfo:

checking fop... /usr/share/java/fop-transcoder-allinone-2.3.jar

I don't know how to fix that, but a temporary workaround would be to
patch configure.ac to force /usr/share/java/fop.jar into the classpath.

Thanks,

_g.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to