Hello Paul. Sorry. I seem to have completely slipped to replying to the email.
On Sun, 2020-03-22 at 08:11 +0100, Paul Gevers wrote: > Hi Ritesh > > On Sun, 3 Mar 2019 12:50:09 +0100 Martin Pitt <mp...@debian.org> > wrote: > > Hello Ritesh, > > > > Ritesh Raj Sarraf [2019-01-15 18:15 +0530]: > > > One of the build time test cases make a call to the pidof > > > command. > > > This command is provided through the sysvinit-utils package. > > > > > > So, either the sysvinit-utils package needs to be added as a > > > dependency > > > or the test case be changed to get rid of the pidof call > > > > sysvinit-utils is Priority: required and Essential: yes, so > > certainly it > > shouldn't be necessary to specify it? Adding it explicitly causes a > > lintian > > error: > > > > E: autopkgtest source: build-depends-on-essential-package- > > without-using-version build-depends: sysvinit-utils > > > > so I don't want to do that. > > Can you please comment? Otherwise I'd like to close this bug. > So. We hit this issue when bootstrapping packages on our Debian derivative distribution, where sysvinit-utils may not be present. [ 278s] test_unicode (__main__.NullRunner) [ 279s] Unicode test output ... ok [ 279s] test_unskippable (__main__.NullRunner) [ 280s] A non-skippable test fails with an exit status that happens ... ok [ 280s] test_versioned_depends (__main__.NullRunner) [ 281s] Depends: with versions ... ok [ 281s] [ 281s] ====================================================================== [ 281s] FAIL: test_timeout_no_output (__main__.NullRunner) [ 281s] handling test timeout for test without any output [ 281s] ---------------------------------------------------------------------- [ 281s] Traceback (most recent call last): [ 281s] File "tests/autopkgtest", line 871, in test_timeout_no_output [ 281s] self.assertEqual(subprocess.getoutput('pidof ' + procname), '') [ 281s] AssertionError: '/bin/sh: 1: pidof: not found' != '' [ 281s] - /bin/sh: 1: pidof: not found [ 281s] + [ 281s] [ 281s] [ 281s] ---------------------------------------------------------------------- [ 281s] Ran 74 tests in 133.631s [ 281s] [ 281s] FAILED (failures=1, skipped=7) [ 281s] make[1]: *** [debian/rules:42: override_dh_auto_test] Error 1 [ 281s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 281s] make: *** [debian/rules:28: build] Error 2 [ 281s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 282s] [ 282s] argon failed "build autopkgtest_5.10co1.dsc" at Tue Mar 24 05:43:22 UTC 2020. [ 282s] But I think it is something for us to check as to how our build chroots ended up avoiding the essential sysvinit-utils pacakge. So yes, I think for this bug report, it can be closed given the package's attributes are set correct. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part