From 1aa3024fb4b430b2336f6b5fe870f81496344ebc Mon Sep 17 00:00:00 2001 From: lool Date: Mon, 6 Nov 2006 20:55:12 +0000 Subject: * pbuilder-satisfydepends-experimental, Makefile: alternate implementation of pbuilder-satisfydepends which supports pulling build-deps with a version on the apt-get command-line; this is derived from pbuilder-satisfydepends with the following changes: - Add and use new package_versions() and candidate_version() helpers; the former returns all versions of a package available via APT, the later APT's candidate version. - For versionned build-deps, when building the "apt-get install" command, try APT's candidate version or all available versions available from APT in ascending order (the reverse order of apt-cache's output); checkbuilddep_versiondeps() isn't used for this part of the process anymore, but it is still used to honor build-conflicts. - Recover from APT errors caused by unsufficient dependencies ("libfoo-dev Depends: bar but baz is to be installed") and missing dependencies libfoo-dev Depends: bar but it is not going to be installed", or simply "libfoo-dev Depends: bar"); this permits simply listing build-deps when uploading to experimental; achieved by moving the version matching logic in the new versioneddep_to_aptcmd() helper. * pbuilderrc, pbuilderrc.5: document the availability of the alternate implementation. --- pbuilderrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pbuilderrc') diff --git a/pbuilderrc b/pbuilderrc index 71db7a3..196a0c0 100755 --- a/pbuilderrc +++ b/pbuilderrc @@ -35,7 +35,10 @@ BUILDSOURCEROOTCMD="fakeroot" PBUILDERROOTCMD="sudo" # command to satisfy build-dependencies; the default is an internal shell -# implementation which is relatively slow +# implementation which is relatively slow; there's an alternate experimental +# implementation, "pbuilder-satisfydepends-experimental", which might be useful +# to pull packages from experimental or from repositories with a low APT Pin +# Priority PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends" #default is to build everything. Passed on to dpkg-buildpackage -- cgit v1.2.3