Package: dh-python Version: 6.20231223 Severity: normal I have a package where I used a before-pybuild-autopkgtest in the debian/rules file, but when I run autopkgtest, it fails with the error message (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059334):
dh before-pybuild-autopkgtest --buildsystem=pybuild dh: error: Unknown sequence before-pybuild-autopkgtest (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep) make: *** [debian/rules:13: before-pybuild-autopkgtest] Error 25 pybuild-autopkgtest: error: /tmp/pJ8OcCInAE/run before-pybuild-autopkgtest returned exit code 2 That's clearly wrong! It appears that that "%:" recipe overrides every other recipe in debian/rules, and is called when "debian/rules before-pybuild-autopkgtest" is called. I don't know if there's any way to override this behaviour. Best wishes, Julian