Bug#574261: Bug in fop package

Volodchenkov Dmitry volodchenkov at gmail.com
Wed Mar 17 07:51:36 UTC 2010


Package: fop
Version: 0.95.dfsg-10



When I run "fop" from an ordinary shell prompt it prints:


$ fop -c /etc/fop.conf -xml 2.xml -xsl 1.xsl -pdf 3.pdf
/etc/fop.conf: line 1: syntax error near unexpected token `newline'
/etc/fop.conf: line 1: `<?xml version="1.0"?>'
/etc/fop.conf: line 1: warning: syntax errors in . or eval will cause future
versions of the shell to abort as Posix requires
...

I find patch for file /usr/bin/fop

I change line 22 in /usr/bin/fop to

fop_exec_args="-c /etc/fop.conf $fop_exec_args "

and after that it works fine.

I am using Debian GNU/Linux 5.0, kernel 2.6.32-trunk-686-bigmem.

Thx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100317/29aa0fdf/attachment.htm>


More information about the pkg-java-maintainers mailing list