[MacPorts] #46105: Octave has unlisted dependency on TeX
#46105: Octave has unlisted dependency on TeX -----------------------+-------------------------------- Reporter: karsten@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: octave -----------------------+-------------------------------- Since some time late last week, octave fails to build. It looks like it depends on TeX to be installed, but the dependency is not listed in the port: :info:destroot /opt/local/bin/texi2dvi --build-dir=t2d_cache --build- dir=octav e.t2d -o octave.dvi \ :info:destroot octave.texi :info:destroot You don't have a working TeX binary (tex) installed anywhere in :info:destroot your PATH, and texi2dvi cannot proceed without one. If you want to use :info:destroot this script, you'll need to install TeX (if you don't have it) or change :info:destroot your PATH or TEX environment variable (if you do). See the --hel p :info:destroot output for more details. :info:destroot :info:destroot For information about obtaining TeX, please see http://tug.org/te xlive, :info:destroot or do a web search for TeX and your operating system or distro. Attaching full build log. -- Ticket URL: <https://trac.macports.org/ticket/46105> MacPorts <https://www.macports.org/> Ports system for OS X
#46105: texinfo @5.2_2 has unlisted dependency on TeX ------------------------+---------------------- Reporter: karsten@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: texinfo | ------------------------+---------------------- Changes (by larryv@…): * status: new => assigned * owner: macports-tickets@… => larryv@… * port: octave => texinfo Old description:
Since some time late last week, octave fails to build. It looks like it depends on TeX to be installed, but the dependency is not listed in the port:
:info:destroot /opt/local/bin/texi2dvi --build-dir=t2d_cache --build- dir=octav e.t2d -o octave.dvi \ :info:destroot octave.texi :info:destroot You don't have a working TeX binary (tex) installed anywhere in :info:destroot your PATH, and texi2dvi cannot proceed without one. If you want to use :info:destroot this script, you'll need to install TeX (if you don't have it) or change :info:destroot your PATH or TEX environment variable (if you do). See the --hel p :info:destroot output for more details. :info:destroot :info:destroot For information about obtaining TeX, please see http://tug.org/te xlive, :info:destroot or do a web search for TeX and your operating system or distro.
Attaching full build log.
New description: Since some time late last week, octave fails to build. It looks like it depends on TeX to be installed, but the dependency is not listed in the port: {{{ :info:destroot /opt/local/bin/texi2dvi --build-dir=t2d_cache --build- dir=octav e.t2d -o octave.dvi \ :info:destroot octave.texi :info:destroot You don't have a working TeX binary (tex) installed anywhere in :info:destroot your PATH, and texi2dvi cannot proceed without one. If you want to use :info:destroot this script, you'll need to install TeX (if you don't have it) or change :info:destroot your PATH or TEX environment variable (if you do). See the --hel p :info:destroot output for more details. :info:destroot :info:destroot For information about obtaining TeX, please see http://tug.org/te xlive, :info:destroot or do a web search for TeX and your operating system or distro. }}} Attaching full build log. -- Comment: The `texi2dvi` script is provided by `texinfo`, so it’s that port that should have some sort of dependency on TeX. That’s kind of a big dependency to add. I’ll look into this at some point, but I’m not sure about the best way to handle it. -- Ticket URL: <https://trac.macports.org/ticket/46105#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46105: texinfo @5.2_2 has unlisted dependency on TeX ------------------------+---------------------- Reporter: karsten@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: texinfo | ------------------------+---------------------- Comment (by karsten@…): The real solution would probably be to add DVI / PDF output capability probing to the autoconf script, and disable building those if texinfo doesn't support it. An easier way may be to make a build failure for the .dvi and .pdf doc targets non-fatal, but that is likely not upstream-able. -- Ticket URL: <https://trac.macports.org/ticket/46105#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46105: texinfo @5.2_2 has unlisted dependency on TeX ------------------------+---------------------- Reporter: karsten@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: texinfo | ------------------------+---------------------- Comment (by larryv@…): Replying to [comment:2 karsten@…]:
The real solution would probably be to add DVI / PDF output capability probing to the autoconf script, and disable building those if texinfo doesn't support it.
That might be something upstream should do, but it’s exactly what we //don’t// want. [[RepeatableBuilds|We don’t want ports to build differently]] based on whether some external program is present or absent. The fact remains that the `texinfo` port installs a script that requires TeX but doesn’t have a dependency on TeX. This should be fixed. -- Ticket URL: <https://trac.macports.org/ticket/46105#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46105: texinfo @5.2_2 has unlisted dependency on TeX ------------------------+---------------------- Reporter: karsten@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: texinfo | ------------------------+---------------------- Comment (by register@…): I am also having exactly the same problem. Fortunately I already have an older port of octave installed and running but the upgrade to 3.8.2_3 fails. Is there any local fix that I can make to allow me to upgrade? -- Ticket URL: <https://trac.macports.org/ticket/46105#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46105: texinfo @5.2_2 has unlisted dependency on TeX ------------------------+---------------------- Reporter: karsten@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: texinfo | ------------------------+---------------------- Comment (by urilabob@…): In the short term, this is breaking at least octave, and probably other ports. The optimal solution is probably complex, and probably involves adding a specific minimal collection to support texinfo (it seems cygwin is facing similar issues, and at least temporarily did that). It's also probably going to take substantial time to figure out an optimal fix. In the short term, pending such a rearrangement, the solution is clear: if one package depends on another, it needs to be listed as a dependency. Anything else just leaves users with broken systems, and leaves every user with the complex job of tracking down exactly what the dependencies are. With the current macports package structure, texinfo requires two packages: texlive-baxic and texlive-latex. Please add them as dependencies, to stop breaking everything. Worry about what the best solution is later, but please don't leave things broken for months of thinking time. -- Ticket URL: <https://trac.macports.org/ticket/46105#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46105: texinfo @5.2_2 has unlisted dependency on TeX ------------------------+---------------------- Reporter: karsten@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: texinfo | ------------------------+---------------------- Comment (by larryv@…): Replying to [comment:5 urilabob@…]:
With the current macports package structure, texinfo requires two packages: texlive-baxic and texlive-latex.
Why `texlive-latex`?
please don't leave things broken for months of thinking time.
It just fell off my radar. In the future, email [[MailingLists|macports- dev]] to alert developers about stagnant tickets. -- Ticket URL: <https://trac.macports.org/ticket/46105#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46105: texinfo @5.2_2 has unlisted dependency on TeX ------------------------+---------------------- Reporter: karsten@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: texinfo | ------------------------+---------------------- Comment (by larryv@…): Replying to [comment:6 larryv@…]:
Why `texlive-latex`?
Never mind, I didn’t look hard enough. The script uses at least `latex` and `pdflatex`. -- Ticket URL: <https://trac.macports.org/ticket/46105#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts