Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to help portage to be become a bit smarter
Date: Mon, 29 Jun 2009 11:20:27
Message-Id: 4A48A373.60801@gmail.com
In Reply to: Re: [gentoo-user] How to help portage to be become a bit smarter by Helmut Jarausch
1 Helmut Jarausch wrote:
2 > On 29 Jun, Dale wrote:
3 >
4 >> Helmut Jarausch wrote:
5 >>
6 >>> Hi,
7 >>>
8 >>> I'm using portage-2.2_rc33. And it has become smarter with every new
9 >>> release. Still, I don't understand why it's sometimes smarter than other
10 >>> times.
11 >>>
12 >>> In most cases now, it's able to handle cases where installed old
13 >>> packages which depend on, say, libXX-version-1, block emerging
14 >>> libXX-version-2 by unmerging the old version itself.
15 >>>
16 >>> But sometimes, like today when upgrading from various qt-...-4.5.1
17 >>> to qt-...-4.5.2 packages it produces tons of blockings which it
18 >>> cannot resolve itself.
19 >>>
20 >>> How can I help portage to resolve this blockings itself in a smart way?
21 >>> (trying to do
22 >>> emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
23 >>> automatically.
24 >>> )
25 >>>
26 >>> Many thanks for a hint,
27 >>> Helmut.
28 >>>
29 >>>
30 >>>
31 >> Another thought to. The option --with-bdeps y may help. It may not but
32 >> it could be worth a try. I have ran into problems where that helped and
33 >> have read where a few others have ran into similar problems and that
34 >> fixed it. It just tells emerge to dig a little deeper from my
35 >> understanding.
36 >>
37 >> Can't think of anything else at the moment.
38 >>
39 >>
40 >
41 > Thanks Dale, --with-bdeps y seems to help.
42 >
43 > By the way, the '-j <n>' option of emerge has nothing to do
44 > with the MAKEOPTS option.
45 > The -j option of emerge require parallel emerging of several packages at
46 > a time while the -j option in MAKEOPTS requires parallel make of a
47 > single package.
48 >
49 > In some phases (like configure, bzip of the man pages, etc) emerge
50 > cannot use multiple cores for a single package. Therefore the -j option
51 > of emerge tries to emerge several packages at a time unless dependencies
52 > forbid that. It's quite clever in that respect.
53 >
54 > Helmut.
55 >
56 >
57
58 Dang portage. It just gets better all the time. ;-)
59
60 Glad that helped.
61
62 Dale
63
64 :-) :-)