Bug#726714: adt-run fails when fakeroot not installed in testbed and build is needed
Jean-Baptiste Lallement
jeanbaptiste.lallement at gmail.com
Fri Oct 18 09:56:40 UTC 2013
Package: autopkgtest
Version: 2.3.7
Severity: normal
Tags: patch
Build phase fails if fakeroot is not installed in the testbed.
TEST CASE:
1. Create an lxc-container with the command
$ sudo lxc-create -n saucy-amd64 -t ubuntu-cloud -- -r saucy -a amd64
2. Download a dsc for a package and run a test with:
$ adt-run -d ../autopkgtest_2.3.7.dsc --- adt-virt-lxc --ephemeral
saucy-amd64
ACTUAL RESULT:
If fails with
+ TMPDIR=/tmp/adt-downtmp/dsc0-build/tmpdir
+ rm -rf -- /tmp/adt-downtmp/dsc0-build/tmpdir
+ export TMPDIR
+ su ubuntu -c mkdir -m 1777 -- "$TMPDIR"
+ cd /tmp/adt-downtmp/dsc0-build/autopkgtest-2.3.7/.
+ su ubuntu -c fakeroot debian/rules binary
bash: fakeroot: command not found
blame: arg:../autopkgtest_2.3.7.dsc dsc:autopkgtest
badpkg: rules binary failed with exit code 127
adt-run: erroneous package: rules binary failed with exit code 127
Ubuntu Bug:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1241456
Proposition of patch attached.
Cheers,
Jean-Baptiste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autopkgtest_2.3.7_LP1241456.diff
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20131018/c6c0e18c/attachment.bin>
More information about the autopkgtest-devel
mailing list