Package: buildd.debian.org
Severity: wishlist
Tags: patch
Hello.
Some (admittedly faulty) build tools produce messages on stderr
instead of stdout. However, sbuild only considers stdout to detect
timeout and kill inactive builds.
This results in hard to diagnose failures, as the log (rightfully)
mixes stout and stderr. For an example, the gnat-gps package has been
randomly failing to build from scratch for years. Various solutions
have been tried for years, causing this big package to be reuploaded
and rebuild for years. (of course, gnat-gps is now corrected)
Please avoid this waste of human and computer time with something like
line 1500 of lib/Sbuild/BUILD.pm.
-my $pipe = $self->get('Session')->pipe_command($command);
+my $pipe = $self->get('Session')->pipe_command(
+ { COMMAND => [$command],
+ STREAMERR => \*STDOUT});
Or, if you do not want to hide the problem, please allow the
maintainer to easily understand the problem:
line 1553-1555
$self->log("Build killed with signal " . $timeout_sigs[$i] .
" after " . int($timeout_times[$i]/60) .
- " minutes of inactivity\n");
+ " minutes of inactivity on stdout (stderr is
+ignored).\n");
Thanks.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]