]> git.donarmstrong.com Git - wannabuild.git/blobdiff - bin/wb-edos-builddebcheck
Parse Reason from edos-debcheck
[wannabuild.git] / bin / wb-edos-builddebcheck
index 582912de918bfbd621bbd283c0b45078359c44c9..0cec41ceae960ee882ff61420803b80d2be2d953 100755 (executable)
@@ -12,7 +12,7 @@ $sourceprefix="source---";
 
 $architecture="";
 $binexplain=0;
-$edosoptions = "-failures -explain -quiet";
+$edosoptions = "-failures -explain";
 while ( $arg = shift @ARGV ) {
     if ( $arg eq '-a' || $arg eq '--architecture' ) {
        if ($#ARGV == -1) {
@@ -71,7 +71,7 @@ if ( $architecture eq "" ) {
     }
 }
 
-open(RESULT,"python /usr/share/edos-distcheck/add-sources.py ".
+open(RESULT,"add-sources.py ".
      "--prefix \"$sourceprefix\" < $packagefile $sourcesfile $architecture ".
      "| edos-debcheck $edosoptions|");
 
@@ -80,7 +80,9 @@ $explanation="";
 $binpackage="";
 
 while (<RESULT>) {
-    if (/^\s+/) {
+    if (/^The following constraints cannot be satisfied:/) {
+       next
+    } elsif (/^\s+/) {
        if ($sourcestanza) {
            s/^(\s*)$sourceprefix(.*)(depends on|conflicts with)/$1$2build-$3/o;
            s/&gt;/>/;