[PATCH] Fix pbuilder-satisfydepends-classic for arch selectors. Ref: #363193
Matt Palmer
mpalmer at hezmatt.org
Wed Dec 15 06:24:20 UTC 2010
This was reported as a side-effect of #363193
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363193#191), but the
problem was actually caused by p-sd-classic passing in a mangled version of
the dependency info (spaces were replaced by forward slashes), which the old
checkbuilddeps_archdeps handled because it didn't parse the package spec so
much as grep it into submission. All good now.
---
pbuilder-satisfydepends-classic | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pbuilder-satisfydepends-classic b/pbuilder-satisfydepends-classic
index c940052..e586a42 100755
--- a/pbuilder-satisfydepends-classic
+++ b/pbuilder-satisfydepends-classic
@@ -75,7 +75,7 @@ checkbuilddep_internal() {
for INSTALLPKG in $(split_alternates "$INSTALLPKGMULTI"); do
CURRENTREALPKGNAME=$(get_pkg_name "$INSTALLPKG")
if echo "$INSTALLPKG" | grep -q '\['; then
- if checkbuilddep_archdeps "$INSTALLPKG" "$ARCH"; then
+ if checkbuilddep_archdeps "$(echo "$INSTALLPKG" | tr "/" " ")" "$ARCH"; then
SATISFIED="yes"
echo " -> This package is not for this architecture"
continue
--
1.5.6.5
--qjNfmADvan18RZcF
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0006-Apply-arch-wildcard-part2.patch.patch"
More information about the Pbuilder-maint
mailing list