BDEPEND is apparently invisible to qdepends. That's a problem when trying to figure out what's pulling in a package and it's a BDEPEND. Background: My latest update pulled in cython, and my after-update depclean (with bdeps=y) wouldn't remove it either. I wanted to know why, but qdepends cython couldn't tell me. I'm more comfortable with and tried equery depends first, also without luck. All it had were a couple USE=python dependent hits and that's off, thus explaining why cython wasn't already installed. I ended up doing an emerge --pretend --tree --emptytree @world and searching in the output for cython. Turns out it's a dep of the newly merged lxml version, which in turn is a dep of systemd. Checking those ebuilds in turn, both deps are BDEPENDs. So neither portage-utils qdepends (this bug) nor gentoolkit's equery depends/depgraph (my just-filed bug) appear to handle BDEPENDS. Obviously that's going to become more and more of a problem as packages upgrade to EAPI7.
BDEPEND is new(ish). This is a feature. You chould be able to use -k BDEPEND though. I will add BDEPEND (mostly for --all) in the future. Thanks.
I expect implementing this should be easy
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=5674671e9d7e0e1251561d81a1154dd5d92e60ec commit 5674671e9d7e0e1251561d81a1154dd5d92e60ec Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-02-05 13:47:59 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-02-05 13:50:23 +0000 qdepends: add support for BDEPEND Bug: https://bugs.gentoo.org/674936 Signed-off-by: Fabian Groffen <grobian@gentoo.org> man/include/qdepends.optdesc.yaml | 8 ++++---- man/qdepends.1 | 13 ++++++++----- qdepends.c | 15 ++++++++++++--- 3 files changed, 24 insertions(+), 12 deletions(-)
this is available onwards from 0.80_pre*