On Friday 27 October 2006 14:56, Dale wrote: > Bo Ørsted Andresen wrote: > > > > > > `equery depends` considers all use flags as enabled even if they aren't. > > pquery and dep take your use flags into account. > > > >> All the pkgcore programs are masked. What version do you recommend I > >> unmask? Equery shows these available: > > > > [SNIP] > > > > The latest. > > hmmmmm, looks like some unstable stuff in the works here. I keyworded > pkgcore but it needs a unstable docutils which is part of python. Looks > > like this: > > root@smoker / # emerge pkgcore -vp [SNIP] > If I recall correctly portage uses python and I sure don't want to mess > up python and bork portage. You sure this will be safe? Would I be > better off to unmerge fftw and try it? I somehow get the feeling you haven't quite understood what I have said. So I'll try again. media-libs/libsamplerate only depends on sci-libs/fftw if you have the fftw use flag enabled. # emerge -vp1 libsamplerate [...] [ebuild R ] media-libs/libsamplerate-0.1.2 USE="-fftw -sndfile" 0 kB I.e. if you have no "-" in front of fftw then it needs fftw. Further what I have said is that `equery depends` ignores that condition. So you have three other alternatives for `equery depends` which will be able to show reverse dependencies. I've already mentioned two. The third is adjutrix from sys-apps/paludis (version 0.8.2 would be necessary there). pquery or dep does seem more suited for this task though since they both take your use flags into consideration whereas adjutrix will show something like: # adjutrix -D /var/db/pkg -r fftw Reverse dependencies for 'sci-libs/fftw': media-libs/libsamplerate-0.1.2 DEPEND on one of: sci-libs/fftw-3.0.1-r2::installed (condition USE='fftw') [...] and leave it up to you to check whether the USE='fftw' condition is true. Finally I would like to say that whether you want to use testing software is your own decision. But it certainly does do a better job than equery for reverse dependencies. That's true no matter which of the three mentioned alternatives you would choose. And I wouldn't suggest them if I thought they would set you computer on fire... -- Bo Andresen