}
}
-open(RESULT,"python /usr/share/edos-distcheck/add-sources.py ".
+open(RESULT,"add-sources.py ".
"--prefix \"$sourceprefix\" < $packagefile $sourcesfile $architecture ".
"| edos-debcheck $edosoptions|");
$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/>/>/;
+ s/</</;
print;
if (/depends on ([^\s]*) .*\{.*\}/) {
push(@binqueue,$1);
$explanation .= $_;
}
} else {
+ if ($sourcestanza) {
+ print "\n";
+ $sourcestanza=0;
+ }
if ($binpackage ne ""){
$binfailures{$binpackage} = $explanation;
$binpackage="";
}
- if (/^$sourceprefix.*: FAILED/o) {
- s/^$sourceprefix//o;
- print;
-
- $_=<RESULT>;
- print;
-
+ if (/^$sourceprefix(.*) \(.*\): FAILED/o) {
+ print "Package: $1\n";
+ print "Failed-Why:\n";
$sourcestanza=1;
} elsif (/^([^\s]*) .*: FAILED/) {
$binpackage=$1;