Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238942 - app-portage/eix works incorrectly with new sqlite cache format used by sys-apps/portage >=r11552
Summary: app-portage/eix works incorrectly with new sqlite cache format used by sys-ap...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL: https://projects.gentooexperimental.o...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-09-28 13:31 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2008-10-01 00:05 UTC (History)
3 users (show)

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 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-09-28 13:31:57 UTC
app-portage/eix works incorrectly with new sqlite cache format used by sys-apps/portage >=r11552.

Keys are written in alphabetical order since r11552:
http://sources.gentoo.org/viewcvs.py/portage?rev=11552&view=rev

I use eix r736.

$ cat /etc/portage/modules
portdbapi.auxdbmodule = cache.sqlite.database
$ cat /etc/eixrc
PORTDIR_CACHE_METHOD='sqlite'
OVERLAY_CACHE_METHOD='parse'
REDUNDANT_IF_MIXED='some-installed'
$ 

The output of eix is incorrect:

$ eix pakchois
[D] dev-libs/pakchois
     Available versions:  (PaKChoiS - PKCS #11 wrapper library)  *0.4
     Installed versions:  0.4(PaKChoiS - PKCS #11 wrapper library)(04:51:57 07.06.2008)
     Description:         alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86

$
Comment 1 Martin Väth 2008-09-28 18:12:30 UTC
This should be fixed in current eix svn trunk (>=eix-0.14.0).
The new sqlite inquiry of eix uses keys if matching ones can be found
and thus should work with all cases.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-09-28 20:55:31 UTC
I'm confirming that eix r738 works correctly.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-01 00:05:22 UTC
+*eix-0.14.0 (01 Oct 2008)
+
+  01 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> +eix-0.14.0.ebuild:
+  Bump, fixing bug 239199. This version fixes bug 238942, weirdness w/
+  portage sqlite backends.
+