GNOME Bugzilla – Bug 638661
[regression] 1.7.2 and 1.7.3 fail to build the ppl documentation (\cftchapfont undefined)
Last modified: 2011-01-05 19:15:50 UTC
[forwarded from http://bugs.debian.org/606233] reported at: http://sourceforge.net/mailarchive/forum.php?thread_name=4D175A28.6090708%40cs.unipr.it&forum_name=doxygen-users also seen: https://bugzilla.redhat.com/show_bug.cgi?id=661107 make[2]: Entering directory `/build/buildd/ppl-0.10.2/doc/user-configured-c-interface.latex-dir' pdflatex refman.tex This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) restricted \write18 enabled. entering extended mode (./refman.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/share/texmf-texlive/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texmf-texlive/tex/latex/base/size10.clo)) (/usr/share/texmf-texlive/tex/latex/ltxmisc/a4wide.sty (/usr/share/texmf-texlive/tex/latex/ntgclass/a4.sty)) (/usr/share/texmf-texlive/tex/latex/base/makeidx.sty) (/usr/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty) (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty) (/etc/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))) (/usr/share/texmf-texlive/tex/latex/tools/multicol.sty) (/usr/share/texmf-texlive/tex/latex/float/float.sty) (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty (/usr/share/texmf-texlive/tex/latex/base/ts1enc.def)) (/usr/share/texmf-texlive/tex/latex/base/alltt.sty) (/usr/share/texmf-texlive/tex/latex/psnfss/times.sty) (/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty) (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty (/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty) (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty) (/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty (/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty)) (/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def) (/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty (/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty)) (/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg) (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty (/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty)) (/usr/share/texmf-texlive/tex/latex/hyperref/puenc.def) Implicit mode ON; LaTeX internals redefined (/usr/share/texmf-texlive/tex/latex/hyperref/backref.sty) (/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty) (/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty (/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty) (/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty (/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty (/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty) (/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty)))) (/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty)) *hyperref using driver hpdftex* (/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty (/usr/share/texmf-texlive/tex/latex/base/utf8.def (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu) (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu) (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu) (/usr/share/texmf-texlive/tex/latex/base/ts1enc.dfu))) (./doxygen.sty (/usr/share/texmf-texlive/tex/latex/tools/array.sty) (/usr/share/texmf-texlive/tex/latex/tools/calc.sty) (/usr/share/texmf-texlive/tex/latex/graphics/color.sty (/etc/texmf/tex/latex/config/color.cfg)) (/usr/share/texmf-texlive/tex/latex/tools/longtable.sty) (/usr/share/texmf-texlive/tex/latex/tools/verbatim.sty) (/usr/share/texmf-texlive/tex/latex/base/ifthen.sty) ! LaTeX Error: File `xcolor.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. <read *> l.14 ^^M ! ==> Fatal error occurred, no output PDF file produced! Transcript written on refman.log. make[2]: *** [refman.pdf] Error 1 make[2]: Leaving directory `/build/buildd/ppl-0.10.2/doc/user-configured-c-interface.latex-dir' make[1]: *** [ppl-user-configured-c-interface-0.10.2.pdf] Error 2 make[1]: Leaving directory `/build/buildd/ppl-0.10.2/doc' make: *** [build-indep-stamp] Error 2 Now, making xcolor.sty available, you get: Package tocloft Note: The document has section divisions. ) ! LaTeX Error: \cftchapfont undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.20 \renewcommand{\cftchapfont} {% ? ! Emergency stop. ... l.20 \renewcommand{\cftchapfont} {% ! ==> Fatal error occurred, no output PDF file produced! Transcript written on refman.log. make[2]: *** [refman.pdf] Error 1 make[2]: Leaving directory `/build/buildd/ppl-0.10.2/doc/user-configured-c-interface.latex-dir' make[1]: *** [ppl-user-configured-c-interface-0.10.2.pdf] Error 2 make[1]: Leaving directory `/build/buildd/ppl-0.10.2/doc' make: *** [build-indep-stamp] Error 2
In version 1.7.3 I replaced the failing \renewcommand with \providecommand. Can you check if that helps, or provide the error message you get with 1.7.3? I do not see this problem with the LaTeX version I use (provided by port on MacOSX or Ubuntu on Linux), so it is LaTeX version dependent :-(
which Ubuntu version? I'm currently trying 1.7.3 on Ubuntu Natty (11.04) and Debian unstable. But I assume this should show up on 10.04 and 10.10 too. After installing latex-xcolor and texlive-math-extra I get further until: LaTeX Warning: Reference `interfaceppl__Rational__Box__tag' on page 19 undefine d on input line 41. ) (./group__PPL__C__interface.tex) (./group__Init.tex [19]) (./group__Version.tex [20] [21]) (./group__Error.tex Overfull \hbox (28.79153pt too wide) in paragraph at lines 9--13 [][][]\T1/ptm/m/n/10 PPL_-ERROR_-OUT_-OF_-MEMORY[][], [][]PPL_-ERROR_-INVALID_- ARGUMENT[][], [][]PPL_-ERROR_-DOMAIN_- Overfull \hbox (20.12146pt too wide) in paragraph at lines 14--18 [][][]\T1/ptm/m/n/10 PPL_-ARITHMETIC_-OVERFLOW[][], [][]PPL_-STDIO_-ERROR[][], [][]PPL_-ERROR_-INTERNAL_-ERROR[][], [][]PPL_- [22] Overfull \hbox (6.01048pt too wide) in paragraph at lines 51--55 []\T1/ptm/m/n/10 The vir-tual mem-ory avail-able to the pro-cess has been ex-ha usted. ) (./group__Timeout.tex [23] ! Undefined control sequence. \\DoxyParams ...bleShade}{HTML}{F8F8F8}\rowcolors {1}{white}{tableShade}\arr... l.42 \begin{DoxyParams}{Parameters} ?
I run Ubuntu 10.04. \rowcolor is part of the colortbl package, which should be part of package texlive-latex-base. $ dpkg -S colortbl.sty texlive-latex-base: /usr/share/texmf-texlive/tex/latex/colortbl/colortbl.sty Here are the TeX packages I have installed: $ dpkg --get-selections | grep -E 'latex|texlive' | grep -w install latex-beamer install latex-xcolor install preview-latex-style install texlive-base install texlive-binaries install texlive-common install texlive-doc-base install texlive-extra-utils install texlive-font-utils install texlive-fonts-recommended install texlive-fonts-recommended-doc install texlive-generic-recommended install texlive-latex-base install texlive-latex-base-doc install texlive-latex-extra install texlive-latex-extra-doc install texlive-latex-recommended install texlive-latex-recommended-doc install texlive-luatex install texlive-pictures install texlive-pictures-doc install texlive-pstricks install texlive-pstricks-doc install I did notice that I do not explicitly load the package from doxygen.sty, so that might be a problem (doesn't explain why it still works for me without it though). Can you add a line \RequirePackage{colortbl} to doxygen.sty and let me know if that makes a difference?
yes, this did it.