Description of problem: When using doxygen to create PDF output, the process errors out, with messages like: LaTeX error: file 'tocloft.sty' not found Version-Release number of selected component (if applicable): doxygen-1.8.1.2-1.fc18.x86_64 How reproducible: I can reproduce this on F18, by building the gcc/libstdc++ documentation, configure and then "make pdf" Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Adding these deps to the .spec file will solve the issue: Requires: texlive-sectsty Requires: texlive-tocloft Requires: texlive-xtab Requires: texlive-multirow
I would argue it's the package(s) creating this documentation and using those newly split out texlive packages that need to include these additional BuildRequires
Unless... are these texlive packages either specific to doxygen-created .pdf's or used by a majority or all of doxygen-created .pdf's? If the answer is yes to either of those questions, then adding the deps here in doxygen would indeed be a convenience.
Answering my own question, doxygen has never had any tex-related dependencies, so it's always been the responsibility of the documentation-building user or package to ensure the environment works. Closing->NotABug If you can identify any build failures caused by this issue, either file bugs against those particular components or mention them here, and I'll be happy to fix things up as needed.
The doxygen spec file here: doxygen-1.8.2-1.fc19.src.rpm Seems incorrect to have: BuildRequires: texlive-dvips BuildRequires: texlive-utils BuildRequires: texlive-latex these are not build dependencies, (and texlive-utils no longer exists on F18), rather runtime and for pdflatex, and should be: Requires: texlive-dvips Requires: texlive-latex Requires: texlive-sectsty Requires: texlive-tocloft Requires: texlive-xtab Requires: texlive-multirow Without these dependencies, doxygen will fail at PDF generation. I consider this a bug.
and the build failure is, I cannot "make pdf" in gcc without it. Thanks for your prompt attention.
It is *gcc* documentation referencing those missing tex packages, not something doxygen should have to care about. if one wants to build pdf docs from gcc.spec, one should add there the missing BuildRequires: texlive-... The slippery slope here following your suggestion would be for doxygen to include *all* of texlive essentially to ensure that any/all .tex-based docs can build , which I hope you would agree would be counter-productive.
Ok. I actually built doxygen on F18. Here are the correct build deps: BuildRequires: perl BuildRequires: gettext BuildRequires: flex BuildRequires: bison BuildRequires: desktop-file-utils BuildRequires: texlive-latex BuildRequires: gcc-c++ BuildRequires: texlive-epstopdf-bin BuildRequires: ghostscript Any use of doxygen to create PDF with pdflatex (USE_PDFLATEX = YES, which is the default for doxygen) will also require the following runtime deps: Requires: texlive-latex-bin-bin Requires: texlive-sectsty Requires: texlive-tocloft Requires: texlive-xtab Requires: texlive-multirow Please fix the doxygen deps. This is a bug. Any use of doxygen to create graphical heirarchy (HAVE_DOT = NO is the default for doxygen) will also require: Requires: graphviz Because dot is optional in the default doxygen-generated config file, I'm not insisting that it be added to the spec file. It's not an error to have it.
OK, so now we're getting somewhere, providing a justification in response to my comment #2 . thanks.
%changelog * Thu Jan 03 2013 Rex Dieter <rdieter> - 1:1.8.3-2 - doxygen is missing dependencies for texlive update (#891452) ...
it should be fixed in 1.8.3-2, Rex, thanks for taking care of the issue!
doxygen-1.8.3-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/doxygen-1.8.3-2.fc18
Package doxygen-1.8.3-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing doxygen-1.8.3-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-0169/doxygen-1.8.3-2.fc18 then log in and leave karma (feedback).
Package doxygen-1.8.3-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing doxygen-1.8.3-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-0169/doxygen-1.8.3-3.fc18 then log in and leave karma (feedback).
doxygen-1.8.3-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.