From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] cdb with portage 2.1 (was: CVSup vs Gentoo's Rsync)
Date: Fri, 17 Mar 2006 18:24:36 +0000 (UTC) [thread overview]
Message-ID: <loom.20060317T191821-475@post.gmane.org> (raw)
In-Reply-To: 200602241647.10005.volker.armin.hemmann@tu-clausthal.de
Hi!
Hemmann, Volker Armin <volker.armin.hemmann <at> 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
next prev parent reply other threads:[~2006-03-17 18:35 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 10:07 [gentoo-user] CVSup vs Gentoo's Rsync Ow Mun Heng
2006-02-21 11:10 ` Julien Cabillot
2006-02-21 11:24 ` Boyd Stephen Smith Jr.
2006-02-22 0:38 ` Aniruddha Shankar
2006-02-22 9:53 ` Boyd Stephen Smith Jr.
2006-02-23 2:04 ` Ow Mun Heng
2006-02-23 10:26 ` Alexander Kirillov
2006-02-23 14:47 ` Hemmann, Volker Armin
2006-02-23 23:39 ` Alexander Kirillov
2006-02-24 0:27 ` Hemmann, Volker Armin
2006-02-24 6:00 ` Alexander Skwar
2006-02-24 14:16 ` Hemmann, Volker Armin
2006-02-24 14:37 ` Alexander Skwar
2006-02-24 15:47 ` Hemmann, Volker Armin
2006-02-25 6:37 ` Alexander Skwar
2006-02-25 12:32 ` Hemmann, Volker Armin
2006-03-17 18:24 ` Alexander Skwar [this message]
2006-03-17 22:26 ` [gentoo-user] cdb with portage 2.1 (was: CVSup vs Gentoo's Rsync) Hemmann, Volker Armin
2006-03-17 22:33 ` Bo Andresen
2006-03-18 6:16 ` [gentoo-user] cdb with portage 2.1 Alexander Skwar
2006-03-18 7:22 ` Bo Andresen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20060317T191821-475@post.gmane.org \
--to=listen@alexander.skwar.name \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox