Closed rpjday closed 8 years ago
This has been fixed with the recent updates. bb-whatdepends now handles both build time and run time deps, avoids showing the target under itself, and shows duplicates, but avoids recursing into the duplicates.
Current output showing only build dependencies:
$ bb whatdepends -B ncurses core-image-minimal
Parsing recipes..done.
Preparing task data...done
readline
util-linux
dpkg
bash
slang
attr
$ bb whatdepends -r -B ncurses core-image-minimal
Parsing recipes..done.
Preparing task data...done
readline
systemd
dbus
gawk
util-linux
systemd..
e2fsprogs
dpkg
bash
slang
libnewt
chkconfig
attr
acl
systemd..
libcap
systemd..
First, a non-recursive invocation:
which seems to suggest there are three things that depend on ncurses: v/u-a (for brevity), util-linux and attr. But a recursive invocation is confusing, since it shows ncurses indented below v/u-a, and bzip2 coming out of nowhere and being displayed at the same level as ncurses:
It's as if ncurses depends on v/u-a and vice versa, which forces more output than you'd expect.