Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 217714
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: pat <gentoo@psycho3d.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 217714 depends on: Show dependency tree
Bug 217714 blocks: 216231
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-14 19:52 0000
An 'emerge --noreplace git' makes portage crash because 'git' is ambiguous:
'app-misc/git', 'dev-util/git'

Shows a traceback instead of a nice error message. Note the --noreplace option.

Reproducible: Always

Steps to Reproduce:
$ sudo emerge --noreplace -a git


Actual Results:  

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem in 'dev-util/git' dependencies.
!!! ['app-misc/git', 'dev-util/git'] exceptions
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6971, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6965, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 6232, in action_build
    retval, favorites = mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 2078, in select_files
    self.mysd = self.select_dep(myroot, myatom, arg=myarg)
  File "/usr/bin/emerge", line 2437, in select_dep
    metadata=selected_pkg[1], rev_dep=rev_deps, arg=arg):
  File "/usr/bin/emerge", line 1784, in create
    all_ebuilds_masked = bool(
  File "/usr/lib64/portage/pym/portage.py", line 7365, in xmatch
    mydep = dep_expand(origdep, mydb=self, settings=self.mysettings)
  File "/usr/lib64/portage/pym/portage.py", line 5358, in dep_expand
    return prefix + cpv_expand(
  File "/usr/lib64/portage/pym/portage.py", line 5583, in cpv_expand
    raise ValueError, matches
ValueError: ['app-misc/git', 'dev-util/git']


Expected Results:  
Show me the alternatives without crash.

------- Comment #1 From Zac Medico 2008-04-14 21:33:36 0000 -------
This is fixed in 2.1.5_rc.

------- Comment #2 From Zac Medico 2008-08-27 09:48:20 0000 -------
*** Bug 235844 has been marked as a duplicate of this bug. ***

------- Comment #3 From Zac Medico 2008-10-26 17:43:04 0000 -------
*** Bug 242928 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug