Subject: libczmq4: czmq doesn't compile when using libelogind-dev instead of libsystemd-dev

From: florine forine <[email-masked]>
Date: Wed, 7 Apr 2021 20:14:40 +0000

Package: libczmq4
Version: 4.2.1-1
Severity: wishlist

Dear Maintainer,

   I tried to compile czmq (using `apt source czmq`) using
   libelogind-dev but it is not recognized by the configure script of the czmq
   package and depends on libsystemd-dev.

   If possible please make czmq compatible with elogind and libelogind-dev.

   Here are the file of libelogind-dev
   (dpkg-query --listfiles libelogind-dev):
   /.
   /usr
   /usr/include
   /usr/include/elogind
   /usr/include/elogind/systemd
   /usr/include/elogind/systemd/_sd-common.h
   /usr/include/elogind/systemd/sd-bus-protocol.h
   /usr/include/elogind/systemd/sd-bus-vtable.h
   /usr/include/elogind/systemd/sd-bus.h
   /usr/include/elogind/systemd/sd-daemon.h
   /usr/include/elogind/systemd/sd-device.h
   /usr/include/elogind/systemd/sd-event.h
   /usr/include/elogind/systemd/sd-hwdb.h
   /usr/include/elogind/systemd/sd-id128.h
   /usr/include/elogind/systemd/sd-journal.h
   /usr/include/elogind/systemd/sd-login.h
   /usr/include/elogind/systemd/sd-messages.h
   /usr/include/elogind/systemd/sd-path.h
   /usr/lib
   /usr/lib/x86_64-linux-gnu
   /usr/lib/x86_64-linux-gnu/pkgconfig
   /usr/lib/x86_64-linux-gnu/pkgconfig/libelogind.pc
   /usr/share
   /usr/share/doc
   /usr/share/doc/libelogind-dev
   /usr/share/doc/libelogind-dev/changelog.Debian.gz
   /usr/share/doc/libelogind-dev/copyright
   /usr/include/elogind/_sd-common.h
   /usr/include/elogind/sd-bus-protocol.h
   /usr/include/elogind/sd-bus-vtable.h
   /usr/include/elogind/sd-bus.h
   /usr/include/elogind/sd-daemon.h
   /usr/include/elogind/sd-device.h
   /usr/include/elogind/sd-event.h
   /usr/include/elogind/sd-hwdb.h
   /usr/include/elogind/sd-id128.h
   /usr/include/elogind/sd-journal.h
   /usr/include/elogind/sd-login.h
   /usr/include/elogind/sd-messages.h
   /usr/include/elogind/sd-path.h
   /usr/lib/x86_64-linux-gnu/libelogind.so

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera/ceres)
Release:	testing/unstable
Codename:	n/a
Architecture: x86_64

Init: sysvinit (via /sbin/init)

Versions of packages libczmq4 depends on:
ii  libc6                      2.31-11
ii  libelogind0 [libsystemd0]  246.10-2
ii  libuuid1                   2.36.1-7+devuan1
ii  libzmq5                    4.3.4-1

libczmq4 recommends no packages.

libczmq4 suggests no packages.

-- no debconf information

---

From: Mark Hindley <[email-masked]>
Date: Wed, 14 Apr 2021 12:08:58 +0100

Control: reassign -1 libelogind0
Control: forcemerge 435 -1

Florine,

>    package and depends on libsystemd-dev.

This is not the correct approach.

The libelogind0 libsystemd0 ABI compatibility is runtime only. Packages are
still compiled against libsystemd-dev. You may need to use a builder chroot if
you have libelogind0 installed on the host system.

This is all documented in libelogind0's README.Debian.

Merging with the original bug (#435).

Thanks

Mark