[Boost-docs] Building pdf documentation for 1.46 fails on Linux

Subject: [Boost-docs] Building pdf documentation for 1.46 fails on Linux
From: Philipp Thomas (pth_at_[hidden])
Date: 2011-03-02 17:55:28


As there don't seem to be downloadable tarballs for the boost documentation
I'm trying to build them myself in order to include them in the openSUSE
boost packages.

Building the pdf documentation (JimiProClasses.jar in /usr/share/java) fails
with the messages below. Can somebody help me fix these build failures? BTW,
the java error seems not not to depend on java version as both sun java
and openJDK issue the same error messages.

    XML_CATALOG_FILES="../bin.v2/boostbook_catalog.xml"
export XML_CATALOG_FILES
 "xsltproc" --stringparam boost.defaults "Boost" --stringparam boost.libraries "../../libs/libraries.htm" --path "../bin.v2/libs/accumulators/doc/gcc-4.5/debug" --path "../bin.v2/libs/foreach/doc/gcc-4.5/debug" --path "../bin.v2/libs/functional/hash/doc/gcc-4.5/debug" --path "../bin.v2/libs/interprocess/doc/gcc-4.5/debug" --path "../bin.v2/libs/intrusive/doc/gcc-4.5/debug" --path "../bin.v2/libs/mpi/doc/gcc-4.5/debug" --path "../bin.v2/libs/property_tree/doc/gcc-4.5/debug" --path "../bin.v2/libs/proto/doc/gcc-4.5/debug" --path "../bin.v2/libs/random/doc/gcc-4.5/debug" --path "../bin.v2/libs/signals2/doc/gcc-4.5/debug" --path "../bin.v2/libs/static_assert/doc/gcc-4.5/debug" --path "../bin.v2/libs/thread/doc/gcc-4.5/debug" --path "../bin.v2/libs/tr1/doc/gcc-4.5/debug" --path "../bin.v2/libs/typeof/doc/gcc-4.5/debug" --path "../bin.v2/libs/units/doc/gcc-4.5/debug" --path "../bin.v2/libs/unordered/doc/gcc-4.5/debug" --path "../bin.v2/libs/xpressive/doc/gcc-4.5/debug" --path "/usr/src/packages/BUILD/boost_1_46_0/tools/build/v2/doc/bin/gcc-4.5/debug" --path "../bin.v2/tools/quickbook/doc/gcc-4.5/debug/link-static" --xinclude -o "../bin.v2/doc/gcc-4.5/debug/src/boost.fo" "/usr/src/packages/BUILD/boost_1_46_0/tools/boostbook/xsl/fo.xsl" "../bin.v2/doc/gcc-4.5/debug/src/boost.docbook"

../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:27522: element anchor: validity error : ID boost.date_time.string_parse_tree.ptree_coll already defined
&gt;</phrase> <anchor id="boost.date_time.string_parse_tree.ptree_coll"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:28263: element anchor: validity error : ID boost.date_time.split_timedate_system.wrap_int_type already defined
">&gt;</phrase> <anchor id="boost.date_time.split_timedate_system.wrap_int_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:28264: element anchor: validity error : ID boost.date_time.split_timedate_system.wrap_int_type already defined
                <anchor id="boost.date_time.split_timedate_system.wrap_int_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49731: element anchor: validity error : ID boost.interprocess.std.vector_type already defined
                                 <anchor id="boost.interprocess.std.vector_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49732: element anchor: validity error : ID boost.interprocess.std.char_type already defined
le="identifier">char_type</phrase> <anchor id="boost.interprocess.std.char_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49733: element anchor: validity error : ID boost.interprocess.std.int_type already defined
ype</phrase> <anchor id="boost.interprocess.std.int_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49734: element anchor: validity error : ID boost.interprocess.std.pos_type already defined
ype</phrase> <anchor id="boost.interprocess.std.pos_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49735: element anchor: validity error : ID boost.interprocess.std.off_type already defined
ype</phrase> <anchor id="boost.interprocess.std.off_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49736: element anchor: validity error : ID boost.interprocess.std.traits_type already defined
ype</phrase> <anchor id="boost.interprocess.std.traits_type"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49737: element anchor: validity error : ID boost.interprocess.std.vectorbuf_t already defined
> <anchor id="boost.interprocess.std.vectorbuf_t"
                                                                               ^
../bin.v2/doc/gcc-4.5/debug/src/boost.docbook:49738: element anchor: validity error : ID boost.interprocess.std.base_t already defined
/phrase> <anchor id="boost.interprocess.std.base_t"
                                                                               ^
Making portrait pages on A4 paper (210mmx297mm)
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Warning: multiple "IDs" for constraint linkend: boost.interprocess.std.vectorbuf_t.
Element verbatim in namespace '' encountered in para, but no template matches.
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
Error: no ID for constraint linkend: bbv2.jam.
XLink to nonexistent id: bbv2.jam
fop.render.pdf ../bin.v2/doc/gcc-4.5/debug/src/boost.pdf

   /usr/bin/fop ../bin.v2/doc/gcc-4.5/debug/src/boost.fo ../bin.v2/doc/gcc-4.5/debug/src/boost.pdf

Exception in thread "main" java.lang.NoClassDefFoundError: error:
Caused by: java.lang.ClassNotFoundException: error:
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: error:. Program will exit.
...failed fop.render.pdf ../bin.v2/doc/gcc-4.5/debug/src/boost.pdf...
...failed updating 2 targets...
...updated 64 targets...


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC