Bug#649476:

2012-01-03 Thread Mathieu Malaterre
tags 649476 fixed-upstream
thanks

...
Note that this test pass FOP TRUNK (rev 1183620) successfully.
...



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#649476: marked as done (fop: Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException)

2012-01-03 Thread Debian Bug Tracking System
Your message dated Tue, 03 Jan 2012 15:02:55 +
with message-id e1ri5t9-0005oa...@franck.debian.org
and subject line Bug#649476: fixed in fop 1:1.0.dfsg2-5
has caused the Debian Bug report #649476,
regarding fop: Fails to build publican's user guide with 
org.apache.fop.apps.FOPException java.lang.NullPointerException
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
649476: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649476
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: fop
Version: 1:1.0.dfsg2-3
Severity: important

publican 2.8 (that I just uploaded to unstable) has a test suite and fop is
called as part of this test suite since it's the tool used to generate
the PDF output. But fop fails with this highly unhelpful error message:
Exception
org.apache.fop.apps.FOPException
java.lang.NullPointerException

It works fine with the manual in the version 2.5. I'm not sure what is
the change that fop does not like. I disabled the test suite for now but
it would be nice to see fop fixed instead. :)

A bit more context in the build log gives this:

Making portrait pages on A4 paper (210mmx297mm)
No en localization of other exists.
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
Couldn't find hyphenation pattern en
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:413:27: No 
conversion defined ; property:'keep-together.within-column' (See position 
413:399)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:486:27: No 
conversion defined ; property:'keep-together.within-column' (See position 
486:399)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:534:27: No 
conversion defined ; property:'keep-together.within-column' (See position 
534:399)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:806:24: No 
conversion defined ; property:'keep-together.within-column' (See position 
806:396)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:1288:88: No 
conversion defined ; property:'keep-together.within-column' (See position 
1288:461)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:1320:955: No 
conversion defined ; property:'keep-together.within-column' (See position 
1320:1327)
Exception
org.apache.fop.apps.FOPException
java.lang.NullPointerException


FOP error, PDF generation failed. Check log for details.
 at /«PKGBUILDDIR»/blib/script/publican line 763
# 
# result 5 = 512

#   Failed test 'build the Users Guide in all formats'
#   at t/910.publican.Users_Guide.t line 69.
#  got: '512'
# expected: '0'
# Looks like you failed 1 test of 5.
t/910.publican.Users_Guide.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 
t/perlcritic.t  ok
t/pod-coverage.t .. ok
t/pod.t ... ok
Failed 1/10 test programs. 1/68 subtests failed.




-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fop depends on:
ii  default-jre-headless [java2-runtime-headless]1:1.6-43
ii  gcj-4.6-jre-headless [java2-runtime-headless]4.6.2-2 
ii  gcj-jre-headless [java2-runtime-headless]4:4.6.1-3   
ii  java-wrappers0.1.24  
ii  libavalon-framework-java 4.2.0-8 
ii  libbatik-java1.7-8   
ii  libbsf-java  1:2.4.0-4   
ii  libcommons-io-java   1.4-4   
ii  libcommons-logging-java  1.1.1-8 
ii

Bug#649476: fop: Failure confirmed with 1:1.0.dfsg2-3 but not with 1:0.95.dfsg-11

2012-01-02 Thread Mathieu Malaterre
2011/12/8 Vincent Hobeïka vincent.hobe...@cosmo-platform.org:
 Hi,

 On Wednesday 07 December 2011 21:03:43 Raphael Hertzog wrote:
 Why not trying to find the problematic commit in the fop history instead?

 I have tried to build the pdf against the trunk version of fop and it passes
 (revision 1211788).

 Another user is confirming this on the fop users mailing list.

Adding reference:
http://www.mail-archive.com/fop-users@xmlgraphics.apache.org/msg17887.html

fop 0.95 and 1.0 from debian do not always behave stricly as fop
downloaded from apache.org website since fop comes with its own
convenient copies of 3rd party libs.

I'll try to reduce test case.

Thanks
-- 
Mathieu



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#649476:

2012-01-02 Thread Mathieu Malaterre
tags 649476 - help
tags 649476 confirmed
thanks

I could reproduce the segfault with a tiny test case. See:
https://issues.apache.org/bugzilla/attachment.cgi?id=28113

Let's hope someone figure out which svn revision needs to be imported
in fop 1.0 branch.

Thanks



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#649476: fop: Failure confirmed with 1:1.0.dfsg2-3 but not with 1:0.95.dfsg-11

2011-12-08 Thread Vincent Hobeïka
Hi,

On Wednesday 07 December 2011 21:03:43 Raphael Hertzog wrote:
 Why not trying to find the problematic commit in the fop history instead?

I have tried to build the pdf against the trunk version of fop and it passes 
(revision 1211788).

Another user is confirming this on the fop users mailing list.

-- 
Vincent Hobeïka


signature.asc
Description: This is a digitally signed message part.
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#649476: fop: Failure confirmed with 1:1.0.dfsg2-3 but not with 1:0.95.dfsg-11

2011-12-07 Thread Vincent Hobeika
Package: fop
Severity: normal

Dear Raphaël,

I have tested your issue with 1:1.0.dfsg2-3 and 1:0.95.dfsg-11.

I confirm this bug for 1:1.0.dfsg2-3. However on 1:0.95.dfsg-11 I was
able to produce the User Guide.pdf without any problem.

I have started a thread on fop users mailing list. We are trying to
find the defective snippet but it's quite hard due to the heavy file
size.

Do you have a diff of the User Guide.fo from where it started to fail building?

From what comes out so far it seems that using fo:inline within a
fo:block with hyphenate=true linefeed-treatment=preserve throws a
NullPointerException.

This bug is probably related to #48806 [1] and #46386 [2].

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=48806
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=46386

Best regards,

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fop depends on:
ii  gcj-4.4-jre-headl 4.4.5-2Java runtime environment using GIJ
ii  gcj-jre-headless  4:4.4.5-1  Java runtime environment using GIJ
ii  java-wrappers 0.1.16 wrappers for java executables
ii  libavalon-framewo 4.2.0-7Common framework for Java server a
ii  libbatik-java 1.7-6  xml.apache.org SVG Library
ii  libbsf-java   1:2.4.0-4  Bean Scripting Framework to suppor
ii  libcommons-io-jav 1.4-3  Common useful IO related classes
ii  libcommons-loggin 1.1.1-8commmon wrapper interface for seve
ii  libxalan2-java2.7.1-5XSL Transformations (XSLT) process
ii  libxerces2-java   2.9.1-4.1  Validating XML parser for Java wit
ii  libxml-commons-ex 1.3.05-2   XML Commons external code - DOM, S
ii  libxmlgraphics-co 1.3.1.dfsg-5   reusable components used by Batik
ii  libxp61:1.0.0.xsf1-2 X Printing Extension (Xprint) clie
ii  libxt61:1.0.7-1  X11 toolkit intrinsics library
ii  libxtst6  2:1.1.0-3  X11 Testing -- Record extension li
ii  openjdk-6-jre-hea 6b18-1.8.10-0+squeeze2 OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [ja 6.26-0squeeze1 Sun Java(TM) Runtime Environment (

Versions of packages fop recommends:
ii  libsaxon-java 1:6.5.5-6  The Saxon XSLT Processor

Versions of packages fop suggests:
pn  fop-doc   none (no description available)
pn  libservlet2.4-javanone (no description available)

-- no debconf information



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#649476: fop: Failure confirmed with 1:1.0.dfsg2-3 but not with 1:0.95.dfsg-11

2011-12-07 Thread Raphael Hertzog
On Wed, 07 Dec 2011, Vincent Hobeika wrote:
 I confirm this bug for 1:1.0.dfsg2-3. However on 1:0.95.dfsg-11 I was
 able to produce the User Guide.pdf without any problem.

Yes, the build used to work with the old fop.

 I have started a thread on fop users mailing list. We are trying to
 find the defective snippet but it's quite hard due to the heavy file
 size.
 
 Do you have a diff of the User Guide.fo from where it started to fail 
 building?

Not really, this file is generated from a docbook file with an xslt
stylesheet. It might be that all versions of the file fail with the new
fop...

One could try a git bisect on a git-svn repository created from
http://svn.fedorahosted.org/svn/publican/trunk/publican/ but I'm not sure
it would lead to something useful.

Why not trying to find the problematic commit in the fop history instead?

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#649476: fop: Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2011-11-21 Thread Raphaël Hertzog
Package: fop
Version: 1:1.0.dfsg2-3
Severity: important

publican 2.8 (that I just uploaded to unstable) has a test suite and fop is
called as part of this test suite since it's the tool used to generate
the PDF output. But fop fails with this highly unhelpful error message:
Exception
org.apache.fop.apps.FOPException
java.lang.NullPointerException

It works fine with the manual in the version 2.5. I'm not sure what is
the change that fop does not like. I disabled the test suite for now but
it would be nice to see fop fixed instead. :)

A bit more context in the build log gives this:

Making portrait pages on A4 paper (210mmx297mm)
No en localization of other exists.
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
Couldn't find hyphenation pattern en
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:413:27: No 
conversion defined ; property:'keep-together.within-column' (See position 
413:399)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:486:27: No 
conversion defined ; property:'keep-together.within-column' (See position 
486:399)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:534:27: No 
conversion defined ; property:'keep-together.within-column' (See position 
534:399)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:806:24: No 
conversion defined ; property:'keep-together.within-column' (See position 
806:396)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:1288:88: No 
conversion defined ; property:'keep-together.within-column' (See position 
1288:461)
Invalid property value encountered in keep-together.within-column=: 
org.apache.fop.fo.expr.PropertyException: 
file:/«PKGBUILDDIR»/Users_Guide/build/en-US/xml/Users_Guide.fo:1320:955: No 
conversion defined ; property:'keep-together.within-column' (See position 
1320:1327)
Exception
org.apache.fop.apps.FOPException
java.lang.NullPointerException


FOP error, PDF generation failed. Check log for details.
 at /«PKGBUILDDIR»/blib/script/publican line 763
# 
# result 5 = 512

#   Failed test 'build the Users Guide in all formats'
#   at t/910.publican.Users_Guide.t line 69.
#  got: '512'
# expected: '0'
# Looks like you failed 1 test of 5.
t/910.publican.Users_Guide.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 
t/perlcritic.t  ok
t/pod-coverage.t .. ok
t/pod.t ... ok
Failed 1/10 test programs. 1/68 subtests failed.




-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fop depends on:
ii  default-jre-headless [java2-runtime-headless]1:1.6-43
ii  gcj-4.6-jre-headless [java2-runtime-headless]4.6.2-2 
ii  gcj-jre-headless [java2-runtime-headless]4:4.6.1-3   
ii  java-wrappers0.1.24  
ii  libavalon-framework-java 4.2.0-8 
ii  libbatik-java1.7-8   
ii  libbsf-java  1:2.4.0-4   
ii  libcommons-io-java   1.4-4   
ii  libcommons-logging-java  1.1.1-8 
ii  libxalan2-java   2.7.1-5 
ii  libxerces2-java  2.11.0-3
ii  libxml-commons-external-java 1.4.01-2
ii  libxmlgraphics-commons-java  1.4.dfsg-3  
ii  libxt6   1:1.1.1-2   
ii  libxtst6 2:1.2.0-4   
ii  openjdk-6-jre-headless [java2-runtime-headless]  6b23~pre11-1
ii  sun-java6-jre [java2-runtime-headless]   6.26-3  

Versions of packages fop recommends:
ii  libsaxon-java  1:6.5.5-7

Versions of packages fop suggests:
pn  fop-doc none
pn  libservlet2.4-java  none

-- no debconf information



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and