[Reproducible-builds] Bug#828834: apcupsd: FTBFS in testing (configure: error: Missing required tool)

Santiago Vila sanvila at debian.org
Tue Jun 28 09:46:45 UTC 2016

Package: src:apcupsd
Version: 3.14.12-1.2
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
Severity: serious

Dear maintainer:

This package currently fails to build in stretch:

checking for shutdown... no
checking for shutdown.bsd... no
configure: error: Missing required tool; need any one of: shutdown shutdown.bsd
debian/rules:22: recipe for target 'config.status' failed
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

A full build log is available here:


This happens because the build relies on systemd (or any other init system)
being present in the build system.

However, a chroot does not usually need an init system to build packages,
and this is why the "init" package, which was essential in the past,
is not essential anymore. See


for details.

My suggestion to fix this is that you just hardcode shutdown
as /sbin/shutdown, which should be correct for every Debian system,
and disable the build-time test for this.


More information about the Reproducible-builds mailing list