Building manual fails since Virtualbox 7.1.0.

Discussions related to using the OSE version of VirtualBox.
Post Reply
atshaw
Posts: 8
Joined: 3. Jan 2013, 04:00
Primary OS: Debian other
VBox Version: OSE self-compiled
Guest OSses: Linux-based OSes, Windows, Other

Building manual fails since Virtualbox 7.1.0.

Post by atshaw »

Hi,

Build of Virtualbox 7.1.x fails on 'doc/manual/Makefile.kmk' step with the following error :

Code: Select all

kmk: *** Exiting with status 2
kBuild: Building /var/tmp/VirtualBox-7.1.4/out/linux.amd64/release/obj/manual/en_US/UserManual.pdf (/var/tmp/VirtualBox-7.1.4/out/linux.amd64/release/obj/manual/en_US/UserManual_pdf.log)
Erreur : impossible de trouver ou de charger la classe principale org.apache.tools.ant.launch.Launcher
Causé par : java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
kmk: *** [/var/tmp/VirtualBox-7.1.4/doc/manual/Makefile.kmk:912: /var/tmp/VirtualBox-7.1.4/out/linux.amd64/release/obj/manual/en_US/UserManual.pdf] Error 1
This is because the ANT_HOME is set to VBOX_DITA_OT_PATH, but VBOX_DITA_OT_PATH doesn't exists on the filesystem.

Here are steps to solve this :
  • create the directory <sources_dir>/tools/common/dita-ot,
  • download the latest version of dita-ot from here https://www.dita-ot.org/download and extract the archive content into the <sources_dir>/tools/common/dita-ot directory,
  • rename the extracted folder from dita-ot-x.y.z to vx.y.z where x.y.z is the dita-ot version,
  • restart the build.
Regards
Post Reply