Your message dated Thu, 21 May 2020 15:48:34 +0000
with message-id <e1jbnqw-000hcc...@fasolo.debian.org>
and subject line Bug#959176: fixed in gammu 1.41.0-1.1
has caused the Debian Bug report #959176,
regarding gammu-smsd: cannot start (wrong path in systemd service file)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
959176: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959176
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gammu-smsd
Version: 1.41.0-1
Severity: grave
Tags: patch

Dear maintainer,

The current version (1.41.0-1) of gammu-smsd cannot start the service
because the systemd service file installed in the package uses cmake
substitutions, so instead of "/usr/bin", the service file has
"${CMAKE_INSTALL_FULL_BINDIR}".

This variable is supposed to be substituted during package build, but
currently it's not, because the configure script does not find systemd
and thus, does not install the modified file; also, dh-install is
instructed to take the unmodified file from sources.

The correct way to fix this is to make systemd detectable by the
configure script, and use the modified file installed by the build
system instead of the unmodified file from sources.

Here is a patch that does this: it adds systemd to the build
dependencies so that the configure script can detect it, and instructs
dh-install to use the file installed by the build system instead of the
one from sources.

Regards,

-- 
Raphaël Halimi
From 7073610f61db4309df5102536320a52a72f2c948 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Halimi?= <raphael.hal...@gmail.com>
Date: Thu, 30 Apr 2020 11:20:21 +0200
Subject: [PATCH] Fix systemd service file

---
 debian/control            | 3 ++-
 debian/gammu-smsd.install | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 24a16f8..ac2fab8 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,8 @@ Build-Depends: debhelper (>= 9.20160709),
                libdbi-dev,
                libbluetooth-dev [linux-any],
                libgudev-1.0-dev [linux-any],
-               libglib2.0-dev
+               libglib2.0-dev,
+               systemd
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/debian/gammu
 Vcs-Git: https://salsa.debian.org/debian/gammu.git
diff --git a/debian/gammu-smsd.install b/debian/gammu-smsd.install
index 4abdaeb..1dd92a7 100644
--- a/debian/gammu-smsd.install
+++ b/debian/gammu-smsd.install
@@ -5,4 +5,4 @@ usr/share/man/man1/gammu-smsd*
 usr/share/man/man7/gammu-smsd*
 usr/share/man/man5/gammu-smsd*
 debian/gammu-smsdrc /etc/
-contrib/init/gammu-smsd.service lib/systemd/system/
+lib/systemd/system/gammu-smsd.service
-- 
2.26.2

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: gammu
Source-Version: 1.41.0-1.1
Done: Balint Reczey <rbal...@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
gammu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 959...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Balint Reczey <rbal...@ubuntu.com> (supplier of updated gammu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 21 May 2020 16:57:57 +0200
Source: gammu
Architecture: source
Version: 1.41.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: Michal Čihař <ni...@debian.org>
Changed-By: Balint Reczey <rbal...@ubuntu.com>
Closes: 959176
Launchpad-Bugs-Fixed: 1874554
Changes:
 gammu (1.41.0-1.1) unstable; urgency=medium
 .
   [ Balint Reczey ]
   * Non-maintainer upload
   * Add Salsa CI configuration
 .
   [ Rolf Leggewie ]
   * Fix systemd service file (Closes: #959176) (LP: #1874554)
   * Build-depend on systemd to let CMake install the gammu-smsd service
Checksums-Sha1:
 32ecb56ce51ca6749d1745e6a8336ffbcc7b0447 2449 gammu_1.41.0-1.1.dsc
 46b25cbf6eda93962289f2b799e2604b6a679035 12716 gammu_1.41.0-1.1.debian.tar.xz
 6b36b1e456541c3d630172fbfde40a1bdf0450c2 12203 
gammu_1.41.0-1.1_source.buildinfo
Checksums-Sha256:
 2b550a969f4351a36d35cb9dee191ba1fc2d659c6c9ea6cad6687967962d864e 2449 
gammu_1.41.0-1.1.dsc
 7f8256888ec7f0dae50b6e18c63487a43f30daf417e8264ee18ac15186da2cfa 12716 
gammu_1.41.0-1.1.debian.tar.xz
 c70ceea84e181c994aeb8a6ba9b984e8dd803fd5d1f36b9aa91b16eb610630b3 12203 
gammu_1.41.0-1.1_source.buildinfo
Files:
 330512fe6a8458d39358f910686693fb 2449 comm optional gammu_1.41.0-1.1.dsc
 3afe83e8228c7385f2072e123dbe94f5 12716 comm optional 
gammu_1.41.0-1.1.debian.tar.xz
 45510a683548e20ae3068c07328e112d 12203 comm optional 
gammu_1.41.0-1.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEI/PvTgXX55rLQUfDg6KBkWslS0UFAl7GnRsACgkQg6KBkWsl
S0Vw6A//bOb8AGX/2GxmrjnG+g/Lvvtl+lVJ1uM8gNEDDd7GyFMGqRnbYPAOAR7z
n6Jn5Ro19bxHUZY58yHfgoKfvH2C9qy91nipBEw3ZcdkdOLkENVivUbkr4YykSMb
n1+l/n5JcY4TdFRJp5t0eVwl/pL3wx6YCYV3AQBI/Z2BScFG290ObZkp1qQng0Qa
ru3eT0vu7G5OPv67ZRmIpdvFX79X9xKKa6kKqASUMJqhSzUerz45M7AKmQzbiBb8
VzRUa5kB9gWGvEI7LkIiiPmHfoHkzlBRRMcjBRrQvDR6d2aSJU/w+U5G68VZMKjE
GZccKQynLEXim/isry2VfGWeVjro4jC35Qpbvl6lchpxS1A1eMXtmdrOD0xM3rDx
rNTeDfi29rlyJLJPl060ht4IObQCVHIXW9qMvKdZ5H08YjZjoyAnQSxqy/UxrS2W
P/XFp5xkkLLVOs3FYYSg5M/2n8IqDVyq3ryHIjj4J1YhAsgux/YzbLX0C3wxmuCi
NZRUva0ecl+4QhpqnnizLH/T06MnOp7Tid8yy1wlocPozyqBYx/Kz+/W666N31CX
zbSDW6cYvIRH39stclb+45CIo6kmdtpUL1VFWCQiKPDMp3THgPAkbibQBnUNBbIe
s4Ee/ecCfR2N1IIT4YubGvK/368plk1voiQLZY5f6YT6bu0c8uM=
=ZQ95
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to