[MacPorts] #58610: CPAN.pm/cpan2port needs gzip?

MacPorts noreply at macports.org
Wed Jun 19 05:39:55 UTC 2019


#58610: CPAN.pm/cpan2port needs gzip?
------------------------------+----------------------
  Reporter:  chrstphrchvz     |      Owner:  mojca
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.5.4
Resolution:                   |   Keywords:
      Port:  perl5 cpan2port  |
------------------------------+----------------------

Comment (by mojca):

 One further point to clarify: we can of course add a runtime dependency on
 `gzip`, but since the percentage of users running cpan might be small, and
 perl itself works without `/opt/local/bin/gzip` (and even `cpan` does to
 some extent), and if there is a way to convince `cpan` to work correctly
 without declaring that dependency and use `/usr/bin/gzip`, I would prefer
 it if we would convince the `cpan` script to consistently use
 `/usr/bin/gzip`.

 If we fail to find a solution ... well, then we can still add a dependency
 on `gzip`.

 Note that the same thing will probably just as well fail if you install
 your own `gzip` somewhere (so that it takes precedence over the version
 installed by either MacPorts or the OS itself; that could include
 installing it via HomeBrew in case they provide a formula for `gzip`), and
 then uninstall your own `gzip`.

 On Linux this is generally not a problem since you only get one single
 `gzip` at one single location, even if you upgrade your OS. I would be
 surprised if it was allowed to uninstall `gzip` from a Linux system.

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


More information about the macports-tickets mailing list