Return-Path: X-Original-To: apmail-xmlgraphics-fop-users-archive@www.apache.org Delivered-To: apmail-xmlgraphics-fop-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A9E475E9 for ; Thu, 25 Aug 2011 19:09:47 +0000 (UTC) Received: (qmail 32403 invoked by uid 500); 25 Aug 2011 19:09:47 -0000 Delivered-To: apmail-xmlgraphics-fop-users-archive@xmlgraphics.apache.org Received: (qmail 32246 invoked by uid 500); 25 Aug 2011 19:09:45 -0000 Mailing-List: contact fop-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: fop-users@xmlgraphics.apache.org Delivered-To: mailing list fop-users@xmlgraphics.apache.org Received: (qmail 32239 invoked by uid 99); 25 Aug 2011 19:09:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 19:09:45 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [195.241.79.175] (HELO smtp-out0.tiscali.nl) (195.241.79.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 19:09:39 +0000 Received: from [212.182.186.10] (helo=leverkruid.eu) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1QwfIh-00087I-NE for fop-users@xmlgraphics.apache.org; Thu, 25 Aug 2011 21:09:15 +0200 Received: from simon by leverkruid.eu with local (Exim 4.76 #1 (Debian)) id 1QwfIg-0000wl-D4; Thu, 25 Aug 2011 21:09:14 +0200 Date: Thu, 25 Aug 2011 21:09:14 +0200 From: Simon Pepping To: fop-users@xmlgraphics.apache.org Subject: Re: Building fop from source on debian Message-ID: <20110825190914.GA2707@leverkruid.eu> Mail-Followup-To: fop-users@xmlgraphics.apache.org References: <20110822183105.GA3002@leverkruid.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Hi Mathieu, I am beginning to understand that you are not reporting problems in FOP's build process, but in Debian's build process of the FOP package. I looked at debian bug reports 638532 and 639162 and FOP bug report 50575. All three reports seem to refer to binaries and sources of Linux distributions, viz. RHEL and Debian. The problems reported seem to be due to the build process in those distributions, which is different from the build process provided by the FOP team. Those problems should be solved by the maintainers of those distributions. The FOP team is only responsible for FOP's own build process and the binaries published by us. It is therefore not right report those problems in a FOP bug report or to forward debian bug report 639162 to the FOP bug report. As a debian user and fan I would be willing to help debugging the problem, and I would like to see fop 1.0 in the testing distribution, but I would rather address other priorities. I also note from the Debian bug report 638532 that the maintainers report the problem as solved, although report 639162 contradicts that. The event models, of which there are currently 16, all named event.xml, are generated from the java code. In FOP's own build process, that happens in the eventResourceGenerator task, which is run after the compile-java task, the compilation of ${src.codegen.dir}/java, and the copying of ${src.codegen.dir}/java/**/*.xsl. I guess that in your build process some of these steps were not performed successfully. Best, Simon On Tue, Aug 23, 2011 at 12:23:07PM +0200, Mathieu Malaterre wrote: > Hi Simon, > > Thanks for taking the time to answer my question. > > On Mon, Aug 22, 2011 at 8:31 PM, Simon Pepping wrote: > > This should not happen. I looks like an error in the order of the > > build targets. How did you run the build? Which ant version and which > > java in which version are you using? > > ant is version 1.8.2-3 (debian) > java is: > java version "1.6.0_18" > OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1) > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) > > We are only building the following two targets: > DEB_ANT_BUILD_TARGET := package javadocs > > And the classpath is set to (during build): > > DEB_JARS := $(ANT_HOME)/lib/ant-trax.jar batik-all > xml-apis-ext batik-libs xml-apis avalon-framework xercesImpl > xmlParserAPIs xalan2 junit commons-io commons-logging > xmlgraphics-commons servlet-api-2.4 qdox > > >> Reported as: > >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638532 > > > > Your build errors are not fop bugs, unless proven. No thanks. > > This is what surprised me when I saw a Null pointer exception being > raised in the code. Starring at the code I could not understand if > this was part of the pre-condition or if there is an issue with the > code which does not support null pointer. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org