Deutsch English Français Italiano |
<bc17d06c-c923-4ffe-8d51-e56ec1b5e95fn@googlegroups.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Dan Bungert <daniel.bungert@canonical.com> Newsgroups: linux.debian.bugs.dist Subject: Bug#1010578: osmo-mgw: FTBFS if systemd is in build environment Date: Wed, 04 May 2022 21:50:01 +0200 Message-ID: <Ejtax-dej5-1@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed May 4 19:48:10 2022 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -3.762 Reply-To: Dan Bungert <daniel.bungert@canonical.com>, 1010578@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org> X-Debian-Pr-Message: report 1010578 X-Debian-Pr-Package: osmo-mgw X-Debian-Pr-Source: osmo-mgw X-Gm-Message-State: AOAM530tA4lTEDnx/FA/MHP3P7bVrBcuIp7Hp8Ksl0snGkw+4d7Ei5UT SJAvaw5Q682nDPi3vUCxwA0jlRKsnIe+Ly4XZjz+NVg/mi0BnYadQo14ZNT4FSbnZpara4o4q3E uxBy+CJmBAPQkOrQMEAeXMxjVOVeM0GmNNA== X-Received: by 2002:a05:6638:58f:b0:32b:6055:b7d9 with SMTP id a15-20020a056638058f00b0032b6055b7d9mr7565606jar.64.1651693457825; Wed, 04 May 2022 12:44:17 -0700 (PDT) X-Google-SMTP-Source: ABdhPJxYy3HfUPSIVMUNOkE+fG1XNrng8i5oVqf/VSGSrQBVGSZT7hkUi8B1sObvRYI7L5PNXoCoAw== X-Received: by 2002:a05:6638:58f:b0:32b:6055:b7d9 with SMTP id a15-20020a056638058f00b0032b6055b7d9mr7565590jar.64.1651693457517; Wed, 04 May 2022 12:44:17 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Reportbug-Version: 7.6.0ubuntu1 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1715960 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 41 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 4 May 2022 13:44:15 -0600 X-Original-Message-ID: <20220504194415.GA1945285@dbungert-desktop> Bytes: 3688 Package: osmo-mgw Version: 1.9.0+dfsg1-3 Severity: normal User: ubuntu-devel@lists.ubuntu.com Usertags: origin-ubuntu kinetic Dear Maintainer, 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 I propose using the --with-systemdsystemunitdir=no configuration. See below. -Dan diff -Nru osmo-mgw-1.9.0+dfsg1/debian/rules osmo-mgw-1.9.0+dfsg1/debian/rules --- osmo-mgw-1.9.0+dfsg1/debian/rules 2022-03-16 14:59:47.000000000 -0600 +++ osmo-mgw-1.9.0+dfsg1/debian/rules 2022-05-04 13:34:46.000000000 -0600 @@ -15,6 +15,10 @@ %: dh $@ --with autoreconf +override_dh_auto_configure: + # Use the packaging-provided systemd unit file + dh_auto_configure -- --with-systemdsystemunitdir=no + override_dh_auto_test: dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)