xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter B. West" <pbw...@powerup.com.au>
Subject Another build failure
Date Mon, 18 Dec 2000 04:20:20 GMT
Linux localhost 2.2.16-3

xml-fop 14:07$ echo $CLASSPATH
/opt/xalan/xalan.jar:/opt/xalan/bsf.jar:/opt/xalan/bsfengines.jar:/opt/xalan/samples/xalansamples.jar:/opt/xalan/xdocs/xalanjdoc.jar:/opt/xerces/xerces.jar:/opt/xerces/xercesSamples.jar:/usr/local/src/xml-fop/lib/ant.jar:/usr/local/src/xml-fop/lib/w3c.jar:/usr/local/src/xml-fop/lib:/usr/local/src/xml-fop/build/fop.jar

cvs update

Initial problem:
cvs update: in directory src/org/apache/fop/fo/properties:
cvs update: cannot open CVS/Entries for reading: No such file or
directory
cvs [update aborted]: cannot write <CVS/Template file>: No such file or
directory

This is fixed by removing the link
/usr/local/src/xml-fop/src/org/apache/fop/fo/properties ->
../../../../../build/src/org/apache/fop/fo/properties

This link I installed in my early attempts to get a compile to work.  I
asked whether it was needed, but no-one replied.

When I then build.sh clean, build.sh, the build fails when it runs out
of error allowance.

If I restore the link, the build fails with *only* the following errors:

compile:
Compiling the sources 
    [javac] Compiling 515 source files to
/usr/local/src/xml-fop/build/classes
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/pagination/SimplePageMaster.java:122:
Incompatible type for method. Explicit cast needed to convert
org.apache.fop.layout.RegionArea to
org.apache.fop.layout.BodyRegionArea.
    [javac]        
this.pageMaster.addBody(getRegion(RegionBody.REGION_CLASS).makeRegionArea(contentRectangleXPosition,contentRectangleYPosition,contentRectangleWidth,contentRectangleHeight));
   
[javac]                                                                                 
^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/render/pdf/PDFRenderer.java:634:
Incompatible type for =. Can't convert
org.apache.fop.layout.BodyAreaContainer to
org.apache.fop.layout.AreaContainer.
    [javac]         body = page.getBody();
    [javac]              ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/render/awt/AWTRenderer.java:291:
Incompatible type for =. Can't convert
org.apache.fop.layout.BodyAreaContainer to
org.apache.fop.layout.AreaContainer.
    [javac]         body = page.getBody();
    [javac]              ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/render/xml/XMLRenderer.java:308:
Incompatible type for =. Can't convert
org.apache.fop.layout.BodyAreaContainer to
org.apache.fop.layout.AreaContainer.
    [javac]     body = page.getBody();
    [javac]          ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/layout/SpanArea.java:95:
Method renderSpanArea(org.apache.fop.layout.SpanArea) not found in
interface org.apache.fop.render.Renderer.
    [javac]     renderer.renderSpanArea(this);
    [javac]                            ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/layout/BodyAreaContainer.java:124:
Method renderBodyAreaContainer(org.apache.fop.layout.BodyAreaContainer)
not found in interface org.apache.fop.render.Renderer.
    [javac]     renderer.renderBodyAreaContainer(this);
    [javac]                                     ^
    [javac] 6 errors

BUILD FAILED

So it seems that the link is necessary, but that it results in error
messages (and an abort, I think) from the cvs update.  What is the
source of the above six errors?  How do I determine a working cvs label
to rebuild from when this sort of thing happens?

Yours faithfully,
Peter
-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"

Mime
View raw message