Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27298 - emerge -Ukp crashes (portage 2.0.49)
Summary: emerge -Ukp crashes (portage 2.0.49)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 08:26 UTC by Benedict Verhegghe
Modified: 2011-10-30 22:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benedict Verhegghe 2003-08-25 08:26:41 UTC
For any single <package>
  emerge -Ukp <package>
crashes with the following output:

Calculating dependencies
!!! Problem in sys-apps/portage dependencies.
!!! cannot concatenate 'str' and 'NoneType' objects

emerge -Ukp world   gives:

Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 2023, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 963, in xcreate
    if not self.create(myk):
  File "/usr/bin/emerge", line 684, in create
    if not self.select_dep("/",mydep["/"],myparent=mp):
  File "/usr/bin/emerge", line 842, in select_dep
    cand=self.is_newer_ver_installed(myroot,x,myeb)
  File "/usr/bin/emerge", line 760, in is_newer_ver_installed
    myslot=portage.portdb.aux_get(pkgver,["SLOT"])[0]
  File "/usr/lib/python2.2/site-packages/portage.py", line 3479, in aux_get
    mydbkey=dbcachedir+"/"+mycpv
TypeError: cannot concatenate 'str' and 'NoneType' objects

It is the combination of -U and -k flags that provokes the error.
emerge -ukp, emerge -Up, emerge -kp, all work.

The error is in portage-2.0.49. 
2.0.48-r5 does not have the problem.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-08-25 12:24:07 UTC
fixed in cvs
Comment 2 Steven Elling 2003-09-29 09:20:27 UTC
I have the same problem with 'emerge -DUK'.  When can we expect to see the
fix in the portage tree?
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-09-29 09:34:55 UTC
which portage version ? Considering that the comment is over a month old
the fix should be out by now (but -k and -K are different so errors could
differ too).
Comment 4 Benedict Verhegghe 2003-09-29 23:57:40 UTC
portage 2.0.49-r3 still has the bug
portage 2.0.49-r7 is OK