Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Calculating dependencies...: Any way to make it faster?
Date: Sat, 24 Jan 2015 05:56:28
Message-Id: 20150124055616.GB4389@solfire
In Reply to: Re: [gentoo-user] Calculating dependencies...: Any way to make it faster? by Bill Kenworthy
1 Bill Kenworthy <billk@×××××××××.au> [15-01-24 06:48]:
2 > On 24/01/15 13:23, Daniel Frey wrote:
3 > > On 01/23/2015 08:20 PM, Meino.Cramer@×××.de wrote:
4 > >> Hi,
5 > >>
6 > >> for my embedded systems I use gentoo. Their "harddisk"s are simple
7 > >> microSDcards.
8 > >>
9 > >> When updateing or emerging especially the "Calculation
10 > >> dependencies..." is a step which needs a lot of patience of the
11 > >> user (me ;).
12 > >
13 > > I have a QX9650 and it can be a few minutes on mine, especially on a
14 > > world update. My slower CPUs (Celerons) can take more than five minutes,
15 > > I don't even want to think about embedded.
16 > >
17 > >> Is there any way to make it faster or (in other words): Are there
18 > >> different ways to "Calculating dependencies..." and have only chossen
19 > >> the slowest one...?
20 > >
21 > > I'd be interested as well to know as well. It used to be it did a simple
22 > > dependency check and installed packages - then revdep-rebuild could
23 > > check for packages that need rebuilds.
24 > >
25 > > It's not really an issue if you only run emerge once, but if you have to
26 > > do it several times in one session it gets old really quick. It reminds
27 > > me of waiting for Windows XP checking for updates. Just give it a half
28 > > hour, it'll figure it out. :-(
29 > >
30 > > Dan
31 > >
32 >
33 > distcc can make a big difference on slow machines where you have 3 or so
34 > hosts to throw jobs at.
35 >
36 > ccache in particular speeds up multiple passes at an emerge.
37 >
38 > Downside is a few packages cant use ccache and exhibit seemingly random
39 > failures to compile but if known they can be excluded using a portage
40 > setting.
41 >
42 > BillK
43 >
44
45 Hi Bill,
46
47 thank you for your reply! :)
48
49 I experimented with kinds of "not compiling it natively" like distcc,
50 crosscompiling and such. May be me of may be a problem with the tools/
51 the environment/the setup or whatever: The results were corrupted
52 systems every time. This costed me even more time than waiting for
53 "Calculationg dpeendencies...".
54 So I am back to natively compiling that stuff...
55
56 Best regards,
57 Meino

Replies

Subject Author
Re: [gentoo-user] Calculating dependencies...: Any way to make it faster? Peter Humphrey <peter@××××××××××××.uk>