[MacPorts] #60869: texlive-bin: building under --with-no-root-privileges fails attepting to create dir /Library/TeX

MacPorts noreply at macports.org
Sat Jul 18 08:38:47 UTC 2020


#60869: texlive-bin: building under --with-no-root-privileges fails attepting to
create dir /Library/TeX
--------------------------+----------------------
  Reporter:  mike142wood  |      Owner:  drkp
      Type:  defect       |     Status:  accepted
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.2
Resolution:               |   Keywords:
      Port:  texlive-bin  |
--------------------------+----------------------

Comment (by dliessi):

 Replying to [comment:3 drkp]:
 > There's not really any point installing that directory structure
 anywhere else, so we should probably just skip it if non-root.

 I agree.

 > Are there any other configurations where we should also skip it?

 I don't see a technical reason to avoid cleaning the old texdists and
 creating the new one, if we have root privileges.
 The current code already sensibly deals with non-default prefixes.

 > Maybe it should be a default variant?

 Indeed a user might want to disable the texdist creation.
 As for the old texdists, given that they do not work anymore and that
 MacTeX considers them property of MacPorts, I would delete them
 unconditionally.

-- 
Ticket URL: <https://trac.macports.org/ticket/60869#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list