[pbs-devel] [PATCH proxmox v2] systemd: debcargo: add libsystemd-dev to dependencies

Maximiliano Sandoval m.sandoval at proxmox.com
Fri Aug 23 15:01:30 CEST 2024


`Build-Depends` and `Depends` in d/control are missing `libsystemd-dev`,
resulting in mk-build-deps not being able to install all dependencies
needed by `make deb`.

After running `make deb` the control file looks:

```diff
modified   proxmox-systemd/debian/control
@@ -6,7 +6,8 @@ Build-Depends: debhelper (>= 12),
  cargo:native <!nocheck>,
  rustc:native <!nocheck>,
  libstd-rust-dev <!nocheck>,
- librust-libc-0.2+default-dev (>= 0.2.107-~~) <!nocheck>
+ librust-libc-0.2+default-dev (>= 0.2.107-~~) <!nocheck>,
+ libsystemd-dev <!nocheck>
 Maintainer: Proxmox Support Team <support at proxmox.com>
 Standards-Version: 4.6.2
 Vcs-Git: git://git.proxmox.com/git/proxmox.git
@@ -19,7 +20,8 @@ Architecture: any
 Multi-Arch: same
 Depends:
  ${misc:Depends},
- librust-libc-0.2+default-dev (>= 0.2.107-~~)
+ librust-libc-0.2+default-dev (>= 0.2.107-~~),
+ libsystemd-dev
 Provides:
  librust-proxmox-systemd+default-dev (= ${binary:Version}),
  librust-proxmox-systemd-0-dev (= ${binary:Version}),
```

Suggested-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---

Diferences from v1:
 - Remove d/control bits

 proxmox-systemd/debian/debcargo.toml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/proxmox-systemd/debian/debcargo.toml b/proxmox-systemd/debian/debcargo.toml
index b7864cdb..e2bbc37b 100644
--- a/proxmox-systemd/debian/debcargo.toml
+++ b/proxmox-systemd/debian/debcargo.toml
@@ -5,3 +5,6 @@ maintainer = "Proxmox Support Team <support at proxmox.com>"
 [source]
 vcs_git = "git://git.proxmox.com/git/proxmox.git"
 vcs_browser = "https://git.proxmox.com/?p=proxmox.git"
+
+[packages.lib]
+depends = [ "libsystemd-dev" ]
-- 
2.39.2





More information about the pbs-devel mailing list