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.