mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:08:38 +00:00
guix: add --no-same-owner to codesign.sh TAR_OPTIONS #36615
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36615
Loading…
Reference in a new issue
No description provided.
Delete branch "codesign-tar-options"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just ran
guix-codesignfor v32.0 as root, in fanquake's container image (option 3 in INSTALL.md) and got this error while unpacking the codesigning tarball:Same happens for the macOS files.
When updating guix in https://github.com/bitcoin/bitcoin/pull/34550,
--no-same-ownerwas added inbuild.sh(now insetup.sh) in0f323e1075, but not incodesign.sh. This PR adds it toTAR_OPTIONSincodesign.sh. This fixed the issue for me and my hashes match the other attestations for v32.0.The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Bit out of my depth here, so if there's a reason to not add this option for codesigning or I just shouldn't be doing this as root or something, let me know.
No verified findings are available from this review.
Review coverage was incomplete.
Reviewed:
d2e5108ea2dd· Full review report · Previous reportspermalink
Concept ACK
Could that var be extracted into libexec/prelude.sh to avoid repeats?
Yes I think so.
I'm assuming you mean prelude.bash? Doesn't that only run outside of the guix container, so would tar options set in preclude.bash work?
Regardless, I believe @fanquake has another PR in mind that would include this fix, so closing for now.
You're right. We'll need to pass the values in if we want to deduplicate. In any case, I'll open a PR with the other change.
I think we should actually just move ahead with the change here. Left as-is so it's trivial to backport.
ACK
d2e5108ea2utACK
d2e5108ea2I've not bumped into this myself ever but the fix seems correct to me, and I'm fine with it being left simpler/non-deduplicated/easier to backport.
Not running a guix build.
Backported to
32.xin #36727.ralph referenced this pull request2026-11-16 19:07:04 +00:00