Hi, I was installing Gentoo on older laptop on thumbdrive with poor iops. I got this when bash-completion was installing in background (I was looking at use flags): > livecd ~ # emerge -pev @world > > These are the packages that would be merged, in order: > > Calculating dependencies * waiting for lock on /var/db/.pkg.portage_lockfile ... > [ ok ] > ... done! > Dependency resolution took 348.50 s. Nearly 6min on system with barely anything more than basic stage 3 is stupidly long. I run this again after bash-completion was already installed and got: > livecd ~ # emerge -pev @world > > These are the packages that would be merged, in order: > Calculating dependencies... done! > Dependency resolution took 12.43 s. Looks like dependency resolution includes waiting for lockfile, which isn't feel right.
We can time this lock and subtract it out: > lib/_emerge/FakeVartree.py: self._real_vardb.lock()