Source: patch Version: 2.7.6-2 Severity: serious Tags: ftbfs patch patch fails to build from source on amd64 in unstable. A build log ends as follows:
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' | Making all in tests | make[3]: Entering directory '/<<PKGBUILDDIR>>/tests' | cd .. && /bin/bash /<<PKGBUILDDIR>>/build-aux/missing automake-1.15 --gnu tests/Makefile | /<<PKGBUILDDIR>>/build-aux/missing: line 81: automake-1.15: command not found | WARNING: 'automake-1.15' is missing on your system. | You should only need it if you modified 'Makefile.am' or | 'configure.ac' or m4 files included by 'configure.ac'. | The 'automake' 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[3]: *** [Makefile:1361: Makefile.in] Error 127 | make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests' | make[2]: *** [Makefile:1325: all-recursive] Error 1 | make[2]: Leaving directory '/<<PKGBUILDDIR>>' | make[1]: *** [Makefile:1225: all] Error 2 | make[1]: Leaving directory '/<<PKGBUILDDIR>>' | make: *** [debian/rules:38: build-stamp] Error 2 | dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 It seems that patch requires automake-1.15, but does not list it in Build-Depends. Actually automake-1.15 is replaced by automake-1.16 now, so there is no way to use that version in Debian anymore. Autoreconfing fixes the issue though. Helmut
diff --minimal -Nru patch-2.7.6/debian/changelog patch-2.7.6/debian/changelog --- patch-2.7.6/debian/changelog 2018-04-06 17:20:36.000000000 +0200 +++ patch-2.7.6/debian/changelog 2018-08-05 11:53:06.000000000 +0200 @@ -1,3 +1,10 @@ +patch (2.7.6-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS: dh_autoreconf (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 05 Aug 2018 11:53:06 +0200 + patch (2.7.6-2) unstable; urgency=high * Backport patches from upstream Git tree: diff --minimal -Nru patch-2.7.6/debian/control patch-2.7.6/debian/control --- patch-2.7.6/debian/control 2018-04-06 17:20:36.000000000 +0200 +++ patch-2.7.6/debian/control 2018-08-05 11:53:06.000000000 +0200 @@ -2,7 +2,7 @@ Section: vcs Priority: standard Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org> -Build-Depends: debhelper (>= 11), ed +Build-Depends: debhelper (>= 11), ed, dh-autoreconf Standards-Version: 4.1.3 Homepage: http://savannah.gnu.org/projects/patch/ #Vcs-Git: git://git.debian.org/collab-maint/patch.git diff --minimal -Nru patch-2.7.6/debian/rules patch-2.7.6/debian/rules --- patch-2.7.6/debian/rules 2014-08-10 20:07:30.000000000 +0200 +++ patch-2.7.6/debian/rules 2018-08-05 11:53:05.000000000 +0200 @@ -26,6 +26,7 @@ configure: configure-stamp configure-stamp: dh_testdir + dh_autoreconf CFLAGS="$(CFLAGS)" ac_cv_sys_long_file_names=yes ac_cv_path_ED=ed \ ./configure $(CONFFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man touch configure-stamp @@ -45,6 +46,7 @@ dh_testdir [ ! -f Makefile ] || $(MAKE) distclean dh_clean build-stamp configure-stamp .version + dh_autoreconf_clean install: build dh_testdir