<div dir="auto">On Wed, 4 May 2022 13:44:15 -0600 Dan Bungert <<a href="mailto:daniel.bungert@canonical.com">daniel.bungert@canonical.com</a>> wrote:<br>> Package: osmo-mgw<br>> Version: 1.9.0+dfsg1-3<br>> Severity: normal<br>> User: <a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a><br>> Usertags: origin-ubuntu kinetic<br>> <br>> Dear Maintainer,<br>> <br>> If systemd is present in the build environment, the following output will be<br>> observed during build:<br>> <br>> dh_missing: warning: lib/systemd/system/osmo-mgw.service exists in debian/tmp<br>> but is not installed to anywhere<br>> dh_missing: error: missing files, aborting<br>> <br>> This appears to be due to an unexpected upstream systemd service file, that is<br>> then not covered by the existing debhelper commands.<br>> <br>> There are several options to avoid this, including<br>> * add the entry to not-installed<br>> * configure with argument --with-systemdsystemunitdir=no, which cause the<br>>   install step to not provide the upstream systemd service file<br>> * adjust the package to use the upstream systemd service file<br>> <br>> I propose using the --with-systemdsystemunitdir=no configuration.  See below.<br>> <br>> -Dan<br>> <br>> diff -Nru osmo-mgw-1.9.0+dfsg1/debian/rules osmo-mgw-1.9.0+dfsg1/debian/rules<br>> --- osmo-mgw-1.9.0+dfsg1/debian/rules   2022-03-16 14:59:47.000000000 -0600<br>> +++ osmo-mgw-1.9.0+dfsg1/debian/rules   2022-05-04 13:34:46.000000000 -0600<br>> @@ -15,6 +15,10 @@<br>>  %:<br>>         dh $@ --with autoreconf<br>> <br>> +override_dh_auto_configure:<br>> +       # Use the packaging-provided systemd unit file<br>> +       dh_auto_configure -- --with-systemdsystemunitdir=no<br>> +<br>>  override_dh_auto_test:<br>>         dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)<br>> <br>> <br> </div>