Package: libdpkg-perl Version: 1.18.24 Severity: normal /usr/share/perl5/Dpkg/Source/Package/V3/Git.pm regularly calls out to git using "system('git',...." yet libdpkg-perl does not Require or even Recommend that Git is installed.
This makes using dpkg-source with the 3.0 (git) format fail, for example in a automatically build chroot created to build a source package in this format, as git is missing to extract the package. It can be worked around by explcitly installing git in the build chroot. I'd guess the that libdpkg-perl should either Require or Recommend that git is installed. [ 5s] now finalizing build dir... [ 7s] dpkg-source: warning: extracting unsigned source package (/usr/src/packages/test-package_1.0.0.dsc) [ 7s] dpkg-source: info: extracting test-package in /usr/src/packages/BUILD [ 7s] dpkg-source: info: cloning test-package_1.0.0.git [ 7s] Can't exec "git": No such file or directory at /usr/share/perl5/Dpkg/Source/Package/V3/Git.pm line 246. [ 7s] dpkg-source: error: git bundle failed with unknown exit code -1 -- System Information: Debian Release: 9.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libdpkg-perl depends on: ii dpkg 1.18.24 ii perl 5.24.1-3+deb9u2 Versions of packages libdpkg-perl recommends: ii bzip2 1.0.6-8.1 ii libfile-fcntllock-perl 0.22-3+b2 ii liblocale-gettext-perl 1.07-3+b1 ii xz-utils 5.2.2-1.2+b1 Versions of packages libdpkg-perl suggests: ii binutils 2.28-5 ii clang-3.8 [c-compiler] 1:3.8.1-24 ii debian-keyring 2017.05.28 ii gcc [c-compiler] 4:6.3.0-4 ii gcc-6 [c-compiler] 6.3.0-18 ii gnupg 2.1.18-6 ii gnupg2 2.1.18-6 ii gpgv 2.1.18-6 ii patch 2.7.5-1+b2 -- no debconf information