Trouble with Step 1: contrib/macdeploy - The archive “Xcode_11.3.1.xip” is damaged and can’t be expanded. #20526

issue miketwenty1 opened this issue on November 29, 2020
  1. miketwenty1 commented at 6:19 AM on November 29, 2020: contributor

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    Expected behavior Extract xip for step1 of contrib/macdeploy

    <!--- What behavior did you expect? -->

    Actual behavior Using a macbook pro: python3 apple-sdk-tools/extract_xcode.py -f Xcode_11.3.1.xip

    bad xar magic
    0 blocks
    

    xip -x Xcode_11.3.1.xip

    xip: error: The archive “Xcode_11.3.1.xip” is damaged and can’t be expanded.
    

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    To reproduce

    wget https://download.developer.apple.com/Developer_Tools/Xcode_11.3.1/Xcode_11.3.1.xip
    xip -x Xcode_11.3.1.xip
    git clone https://github.com/bitcoin-core/apple-sdk-tools.git
    python3 apple-sdk-tools/extract_xcode.py -f Xcode_11.3.1.xip | cpio -d -i
    

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    System information MacOS 10.15.7

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

    shasum -a 256 Xcode_11.3.1.xip

    782063542105d65769469b7c6f8b850dd9602c179e8b6cf7a10fba37e2da0392  Xcode_11.3.1.xip
    
  2. miketwenty1 added the label Bug on Nov 29, 2020
  3. miketwenty1 commented at 6:27 AM on November 29, 2020: contributor

    This was a login issue, I couldn't seem to figure out how to auth with my curl / get of this file. I ended up downloading through web browser.

  4. miketwenty1 closed this on Nov 29, 2020

  5. fanquake removed the label Bug on Nov 29, 2020
  6. fanquake locked this on Nov 29, 2020
Contributors

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-04-28 03:14 UTC

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