Invalid version reported by macOS binaries on 0.21.1, 0.21.2 and 22.0 #23176

issue lukaszsamson opened this issue on October 4, 2021
  1. lukaszsamson commented at 7:02 PM on October 4, 2021: none

    <!-- 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! Any report, issue or feature request related to the GUI should be reported at https://github.com/bitcoin-core/gui/issues/ -->

    <!-- Describe the issue -->

    When running a binary from macOS tarball an invalid version number is reported

    wget https://bitcoincore.org/bin/bitcoin-core-22.0/bitcoin-22.0-osx64.tar.gz
    tar xvf bitcoin-22.0-osx64.tar.gz
    
    bitcoin-22.0/bin/bitcoind --version
    
    Bitcoin Core version v0.21.0
    Copyright (C) 2009-2020 The Bitcoin Core developers
    
    bitcoin-22.0/bin/bitcoind
    2021-10-04T18:50:48Z Bitcoin Core version v0.21.0 (release build)
    

    Confirmed on 0.21.1, 0.21.2 and 22.0

  2. laanwj added the label macOS on Oct 4, 2021
  3. laanwj added the label Bug on Oct 4, 2021
  4. fanquake commented at 2:30 AM on October 5, 2021: member

    I'm not sure what is causing your issue, but I've confirmed that the binaries in https://bitcoincore.org/bin/bitcoin-core-22.0/bitcoin-22.0-osx64.tar.gz are all reporting the correct version numbers:

    wget https://bitcoincore.org/bin/bitcoin-core-22.0/bitcoin-22.0-osx64.tar.gz
    tar xf bitcoin-22.0-osx64.tar.gz
    
    # bitcoind
    bitcoin-22.0/bin/bitcoind --version
    Bitcoin Core version v22.0.0
    
    bitcoin-22.0/bin/bitcoind          
    2021-10-05T02:28:30.736161Z [init] Bitcoin Core version v22.0.0 (release build)
    2021-10-05T02:28:30.736937Z [init] Assuming ancestors of block 00000000000000000008a89e854d57e5667df88f1cdef6fde2fbca1de5b639ad have valid signatures.
    
    # bitcoin-cli
    bitcoin-22.0/bin/bitcoin-cli --version
    Bitcoin Core RPC client version v22.0.0
    
    # bitcoin-wallet
    bitcoin-22.0/bin/bitcoin-wallet --version
    Bitcoin Core bitcoin-wallet version v22.0.0
    
    # bitcoin-util
    bitcoin-22.0/bin/bitcoin-util --version
    Bitcoin Core bitcoin-util utility version v22.0.0
    
    # bitcoin-tx
    bitcoin-22.0/bin/bitcoin-tx --version
    Bitcoin Core bitcoin-tx utility version v22.0.0
    
    # bitcoin-qt
    bitcoin-22.0/bin/bitcoin-qt --version 
    Bitcoin Core version v22.0.0
    Copyright (C) 2009-2021 The Bitcoin Core developers
    
    Please contribute if you find Bitcoin Core useful. Visit
    <https://bitcoincore.org/> for further information about the software.
    The source code is available from <https://github.com/bitcoin/bitcoin>.
    
    This is experimental software.
    Distributed under the MIT software license, see the accompanying file COPYING
    or <https://opensource.org/licenses/MIT>
    
  5. lukaszsamson commented at 5:48 AM on October 5, 2021: none

    Turned out the problem was I had lod binaries in /usr/local/bin

  6. lukaszsamson closed this on Oct 5, 2021

  7. fanquake locked this on Oct 8, 2021
Labels

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-21 18:14 UTC

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