You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect this was implemented to make them install nicely alongside one another, but I consider it a bug that the install cannot output the plain binary. If this was done at the level of perl (e.g., outside of spack) I'd want to suggest that (for spack) we go ahead and create links so that the correct names are present. I think this should be the default (what is expected) and turned off with a variant if someone has issue. Thanks!
The text was updated successfully, but these errors were encountered:
vsoch
changed the title
perl no longer installs un-versioned binary
perl no longer installs un-versioned binaries
Mar 9, 2022
it is expected behavior for a software install to generate binaries that
are naked, or not with a version. After perl 5.34.x it looks like this is not the case
for perl, and all binaries are generated with a versioned suffix. This is not ideal for
tools or people that use the install directory and expect to find, for example, just
perl. This fix will, for versions 5.35.0 and later, ensure that we do a final
pass through the install directory and given a binary that ends with the version, we
also generate a link to its version-less self (only if it does not already exist). For
some niche cache where this is not desired, a variant can be flipped to disable it.
I have made it the default because as a user I expect my binaries without a weird
version suffix. This will closespack#29409
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
For singularity HPC, we create recipes that can confidently say the path and name of a binary in advance. E.g., for our perl recipe we have:
As of perl 5.34, this tree (and the subsequent view) turns out correctly - e.g., I have a perl / perlthanks and all the expected executables in bin.
However with 5.35.0 I no longer have any un-versioned binaries. They all end in the version.
I suspect this was implemented to make them install nicely alongside one another, but I consider it a bug that the install cannot output the plain binary. If this was done at the level of perl (e.g., outside of spack) I'd want to suggest that (for spack) we go ahead and create links so that the correct names are present. I think this should be the default (what is expected) and turned off with a variant if someone has issue. Thanks!
The text was updated successfully, but these errors were encountered: