summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2007-07-13 10:02:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:05 -0500
commit803335b0db8ad9ce8972b7d8db8be330fd2ab85d (patch)
tree2c552dd679af9b5a3e79affe188353b9d85b17e7 /source4/build
parent0ea2612763863bf318476b7ed3af9852e7fb2c3f (diff)
downloadsamba-803335b0db8ad9ce8972b7d8db8be330fd2ab85d.tar.gz
samba-803335b0db8ad9ce8972b7d8db8be330fd2ab85d.tar.bz2
samba-803335b0db8ad9ce8972b7d8db8be330fd2ab85d.zip
r23862: Explain who requested unknown dependency. Helps a lot in chasing dependency hell when trimming down s4 platform
(This used to be commit 6c95eabac684c70ac0080b6ab7ca723f5c58869b)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/input.pm2
1 files changed, 1 insertions, 1 deletions
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};