[MacPorts] #31903: build failure octave-devel +docs
#31903: build failure octave-devel +docs -----------------------------+---------------------------------------------- Reporter: vic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: -----------------------------+---------------------------------------------- I am running Mac OS X 10.7.2, Xcode 4.2. I can do "port install octave- devel +debug" with no problem; however "port install octave-devel +debug +docs" continually fails. MacPorts claims I have do not have a working TeX binary tex installed anywhere in my PATH. See below. In fact I use TeX constantly. My PATH contains "/usr/texbin" which is a symbolic link to "/usr/local/texlive/2011/bin/x86_64-darwin" which contains tex. I have no idea why MacPorts cannot find tex in my PATH. This is not a Lion problem. I had the same problem porting octave-devel +docs in OS X 10.6. Here is the error: {{{ :info:build ../../run-octave -f -q -H ./mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS || { rm -f doc-cache; exit 1; } :info:build TEXINPUTS="./..:$TEXINPUTS" \ :info:build MAKEINFO='/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_math_octave-devel/octave-devel/work/octave-3.4.3/build- aux/missing --run makeinfo -I .' \ :info:build /opt/local/bin/texi2dvi octave.texi :info:build You don't have a working TeX binary (tex) installed anywhere in :info:build your PATH, and texi2dvi cannot proceed without one. If you want to use :info:build this script, you'll need to install TeX (if you don't have it) or change :info:build your PATH or TEX environment variable (if you do). See the --help :info:build output for more details. :info:build :info:build For information about obtaining TeX, please see http://www.tug.org. If :info:build you happen to be using Debian, you can get it with this command: :info:build apt-get install tetex-bin :info:build make[3]: *** [octave.dvi] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/31903> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31903: octave-devel +docs variant missing dependency on texlive-basic -----------------------------+---------------------------------------------- Reporter: vic@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: octave-devel -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * port: => octave-devel Comment: A couple things: 1. The +docs variant is clearly missing a dependency on texlive-basic, which is what provides the tex binary. 2. MacPorts does not use your PATH; it uses its own path, as defined by the binpath variable in macports.conf. Editing binpath is usually not advisable, but we do make an exception for tex, so you're welcome to add /usr/texbin to binpath if you'd rather use that tex than the tex that MacPorts would install. -- Ticket URL: <https://trac.macports.org/ticket/31903#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31903: octave-devel +docs variant missing dependency on texlive-basic -----------------------------+---------------------------------------------- Reporter: vic@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: octave-devel -----------------------------+---------------------------------------------- Comment(by vic@…): Replying to [comment:1 ryandesign@…]:
A couple things:
1. The +docs variant is clearly missing a dependency on texlive-basic, which is what provides the tex binary. 2. MacPorts does not use your PATH; it uses its own path, as defined by the binpath variable in macports.conf. Editing binpath is usually not advisable, but we do make an exception for tex, so you're welcome to add /usr/texbin to binpath if you'd rather use that tex than the tex that MacPorts would install.
I tried suggestion 2, to the best of my ability. I added the bin path line binpath /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/texbin to both (/opt/local/etc/macports/) macports.conf and macports.conf.default, and ran $ sudo port clean octave-devel $ sudo port install octave-devel +debug +docs again. The changes made no difference. MacPorts still couldn't find tex, which is sitting in /usr/local/texlive/2011/bin/x86_64-darwin which is pointed to by the symbolic link /usr/texbin. This is not a serious problem for me. I don't need the +docs variant to octave-devel. But it does bother me that I can't get the +docs variant simply because MacPorts can't find TeX---which I use every day. And the binary tex file is definitely in /usr/texbin, albeit indirectly. -- Ticket URL: <https://trac.macports.org/ticket/31903#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31903: octave-devel +docs variant missing dependency on texlive-basic -----------------------------+---------------------------------------------- Reporter: vic@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: octave-devel -----------------------------+---------------------------------------------- Comment(by michaelld@…): So, what's the best way to include a TeX dependency? Obviously I need to add a "depends_run-append" to "variant docs" -- but should it be "port:texlive", or some other port? -- Ticket URL: <https://trac.macports.org/ticket/31903#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31903: octave-devel +docs variant missing dependency on texlive-basic ------------------------------+--------------------------------------------- Reporter: vic@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: octave-devel | ------------------------------+--------------------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Fixed in r88087. -- Ticket URL: <https://trac.macports.org/ticket/31903#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts