Summary: | app-portage/gentoolkit-0.2.3: equery depends broken | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Dustin Polke <DuPol> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | major | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 170220 | ||
Attachments: | Patch to generate traceback |
Description
Dustin Polke
2007-03-08 12:12:56 UTC
It works for me. The only thing that I can think of is that you possibly have a corrupted install. Please reinstall using the following and let me know if you continue to have the issue. 1. emerge -Ca gentoolkit 2. cd /usr/lib 3. rm -rf gentoolkit 4. emerge gentoolkit This did not help. Same error. I tried latest python version (2.4.4) as well, but that's not the reason either. Created attachment 112618 [details, diff]
Patch to generate traceback
This patch to equery should cause to print a traceback of the error.
After applying the patch, output contains the following additional line: !!! "Specific key requires an operator (x11-themes/gnome-icon-theme-2.16.1) (try adding an '=')" I played around using different packages. equery dies always with the same package: x11-themes/gnome-icon-theme-2.16.1 Maybe you should there for the error. (In reply to comment #5) > I played around using different packages. > equery dies always with the same package: > > x11-themes/gnome-icon-theme-2.16.1 > > Maybe you should there for the error. > grep x11-themes/gnome-icon-theme-2.16.1 -r /var/db/pkg This should give you the package with a broken dependency atom. Just reinstall this one. equery depends could probably be modified to tell you this information. I found the package, reemerged it and now equery behaves as it should. Any idea why it was broken? The ebuild a slightly altered one from my overlay. I checked the {R}DEPEND syntax, but it contains the '=' in front of 'x11-themes/gnome-icon-theme-2.16.1'... (In reply to comment #7) > I found the package, reemerged it and now equery behaves as it should. > Any idea why it was broken? The ebuild a slightly altered one from my overlay. > I checked the {R}DEPEND syntax, but it contains the '=' in front of > 'x11-themes/gnome-icon-theme-2.16.1'... > The syntax was broken at the time when you emerged it. Nowadays Portage refuses to emerge packages that have broken syntaxes. I emerge the affected package on Feb 11, 2007. And I did not change it since. svn commit -m "Improved handling of KeyError in equery depends command (Bug #169929)." Sending equery/equery Transmitting file data . Committed revision 353. Thanks for the bug report, here is the new output: $ ./equery depends sys-apps/portage [ Searching for packages depending on sys-apps/portage... ] app-admin/logrotate-3.7.2 (>=sys-apps/portage-2.0.47-r10) app-emulation/vmware-modules-1.0.0.11-r1 (>=sys-apps/portage-2.0.54) app-portage/esearch-0.7.1-r4 (>=sys-apps/portage-2.0.50) !!! !!! Package: app-portage/gentoolkit-0.2.3 contains invalid dependency specification. !!! Portage error: "Specific key requires an operator (sys-apps/portage-2.1.1_pre1) (try adding an '=')" !!! app-portage/gentoolkit-0.2.3 (>=sys-apps/portage-2.1.1_pre1) Released in gentoolkit-0.2.4_pre1 |