Summary: | emerge --info can't handle ambiguous packages, gives TraceBack | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Murph <MattFinn> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | dschridde+gentoobugs |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 210077, 216231 |
Description
Murph
2008-10-10 17:56:38 UTC
Sorry emerge --info spam. Probably should have attached that? it says to paste it there. Actually, this additional comments box says "put emerge --info here" too. hrm. Anyways, people on IRC verified the traceback on 2.1.4.5 as well. Thanks, this is fixed in svn r11671. This is fixed in 2.2_rc13. I think this is back in 2.2_rc67: $ emerge --info binutils !!! The short ebuild name "binutils" is ambiguous. Please specify one of !!! the following fully-qualified ebuild names instead: Traceback (most recent call last): File "/usr/lib64/portage/pym/_emerge/main.py", line 1506, in emerge_main dep_expand(x, mydb=vardb, settings=settings)) File "/usr/lib64/portage/pym/portage/dbapi/dep_expand.py", line 47, in dep_expand use_cache=use_cache, settings=settings) File "/usr/lib64/portage/pym/portage/dbapi/cpv_expand.py", line 80, in cpv_expand raise AmbiguousPackageName(matches) portage.exception.AmbiguousPackageName: ['cross-i686-pc-linux-gnu/binutils', 'cross-i686-pc-mingw32/binutils', 'sys-devel/binutils'] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/emerge", line 42, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 1515, in emerge_main for i in e[0]: TypeError: 'AmbiguousPackageName' object does not support indexing (In reply to comment #4) It's a slightly different issue that's only triggered with python3. Now it's fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7606baaf099a9ea209507a677fcc60077d390052 (In reply to comment #5) > (In reply to comment #4) > It's a slightly different issue that's only triggered with python3. Now it's > fixed in git: Thanks! |