kbproto compilation problem
tom fogal
tfogal at sci.utah.edu
Tue Dec 21 10:45:48 PST 2010
I'm having trouble compiling kbproto for use in an Xorg build for
development, using the provided build.sh in util/modular.
The error appears to be fop bombing out while processing xkbproto.xml.
The full kbproto build log is appended. I'm running debian stable,
which apparently ships fop version 0.94 at present.
Is this simply a, `use a newer fop' issue, or should this work on a
system like mine?
Thanks,
-tom
###### kbproto build ######
======================================================================
== Processing module/component: "proto/kbproto"
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/tfogal/shigeru/share/aclocal -I /home/tfogal/dev/x/devbuild/stack/share/aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/tfogal/sw/bin/autoconf
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking whether to build functional specifications... yes
checking for xmlto... /usr/bin/xmlto
checking the xmlto version... 0.0.20
checking for fop... /usr/bin/fop
checking for X.Org SGML entities >= 1.5... /home/tfogal/dev/x/devbuild/stack/share/sgml
configure: creating ./config.status
config.status: creating Makefile
config.status: creating specs/Makefile
config.status: creating kbproto.pc
config.status: executing depfiles commands
Making all in specs
make[1]: Entering directory `/home/tfogal/dev/x/devbuild/proto/kbproto/specs'
/usr/bin/xmlto -m /home/tfogal/dev/x/devbuild/stack/share/sgml/X11/xorg.xsl --stringparam img.src.path=/home/tfogal/dev/x/devbuild/proto/kbproto/specs/ --stringparam html.stylesheet=/home/tfogal/dev/x/devbuild/stack/share/sgml/X11/xorg.css --with-fop pdf xkbproto.xml
Making portrait pages on letter paper (215.9mmx279.4mm)
Dec 21, 2010 11:32:15 AM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern en
Dec 21, 2010 11:32:16 AM org.apache.fop.fo.flow.TableColumn bind
WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)
Dec 21, 2010 11:32:16 AM org.apache.fop.fo.flow.TableColumn bind
WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)
Dec 21, 2010 11:32:16 AM org.apache.fop.fo.flow.TableColumn bind
WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)
Dec 21, 2010 11:32:16 AM org.apache.fop.fo.flow.TableColumn bind
WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)
Dec 21, 2010 11:32:16 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
---------
java.lang.NullPointerException
at org.apache.fop.render.pdf.FopPDFImage.setup(FopPDFImage.java:144)
at org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:794)
at org.apache.fop.render.pdf.PDFRenderer.putImage(PDFRenderer.java:1725)
at org.apache.fop.render.pdf.PDFRenderer.renderImage(PDFRenderer.java:1652)
at org.apache.fop.render.AbstractRenderer.renderViewport(AbstractRenderer.java:748)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport(AbstractPathOrientedRenderer.java:541)
at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:631)
at org.apache.fop.render.pdf.PDFRenderer.renderInlineArea(PDFRenderer.java:1316)
at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:606)
at org.apache.fop.render.pdf.PDFRenderer.renderLineArea(PDFRenderer.java:1307)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:532)
at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:582)
at org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1300)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:522)
at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:582)
at org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1300)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:522)
at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:582)
at org.apache.fop.render.pdf.PDFRenderer.renderBlock(PDFRenderer.java:1300)
at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:522)
at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:427)
at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:406)
at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:340)
at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:285)
at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:258)
at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:232)
at org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:757)
at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:120)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:424)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:377)
at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:492)
at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:398)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:420)
at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:370)
at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:262)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:345)
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:144)
at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:233)
at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:145)
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
make[1]: *** [xkbproto.pdf] Error 1
make[1]: Leaving directory `/home/tfogal/dev/x/devbuild/proto/kbproto/specs'
make: *** [all-recursive] Error 1
***** make failed on proto/kbproto
error processing module/component: "proto/kbproto"
More information about the xorg-devel
mailing list