[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1052380: opensm FTBFS when systemdsystemunitdir changes in systemd.pc



Control: tags -1 + pending

Hi!


On Thu, 21 Sep 2023 09:52:51 +0200 Helmut Grohne <helmut@subdivi.de> wrote:
Source: opensm
Version: 3.3.23-2
Severity: normal
Tags: ftbfs patch
User: helmutg@debian.org
Usertags: dep17m2

We want to change the value of systemdsystemunitdir in systemd.pc. The
opensm upstream build system uses this, but the Debian packaging hard
codes its current value. Consequently, opensm will FTBFS when the value
is changed. Consider applying the attached patch to avoid that from
happening.

I've uploaded the attached debdiff to DELAYED/10.
Please let me know if I should delay further.

Please also apply this debdiff to your next maintainer upload.

Regards,
Michael

diff -Nru opensm-3.3.23/debian/changelog opensm-3.3.23/debian/changelog
--- opensm-3.3.23/debian/changelog	2020-07-31 14:22:59.000000000 +0200
+++ opensm-3.3.23/debian/changelog	2024-09-17 12:53:21.000000000 +0200
@@ -1,3 +1,13 @@
+opensm (3.3.23-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Replace deprecated pkg-config Build-Depends with pkgconf.
+  * Add Build-Depends on systemd-dev to get the correct path for
+    systemdsystemunitdir.
+  * Install systemd units into /usr. (Closes: #1052380)
+
+ -- Michael Biebl <biebl@debian.org>  Tue, 17 Sep 2024 12:53:21 +0200
+
 opensm (3.3.23-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru opensm-3.3.23/debian/control opensm-3.3.23/debian/control
--- opensm-3.3.23/debian/control	2020-07-31 14:17:52.000000000 +0200
+++ opensm-3.3.23/debian/control	2024-09-17 12:53:20.000000000 +0200
@@ -9,7 +9,8 @@
                flex,
                libibumad-dev (>= 1.3.7),
                libwrap0-dev,
-               pkg-config
+               systemd-dev,
+               pkgconf
 Standards-Version: 4.5.0
 Rules-Requires-Root: no
 Vcs-Git: https://salsa.debian.org/hpc-team/opensm.git
diff -Nru opensm-3.3.23/debian/opensm.install opensm-3.3.23/debian/opensm.install
--- opensm-3.3.23/debian/opensm.install	2020-07-31 14:17:52.000000000 +0200
+++ opensm-3.3.23/debian/opensm.install	2024-09-17 12:52:39.000000000 +0200
@@ -1,3 +1,3 @@
-lib/systemd
+usr/lib/systemd
 usr/sbin
 usr/share/man

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: