Gentoo Archives: gentoo-user

From: Jacques Montier <jacques.montier@×××××××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python-2.7 && python-updater
Date: Sun, 27 Mar 2011 15:48:56
Message-Id: 4D8F5BFC.7000800@numericable.fr
In Reply to: Re: [gentoo-user] python-2.7 && python-updater by Mark Knecht
1 Le 27/03/2011 17:26, Mark Knecht a écrit :
2 > On Sat, Mar 26, 2011 at 5:44 PM, Neil Bothwick <neil@××××××××××.uk> wrote:
3 >> On Sat, 26 Mar 2011 14:33:14 -0700, Mark Knecht wrote:
4 >>
5 >>>> Aren't those manually added to the list by python-updater? So you
6 >>>> need to use -dmanual to prevent further rebuilding of them.
7 >>> I guess I'm not clear on the use of 'manual' here.
8 >> It's explained in the manual page (sorry :)
9 >>
10 >> Manual means manually added to the list by python-updater, rather than
11 >> using any sort of detection.
12 >>
13 > OK, I won't bother with the many definitions of the word manual or how
14 > that effects the conversation from my end 'cause that don't matter
15 > much to Linux man-page writers. ;-) However I'm still failing to see
16 > the interest in this as it only removes 1 or 4 packages (boost) that
17 > I've rebuilt multiple time. 75% of the failures still fail using
18 > -dmanual.
19 >
20 > c2stable ~ # python-updater -p -dmanual
21 > * Starting Python Updater...
22 > * Main active version of Python: 2.7
23 > * Active version of Python 2: 2.7
24 > * Active version of Python 3: 3.1
25 > * Adding to list: app-emulation/emul-linux-x86-baselibs:0
26 > * Adding to list: app-emulation/virtualbox:0
27 > * Adding to list: app-office/openoffice-bin:0
28 > * Adding to list: app-office/openoffice-bin:0
29 > * emerge -Dv1 --keep-going -p app-emulation/emul-linux-x86-baselibs:0
30 > app-emulation/virtualbox:0 app-office/openoffice-bin:0
31 > app-office/openoffice-bin:0
32 >
33 > These are the packages that would be merged, in order:
34 >
35 > Calculating dependencies... done!
36 > [ebuild R ] app-emulation/emul-linux-x86-baselibs-20110129
37 > USE="-development" 0 kB
38 > [ebuild R ] app-office/openoffice-bin-3.3.0 USE="-gnome -java"
39 > LINGUAS="en -ar -as -ast -be_BY -bg -bn -ca -ca_XV -cs -da -de -dz -el
40 > -en_GB -eo -es -et -eu -fi -fr -ga -gl -gu -he -hi -hu -id -is -it -ja
41 > -ka -km -kn -ko -ku -lt -lv -mk -ml -mr -my -nb -nl -nn -oc -om -or
42 > -pa_IN -pl -pt -pt_BR -ro -ru -sh -si -sk -sl -sr -sv -ta -te -th -tr
43 > -ug -uk -uz -vi -zh_CN -zh_TW" 0 kB
44 > [ebuild R ~] app-emulation/virtualbox-4.0.4-r1 USE="additions
45 > alsa opengl python qt4 sdk -doc -extensions -headless -java
46 > -pulseaudio -vboxwebsrv -vnc" 0 kB
47 >
48 > Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
49 > c2stable ~ # python-updater -p
50 > * Starting Python Updater...
51 > * Main active version of Python: 2.7
52 > * Active version of Python 2: 2.7
53 > * Active version of Python 3: 3.1
54 > * Adding to list: app-emulation/emul-linux-x86-baselibs:0
55 > * Adding to list: app-emulation/virtualbox:0
56 > * Adding to list: app-office/openoffice-bin:0
57 > * Adding to list: app-office/openoffice-bin:0
58 > * Adding to list: dev-libs/boost:1.42
59 > * check: manual [Added to list manually, see CHECKS in manpage
60 > for more information.]
61 > * emerge -Dv1 --keep-going -p app-emulation/emul-linux-x86-baselibs:0
62 > app-emulation/virtualbox:0 app-office/openoffice-bin:0
63 > app-office/openoffice-bin:0 dev-libs/boost:1.42
64 >
65 > These are the packages that would be merged, in order:
66 >
67 > Calculating dependencies... done!
68 > [ebuild R ] app-emulation/emul-linux-x86-baselibs-20110129
69 > USE="-development" 0 kB
70 > [ebuild R ] dev-libs/boost-1.42.0-r2 USE="eselect python -debug
71 > -doc -icu -mpi -static-libs -test -tools" 0 kB
72 > [ebuild R ] app-office/openoffice-bin-3.3.0 USE="-gnome -java"
73 > LINGUAS="en -ar -as -ast -be_BY -bg -bn -ca -ca_XV -cs -da -de -dz -el
74 > -en_GB -eo -es -et -eu -fi -fr -ga -gl -gu -he -hi -hu -id -is -it -ja
75 > -ka -km -kn -ko -ku -lt -lv -mk -ml -mr -my -nb -nl -nn -oc -om -or
76 > -pa_IN -pl -pt -pt_BR -ro -ru -sh -si -sk -sl -sr -sv -ta -te -th -tr
77 > -ug -uk -uz -vi -zh_CN -zh_TW" 0 kB
78 > [ebuild R ~] app-emulation/virtualbox-4.0.4-r1 USE="additions
79 > alsa opengl python qt4 sdk -doc -extensions -headless -java
80 > -pulseaudio -vboxwebsrv -vnc" 0 kB
81 >
82 > Total: 4 packages (4 reinstalls), Size of downloads: 0 kB
83 > c2stable ~ #
84 >
85 >
86 >
87 >>> They are
88 >>> automatically added. If they are correctly rebuilt then they shouldn't
89 >>> need to be added a second time, correct? However they are. (Over and
90 >>> over...)
91 >>>
92 >>> Basically, it is my understanding that if everything is correctly
93 >>> updated then on the second pass it should say there's nothing to do,
94 >>> right?
95 >> If it can determine that that's the case, yes. Packages are added
96 >> manually because python-updater cannot tell for sure whether they should
97 >> be rebuilt this time. That's certainly true for ooo-bin and boost, lnd
98 >> prevented by -dmanual. app-emulation/emul-linux-x86-baselibs seems
99 >> different, I've just been hit by this one, so I ignored it after the
100 >> first build. I suspect a bug has already been reported.
101 >>
102 > Fair enough. I'm also seeing Virtualbox as shown above.
103 >
104 > Thanks for the info. I've done the python-updater steps too many times
105 > now and from now on will basically do it just once and after that take
106 > what it says with a grain of salt.
107 >
108 > Cheers,
109 > Mark
110 >
111 Hi,
112
113 I had the same problem. So i had to run
114 python-updater -dmanual -dpylibdir -dPYTHON_ABIS -dshared_linking
115 -dstatic_linking
116 * Starting Python Updater...
117 * Main active version of Python: 2.7
118 * Active version of Python 2: 2.7
119 * Active version of Python 3: 3.1
120 * No packages need to be reinstalled.
121
122 --
123 Jacques