FTBFS if systemd is in build environment

Bug #1971620 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
osmo-mgw (Debian)
Fix Released
Unknown
osmo-mgw (Ubuntu)
Fix Released
Undecided
Graham Inggs

Bug Description

If systemd is present in the build environment, the following output will be observed during build:

dh_missing: warning: lib/systemd/system/osmo-mgw.service exists in debian/tmp but is not installed to anywhere
dh_missing: error: missing files, aborting

This appears to be due to an unexpected upstream systemd service file, that is then not covered by the existing debhelper commands.

There are several options to avoid this, including
* add the entry to not-installed
* configure with argument --with-systemdsystemunitdir=no, which cause the install step to not provide the upstream systemd service file
* adjust the package to use the upstream systemd service file

Tags: ftbfs patch
Revision history for this message
Dan Bungert (dbungert) wrote :

Patch that disables the systemd check, which otherwise causes an excess file to be present in debian/tmp.

Changed in osmo-mgw (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "osmo-mgw-1_1.9.0+dfsg1-3_1.9.0+dfsg1-3ubuntu1.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Changed in osmo-mgw (Debian):
status: Unknown → New
Graham Inggs (ginggs)
Changed in osmo-mgw (Ubuntu):
assignee: nobody → Graham Inggs (ginggs)
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package osmo-mgw - 1.9.0+dfsg1-3ubuntu1

---------------
osmo-mgw (1.9.0+dfsg1-3ubuntu1) kinetic; urgency=medium

  * Fix build error due to dh_missing if systemd happens to be in the build
    environment (LP: #1971620)

 -- Dan Bungert <email address hidden> Wed, 04 May 2022 13:34:49 -0600

Changed in osmo-mgw (Ubuntu):
status: Fix Committed → Fix Released
Changed in osmo-mgw (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.