[MacPorts] #48358: texlive-common uses a program from texlive-basic but does not declare a dependency on it

MacPorts noreply at macports.org
Wed Jul 15 17:01:29 PDT 2015


#48358: texlive-common uses a program from texlive-basic but does not declare a
dependency on it
-----------------------------+----------------------
  Reporter:  ryandesign@…    |      Owner:  dports@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.99
Resolution:                  |   Keywords:
      Port:  texlive-common  |
-----------------------------+----------------------

Comment (by dports@…):

 Ultimately, this has no consequence other than than an inconvenient error.
 My inclination would be to just leave it as is, catching the error if
 necessary.

 The intent of that post-activate hook is that, if we already have a
 perfectly working texlive installation and are just upgrading texlive-
 common, to rerun mktexlsr because the config files installed by texlive-
 common might have changed. This is kind of a rare case -- it won't get run
 for new installations because mktexlsr won't exist, and it doesn't matter
 if we're upgrading the rest of texlive too because we'll run it later
 anyway. I'm racking my brain to remember if this has ever actually come up
 or if it'd be safe to remove it.

 (The ideal solution would be to have something like Debian's post-install
 triggers that would let us wait until after all ports have been upgraded
 before running the things we do now in post-activate hooks, but that's
 another story.)

 This has never come up before because mktexlsr used to be a shell script,
 so if it was installed it just worked. Now it's a texlua script.

-- 
Ticket URL: <https://trac.macports.org/ticket/48358#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list