Bug#836517: reprotest: fails with output on stderr

Antonio Terceiro terceiro at debian.org
Sat Sep 3 16:38:25 UTC 2016


Package: reprotest
Version: 0.2
Severity: normal

$ find
.
./Makefile
$ cat Makefile
artifact:
	echo BUILDING >&2
	date > $@
$ reprotest make artifact null
VIRTUAL SERVER ['/usr/lib/python3/dist-packages/reprotest/virt/null']
reprotest [13:35:12]: version @version@
reprotest [13:35:12]: host homer; command line: /usr/bin/reprotest make artifact null
reprotest [13:35:12]: testbed dpkg architecture: amd64
reprotest [13:35:12]: testbed running kernel: Linux 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18)
/tmp/autopkgtest.uehUel/control/
/tmp/autopkgtest.uehUel/control/artifact
( cd /tmp/autopkgtest.uehUel/control/ && make )
echo BUILDING >&2
date > artifact
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 333, in check
    env=env.control)
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 299, in build
    testbed.check_exec(['sh', '-ec', str(new_script)], xenv=[str(k) + '=' + str(v) for k, v in env.items()])
  File "/usr/lib/python3/dist-packages/reprotest/lib/adt_testbed.py", line 448, in check_exec
    adtlog.AutopkgtestError)
  File "/usr/lib/python3/dist-packages/reprotest/lib/adt_testbed.py", line 316, in bomb
    raise _type(m)
reprotest.lib.adtlog.AutopkgtestError: "sh -ec ( cd /tmp/autopkgtest.uehUel/control/ && make )" failed with stderr "BUILDING
"

Failing when there is anything on stderr is a well-known idiosyncrasy of
autopkgtest which makes no sense on reprotest. IMO reprotest including a
copy of most of the autopkgtest code is a mistake, but that is a subject
for a different bug report.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reprotest depends on:
ii  apt-utils       1.3~rc4
ii  diffoscope      59
ii  libdpkg-perl    1.18.10
ii  procps          2:3.3.12-2
ii  python3-debian  0.1.29
pn  python3:any     <none>

Versions of packages reprotest recommends:
ii  autodep8     0.8
ii  disorderfs   0.4.3-1
ii  locales-all  2.24-1
ii  qemu-system  1:2.6+dfsg-3
ii  qemu-utils   1:2.6+dfsg-3
ii  schroot      1.6.10-2+b1

reprotest suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160903/3651a739/attachment.sig>


More information about the Reproducible-builds mailing list