#14328 closed defect (fixed)
doxygen-1.5.4: texlive dependency incorrect
Reported by: | tsunanet@… | Owned by: | cssdev |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | doxygen, latex, pdflatex | Cc: | |
Port: |
Description
Last lines of the build before it fails:
Generating image form_0.png for formula cd latex ; /usr/bin/make echo "Running latex..." Running latex... pdflatex doxygen_manual.tex make[1]: pdflatex: Command not found make[1]: *** [doxygen_manual.pdf] Error 127 make: *** [pdf] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4" && make all pdf " returned error 2 Command output: Generating docs for page config... Generating docs for page commands... Generating docs for page htmlcmds... Generating docs for page xmlcmds... Generating docs for page langhowto... Generating docs for page perlmod... Generating docs for page perlmod_tree... Generating docs for page arch... Generating group documentation... Generating group index... Generating class documentation... Generating annotated compound index... Generating hierarchical class index... Generating member index... Generating namespace index... Generating namespace member index... Generating graph info page... Generating file index... Generating example index... Generating file member index... Generating page index... Generating bitmaps for formulas in HTML... Generating image form_0.png for formula cd latex ; /usr/bin/make echo "Running latex..." Running latex... pdflatex doxygen_manual.tex make[1]: pdflatex: Command not found make[1]: *** [doxygen_manual.pdf] Error 127 make: *** [pdf] Error 2
On a fresh install of MacPorts (1.600). Fix the dependencies or adjust the build to skip this part.
Attachments (1)
Change History (12)
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | → Port Bugs |
---|
comment:2 Changed 17 years ago by raimue (Rainer Müller)
Owner: | changed from macports-tickets@… to css@… |
---|
comment:3 Changed 17 years ago by tsunanet@…
The bug might be somewhere else then, but I can tell you for sure that this is the error I got when I installed a bunch of ports on a brand new MacBook Pro with a fresh Tiger install, right after installing MacPorts' .dmg
.
The command I issued was port -v install a2ps aspell autoconf automake bison boost bzip2 ccache cmake coreutils colordiff ctags curl doxygen flex gmake graphviz grep gsed irssi m4 perl5.8 rlwrap stow sysvbanner vim w3m wget
(thank you ZSH history :D).
comment:4 Changed 17 years ago by tsunanet@…
root@hactar ~ # port -v installed | egrep 'doxygen|tex' gettext @0.17_3 (active) p5-locale-gettext @1.05_0 (active) texi2html @1.76_3 (active) texinfo @4.11_0 (active) texlive_base @2007_1 (active) texlive_texmf-minimal @2007_0 (active) root@hactar ~ # port -d install -v doxygen DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/doxygen DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/doxygen DEBUG: Requested variant i386 is not provided by port doxygen. DEBUG: Requested variant macosx is not provided by port doxygen. DEBUG: Executing variant darwin provides darwin DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/tex/texlive DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/tex/texlive DEBUG: Requested variant darwin is not provided by port texlive. DEBUG: Requested variant i386 is not provided by port texlive. DEBUG: Requested variant macosx is not provided by port texlive. DEBUG: Searching for dependency: texlive DEBUG: Didn't find receipt, going to depspec regex for: texlive DEBUG: Found Dependency: path: /opt/local/bin filename: tex regex: ^tex$ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/print/ghostscript DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/ghostscript DEBUG: Requested variant darwin is not provided by port ghostscript. DEBUG: Requested variant i386 is not provided by port ghostscript. DEBUG: Requested variant macosx is not provided by port ghostscript. DEBUG: Searching for dependency: ghostscript DEBUG: Found Dependency: receipt exists for ghostscript DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: Requested variant darwin is not provided by port libpng. DEBUG: Requested variant i386 is not provided by port libpng. DEBUG: Requested variant macosx is not provided by port libpng. DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/graphviz DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/graphviz DEBUG: Requested variant darwin is not provided by port graphviz. DEBUG: Requested variant i386 is not provided by port graphviz. DEBUG: Requested variant macosx is not provided by port graphviz. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: graphviz DEBUG: Found Dependency: receipt exists for graphviz DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/coreutils DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/coreutils DEBUG: Requested variant darwin is not provided by port coreutils. DEBUG: Requested variant i386 is not provided by port coreutils. DEBUG: Requested variant macosx is not provided by port coreutils. DEBUG: Searching for dependency: coreutils DEBUG: Found Dependency: receipt exists for coreutils DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant i386 is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Skipping completed org.macports.main (doxygen) DEBUG: Skipping completed org.macports.fetch (doxygen) DEBUG: Skipping completed org.macports.checksum (doxygen) DEBUG: Skipping completed org.macports.extract (doxygen) DEBUG: Skipping completed org.macports.patch (doxygen) DEBUG: Skipping completed org.macports.configure (doxygen) ---> Building doxygen with target all pdf DEBUG: Executing org.macports.build (doxygen) DEBUG: Environment: QTDIR='/opt/local' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4" && make all pdf' /usr/bin/make -C qtools /usr/bin/make -f Makefile.qtools all make[2]: Nothing to be done for `all'. /usr/bin/make -C libpng /usr/bin/make -f Makefile.libpng make[2]: Nothing to be done for `all'. /usr/bin/make -C libmd5 /usr/bin/make -f Makefile.libmd5 make[2]: Nothing to be done for `all'. /usr/bin/make -C src /usr/bin/make -f Makefile.libdoxycfg PERL=/usr/bin/perl all make[2]: Nothing to be done for `all'. /usr/bin/make -f Makefile.libdoxygen PERL=/usr/bin/perl all make[2]: Nothing to be done for `all'. /usr/bin/make -f Makefile.doxygen PERL=/usr/bin/perl all make[2]: Nothing to be done for `all'. /usr/bin/make -f Makefile.doxytag PERL=/usr/bin/perl all make[2]: Nothing to be done for `all'. cd examples ; /usr/bin/make make[1]: Nothing to be done for `all'. cd doc ; /usr/bin/make DOXYGEN_DOCDIR=..; \ export DOXYGEN_DOCDIR; \ VERSION=1.5.4 ; \ export VERSION; \ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4/bin/doxygen sh: line 1: latex: command not found Problems running latex. Check your installation or look for typos in _formulas.tex and check _formulas.log! dvips: ! DVI file can't be opened. Problems running dvips. Check your installation! Searching for include files... Searching for example files... [...] Generating file member index... Generating page index... Generating bitmaps for formulas in HTML... Generating image form_0.png for formula cd latex ; /usr/bin/make echo "Running latex..." Running latex... pdflatex doxygen_manual.tex make[1]: pdflatex: Command not found make[1]: *** [doxygen_manual.pdf] Error 127 make: *** [pdf] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4" && make all pdf " returned error 2 Command output: Generating docs for page config... Generating docs for page commands... Generating docs for page htmlcmds... Generating docs for page xmlcmds... Generating docs for page langhowto... Generating docs for page perlmod... Generating docs for page perlmod_tree... Generating docs for page arch... Generating group documentation... Generating group index... Generating class documentation... Generating annotated compound index... Generating hierarchical class index... Generating member index... Generating namespace index... Generating namespace member index... Generating graph info page... Generating file index... Generating example index... Generating file member index... Generating page index... Generating bitmaps for formulas in HTML... Generating image form_0.png for formula cd latex ; /usr/bin/make echo "Running latex..." Running latex... pdflatex doxygen_manual.tex make[1]: pdflatex: Command not found make[1]: *** [doxygen_manual.pdf] Error 127 make: *** [pdf] Error 2 Warning: the following items did not execute (for doxygen): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. root@hactar ~ # port version Version: 1.600
What can I do to help you debug this further? It looks like port
wrongly believes texlive
is installed.
comment:5 Changed 17 years ago by raimue (Rainer Müller)
I did a bad job, I did not really investigate what is going on. Actually it is looking for /opt/local/bin/tex and assumes texlive is installed if it is there. /opt/local/bin/tex is provided by texlive_base, but /opt/local/bin/pdflatex is provided by texlive. We have a problem here if texlive_base is installed but not texlive.
I think there should be another dependency path:${prefix}/bin/pdflatex:texlive
.
Workaround: Install texlive before installing doxygen.
comment:6 Changed 17 years ago by cssdev
Status: | new → assigned |
---|---|
Summary: | Doxygen can't build without latex tools → doxygen-1.5.4: texlive dependency incorrect |
It looks like adjusting the dependency to be more specific would be the best fix. Thanks for catching this and providing the feedback!
Changed 17 years ago by cssdev
Attachment: | patch-Portfile.diff added |
---|
depend on the pdflatex binary rather than tex
comment:7 Changed 17 years ago by raimue (Rainer Müller)
I think it would be good to move this into a +doc variant as it pulls in a lot of dependencies.
Not everyone will need the doxygen documentation. And the PDF can also be downloaded from the website.
comment:8 Changed 17 years ago by tsunanet@…
I second this. I've always used the online manual, and AFAIK that's what most people do. Moreover it will reduce the build time of doxygen.
comment:9 Changed 17 years ago by cssdev
I created #14421 to address the creation of a variant without the TeX dependency. Please move that discussion there, and I'll close this ticket once I commit the pdflatex dependency.
comment:10 Changed 17 years ago by cssdev
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r34316. Doxygen looks for pdflatex rather than tex.
Seems to be correct and it works for me.