Summary: | app-portage/gentoolkit-0.3.0.6-r3 - equery crashes on unhandled exception portage.exception.InvalidDependString | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Niko Böckerman <gentoo.cart9> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Niko Böckerman
2012-09-09 18:23:57 UTC
Actually it was portage that threw the exception, not equery directly. What overlays do you have installed? What is the sync time for your last emerge --sync? Does it throw the exception if you do not include the -a parameter? If not that would indicate a bad *DEPEND string in an ebuild in one of your overlays (more likely). These types of errors should be caught before changes are commited to the the official tree. It looks like the ebuild in question is missing spaces separating the ( ) and the dep inside. psyco? (dev-python/psyco) should be: psyco? ( dev-python/psyco ) Repositories: gentoo location: /mnt/harddisk/portage/tree sync: rsync://192.168.1.50/gentoo-portage priority: -1000 crossdev_overlay location: /mnt/harddisk/portage/overlays/crossdev masters: gentoo priority: 0 finnish location: /mnt/harddisk/portage/layman/finnish masters: gentoo priority: 1 seden location: /mnt/harddisk/portage/layman/seden masters: gentoo priority: 2 sunrise location: /mnt/harddisk/portage/layman/sunrise masters: gentoo priority: 3 kde location: /mnt/harddisk/portage/layman/kde masters: gentoo priority: 4 gentoo-zh location: /mnt/harddisk/portage/layman/gentoo-zh masters: gentoo priority: 5 Overlay_manage_priorities location: /mnt/harddisk/portage/overlays/manage masters: gentoo priority: 6 arduino location: /mnt/harddisk/portage/overlays/arduino masters: gentoo priority: 7 nikos_gentoo_overlay location: /mnt/harddisk/portage/overlays/niko-git masters: gentoo priority: 8 temp_overlay location: /mnt/harddisk/portage/overlays/temp masters: gentoo priority: 9 Timestamp of tree: Sun, 09 Sep 2012 17:45:01 +0000 I managed locate that depend string to come from gentoo-zh overlay and from portage-cdb-0.0.2.ebuild. So that error seems to originate from invalid depend string. But shouldn't the equery command still survive from that kind of error and not crash completely? Yeah, I think it probably should. I've added some code to trap that error and hopefully print some decent debug info to stderr which should make it easier to know the offending ebuild. I need to do some testing before committing it, but is too late for me now... I am unable to reproduce this error with current code and current gentoo ebuild tree. |