On 2016-09-04 19:28 +0200, Sven Joachim wrote:

> Control: tags -1 + patch
>
> The attached patch should fix the problem with arch-qualifiers in
> debootstrap, tested with
> "debootstrap --variant=minbase --include=autoconf-dickey" which fails
> right now in unstable but succeeds with the patch (autoconf-dickey
> depends on perl:any).

It should be noted that dpkg-dev in unstable now also depends on
perl:any.  This does not cause problems yet, but only because
libdpkg-perl depends on perl and debootstrap silently ignores any
dependencies it cannot resolve, which is a bug in itself.

This bug is a ticking time bomb, would be nice to apply my patch before
it explodes.

Cheers,
       Sven

> From 32a66dd450192ac959b1ec2e6a7030288e9e6f6e Mon Sep 17 00:00:00 2001
> From: Sven Joachim <svenj...@gmx.de>
> Date: Sun, 4 Sep 2016 18:24:17 +0200
> Subject: [PATCH] pkgdetails_perl: Strip the arch-qualifier (Closes: #836525)
>
> ---
>  functions | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/functions b/functions
> index 031721f..1254c41 100644
> --- a/functions
> +++ b/functions
> @@ -1229,6 +1229,7 @@ while (<STDIN>) {
>               for $d (split /\s*,\s*/, $1) {
>                       $d =~ s/\s*[|].*$//;
>                       $d =~ s/\s*[(].*[)]\s*//;
> +                     $d =~ s/:.*//;
>                       push @d, $d;
>               }
>       }

Reply via email to