Package: munin
Version: 2.0.47-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Dear maintainers,

In Ubuntu, after merging munin 2.04.7-1, autopkgtests were failing because
they depended on being able to install the sysvinit-core package, which
Ubuntu does not include:

[...]
autopkgtest [20:35:14]: test master-sysvinit-cron: [-----------------------
Installing sysvinit-core...
Reading package lists...
Building dependency tree...
Reading state information...
Package sysvinit-core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  systemd-sysv

autopkgtest [20:35:15]: test master-sysvinit-cron: -----------------------]
master-sysvinit-cron FAIL non-zero exit status 100
[...]

  
(https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/amd64/m/munin/20190412_204534_b9ff8@/log.gz)

It seems to me this could be sidestepped by having the test declare a
dependency on sysvinit-core instead of installing it as part of the test,
and also using Restrictions: skip-not-installable.  This at least makes the
tests pass in Ubuntu, but you may or may not want the autopkgtests to be
skipped if the test deps become transiently uninstallable in Debian.

Regards,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru munin-2.0.47/debian/tests/control munin-2.0.47/debian/tests/control
--- munin-2.0.47/debian/tests/control   2019-04-12 21:30:45.000000000 -0700
+++ munin-2.0.47/debian/tests/control   2019-04-12 21:42:55.000000000 -0700
@@ -21,8 +21,8 @@
 
 # sysvinit-core
 Tests: master-sysvinit-cron, master-sysvinit-cgi
-Depends: munin, munin-node, daemontools, apache2, curl, file, 
libcgi-fast-perl, sharness
-Restrictions: needs-root, breaks-testbed, isolation-machine, needs-reboot
+Depends: munin, munin-node, daemontools, apache2, curl, file, 
libcgi-fast-perl, sharness, sysvinit-core
+Restrictions: needs-root, breaks-testbed, isolation-machine, needs-reboot, 
skip-not-installable
 
 
 # Tests for munin-node:
@@ -40,8 +40,8 @@
 
 # sysvinit-core
 Tests: node-sysvinit
-Depends: munin-node, netcat-openbsd, net-tools, sharness
-Restrictions: needs-root, breaks-testbed, isolation-machine, needs-reboot
+Depends: munin-node, netcat-openbsd, net-tools, sharness, sysvinit-core
+Restrictions: needs-root, breaks-testbed, isolation-machine, needs-reboot, 
skip-not-installable
 
 
 # verify that all binary packages can be installed at the same time (without 
conflicts)

Reply via email to