Depends: @ only works when building the source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Debian) |
Fix Released
|
Unknown
|
|||
autopkgtest (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Quantal |
Fix Released
|
High
|
Martin Pitt | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson | ||
Quantal |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Automated test https:/
autopkgtest fails with
Traceback (most recent call last):
File "/tmp/tmp.
suite = unittest.
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
module = __import_
File "/tmp/tmp.
import mock
ImportError: No module named mock
The test explicitly calls python3, in debian/
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubiquity (not installed)
ProcVersionSign
Uname: Linux 3.4.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 2.2.3-0ubuntu4
Architecture: amd64
Date: Wed Jun 20 07:19:59 2012
InstallCmdLine: file=/cdrom/
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: Upgraded to quantal on 2012-01-31 (140 days ago)
Changed in ubiquity (Ubuntu Quantal): | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | New → Fix Committed |
summary: |
- update depends to python3-mock in autopkgtest control file + does not build packages which do not declare "no-build-needed" |
summary: |
- does not build packages which do not declare "no-build-needed" + Depends: @ only works when building the source |
Changed in autopkgtest (Debian): | |
status: | Unknown → New |
Changed in autopkgtest (Debian): | |
status: | New → Fix Released |
While ubiquity's d/t/control should certainly be updated, I believe there is a bug in autopkgtest. The control file does not specify "no-build-needed", so autopkgtest needs to build the package first, and hence install its build dependencies. The recent change of adding --no-built-binaries seems to have triggered this, but "do not install the built binaries" != "do not build binaries".
I'll look into this.