1 |
On 11/19/2014 11:59 AM, Andrew Savchenko wrote: |
2 |
> Hello, |
3 |
> |
4 |
> On Mon, 17 Nov 2014 21:55:48 -0800 Zac Medico wrote: |
5 |
>> On 11/17/2014 09:47 PM, Andrew Savchenko wrote: |
6 |
>>> I use 2.2.14 on both hosts (and usually latest ~x86 portage is |
7 |
>>> there). I thought that running fixpackages should be enough to run |
8 |
>>> emerge with --dynamic-deps=n. |
9 |
>> |
10 |
>> It depends on how badly the installed deps have diverged from the |
11 |
>> corresponding ebuilds in the tree. |
12 |
> |
13 |
> I tried fixpackages. It fixed some problems and looks like |
14 |
> dependencies resolution became faster. But not all problems are |
15 |
> fixed and I can't use --dynamic-deps n on both systems for now; |
16 |
> and emerge @changed-deps fails due to numerous conflicts, blocks, |
17 |
> unsatisfied deps (this is not surprising, since it doesn't try to |
18 |
> update all packages in tree). |
19 |
> |
20 |
> By the way, is there any way to unroll conflict lists in portage |
21 |
> output? I mean if I have following: |
22 |
> |
23 |
> (dev-lang/ghc-7.6.3-r1:0/7.6.3::gentoo, installed) pulled in by |
24 |
> >=dev-lang/ghc-6.8.2:0/7.6.3= required by (dev-haskell/random-1.0.1.1-r1:0/1.0.1.1::gentoo, installed) |
25 |
> ^^^^^^^^^ |
26 |
> (and 68 more with the same problem) |
27 |
> |
28 |
> How can I see all list of these 68 packages? Sometimes this feature is |
29 |
> really desired, e.g. if I don't want to update all @world but need to |
30 |
> apply GLSA fix which leads to similar conflicts. I can't find any |
31 |
> switch in emerge manual. |
32 |
|
33 |
There's currently no switch for this. However, you can use a a command |
34 |
like this to see all installed packages that pull in your installed ghc: |
35 |
|
36 |
emerge -pv --depclean dev-lang/ghc |
37 |
|
38 |
I've filed a feature request bug for the switch that you have requested: |
39 |
|
40 |
https://bugs.gentoo.org/show_bug.cgi?id=529988 |
41 |
|
42 |
> As for hitomi box, it is both slower and have much older packages, |
43 |
> so I'm still struggling to fix conflicts and other issues. Results |
44 |
> will be available later. |
45 |
|
46 |
From your results, it seems that _select_pkg_highest_available would be |
47 |
an obvious thing to optimize. This method already uses memoization, but |
48 |
the cache is entirely discarded each time that a package is added to the |
49 |
graph. I will see about making it salvage as much cache as possible when |
50 |
a package is added. |
51 |
|
52 |
> P.S. Note for those who would like to use gpro2dot: it should be |
53 |
> run with the same python interpreter active as was used during |
54 |
> pstats data collection, otherwise it will fail to process data. |
55 |
> I spent some time while figuring this out. |
56 |
|
57 |
I wasn't aware of that, so thanks for the tip. |
58 |
-- |
59 |
Thanks, |
60 |
Zac |