[Bug 1241456] [NEW] adt-run fails without fakeroot installed in the testbed

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Fri Oct 18 09:34:38 UTC 2013


Public bug reported:

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

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: autopkgtest (not installed)
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Fri Oct 18 10:59:28 2013
MarkForUpload: True
SourcePackage: autopkgtest
UpgradeStatus: Upgraded to saucy on 2012-01-31 (625 days ago)

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1241456

Title:
  adt-run fails without fakeroot installed in the testbed

Status in “autopkgtest” package in Ubuntu:
  New

Bug description:
  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

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: autopkgtest (not installed)
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  Date: Fri Oct 18 10:59:28 2013
  MarkForUpload: True
  SourcePackage: autopkgtest
  UpgradeStatus: Upgraded to saucy on 2012-01-31 (625 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1241456/+subscriptions



More information about the foundations-bugs mailing list