Package: command-not-found Version: 23.04.0-2 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertag: environment
Hi, command-not-found does not list apt in Build-Depends:. Thus, apt does not get listed in the buildinfo file. However, without apt installed, command-not-found FTBFS because it's testsuite executes apt-helper. Please add apt to Build-Depends (and maybe Depends: too) for correctness. Best, Chris
diff -Nru command-not-found-23.04.0/debian/changelog command-not-found-23.04.0/debian/changelog --- command-not-found-23.04.0/debian/changelog 2024-09-07 09:49:25.000000000 +0200 +++ command-not-found-23.04.0/debian/changelog 2025-05-01 13:43:09.000000000 +0200 @@ -1,3 +1,10 @@ +command-not-found (23.04.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Avoid FTBFS in super clean environments without apt installed. + + -- Chris Hofstaedtler <z...@debian.org> Thu, 01 May 2025 13:43:09 +0200 + command-not-found (23.04.0-2) unstable; urgency=medium * Switch smoke test canary from vim to apt-ftparchive (Closes: #1078355) diff -Nru command-not-found-23.04.0/debian/control command-not-found-23.04.0/debian/control --- command-not-found-23.04.0/debian/control 2024-09-07 09:49:25.000000000 +0200 +++ command-not-found-23.04.0/debian/control 2025-05-01 13:40:49.000000000 +0200 @@ -2,7 +2,8 @@ Section: admin Priority: optional Maintainer: Julian Andres Klode <j...@debian.org> -Build-Depends: debhelper-compat (= 11), +Build-Depends: apt <!nocheck>, + debhelper-compat (= 11), devscripts, dh-python, intltool, @@ -16,7 +17,8 @@ Package: command-not-found Architecture: all -Depends: apt-file (>= 3.0~exp1~), +Depends: apt, + apt-file (>= 3.0~exp1~), lsb-release, python3-apt, ${misc:Depends},