]> git.donarmstrong.com Git - wannabuild.git/commitdiff
wanna-build: add debug output for overwritten binaries
authorPhilipp Kern <pkern@debian.org>
Sun, 27 Nov 2011 15:45:23 +0000 (15:45 +0000)
committerPhilipp Kern <pkern@debian.org>
Sun, 27 Nov 2011 15:45:23 +0000 (15:45 +0000)
bin/wanna-build

index 0d8bd1ad0777a1f117eaaad270a6ff3c6705a30e..5e84b6af0e57c80af7e699a05bc10c035eaee965 100755 (executable)
@@ -2154,7 +2154,8 @@ sub parse_all_v3 {
             # does at least one binary exist in the database and is more recent - if so, we're probably just outdated, ignore the source package
             for my $bin (@{$pkgs->{'binary'}}) {
                 if ($binary->{$bin} and vercmp($pkgs->{'version'}, $binary->{$bin}->{'version'}) < 0) {
-                    print "$logstr skipped because binaries (assumed to be) overwritten\n" if $verbose || $simulate;
+                    print "$logstr skipped because binaries (assumed to be) overwritten (" .
+                       $bin . ", " . $pkgs->{'version'} . " vs. " . $binary->{$bin}->{'version'} . ")\n" if $verbose || $simulate;
                     next SRCS;
                 }
             }