Subject: libczmq-dev depends on libsystemd-dev

From: "Fernando M. Maresca" <[email-masked]>
Date: Fri, 22 Oct 2021 16:19:41 -0300

Package: libczmq-dev
Version: 4.2.1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

the Package: libczmq-dev cannot be installed because of it's dependency
on libsystemd-dev.

If it's possible please make this package not to depend on systemd.

Thank you very much.

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (chimaera)
Release:	4
Codename:	chimaera
Architecture: x86_64

Kernel: Linux 5.10.0-9-amd64 (SMP w/2 CPU threads)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=es_AR:es
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages libczmq-dev depends on:
ii  libczmq4        4.2.1-1
pn  libnss3-dev     <none>
pn  libsystemd-dev  <none>
ii  libzmq3-dev     4.3.4-1
ii  uuid-dev        2.36.1-8+devuan1

libczmq-dev recommends no packages.

libczmq-dev suggests no packages.

---

From: Mark Hindley <[email-masked]>
Date: Sat, 23 Oct 2021 07:57:11 +0100

Fernando,

> the Package: libczmq-dev cannot be installed because of it's dependency

libczmq-dev comes from src:czmq which is not a forked package in Devuan. We use
Debian's packages directly without recompilation. Therefore the libsystemd-dev
dependency is expected.

The only reason to install the package I can see is as a build dependency of
another source package in which case you need to use a build chroot as
documented in libelogind0's README.Debian[1].

Or do you have another reason to install the package outside a chroot?

Thanks.

Mark

[1]  /usr/share/doc/libelogind0/README.Debian

---

From: "Fernando M. Maresca" <[email-masked]>
Date: Sat, 23 Oct 2021 07:31:51 -0300

Hello Mark, thanks for your answer.

> Or do you have another reason to install the package outside a chroot?

0MQ bindings for some languages like Go are not available as binary
packages in Debian/Devuan.

Regards,

-- 
Fernando M. Maresca

---

From: Mark Hindley <[email-masked]>
Date: Sat, 23 Oct 2021 15:34:32 +0100

Fernando,

> packages in Debian/Devuan.

I am not very (at all!) familiar with Go. Can it use the include files
directly?

Mark

---

From: "Fernando M. Maresca" <[email-masked]>
Date: Mon, 25 Oct 2021 09:55:28 -0300

Hi Mark,
> I am not very (at all!) familiar with Go. Can it use the include files

I'm not either... I'm starting to evaluate Go for a project I'm going to
do next year.

My understanding is that the czmq Go module/lib needs libczmq-dev and
libzmq-dev (or perhaps, czmq (high level lib) depends on zmq (low level
lib)) to build itself. As long as the libs are in the path, I think it's
all needed for Go to build it's modules.

I've managed to build the Go/zmq module by getting the libczmq source
package and building with
    ./configure  --with-libsystemd=no
and make install (under /usr/local/) on the source dir, and I did not
a buildpackage. 

I do not know what the policy is in Devuan for a package that's not 
installable because of a systemd/libsystemd depency. I'm ready to admit
that this package is not essential and may be this bug should be
closed.

Thank you

-- 
Fernando M. Maresca

---

From: Hendrik Boom <[email-masked]>
Date: Mon, 25 Oct 2021 12:45:27 -0400

> and make install (under /usr/local/) on the source dir, and I did not

If it can be built without systemd

> that this package is not essential and may be this bug should be

perhaps the right thing to do is to build the package from source without 
systemd.

-- hendrik
> 
> Thank you
> 
> -- 
> Fernando M. Maresca
> _______________________________________________
> devuan-dev internal mailing list
> [email-masked]
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev