This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
commit 068980536d9bf613cc0e0b6d17b49cc3e3b37313 Author: Guillem Jover <guil...@debian.org> Date: Tue Mar 28 22:44:36 2017 +0200 build: Detect the required GNU tar For now we do require a GNU tar implementation, so let's check this explicitly in configure, so that downstream packagers do not get surprised when the code fails at run-time. In the future this should be lifted once we switch fully to an internal tar implementation. --- debian/changelog | 1 + m4/dpkg-progs.m4 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 864441c..c6b663f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,7 @@ dpkg (1.18.24) UNRELEASED; urgency=medium * Build system: - Use libexec variable for auxiliary internal programs, and set it to /usr/lib on Debian and derivatives. + - Check that the detected tar is a GNU tar. [ Updated programs translations ] * Catalan (Guillem Jover). diff --git a/m4/dpkg-progs.m4 b/m4/dpkg-progs.m4 index d9c4b21..96c074e 100644 --- a/m4/dpkg-progs.m4 +++ b/m4/dpkg-progs.m4 @@ -59,5 +59,8 @@ AC_DEFUN([DPKG_PROG_POD2MAN], [ AC_DEFUN([DPKG_DEB_PROG_TAR], [ AC_ARG_VAR([TAR], [GNU tar program]) AC_CHECK_PROGS([TAR], [gnutar gtar tar], [tar]) + AS_IF([! $TAR --version 2>/dev/null | grep -q '^tar (GNU tar)'], [ + AC_MSG_ERROR([cannot find a GNU tar program]) + ]) AC_DEFINE_UNQUOTED([TAR], ["$TAR"], [GNU tar program]) ])# DPKG_DEB_PROG_TAR -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/dpkg/dpkg.git