Package: sbuild
Version: 0.78.1-1
Severity: normal
Tags: patch

sbuild fails to report used "Disc space" when building debian packages.
This can be seen for various architecturs which are already using this
sbuild version for their buildds. Here are examples for m68, ppc64 and
hppa:
https://buildd.debian.org/status/logs.php?pkg=globus-net-manager&arch=m68k
https://buildd.debian.org/status/logs.php?pkg=globus-net-manager&arch=ppc64

For hppa arch I've applied the patch below, and with that change sbuild
will now report the size in the "Build-Space:" tag of the build log:
https://buildd.debian.org/status/logs.php?pkg=globus-net-manager&arch=hppa

Can you apply the patch below (or a correct variant of it) to the next
sbuild uploads?
I'm happy to test any other patch as well.

Thanks,
Helge


diff -up /usr/share/perl5/Sbuild/Build.pm.org /usr/share/perl5/Sbuild/Build.pm
--- /usr/share/perl5/Sbuild/Build.pm.org        2019-02-28 21:00:01.033696326 
+0100
+++ /usr/share/perl5/Sbuild/Build.pm    2019-02-28 21:01:11.885230625 +0100
@@ -2783,7 +2783,7 @@ sub check_space {
     # the required space.
     unless( defined $dscdir && -d $dscdir)
     {
-       return -1;
+       # DO NOT: return -1;
     }
 
 

Reply via email to