guix: add --no-same-owner to codesign.sh TAR_OPTIONS #36615

pull marcofleon wants to merge 1 commits into bitcoin:master from marcofleon:codesign-tar-options changing 1 files +1 −1
  1. marcofleon commented at 8:11 PM on October 22, 2026: contributor

    Just ran guix-codesign for v32.0 as root, in fanquake's container image (option 3 in INSTALL.md) and got this error while unpacking the codesigning tarball:

    tar: ./detached-sig-create.sh: Cannot change ownership to uid 0, gid 0: Invalid argument
    tar: ./unsigned/bitcoin-32.0: Cannot change ownership to uid 0, gid 0: Invalid argument
    tar: ./unsigned/bitcoin-32.0-win64-setup-unsigned.exe: Cannot change ownership to uid 0, gid 0: Invalid argument
    ...
    tar: Exiting with failure status due to previous errors
    

    Same happens for the macOS files.

    When updating guix in #34550, --no-same-owner was added in build.sh (now in setup.sh) in 0f323e10759aba4429677d0e1e202bf575b6d664, but not in codesign.sh. This PR adds it to TAR_OPTIONS in codesign.sh. This fixed the issue for me and my hashes match the other attestations for v32.0.

  2. guix: add --no-same-owner to codesign.sh TAR_OPTIONS d2e5108ea2
  3. DrahtBot added the label Build system on Oct 22, 2026
  4. DrahtBot commented at 8:11 PM on October 22, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. marcofleon commented at 8:13 PM on October 22, 2026: contributor

    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.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-10-23 10:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me