Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python-updater constantly rebuilds one same package
Date: Thu, 14 Aug 2014 13:50:03
Message-Id: 53ECBE49.3060907@gmail.com
In Reply to: Re: [gentoo-user] python-updater constantly rebuilds one same package by "Сергей"
1 On 14/08/2014 14:58, Сергей wrote:
2 > Sorry. Here is what I wanted to paste:
3 > sudo python-updater
4 > * Starting Python Updater...
5 > * Main active version of Python: 3.3
6 > * Active version of Python 2: 2.7
7 > * Active version of Python 3: 3.3
8 > * Globally supported Python ABIs in installed repositories:
9 > * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
10 > 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9
11 > 2.7-pypy-2.0
12 > * kde: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
13 > 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9
14 > 2.7-pypy-2.0
15 > * Adding to list: dev-libs/libgamin:0
16 > * emerge -Dv1 --keep-going dev-libs/libgamin:0
17 >
18 > These are the packages that would be merged, in order:
19 >
20 > Calculating dependencies... done!
21 > [ebuild R ] dev-libs/libgamin-0.1.10-r4 USE="-debug -python
22 > -static-libs" ABI_X86="(64) (-32) (-x32)" 0 kB
23 >
24 > Total: 1 package (1 reinstall), Size of downloads: 0 kB
25 >
26 >>>> Verifying ebuild manifests
27 >>>> Emerging (1 of 1) dev-libs/libgamin-0.1.10-r4
28 >>>> Installing (1 of 1) dev-libs/libgamin-0.1.10-r4
29 >>>> Jobs: 1 of 1 complete Load avg: 1.15, 0.72, 0.46
30 >>>> Auto-cleaning packages...
31 >
32 >>>> No outdated packages were found on your system.
33 >
34 > * GNU info directory index is up-to-date.
35 > sergey@sergey-pc ~ % sudo python-updater
36 > * Starting Python Updater...
37 > * Main active version of Python: 3.3
38 > * Active version of Python 2: 2.7
39 > * Active version of Python 3: 3.3
40 > * Globally supported Python ABIs in installed repositories:
41 > * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
42 > 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9
43 > 2.7-pypy-2.0
44 > * kde: 2.4 2.5 2.6 2.7 3.1 3.2 3.3
45 > 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9
46 > 2.7-pypy-2.0
47 > * Adding to list: dev-libs/libgamin:0
48 > * emerge -Dv1 --keep-going dev-libs/libgamin:0
49 >
50 > As you can see, though libgamin was rebuilt, if I run python-updater
51 > once more it wants to rebuild it again.
52
53
54 These kinds of things are hard to fix, and even harder to figure out
55 what is going on. Behind the scenes, there's a lot of portage magic
56 involved to determine what depends on what, and what changed ABI so now
57 it's dependants must be rebuilt. But the tools often don't give enough
58 info (or too much!), so we have to resort to blunt weapons.
59
60 I find that this often works out:
61
62 revdep-rebuild, the python-updater again. If that doesn't fix it:
63
64 equery depends libgamin
65
66 then unmerge libgamin andthe packages that depend on it. Then emerge
67 them back with the -1 option (not an update world just in case there are
68 missing deps in ebuild)
69
70 Yes, it's a blunt weapon and probably overkill (sorta like rebooting
71 windows to fix every little thing), but without more info your choices
72 are limited
73
74
75
76
77
78 --
79 Alan McKinnon
80 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] python-updater constantly rebuilds one same package "Сергей" <protserovsd@×××××.com>