Source: sbuild
Version: 0.65.1-1
Severity: important
Tags: patch
Hi!
Since the fix of bug #745221, sbuild is no longer able to upload package builds
which include non-deb packages in their changes
file, since it runs dpkg on those as well, which is
now a fatal error.
Most notably, this prevents debian-installer from being built with sbuild.
The attached patch should fix this problem.
Thanks for considering!
Matthias Klumpp
--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -1769,6 +1769,11 @@
my $deb = "$build_dir/$_";
next if $deb !~ /(\Q$host_arch\E|all)\.[\w\d.-]*$/;
+ if ($deb !~ /(\.(u|d)?deb)$/) {
+ $self->log("Skipping non-package file: $deb\n");
+ next;
+ }
+
$self->log_subsubsection("$_");
if (!open( PIPE, "dpkg --info $deb 2>&1 |" )) {
$self->log("Can't spawn dpkg: $! -- can't dump info\n");