From 803335b0db8ad9ce8972b7d8db8be330fd2ab85d Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 13 Jul 2007 10:02:44 +0000 Subject: r23862: Explain who requested unknown dependency. Helps a lot in chasing dependency hell when trimming down s4 platform (This used to be commit 6c95eabac684c70ac0080b6ab7ca723f5c58869b) --- source4/build/smb_build/input.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index 5bbb69499f..77b497d25c 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -168,7 +168,7 @@ sub calc_unique_deps($$$$$$$$) my ($name, $INPUT, $deps, $udeps, $withlibs, $forward, $pubonly, $busy) = @_; foreach my $n (@$deps) { - die("Dependency unknown: $n") unless (defined($INPUT->{$n})); + die("Dependency unknown: $n (for $name)") unless (defined($INPUT->{$n})); die("Recursive dependency: $n, list: " . join(',', @$busy)) if (grep (/^$n$/, @$busy)); next if (grep /^$n$/, @$udeps); my $dep = $INPUT->{$n}; -- cgit