[buildd-tools-devel] Bug#825359: Aw: Re: Re: sbuild: unrealistic figure about total space used

Helge Deller deller at gmx.de
Fri Jul 1 14:33:37 UTC 2016


Hi Johannes,

> I cannot test this but are you sure that the solution to this problem is not
> instead this patch:

Yes, it is.
Just noticed that as well and wanted to send a new patch :-)

> diff --git a/lib/Sbuild/Build.pm b/lib/Sbuild/Build.pm
> index 6d36ec6..68c1f40 100644
> --- a/lib/Sbuild/Build.pm
> +++ b/lib/Sbuild/Build.pm
> @@ -2185,7 +2185,7 @@ sub check_space {
>             $self->log_error("Cannot determine space needed (du failed): $!\n");
>             next;
>         }
> -       if ($pkgbuilddirspc !~ /^(\d+)/) {
> +       if ($space !~ /^(\d+)/) {
>             $self->log_error("Cannot determine space needed (unexpected du output): $space\n");
>         }
>         $sum += $1;

> Can you confirm that my patch fixes the issue?

Yes, confirmed.

Helge



More information about the Buildd-tools-devel mailing list