#65438 closed defect (fixed)
texlive-bin-extra use hard coded perl version
Reported by: | nortcele | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | texlive-bin-extra |
Description
texlive-bin-extra use hard coded perl 5.30 version for perl modules. When installing texlive-bin-extra a hundred of p5.30 modules are added while the curent main version is 5.34.
Could the port be adapted to use instead Perl5.major so that no more p5.30 supplementary modules are added?
Attachments (1)
Change History (8)
Changed 2 years ago by nortcele
Attachment: | patch-texlive-bin-extra-p5.major.diff added |
---|
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
I don't see anything in the Portfile that instructs the build system to use the specific version of perl that we want it to, which seems like it would be necessary for this to work at all.
If and when the dependencies are changed, the revision would need to be increased.
comment:3 Changed 2 years ago by nortcele
I'm not a perl specialist and my patch was just a (bad) attempt at changing the perl version.
comment:4 Changed 2 years ago by jmroot (Joshua Root)
Already being handled as part of https://github.com/macports/macports-ports/pull/15265
comment:5 Changed 2 years ago by drkp (Dan Ports)
I... actually do not understand why this port was changed to use perl 5.30. This was evidently committed in [55bb4a785a07751419f6720df1d7757ecca5a7cb/macports-ports] under a maintainer timeout (I don't recall seeing the PR), and doesn't change what version the port is actually using.
I am checking which of the (many) perl scripts in this port have module dependencies in order to fix it.
comment:6 Changed 2 years ago by drkp (Dan Ports)
Cc: | drkp removed |
---|---|
Status: | assigned → accepted |
comment:7 Changed 2 years ago by drkp (Dan Ports)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
A port that uses perl modules must declare a dependency on a specific version of perl (and that version of perl's modules) (or offer variants to let the user choose among several perl versions). Presumably the port depends on p5.30 perl and modules because it was not compatible with p5.28, which were until a few days ago the default. Now that the default is p5.34, it would make sense to use that version, if the port is compatible with it.