[Bug 1205110] Re: autopkgtest should not depend on pbuilder
Martin Pitt
martin.pitt at ubuntu.com
Fri Mar 7 09:29:50 UTC 2014
Hm, I was going to use equivs, but even that pulls in over twice the
size of dependencies (4 MB for pbuilder, 9.2 MB for equivs, both with
--no-install-recommends) on a minimal debootstrapped container. I also
experimented with directly writing a DEBIAN/control file and calling
dpkg-deb -b on it. I think that's the minimal solution, but it requires
manual resolution and filtering of arch specific dependencies. E. g.
right now your test can do "Depends: foo [armhf ppc64el]" or even
[linux-any], and dpkg-deb does not understand this. That's probably the
reason why equivs builds a source package instead of just building the
binary directly.
It may be possible to use dpkg-gencontrol or the Dpkg::Control perl
modules to do that arch-specific dependency filtering; pulling in just
dpkg-dev pulls in 3.3 MB instead of 4, which is the only case of
actually reducing dependencies.
--
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/1205110
Title:
autopkgtest should not depend on pbuilder
Status in “autopkgtest” package in Ubuntu:
Triaged
Bug description:
The autopkgtest package depends on pbuilder, but it shouldn't. There
are several backend options for autopkgtest that don't require
pbuilder; we shouldn't have to install pbuilder just for
/usr/lib/pbuilder/pbuilder-satisfydepends-classic.
A possible substitute for this would be mk-build-deps from devscripts.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: autopkgtest 2.3
ProcVersionSignature: Ubuntu 3.10.0-2.11-generic 3.10.0
Uname: Linux 3.10.0-2-generic x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
Date: Thu Jul 25 11:43:49 2013
InstallationDate: Installed on 2010-09-24 (1035 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: autopkgtest
UpgradeStatus: Upgraded to saucy on 2013-05-06 (79 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1205110/+subscriptions
More information about the foundations-bugs
mailing list