Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132915 - eix does not work with cbd metadata cache in portage 2.1_pre10
Summary: eix does not work with cbd metadata cache in portage 2.1_pre10
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 132931
Blocks:
  Show dependency tree
 
Reported: 2006-05-10 09:18 UTC by Martin Diers
Modified: 2006-05-10 14:00 UTC (History)
1 user (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 Martin Diers 2006-05-10 09:18:41 UTC
When cdb module is installed and functioning properly in portage-2.1_pre10-r5, and eix is set to use the cdb cache, it does not find any packages in /usr/portage.

This is after upgrading to portage-2.1_pre10, and running emerge --metadata. As I said, portage itself works flawlessly.

example:
--------------------------------------------------
gentoo ~ # update-eix
Reading Portage settings ..
Building database (/var/cache/eix) from scratch ..
[0] /usr/portage/ (cache: cdb)
     Reading 100%
[1] /usr/local/portage (cache: none)
     Reading 100%
Applying masks ..
Database contains 0 packages in 147 categories.

Contents of /etc/portage/modules:
-----------------------------------------------
portdbapi.auxdbmodule = cache.cdb.database
eclass_cache.dbmodule = cache.cdb.database

Contents of /etc/eixrc:
-----------------------------------------------
PORTDIR_CACHE_METHOD="cdb"


emerge info:
-----------------------------------------------
Portage 2.1_pre10-r5 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -frename-registers -fweb -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -frename-registers -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo3.thebernardgroup.com/gentoo-portage"
USE="x86 apache2 berkdb cli crypt eds encode fortran gdbm gif jfs jpeg libg++ libwww ncurses nls nptl nptlonly pcre perl png python readline reflection session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev xml zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


NOTE: I used the following CXXFLAGS as a test, and that failed also (as I expected it would):
CXXFLAGS="-mtune=i686 -O2 -pipe"
Comment 1 Emil Beinroth 2006-05-10 12:42:20 UTC
Are we talking about the cdb-module that's available at http://markus-ullmann.de/gentoo/speedhack-portage-2.1/?
Comment 2 Martin Diers 2006-05-10 12:46:51 UTC
No. Here:

http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

There are two versions, one for 2.0.x and one for 2.1.x.
Comment 3 Martin Diers 2006-05-10 12:50:04 UTC
Sorry. I just compared the one at your link. Same module as the link I posted.
Comment 4 Emil Beinroth 2006-05-10 13:51:39 UTC
The "new" cdb-module is currently not supported (and probably will never be).
I suggest you switch to PORTDIR_CACHE_METHOD="metadata" ..
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-10 14:00:44 UTC
Sorry, we will not fix this

Please use eix-0.5.5 that just got stable today with PORTDIR_CACHE_METHOD="metadata"