From a41da1f37171ddec6aaaeae62940da4cb8eed803 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Fri, 23 Aug 2024 15:01:30 +0200 Subject: [PATCH] systemd: debcargo: add libsystemd-dev to dependencies `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 , rustc:native , libstd-rust-dev , - librust-libc-0.2+default-dev (>= 0.2.107-~~) + librust-libc-0.2+default-dev (>= 0.2.107-~~) , + libsystemd-dev Maintainer: Proxmox Support Team 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 Signed-off-by: Maximiliano Sandoval --- 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 " [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.5