Package: dh-python
Severity: serious
X-Debbugs-Cc: ni...@thykier.net,cjwat...@debian.org
Control: affects -1 debhelper
Justification: autopkgtests failing / possible regression

Hi,

Colin reached out to me in #1089715 and suggested that I removed python-distuils build-system on the basis that any use of it would break today given its hard dependency on python2 (`pyversions`). Based on that argument, I considered it safe to remove python-distutils.

However, I noted that the `dh-python` autopkgtests now fails, because it cannot use that build system in "TEST: t301". I am a bit surprised at how that test case would even work with the entire python2 stack removed.

Is this a feature you rely on or an old test that should have been removed but somehow still worked by accident? In the former case, I will re-instate python-distutils (just reassign the bug to `debhelper`).

Best regards,
Niels


 45s ============================================================
 45s ==== TEST: t301
 45s dpkg-buildpackage -b -us -uc \
 45s   --no-check-builddeps \
 45s   --check-command="../test-package-show-info"
 45s dpkg-buildpackage: info: source package foo
 45s dpkg-buildpackage: info: source version 0.1.1
 45s dpkg-buildpackage: info: source distribution unstable
 45s dpkg-buildpackage: info: source changed by Piotr Ożarowski 
<pi...@debian.org>
 45s  dpkg-source --before-build .
 45s dpkg-buildpackage: info: host architecture ppc64el
 45s  debian/rules clean
 45s make[2]: Entering directory 
'/tmp/autopkgtest-lxc.tqlh86rs/downtmp/autopkgtest_tmp/tests/t301'
 45s rm -rf build Foo.egg-info
 45s dh clean
 45s dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
 45s    debian/rules override_dh_auto_clean
 45s make[3]: Entering directory 
'/tmp/autopkgtest-lxc.tqlh86rs/downtmp/autopkgtest_tmp/tests/t301'
 45s #python3 setup.py clean
 45s make[3]: Leaving directory 
'/tmp/autopkgtest-lxc.tqlh86rs/downtmp/autopkgtest_tmp/tests/t301'
 45s    dh_clean
 45s dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 
in use)
 45s  debian/rules binary
 45s make[2]: Leaving directory 
'/tmp/autopkgtest-lxc.tqlh86rs/downtmp/autopkgtest_tmp/tests/t301'
 45s make[2]: Entering directory 
'/tmp/autopkgtest-lxc.tqlh86rs/downtmp/autopkgtest_tmp/tests/t301'
 45s dh binary --buildsystem=python_distutils
 45s dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
 45s    dh_update_autotools_config -O--buildsystem=python_distutils
 45s    dh_auto_configure -O--buildsystem=python_distutils
 45s dh_auto_configure: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
 45s dh_auto_configure: error: unable to load build system class 
'python_distutils': Can't locate 
Debian/Debhelper/Buildsystem/python_distutils.pm in @INC (you may need to 
install the Debian::Debhelper::Buildsystem::python_distutils module) (@INC 
entries checked: /etc/perl /usr/local/lib/powerpc64le-linux-gnu/perl/5.40.0 
/usr/local/share/perl/5.40.0 /usr/lib/powerpc64le-linux-gnu/perl5/5.40 
/usr/share/perl5 /usr/lib/powerpc64le-linux-gnu/perl-base 
/usr/lib/powerpc64le-linux-gnu/perl/5.40 /usr/share/perl/5.40 
/usr/local/lib/site_perl .) at (eval 2) line 1.
 45s BEGIN failed--compilation aborted at (eval 2) line 1.
45s 46s make[2]: Leaving directory '/tmp/autopkgtest-lxc.tqlh86rs/downtmp/autopkgtest_tmp/tests/t301'
 46s make[2]: *** [debian/rules:3: binary] Error 255
 46s dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
 46s make[1]: *** [../common.mk:14: run] Error 2
 46s make[1]: Leaving directory 
'/tmp/autopkgtest-lxc.tqlh86rs/downtmp/autopkgtest_tmp/tests/t301'
 46s make: *** [Makefile:10: test301] Error 2
 46s autopkgtest [15:16:49]: test dh-python: -----------------------]
 46s dh-python            FAIL non-zero exit status 2

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to