aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xulri5
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4459c7a..25fbbd9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix code handling dependencies
+
0.6.20
- close stdin when --shell is not used
- add an option to discard built packages
diff --git a/ulri b/ulri
index 82fe338..d64c32b 100755
--- a/ulri
+++ b/ulri
@@ -285,10 +285,11 @@ sub todo_func {
open my $FILE, "<$todo/$f/$m/$s/$r";
while(my $line = <$FILE>) {
chomp $line;
+ plog('DEBUG', "Adding dependency $line ($prefix)");
push @deps,$line;
}
- $pkg_tree{$prefix}{deps} = @deps;
+ $pkg_tree{$prefix}{deps} = \@deps;
}
}
@@ -533,6 +534,7 @@ foreach my $prefix (sort keys %pkg_tree) {
next;
}
# $dep was not uploaded yet, so it's too early to build this one
+ plog('DEBUG', "Dependent build $dep not ready ($prefix)");
$ready = 0;
if (glob "$reject/*/*/*/$dep.youri" || glob "$done/*/*/*/${dep}_*.fail") {
plog('ERROR', "Dependent build $dep has failed");
@@ -554,6 +556,7 @@ foreach my $prefix (sort keys %pkg_tree) {
}
next unless $ready;
+ plog('DEBUG', "No missing dependent build for $prefix");
foreach my $media (keys %{$ent->{media}}) {
my $path = $ent->{media}{$media}{path};