From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FKJmx-0004Ps-DK for garchives@archives.gentoo.org; Fri, 17 Mar 2006 18:35:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2HIWeKK005764; Fri, 17 Mar 2006 18:32:40 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2HIOxfO024311 for ; Fri, 17 Mar 2006 18:24:59 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FKJdC-0000Jc-Ub for gentoo-user@lists.gentoo.org; Fri, 17 Mar 2006 18:24:59 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FKJd7-0004ld-3L for gentoo-user@gentoo.org; Fri, 17 Mar 2006 19:24:53 +0100 Received: from mue-88-130-101-090.dsl.tropolys.de ([88.130.101.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Mar 2006 19:24:53 +0100 Received: from listen by mue-88-130-101-090.dsl.tropolys.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Mar 2006 19:24:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Alexander Skwar Subject: [gentoo-user] cdb with portage 2.1 (was: CVSup vs Gentoo's Rsync) Date: Fri, 17 Mar 2006 18:24:36 +0000 (UTC) Message-ID: References: <1140516464.23492.2.camel@neuromancer.home.net> <200602241516.58344.volker.armin.hemmann@tu-clausthal.de> <43FF1A29.2030105@mid.message-center.info> <200602241647.10005.volker.armin.hemmann@tu-clausthal.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 88.130.101.90 (Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.1) Gecko/20060225 Firefox/1.5.0.1) Sender: news X-Archives-Salt: 9fbb5fc7-eb37-4e8c-9276-e7ff07edbe8d X-Archives-Hash: d56ef1d4892158ebaf1e003bcb4fc409 Hi! Hemmann, Volker Armin tu-clausthal.de> writes: > http://forums.gentoo.org/viewtopic-t-261580.html > > is the thread. > > But beware, in /usr/portage/modules you need this: > > portdbapi.auxdbmodule = cache.cdb.database > eclass_cache.dbmodule = cache.cdb.database > > not that: > > portdbapi.auxdbmodule = portage_db_cdb.database > eclass_cache.dbmodule = portage_db_cdb.database > > that is the only change I remember at the moment (and which did not went into > the wiki). I now finally got around to actually TRY what I put in the wiki at http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb :) And I discovered, that this doesn't work for me :( When I write your lines in /etc/portage/modules and run "emerge --metadata", I get the following error: alexander@blatt ~ $ time sudo emerge --verbose --metadata ==================================== Error: Failed to import module 'cache.cdb.database' File "/usr/lib/portage/pym/portage.py", line 1290, in load_best_module mod = load_mod(best_mod) File "/usr/lib/portage/pym/portage.py", line 149, in load_mod mod = __import__(modname) No module named cdb ==================================== But when I put the "old lines" (those with portage_db_cdb.database) in the modules file, I get: alexander@blatt ~ $ time sudo emerge --verbose --metadata ==================================== Error: Failed to import module 'portage_db_cdb.database' File "/usr/lib/portage/pym/portage.py", line 1290, in load_best_module mod = load_mod(best_mod) File "/usr/lib/portage/pym/portage.py", line 149, in load_mod mod = __import__(modname) File "/usr/lib/portage/pym/portage_db_cdb.py", line 17, in ? import portage_db_template No module named portage_db_template ==================================== Well, for me, it seems that the 2nd version (with portage_db_cdb.database) seems to be a little bit more "successful", as it actually LOADS the portage_db_cdb.py file. That's not done with the version using 'cache.cdb.database' - here it fails to load a module named cdb. Is anyone using CDB with Portage 2.1? Regards, Alexander Skwar -- "Never give in. Never give in. Never. Never. Never." -- Winston Churchill -- gentoo-user@gentoo.org mailing list