[MacPorts] #58615: texlive-bin-extra @50853_1+doc: texdoc cannot find texlive.tlpdb
MacPorts
noreply at macports.org
Sat Feb 22 09:54:08 UTC 2020
#58615: texlive-bin-extra @50853_1+doc: texdoc cannot find texlive.tlpdb
--------------------------------+----------------------
Reporter: nstanger | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: texlive-bin-extra |
--------------------------------+----------------------
Comment (by dliessi):
It is **not** a bug in upstream texdoc, but a packaging error in MacPorts!
As per the original description of this ticket:
> The error message itself comes from line 588 of texdoclib-search.tlu
[...].
> On lines lines 683–704 it looks like the script searches for a local
package database file, and when it can’t find one, calls
get_tlpinfo_from_dist() to find the version supplied with the distribution
[...], and that doesn’t exist.
Indeed `get_tlpinfo_from_dist` tries to load `data_tlpdb_name`, which is
defined in `texdoclib-const.tlu` as `texdoc/Data.tlpdb.lua`.
That file does not exists in MacPorts.
The port should provide either `texlive.tlpdb` or `Data.tlpdb.lua`.
Instructions to generate the latter are provided in texdoc's
[https://github.com/TeX-Live/texdoc/blob/master/README.md#generating-a
-pre-hashed-cache-file README.md] file (I think that a copy of
`texlive.tlpdb` is needed to generate the file).
--
Ticket URL: <https://trac.macports.org/ticket/58615#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list