bitcoin/depends/packages
fanquake 4241c193d4
Merge bitcoin/bitcoin#24134: build: Fix zeromq package when cross-compiling
f13e642c83 build: Disable valgrind when building zeromq package in depends (Hennadii Stepanov)
b970f03bea build: Disable libbsd when building zeromq package in depends (Hennadii Stepanov)
77899991b1 build: Update netbsd_kevent_void.patch (Hennadii Stepanov)

Pull request description:

  Since v4.3.3 (068385c951) `libzmq` uses `libbsd` by default.

  This PR disables `libbsd` explicitly, as it's not a part of our depends. Zeromq will fallback to its internal `strlcpy` implementation.

  Otherwise, on systems with installed `libbsd-dev` package the `zeromq` package build system erroneously detects `libbsd` package from the host system:

  ```diff
  --- a/libzmq.pc
  +++ b/libzmq.pc
  @@ -8,5 +8,5 @@
   Version: 4.3.4
   Libs: -L${libdir} -lzmq
   Libs.private:  -lpthread
  -Requires.private:
  +Requires.private:  libbsd
   Cflags: -I${includedir}
  ```

  This causes the `configure` fails to detect the `zeromq` package:
  ```
  configure: WARNING: libzmq version 4.x or greater not found, disabling
  ```

  ---

  Other minor improvements:
  - fixed `netbsd_kevent_void.patch` offset
  - disabled valgrind as it's used in unit tests which we do not run:
  ```diff
  --- a/zmq-configure-output
  +++ b/zmq-configure-output
  @@ -119,11 +119,6 @@
   checking whether the g++ -m64 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
   checking dynamic linker characteristics... (cached) GNU/Linux ld.so
   checking how to hardcode library paths into programs... immediate
  -checking for valgrind... valgrind
  -checking for Valgrind tool memcheck... memcheck
  -checking for Valgrind tool helgrind... helgrind
  -checking for Valgrind tool drd... drd
  -checking for Valgrind tool exp-sgcheck... exp-sgcheck
   checking linker version script flag... --version-script
   checking if version scripts can use complex wildcards... yes
   checking for working posix_memalign... yes
  ```

ACKs for top commit:
  fanquake:
    ACK f13e642c83

Tree-SHA512: d4c86d4a841eb6e7c32157e84972243072f905496c2a4c14ec6f6ab4216df6695cbf29baa2233ce27eaede35d1e250ad2f9975b16f570d01509f0c5da4597cad
2022-01-27 10:44:48 +08:00
..
bdb.mk build: fix unoptimized libraries in depends 2021-08-31 11:43:48 +08:00
boost.mk build: build x86_64 Linux Boost with -fcf-protection=full 2022-01-04 22:45:44 +08:00
capnp.mk depends: add MULTIPROCESS depends option 2020-05-12 09:47:06 -04:00
expat.mk build: expat 2.4.1 2021-12-03 14:07:10 +08:00
fontconfig.mk build: Bump Fonconfig version up to 2.12.6 2021-12-03 17:39:17 +02:00
freetype.mk build: freetype 2.11.0 2021-12-03 14:07:10 +08:00
libevent.mk depends: use latest config.guess and config.sub for libevent 2021-07-22 11:10:13 +08:00
libmultiprocess.mk depends: add MULTIPROCESS depends option 2020-05-12 09:47:06 -04:00
libnatpmp.mk build: compile libnatpmp with -DNATPMP_STATICLIB on Windows 2021-03-04 12:34:46 +08:00
libXau.mk build: libXau 1.0.9 2021-12-03 14:07:10 +08:00
libxcb.mk depends: Fix typo 2022-01-04 18:26:12 +02:00
libxcb_util.mk build: Use config_opts instead of passing a compiler flag directly 2021-12-12 18:08:43 +02:00
libxcb_util_image.mk build: add libxcb_util_image 0.4.0 2021-12-03 14:07:11 +08:00
libxcb_util_keysyms.mk build: add libxcb_util_keysyms 0.4.0 2021-12-03 14:07:11 +08:00
libxcb_util_render.mk build: add libxcb_util_render 0.3.9 2021-12-03 14:07:11 +08:00
libxcb_util_wm.mk build: add libxcb_util_wm 0.4.1 2021-12-03 14:07:12 +08:00
libxkbcommon.mk build: Cleanup libxkbcommon_postprocess_cmds 2021-03-12 14:51:10 +02:00
miniupnpc.mk build: miniupnpc 2.2.2 2021-03-23 08:39:16 +08:00
native_b2.mk depends: boost: Split into non-/native packages 2020-11-23 15:50:54 -05:00
native_capnp.mk depends: add MULTIPROCESS depends option 2020-05-12 09:47:06 -04:00
native_cctools.mk depends: use latest config.guess and config.sub for cctools 2021-07-22 11:10:21 +08:00
native_clang.mk build: use aarch64 Clang if cross-compiling for darwin on aarch64 2021-07-13 20:21:58 +08:00
native_ds_store.mk depends: native_ds_store 1.3.0 2020-11-11 08:01:02 +08:00
native_libdmg-hfsplus.mk guix: Build dmg as a static binary 2021-04-05 11:00:39 -04:00
native_libmultiprocess.mk Update libmultiprocess library 2021-04-23 03:02:50 -05:00
native_libtapi.mk build: libtapi 1100.0.11 2021-05-01 13:39:44 +08:00
native_mac_alias.mk build: mac_alias 2.2.0 2021-04-11 16:38:33 -04:00
packages.mk build: specify hosts for qrencode package 2022-01-18 15:30:31 +08:00
qrencode.mk Merge #16110: depends: Add Android NDK support 2019-11-04 13:32:19 +01:00
qt.mk build, qt: No need to set inapplicable QPA backend for Android 2022-01-03 14:45:39 +02:00
sqlite.mk depends: use latest config.guess and config.sub for sqlite 2021-07-22 11:10:29 +08:00
systemtap.mk build: add systemtap's sys/sdt.h as depends 2022-01-04 10:13:24 +01:00
xcb_proto.mk build: xcb_proto 1.14.1 2021-12-03 14:07:10 +08:00
xproto.mk build: xproto 7.0.31 2021-12-03 14:07:09 +08:00
zeromq.mk build: Disable valgrind when building zeromq package in depends 2022-01-25 14:44:33 +02:00