[GNC-dev] Unable to compile Docs
John Ralls
jralls at ceridwen.us
Wed May 8 17:00:54 EDT 2019
> On May 8, 2019, at 1:41 PM, Stephen M. Butler <kg7je at arrl.net> wrote:
>
> On 5/8/19 5:13 AM, John Ralls wrote:
>> sudo apt-get install libfontbox-java
>
> Thanks. That wasn't listed as a dependency in the Debian Control file.
> I added it and did the install. That did work and moved me along to this
> next issue. I'm not Java savvy so suspect something still not right.
>
>
> Making pdf in ru
> make[4]: Entering directory
> '/home/steve/Projects/GnuCash/gnucash-docs/guide/ru'
> make[4]: Circular
> /home/steve/Projects/GnuCash/gnucash-docs/guide/ru/figures <-
> /home/steve/Projects/GnuCash/gnucash-docs/guide/ru/figures dependency
> dropped.
> /usr/bin/xsltproc --path ../../docbook --xinclude --nonet --stringparam
> paper.type A4 -o 'gnucash-guide.fo' --stringparam fop1.extensions 1
> ../../xsl/1.79.2/fo/docbook.xsl 'gnucash-guide.xml'
> Making portrait pages on A4 paper (210mmx297mm)
> /usr/bin/fop -l ru -c fop.xconf -fo 'gnucash-guide.fo' -pdf
> 'gnucash-guide.pdf'
> [warning] /usr/bin/fop: JVM flavor 'sun' not understood
> [INFO] FopConfParser - Default page-height set to: 297mm
> [INFO] FopConfParser - Default page-width set to: 210mm
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/fontbox/cff/CFFType1Font
> .....
>
> at org.apache.fop.cli.Main.main(Main.java:217)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.fontbox.cff.CFFType1Font
> at
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
> at
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 40 more
> make[4]: *** [Makefile:838: gnucash-guide.pdf] Error 1
> make[4]: Leaving directory
> '/home/steve/Projects/GnuCash/gnucash-docs/guide/ru'
> make[3]: *** [Makefile:325: pdf-recursive] Error 1
> make[3]: Leaving directory '/home/steve/Projects/GnuCash/gnucash-docs/guide'
> make[2]: *** [Makefile:386: pdf-recursive] Error 1
> make[2]: Leaving directory '/home/steve/Projects/GnuCash/gnucash-docs'
> make[1]: *** [debian/rules:26: override_dh_auto_build] Error 2
> make[1]: Leaving directory '/home/steve/Projects/GnuCash/gnucash-docs'
> make: *** [debian/rules:10: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2
I'm not either, unfortunately, but that "JVM flavor 'sun' not understood" is distressing. It suggests a mismatch between your JVM and the libfontbox from apt. (Sun would presumably refer to Sun Microsystems, the originator of Java). It's never given me any trouble and I usually build on Debian Stable.
Regards,
John Ralls
More information about the gnucash-devel
mailing list