bitcoin/depends/packages
merge-script 29d00a1cee
Merge bitcoin/bitcoin#30940: depends: Fix build with MULTIPROCESS=1 in Guix environment
06b4c339e8 depends: Fix reproducibility when building with `MULTIPROCESS=1` (Hennadii Stepanov)
d8e3afc335 depends: Fix build with `MULTIPROCESS=1` in Guix environment (Hennadii Stepanov)

Pull request description:

  In the Guix environment, `${BASEPREFIX}/${HOST}/native/bin` is added to the `PATH` environment variable:33adc7521c/contrib/guix/libexec/build.sh (L233-L234)

  This causes CMake to search for package configurations in the `native` subdirectory first.

  Explicitly specifying the top-priority search prefixes for the `Libmultiprocess` and `LibmultiprocessNative` packages resolves https://github.com/bitcoin/bitcoin/issues/30931.

  Can be tested on this [branch](https://github.com/hebasto/bitcoin/commits/240921-guix-mp.DEMO/) with an additional [commit](d8ec933456):
  ```
  $ uname -m
  x86_64
  $ env MULTIPROCESS=1 HOSTS=x86_64-linux-gnu ./contrib/guix/guix-build
  $ find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
  70d482a09099931345888a918df5ccc78a0c742b1d18bb8a5d442af9b2717867  guix-build-d8ec933456bc/output/dist-archive/bitcoin-d8ec933456bc.tar.gz
  ea9465517c0e1cc559a6a353f404b2bf47447332c918b69410dc51b6c4fbdedc  guix-build-d8ec933456bc/output/x86_64-linux-gnu/SHA256SUMS.part
  f83a296139d0757abc47d053b8fddebc6d2ccc36dabea9b2d52883d23ba923bb  guix-build-d8ec933456bc/output/x86_64-linux-gnu/bitcoin-d8ec933456bc-x86_64-linux-gnu-debug.tar.gz
  81aed48bece8d9bf5327530763c17d73dd66d5a3c666cbaf9381c03d4a660845  guix-build-d8ec933456bc/output/x86_64-linux-gnu/bitcoin-d8ec933456bc-x86_64-linux-gnu.tar.gz
  ```
  ```
  $ uname -m
  aarch64
  $ env MULTIPROCESS=1 HOSTS=x86_64-linux-gnu ./contrib/guix/guix-build
  $ find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
  70d482a09099931345888a918df5ccc78a0c742b1d18bb8a5d442af9b2717867  guix-build-d8ec933456bc/output/dist-archive/bitcoin-d8ec933456bc.tar.gz
  ea9465517c0e1cc559a6a353f404b2bf47447332c918b69410dc51b6c4fbdedc  guix-build-d8ec933456bc/output/x86_64-linux-gnu/SHA256SUMS.part
  f83a296139d0757abc47d053b8fddebc6d2ccc36dabea9b2d52883d23ba923bb  guix-build-d8ec933456bc/output/x86_64-linux-gnu/bitcoin-d8ec933456bc-x86_64-linux-gnu-debug.tar.gz
  81aed48bece8d9bf5327530763c17d73dd66d5a3c666cbaf9381c03d4a660845  guix-build-d8ec933456bc/output/x86_64-linux-gnu/bitcoin-d8ec933456bc-x86_64-linux-gnu.tar.gz
  ```

ACKs for top commit:
  ryanofsky:
    Code review ACK 06b4c339e8
  fanquake:
    ACK 06b4c339e8

Tree-SHA512: b219ff29723bf571784af11b8d41fdc0f3fe7e21a87493909f9fcc695e37f9dbf2f6eb0fda172a1e0060dec4d2aeaa7017b1078c0ea0040cabfbbe3e8a352c6b
2024-09-27 10:45:32 +01:00
..
bdb.mk depends: always configure with --with-pic 2024-03-14 15:41:17 +00:00
boost.mk depends: Update Boost download link 2024-06-03 09:49:34 +01:00
capnp.mk depends: Fix reproducibility when building with MULTIPROCESS=1 2024-09-23 13:24:08 +01:00
expat.mk depends: switch to building expat with CMake 2024-07-23 15:37:01 +01:00
fontconfig.mk depends: switch fontconfig to .tar.gz 2024-04-19 13:01:09 +01:00
freetype.mk depends: Cleanup postprocess commands after switching to CMake 2024-07-25 11:59:18 +01:00
libevent.mk depends: build libevent with -D_GNU_SOURCE 2024-09-03 10:16:52 +01:00
libmultiprocess.mk depends: Fix reproducibility when building with MULTIPROCESS=1 2024-09-23 13:24:08 +01:00
libnatpmp.mk depends: switch libnatpmp to CMake 2024-04-05 15:20:14 +01:00
libXau.mk depends: switch libXau to .tar.gz 2024-04-19 13:01:09 +01:00
libxcb.mk libxcb: use a patch instead of sed 2022-07-29 14:02:23 +01:00
libxcb_util.mk depends: switch libxcb_util to .tar.gz 2024-04-19 13:01:09 +01:00
libxcb_util_image.mk depends: switch libxcb_util_image to .tar.gz 2024-04-19 13:01:10 +01:00
libxcb_util_keysyms.mk depends: switch libxcb_util_keysyms to .tar.gz 2024-04-19 13:01:10 +01:00
libxcb_util_render.mk depends: switch libxcb_util_render to .tar.gz 2024-04-19 13:01:10 +01:00
libxcb_util_wm.mk depends: switch libxcb_util_wm to .tar.gz 2024-04-19 13:01:10 +01:00
libxkbcommon.mk build: suppress array-bounds errors in libxkbcommon 2022-06-23 17:29:31 +01:00
miniupnpc.mk Revert "depends: Fetch miniupnpc sources from an alternative website" 2024-08-07 15:31:45 -04:00
native_capnp.mk depends: Build native_capnp package with CMake 2023-12-04 14:39:59 +00:00
native_libmultiprocess.mk depends: Update libmultiprocess library for cmake headers target 2024-09-23 16:03:04 -04:00
packages.mk depends: remove FORCE_USE_SYSTEM_CLANG 2024-06-10 13:15:23 +01:00
qrencode.mk depends: cleanup after qrencode build 2024-07-25 12:02:48 +01:00
qt.mk cmake: Add cross-compiling support 2024-08-16 21:19:11 +01:00
sqlite.mk depends: remove -g from sqlite debug flags 2024-04-02 17:12:25 +01:00
systemtap.mk Revert "depends: systemtap: remove variadic params that trigger compiler warnings" 2024-01-04 17:11:37 +00:00
xcb_proto.mk depends: xcb-proto 1.15.2 2023-07-18 11:27:24 +01:00
xproto.mk depends: switch xproto to .tar.gz 2024-04-19 13:01:09 +01:00
zeromq.mk depends: Fix CMake-generated libzmq.pc file 2024-08-28 12:00:49 +01:00