mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
7e973cce52depends: Make tarball creation from local directory reproducible (Hennadii Stepanov) Pull request description: This guarantees `$(package)_sha256_hash` reproducibility regardless of the default behavior of `$(build_TAR)` and fixes [caching](https://github.com/bitcoin/bitcoin/pull/36006#issuecomment-5328809116) for the `native_libmultiprocess` package. Steps to reproduce the issue using the master branch @2a9e35d293: ```console $ mkdir a && cd a && git init $ git remote add origin https://github.com/bitcoin/bitcoin.git $ git fetch --depth 1 origin2a9e35d293$ git checkout FETCH_HEAD $ cd depends $ gmake print-native_libmultiprocess_sha256_hash # Hash A. Compare with Hash B. native_libmultiprocess_sha256_hash=7dd817bfc0ee23c408299907aff13fefb0bd3a54ec66dc14ea15b0cc38c3d9ce $ cd ../../ && sleep 2 $ mkdir b && cd b && git init $ git remote add origin https://github.com/bitcoin/bitcoin.git $ git fetch --depth 1 origin2a9e35d293$ git checkout FETCH_HEAD $ cd depends $ gmake print-native_libmultiprocess_sha256_hash # Hash B. Compare with Hash A. native_libmultiprocess_sha256_hash=34d6f79560c0ff7a4f46bd6bfb4693076546b41f071b6dbf879da45ac8384688 ``` ACKs for top commit: fanquake: ACK7e973cce52willcl-ark: ACK7e973cce52Tree-SHA512: f939cd1b2aca04eaa0f8426858bae3657ee9625f915834980caacfbf80843b952451f4d1c29e27179e533de3e10d31688593e4c25ed32e62392bfbaf9e58dd12
16 KiB
16 KiB