Package: autopkgtests
Version: 5.42
Severity: serious
X-Debbugs-Cc: ni...@thykier.net, debian-d...@lists.debian.org


The failure is:
302s 15:11:44 O: 302s 15:11:44 O: ======================================================================
302s 15:11:44 O: FAIL: test_logfile_failure 
(__main__.NullRunner.test_logfile_failure)
302s 15:11:44 O: --log-file option, failure
302s 15:11:44 O: 
----------------------------------------------------------------------
302s 15:11:44 O: Traceback (most recent call last):
302s 15:11:44 O:   File 
"/tmp/autopkgtest.uDzfeE/build.jvR/src/./tests/autopkgtest", line 1432, in 
test_logfile_failure
302s 15:11:44 O:     self.assertIn('dh build', err)
302s 15:11:44 O: AssertionError: 'dh build' not found in 'autopkgtest: DBG: autopkgtest options:



This strongly implies that `autopkgtets` was relying on the previous default of `Rules-Requires-Root` in its test. The test should either be rewritten to no longer assume that `dpkg-buildpackage` will invoke `debian/rules build` OR explicitly set `Rules-Requires-Root: binary-targets` to force the legacy behavior.

Note that the long term goal with the `dpkg` change is to have rootless builds everywhere. However, `Rules-Requires-Root: binary-targets` can be easier to pull off in many cases, so it might be useful for a quick fix.

Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to