From: Don Armstrong Date: Tue, 2 Jan 2018 01:24:51 +0000 (-0800) Subject: Do not skip binary packages if sources do not exist. X-Git-Tag: release/2.6.0~34 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=b97fd19159dd454be4cdf46cbfad542a3c6d05f2 Do not skip binary packages if sources do not exist. - This fixes issues where -udeb packages were not thought to be in a distribution, causing issues with #885556 --- diff --git a/examples/debian/versions/build-versions-db b/examples/debian/versions/build-versions-db index 70b7b92..6d22696 100755 --- a/examples/debian/versions/build-versions-db +++ b/examples/debian/versions/build-versions-db @@ -206,10 +206,9 @@ for my $suite (@{$suites}) { my $sources = (grep { -f $_ } glob "$componentdir/source/Sources.*")[0]; if (not defined $sources) { print STDERR "No sources matching $componentdir/source/Sources.*\n" if $DEBUG; - next; + } else { + read_packages($db,$db2,$sources, $viscomponent,'source',$suite); } - read_packages($db,$db2,$sources, $viscomponent,'source',$suite); - for my $arch (readdir $COMPONENT) { next unless $arch =~ s/^binary-//; my $archdir = "$componentdir/binary-$arch";