[MacPorts] #58615: texlive-bin-extra @50853_1+doc: texdoc cannot find texlive.tlpdb
MacPorts
noreply at macports.org
Mon Jun 17 02:35:18 UTC 2019
#58615: texlive-bin-extra @50853_1+doc: texdoc cannot find texlive.tlpdb
----------------------+-------------------------------
Reporter: nstanger | Owner: dports@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: | Port: texlive-bin-extra
----------------------+-------------------------------
When I attempt to run {{{texdoc}}}, I get the following error:
{{{texdoc error: No texlive.tlpdb nor shipped tlpdb data found}}}
As far as I can tell this coincided with the recent switch to TeX Live
2019 (I use {{{texdoc}}} frequently and it worked OK under 2018). A
complete uninstall, clean, and re-install of all ports related to TeX Live
2019 had no effect, other than taking quite some time :).
It looks like {{{texlive.tlpdb}}} is normally generated by{{{tlmgr}}} (see
https://tex.stackexchange.com/q/137428), which of course isn’t used by or
included in the {{{texlive}}} ports.
The error message itself comes from line 588 of {{{texdoclib-search.tlu}}}
(https://github.com/TeX-
Live/texdoc/blob/5f8b971c265db526ab6c0a456eb14c93923e211c/script
/texdoclib-search.tlu#L588). 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 (confirmed by the attached debug output, which includes
the debug message from line 702), and that doesn’t exist. I’ve not used
Lua at all, so that’s about as far as I get.
I’m running High Sierra 10.13.6, FWIW.
--
Ticket URL: <https://trac.macports.org/ticket/58615>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list