Summary: | app-portage/gentoolkit: equery depends --all-packages <pkg> does not return anything useful if <pkg> is missing the system's keyword | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Luther (few) <SebastianLuther> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 237964 | ||
Attachments: |
Make depends include uninstalled files in its search path with --all-packages
Make depends include uninstalled files in its search path with --all-package Make depends include masked packages with --all-package |
Description
Sebastian Luther (few)
2009-05-19 11:25:11 UTC
Created attachment 191799 [details, diff]
Make depends include uninstalled files in its search path with --all-packages
Thanks for reporting this bug. There appears to be some kind of mistake in the previous version of gentoolkit, as well as a small regression in 0.3. You should not have to manually change any keywords for this to work.
I've uploaded a patch that should solve the issue for you. This patch will only apply against 0.3.0_rc6. To use the patch, save it to the directory:
/usr/lib/python2.5/site-packages/gentoolkit/equery/
and as root type: # patch < gentoolkit-depends-searchporttree.patch
devs: This patch will be included in a larger patch submitted separately.
Sorry, this patch has a mistake in it. I had to modify the file after i created the diff. I'll upload a working patch in a few minutes. Created attachment 191802 [details, diff]
Make depends include uninstalled files in its search path with --all-package
This should work. Sorry 'bout that.
Created attachment 193441 [details, diff]
Make depends include masked packages with --all-package
This patch is written against revision 4 of your private svn repo.
Thanks! I'll take a look at this later tonight. Thanks! A simplified version of your patch is in HEAD of http://genscripts.googlecode.com/svn r661 | fuzzyray | 2009-06-04 19:28:51 -0400 (Thu, 04 Jun 2009) | 1 line Update with rev 9 from the genscripts repo This is not working in rev 661. # equery d -a svaglib * Searching for svaglib ... !!! No matching package found for svaglib genscripts r11 works as expected. There are no differences between rev 661 and genscripts r11, so I'm not sure how this can be broken in one and not the other. (In reply to comment #9) > There are no differences between rev 661 and genscripts r11, so I'm not sure > how this can be broken in one and not the other. > It works now without me doing something (except a reboot). No idea what was wrong. Sorry for the spam. Released in gentoolkit-0.3.0_rc7 |