Source: logrotate Version: 3.11.0-0.2 Severity: serious Tags: ftbfs patch User: helm...@debian.org Usertags: rebootstrap
logrotate fails to build from source in unstable on amd64. A build ends as follows: | debian/rules override_dh_auto_build | make[1]: Entering directory '/<<PKGBUILDDIR>>' | /usr/bin/make RPM_OPT_FLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" WITH_SELINUX="yes" WITH_ACL="yes" | make[2]: Entering directory '/<<PKGBUILDDIR>>' | CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /<<PKGBUILDDIR>>/missing aclocal-1.15 | /<<PKGBUILDDIR>>/missing: line 81: aclocal-1.15: command not found | WARNING: 'aclocal-1.15' is missing on your system. | You should only need it if you modified 'acinclude.m4' or | 'configure.ac' or m4 files included by 'configure.ac'. | The 'aclocal' program is part of the GNU Automake package: | <http://www.gnu.org/software/automake> | It also requires GNU Autoconf, GNU m4 and Perl in order to run: | <http://www.gnu.org/software/autoconf> | <http://www.gnu.org/software/m4/> | <http://www.perl.org/> | make[2]: *** [Makefile:407: aclocal.m4] Error 127 | make[2]: Leaving directory '/<<PKGBUILDDIR>>' | make[1]: *** [debian/rules:29: override_dh_auto_build] Error 2 | make[1]: Leaving directory '/<<PKGBUILDDIR>>' | make: *** [debian/rules:25: build] Error 2 | dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 The automake package now builds from automake-1.16 and no longer provides automake-1.15. autoreconfing fixes the problem. Please consider applying the attached patch. Helmut
diff --minimal -Nru logrotate-3.11.0/debian/changelog logrotate-3.11.0/debian/changelog --- logrotate-3.11.0/debian/changelog 2017-01-07 19:54:50.000000000 +0100 +++ logrotate-3.11.0/debian/changelog 2018-08-06 20:54:00.000000000 +0200 @@ -1,3 +1,10 @@ +logrotate (3.11.0-0.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS: autoreconf. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 06 Aug 2018 20:54:00 +0200 + logrotate (3.11.0-0.1) unstable; urgency=low * Non-maintainer upload diff --minimal -Nru logrotate-3.11.0/debian/control logrotate-3.11.0/debian/control --- logrotate-3.11.0/debian/control 2017-01-04 21:46:16.000000000 +0100 +++ logrotate-3.11.0/debian/control 2018-08-06 20:53:56.000000000 +0200 @@ -2,7 +2,7 @@ Section: admin Priority: important Maintainer: Paul Martin <p...@debian.org> -Build-Depends: libpopt-dev, debhelper (>= 9), +Build-Depends: libpopt-dev, debhelper (>= 9), dh-autoreconf, libselinux1-dev [linux-any], libacl1-dev [linux-any], automake Vcs-Svn: http://svn.fedorahosted.org/svn/logrotate/ Homepage: https://github.com/logrotate/logrotate diff --minimal -Nru logrotate-3.11.0/debian/rules logrotate-3.11.0/debian/rules --- logrotate-3.11.0/debian/rules 2016-12-29 20:11:56.000000000 +0100 +++ logrotate-3.11.0/debian/rules 2018-08-06 20:53:48.000000000 +0200 @@ -22,7 +22,7 @@ %: - dh $@ + dh $@ --with=autoreconf override_dh_auto_build: ifeq ($(DEB_HOST_ARCH_OS),linux)