Bug#655297: [examples/rebuild]: buildall executes dget with wrong url

Junichi Uekawa dancer at netfort.gr.jp
Tue Jan 24 21:30:08 UTC 2012


At Tue, 10 Jan 2012 13:53:36 +0800,
Aron Xu wrote:
> 
> Package: pbuilder
> Severity: normal
> Tags: patch
> Version: 0.205
> 
> When I was trying to rebuild some packages of Sid from archive, I
> tried to use examples/rebuild/buildall and then resulted into many
> failures like this:
> 
> dget: curl aisleriot_1:3.2.2-1.dsc
> http://mirrors/debian/pool/main/a/aisleriot/aisleriot_1:3.2.2-1.dsc
> failed
> 
> This was caused by having urls with ":" inside. The following patch
> can fix the problem.
> 
> --- /usr/share/doc/pbuilder/examples/rebuild/buildall   2010-06-29
> 09:33:04.000000000 +0800
> +++ buildall    2012-01-10 13:52:22.867288056 +0800
> @@ -34,7 +34,7 @@
>      G=$(grep-dctrl -S -n -s Directory,Version $PACKAGE ../../Sources)
>      set -- $G
>      DIR=$1 VER=$2
> -    dget -x ${MIRROR}/debian/${DIR}/${PACKAGE}_${VER}.dsc > /dev/null
> 2> $LOGDIR/.$PACKAGE
> +    dget -x ${MIRROR}/debian/${DIR}/${PACKAGE}_${VER##:}.dsc >
> /dev/null 2> $LOGDIR/.$PACKAGE

## doesn't work here, does it?

something more like ${VER//:*} 
> 
>      cd $(find . -type d ! -name .)
>      mkdir -p $BUILDDIR/$PACKAGE/result
> 
> -- 
> Regards,
> Aron Xu
> 
> 
> 
> _______________________________________________
> Pbuilder-maint mailing list
> Pbuilder-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pbuilder-maint
> 





More information about the Pbuilder-maint mailing list