[MacPorts] #56635: nytprofhtml can't find scripts renamed by mp

MacPorts noreply at macports.org
Wed Jun 13 01:17:55 UTC 2018


#56635: nytprofhtml can't find scripts renamed by mp
-------------------------------+-----------------------
  Reporter:  chrstphrchvz      |      Owner:  michael@…
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.5.2
Resolution:                    |   Keywords:
      Port:  p5-devel-nytprof  |
-------------------------------+-----------------------

Comment (by chrstphrchvz):

 > Is this something the port should adjust, or is it potentially something
 the module itself should address?

 More specific ideas:

 - Use a `_select` port to specify a default. At least that's how something
 like this would be handled for end users being able to invoke binaries.
 But (1) it would have to enforce at least one version being selected
 somehow, and (2) I don't really think it's appropriate here since it opens
 up the possibility of running nytprofhtml-5.xx with nytprofcalls-5.yy and
 flamegraph.pl-5.zz.
 - Ask the developer to use modules from scripts instead of other scripts
 (under some vague notion that "scripts are for end-users, not other
 scripts in the same distribution"; I don't know that it's inherently bad
 for a CPAN distribution to use its own scripts nor that it's universally
 better that it use modules instead). That way when nytprofhtml wants to
 use nytprofcalls or flamegraph functionality, there's no confusion over
 names or versions; it gets the same nytprofcalls or flamegraph for the
 Perl version and distribution version it was installed with.

 These are sort of the extremes. Maybe there's something more of a
 compromise to work out here, or some other MacPorts feature I'm not aware
 of.

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


More information about the macports-tickets mailing list