rattler icon indicating copy to clipboard operation
rattler copied to clipboard

`/usr/bin/codesign` is used on osx platforms even on non-osx hosts

Open calebzulawski opened this issue 7 months ago • 4 comments

Checklist

  • [x] I added a descriptive title
  • [x] I searched open reports and couldn't find a duplicate

What happened?

This is a pretty niche issue (if it's even really an issue) but it's not possible to install osx-arm64 environments on e.g. linux-64 hosts:

exceptions.InstallerException: failed to link bash-5.2.21-h15d410d_0.conda
Caused by: failed to link 'bin/bash'
Caused by: unexpected io operation while invoking /usr/bin/codesign
Caused by: No such file or directory (os error 2)

Additional Context

No response

calebzulawski avatar Apr 27 '25 00:04 calebzulawski

Good point! It should work if you install codesign via sigtool: https://prefix.dev/channels/conda-forge/packages/sigtool

wolfv avatar May 03 '25 10:05 wolfv

It actually looks to me like the path is hard-coded, so I don't think that would work either unfortunately

calebzulawski avatar May 03 '25 14:05 calebzulawski

That could definitely be improved then.

wolfv avatar May 03 '25 15:05 wolfv

Would you be open to make a PR?

wolfv avatar May 16 '25 11:05 wolfv