Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 252750

Summary: app-portage/esearch-0.7.1* not compatible with sys-apps/portage-2.2*
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /tmp/emerge--info

Description DEMAINE Benoît-Pierre, aka DoubleHP 2008-12-27 21:37:35 UTC
I got app-portage/esearch-0.7.1 (but same bug when i tried -r4), and updated to sys-apps/portage-2.2 branch (some overlays require 2.2 ). Now, esync and esearch complain:

moon-gen-3 ~ # esearch foobar
/usr/lib/portage/pym/output.py:39: DeprecationWarning: DEPRECATION NOTICE: The output module was replaced by portage.output
[ Results for search key : foobar ]
[ Applications found : 0 ]

moon-gen-3 ~ # esync
/usr/lib/portage/pym/output.py:39: DeprecationWarning: DEPRECATION NOTICE: The output module was replaced by portage.output
 * Importing old portage tree

At the beginning, esync failed; but after running "emerge --sync" manually once, i dont have any more the old bug. It's working way better, so, can not reproduce the bug i had yesterday (which got fixed, obviously, by doing emerge --sync).

Please make esearch fully compliant with portage-2.2:
- fixing those deprecation warnings
- detect portage 2.2 so that we dont have to run emerge --sync manually once
- deal with new features

Thanks.
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2008-12-27 21:51:11 UTC
Created attachment 176541 [details]
/tmp/emerge--info
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-12-27 22:57:00 UTC
Use eix. esearch probably will be removed (Bug #249414).

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