From 735dc207ceb326ba0697a906190ccc587348f678 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Wed, 28 Oct 2026 22:45:35 +0100 Subject: [PATCH] zmq: add missing CONFLICTS between variants libzmq-nc and libzmq-curve both install /usr/lib/libzmq.so.5.2.5. They share PROVIDES:=libzmq, so apk refuses to install both, but Kconfig lets both be selected and the image build then fails. Declare the conflict on libzmq-nc and mark it as the default variant, as include/package-pack.mk asks for variants that share a provide. czmq and lzmq depend on libzmq and select libzmq-nc when libzmq-curve is not selected, so a conflict on libzmq-curve would be a Kconfig dependency cycle. Checked with defconfig: libzmq-nc drops to m when both variants are selected, and czmq selects libzmq-nc only when libzmq-curve is not. Signed-off-by: Josef Schlehofer --- libs/zmq/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/zmq/Makefile b/libs/zmq/Makefile index 88295df1d8..36393ed64f 100644 --- a/libs/zmq/Makefile +++ b/libs/zmq/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zeromq PKG_VERSION:=4.3.5 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/zeromq/libzmq/releases/download/v$(PKG_VERSION) @@ -46,7 +46,9 @@ endef define Package/libzmq-nc $(call Package/libzmq/default) VARIANT:=nc + DEFAULT_VARIANT:=1 DEPENDS+=+LIBZMQ_NC_WITH_OPENPGM:openpgm + CONFLICTS:=libzmq-curve endef define Package/libzmq-curve