[MacPorts] #14328: Doxygen can't build without latex tools
#14328: Doxygen can't build without latex tools --------------------------------------+------------------------------------- Reporter: tsunanet@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: doxygen, latex, pdflatex | --------------------------------------+------------------------------------- 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328> MacPorts </projects/macports> Ports system for Mac OS
#14328: Doxygen can't build without latex tools ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Changes (by jmpp@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14328: Doxygen can't build without latex tools ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Changes (by raimue@macports.org): * owner: macports-tickets@lists.macosforge.org => css@macports.org Comment: {{{ $ port provides /opt/local/bin/pdflatex /opt/local/bin/pdflatex is provided by: texlive $ port deps doxygen doxygen has library dependencies on: texlive [...] }}} Seems to be correct and it works for me. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14328: Doxygen can't build without latex tools ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Comment (by tsunanet@gmail.com): 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). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14328: Doxygen can't build without latex tools ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Comment (by tsunanet@gmail.com): {{{ 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14328: Doxygen can't build without latex tools ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Comment (by raimue@macports.org): 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14328: doxygen-1.5.4: texlive dependency incorrect ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Changes (by css@macports.org): * status: new => assigned * summary: Doxygen can't build without latex tools => doxygen-1.5.4: texlive dependency incorrect Comment: It looks like adjusting the dependency to be more specific would be the best fix. Thanks for catching this and providing the feedback! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14328: doxygen-1.5.4: texlive dependency incorrect ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Comment (by raimue@macports.org): 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#14328: doxygen-1.5.4: texlive dependency incorrect ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Comment (by tsunanet@gmail.com): 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#14328: doxygen-1.5.4: texlive dependency incorrect ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Comment (by css@macports.org): 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#14328: doxygen-1.5.4: texlive dependency incorrect ---------------------------------+------------------------------------------ Reporter: tsunanet@gmail.com | Owner: css@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: doxygen, latex, pdflatex ---------------------------------+------------------------------------------ Changes (by css@macports.org): * status: assigned => closed * resolution: => fixed Comment: Fixed in r34316. Doxygen looks for pdflatex rather than tex. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14328#comment:10> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts