Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240640 - sys-apps/portage-2.1.4.4: "emerge --search news" causes portage exception
Summary: sys-apps/portage-2.1.4.4: "emerge --search news" causes portage exception
Status: RESOLVED DUPLICATE of bug 239471
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-09 06:49 UTC by George Wu
Modified: 2008-10-09 06:55 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 George Wu 2008-10-09 06:49:49 UTC
EAPI-2 isn't handled correctly when emerge search finds ebuilds using eapi-2.

Reproducible: Always

Steps to Reproduce:
1. emerge -s news

Actual Results:  
[ Results for search key : news ]
[ Applications found : 15 ]
 
*  app-admin/eselect-news [ Masked ]
      Latest version available: 20080320
      Latest version installed: [ Not Installed ]
      Size of files: 5 kB
      Homepage:      http://paludis.pioto.org/
      Description:   GLEP 42 news reader
      License:       GPL-2

*  app-admin/newsyslog
      Latest version available: 1.1
      Latest version installed: [ Not Installed ]
      Size of files: 152 kB
      Homepage:      http://www.weird.com/~woods/projects/newsyslog.html
      Description:   An enhanced version of newsyslog originally written by Theodore Ts'o
      License:       MIT

*  dev-lisp/cl-org-davep-newsrc
      Latest version available: 2.0
      Latest version installed: [ Not Installed ]
      Size of files: 2 kB
      Homepage:      http://www.davep.org/lisp/
      Description:   Common Lisp class for reading the Unix-style ~/.newsrc file
      License:       LLGPL-2.1

*  dev-perl/News-Newsrc
      Latest version available: 1.08
      Latest version installed: [ Not Installed ]
      Size of files: 10 kB
      Homepage:      http://search.cpan.org/~swmcd/
      Description:   Manage newsrc files
      License:       || ( Artistic GPL-2 )

*  dev-python/twisted-news
      Latest version available: 8.1.0
      Latest version installed: [ Not Installed ]
      Size of files: 16 kB
      Homepage:      http://www.twistedmatrix.com/
      Description:   Twisted News is an NNTP server and programming library.
      License:       MIT

*  kde-base/knewsticker
      Latest version available: 3.5.9
      Latest version installed: [ Not Installed ]
      Size of files: 9,120 kB
      Homepage:      http://www.kde.org/
      Description:   kicker plugin: rss news ticker
      License:       GPL-2

*  kde-base/knewsticker-scripts
      Latest version available: 3.5.9
      Latest version installed: [ Not Installed ]
      Size of files: 1,687 kB
      Homepage:      http://www.kde.org/
      Description:   Kicker applet - RSS news ticker
      License:       GPL-2

*  kde-base/knewstuff [ Masked ]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6971, in <module>
    retval = emerge_main()
  File "/usr/bin/emerge", line 6945, in emerge_main
    myopts, myfiles, spinner)
  File "/usr/bin/emerge", line 5815, in action_search
    searchinstance.output()
  File "/usr/bin/emerge", line 638, in output
    mysettings=self.settings, all=True)[1]
  File "/usr/bin/emerge", line 461, in _getfetchlist
    value = func(*args, **kwargs)
  File "/usr/lib/portage/pym/portage.py", line 7164, in getfetchlist
    (mypkg, eapi.lstrip("-")))
portage_exception.InvalidDependString: getfetchlist(): 'kde-base/knewstuff-4.1.2' has unsupported EAPI: '2'


Expected Results:  
should not get a portage exception. eapi-2 needs to be handled.
Comment 1 Zac Medico gentoo-dev 2008-10-09 06:55:25 UTC

*** This bug has been marked as a duplicate of bug 239471 ***