Package: lvm2 Version: 2.03.11-2.1 Severity: normal Tags: ftbfs X-Debbugs-Cc: rossboy...@stanfordalumni.org
** Summary ** The source package does not declare a build dependency on dpkg-source- gitarchive and so fails to build in stable. Probably it should declare such a dependency, because it builds once that package is installed. **Steps to Reproduce** 1. On a Debian 11 system. 2. git clone https://salsa.debian.org/lvm-team/lvm2.git As of Fri 17 Jun 2022 04:04:13 PM PDT 3. cd lvm2 4. mk-build-deps 5. install the resulting deb (as root) 6. DEB_BUILD_OPTIONS="nostrip noopt" dpkg-buildpackage -b -us -uc (logs below --fails) **Fix** apt-file search Gitarchive.pm showed it was in dpkg-source-gitarchive. apt install dpkg-source-gitarchive Repeat the build command of step 6; this time it works **Comments** Don't believe the version info collected by reportbug; those are the binary packages on my system, but the build was against the head of master. I am building code that may be targeting unstable in a stable environment. It might be that unstable would handle the archive format without additional help. **Logs** For step 6 above: dpkg-buildpackage: info: source package lvm2 dpkg-buildpackage: info: source version 2.03.11-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bastian Blank <wa...@debian.org> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . dpkg-source: error: source package format '3.0 (gitarchive)' is not supported: Can't locate Dpkg/Source/Package/V3/Gitarchive.pm in @INC (you may need to install the Dpkg::Source::Package::V3::Gitarchive module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux- gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at (eval 15) line 3. dpkg-buildpackage: error: dpkg-source --before-build . subprocess returned exit status 255 **Thanks** For maintaining the package! -- System Information: Debian Release: 11.3 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-15-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lvm2 depends on: ii dmeventd 2:1.02.175-2.1 ii dmsetup 2:1.02.175-2.1 ii init-system-helpers 1.60 ii libaio1 0.3.112-9 ii libblkid1 2.36.1-8+deb11u1 ii libc6 2.31-13+deb11u3 ii libdevmapper-event1.02.1 2:1.02.175-2.1 ii libedit2 3.1-20191231-2+b1 ii libselinux1 3.1-3 ii libsystemd0 247.3-7 ii libudev1 247.3-7 ii lsb-base 11.1.0 Versions of packages lvm2 recommends: ii thin-provisioning-tools 0.9.0-1 lvm2 suggests no packages.