Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94170 - dependency of portage failed
Summary: dependency of portage failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-27 05:23 UTC by David
Modified: 2005-05-27 05:57 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 David 2005-05-27 05:23:22 UTC
I have unmasked with package.unmask and with package.keywords all kde-3.4.1.
I don't need kdetoys , for this I use package.provided and I did mistake with
the sintaxis of package.provided.
If I put kde-base/kdetoys  ==> emerge -pv kde 

These are the packages that I would merge, in order:

Calculating dependencies -

!!! Problem in kde-base/kde dependencies.
!!! unsubscriptable object exceptions


if I use emerge -uDpv world 
These are the packages that I would merge, in order:

Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 2986, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1360, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 975, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1111, in select_dep
   
mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,myuse=myuse,use_binaries=("--usepkg"
in myopts))
  File "/usr/lib/portage/pym/portage.py", line 3702, in dep_check
    mysplit2=dep_wordreduce(mysplit2,mysettings,mydbapi,mode,use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3738, in dep_wordreduce
    if mysettings and mysettings.pprovideddict.has_key(mykey) and \
  File "/usr/lib/portage/pym/portage.py", line 4039, in match_from_list
    if xs[0:2] != mycpv_cps[0:2]:
TypeError: unsubscriptable object




Reproducible: Always
Steps to Reproduce:
1.unmask all of kde-3.4.1 
2.use keyword ~x86 with kde-3.4.1
3.echo "kde-base/kdetoys">>/etc/portage/profile/package.provided
emerge -uDpv world

Actual Results:  
These are the packages that I would merge, in order:

Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 2986, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1360, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 975, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1111, in select_dep
   
mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,myuse=myuse,use_binaries=("--usepkg"
in myopts))
  File "/usr/lib/portage/pym/portage.py", line 3702, in dep_check
    mysplit2=dep_wordreduce(mysplit2,mysettings,mydbapi,mode,use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3738, in dep_wordreduce
    if mysettings and mysettings.pprovideddict.has_key(mykey) and \
  File "/usr/lib/portage/pym/portage.py", line 4039, in match_from_list
    if xs[0:2] != mycpv_cps[0:2]:
TypeError: unsubscriptable object

Expected Results:  
It might be "error in package.provided"

I might that this error is when fails a metapackage with the error of
package.provided
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-27 05:30:05 UTC
(In reply to comment #0)

> 3.echo "kde-base/kdetoys">>/etc/portage/profile/package.provided

No, you can
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-27 05:30:05 UTC
(In reply to comment #0)

> 3.echo "kde-base/kdetoys">>/etc/portage/profile/package.provided

No, you can´t have a package installed without a version. You need to include
ebuild version in package.provided
Comment 3 David 2005-05-27 05:57:48 UTC
But this I shouldn't broke portage...