-
Notifications
You must be signed in to change notification settings - Fork 2.4k
darwin: hardlinks broken by codesign/install_name_tool #47691
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingimpact-lowv0.23.1PRs to backport for v0.23.1PRs to backport for v0.23.1
Milestone
Description
Steps to reproduce
- On macOS, I build git somewhere and push that to an OCI buildcache
- There are two git binaries in the install directory, one in
bin/gitand a hardlink inlibexec/git-core/git - During binary distribution to the build cache, the hardlink is identified, and
libexec/git-core/gitdoes not get added to the files to be relocated during install - On a local macOS, I install from this buildcache
- During install, the two
gitbinaries are not created as hardlinks. Thelibexec/git-core/gitalso seems to have mtime equal to unix epoch, but seems to have identical content tobin/git libexec/git-core/gitnever gets relocated and has incorrect RPATHs and libraries
Error message
The resulting libexec/git-code/git cannot be executed due to missing libraries.
Information on your system
- Spack: 0.24.0.dev0 (d89f3b20a2e6b33daeaf58ed058b511e1796f8b9)
- Python: 3.13.0
- Platform: darwin-sequoia-m1
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingimpact-lowv0.23.1PRs to backport for v0.23.1PRs to backport for v0.23.1
Type
Projects
Status
Done