Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674936 - app-portage/portage-utils-0.74 qdepends apparently doesn't support BDEPEND
Summary: app-portage/portage-utils-0.74 qdepends apparently doesn't support BDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords: Goal
Depends on:
Blocks:
 
Reported: 2019-01-09 04:41 UTC by Duncan
Modified: 2019-06-06 07:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2019-01-09 04:41:55 UTC
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.
Comment 1 Fabian Groffen gentoo-dev 2019-01-21 08:11:08 UTC
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.
Comment 2 Fabian Groffen gentoo-dev 2019-01-31 12:14:04 UTC
I expect implementing this should be easy
Comment 3 Larry the Git Cow gentoo-dev 2019-02-05 13:51:09 UTC
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(-)
Comment 4 Fabian Groffen gentoo-dev 2019-06-06 07:32:34 UTC
this is available onwards from 0.80_pre*