[pkg-bacula-devel] Building the docs as PDF fails

Carsten Leonhardt leo at debian.org
Wed Nov 20 13:21:49 GMT 2024


Hi,

I can't seem to be able to build the docs from the git source. To be
able to even start, I had to remove the stuff about version.h and
version.tex from the Makefile and placed a dummy file with "echo 15.0.2 >
latex/version.tex". The build fails to produce the main.pdf. After
haggling with the build process to actually show what happens (replace
"AT=@" with "AT=" in Makefile and manuals/Makefile plus changing to
PDFLATEXVERBOSE in manuals/Makefile:

PDFLATEXOPTIONS=-halt-on-error -interaction=$(PDFLATEXVERBOSE)

It seems to boil down to:

/usr/bin/pdflatex -halt-on-error -interaction=errorstopmode  main.tex ""
[...]
> ! Undefined control sequence.
> l.53 ...given Job can be displayed with the \textt
>                                                   {list files type=malware}
> !  ==> Fatal error occurred, no output PDF file produced!

To run the command by hand, you need to

TEXINPUTS=.:/...path_to_source.../latex://: ; export TEXINPUTS

And (on Debian) have the dependencies installed:
 figlet | toilet,
 gawk,
 inkscape (>= 1.0),
 latex2html,
 libhtml-parser-perl,
 libhtml-treebuilder-libxml-perl,
 lmodern,
 texlive-base,
 texlive-fonts-extra,
 texlive-fonts-recommended,
 texlive-latex-extra,
 texlive-latex-recommended,
 texlive-plain-generic

Any ideas?

Regards

Carsten



More information about the pkg-bacula-devel mailing list