Ahh!
To make a long story short... you wouldn't need this stuff now, because Portage 2.1 is now stable. 2.1 dramatically speeds up that stuff without needing any special hacking.
2.1 also changed internal APIs, so old Portage 2.0 backend db modules no longer work 'as is'. This is probably why you are seeing these errors.
My strong recommendation? Do not implement the stuff I originally suggested in the first post in this topic. No longer needed.
emerge --metadata (which is a part of emerge --sync and done automatically when you sync) just zooms by on my Linode, every time, with Portage 2.1 in place!
It looks to be dramatically more effective in not touching the database for any directories that has not updated since the last sync/metadata update.
If you have /etc/make.profile pointing to any 2006.0 profile and if you have done 'emerge --sync' within the last two months, then you should now have Portage 2.1 installed.
To check:
Code:
# equery list -e portage
[ Searching for package 'portage' in all categories among: ]
* installed packages
[I--] [ ] sys-apps/portage-2.1-r1 (0)