* [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
@ 2011-04-22 18:05 Alan Mackenzie
2011-04-22 22:34 ` Dale
2011-04-22 22:43 ` Alan McKinnon
0 siblings, 2 replies; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-22 18:05 UTC (permalink / raw
To: gentoo-user
Hi, Gentoo.
In my attempt to 'emerge --update --deep xfce4-meta', one sole package
is refusing to build, namely pygtk.
Its log file displays many (perhaps 100) error lines like:
Could not write method AtkObject.get_attributes: No ArgType for AtkAttributeSet*
. The command that caused all these errors was:
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./gtk -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o .libs/pango_la-pangomodule.o
. If anybody knows how to fix this, or a more appropriate place to ask
for help, please tell me.
Thanks in advance!
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-22 18:05 [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan Mackenzie
@ 2011-04-22 22:34 ` Dale
2011-04-22 22:43 ` Alan McKinnon
1 sibling, 0 replies; 20+ messages in thread
From: Dale @ 2011-04-22 22:34 UTC (permalink / raw
To: gentoo-user
Alan Mackenzie wrote:
> Hi, Gentoo.
>
> In my attempt to 'emerge --update --deep xfce4-meta', one sole package
> is refusing to build, namely pygtk.
>
> Its log file displays many (perhaps 100) error lines like:
>
> Could not write method AtkObject.get_attributes: No ArgType for AtkAttributeSet*
>
> . The command that caused all these errors was:
>
> libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./gtk -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o .libs/pango_la-pangomodule.o
>
> . If anybody knows how to fix this, or a more appropriate place to ask
> for help, please tell me.
>
> Thanks in advance!
>
>
I did a bit of googling and found some things to try. Running
etc-update was one and python-updater was another. I also saw a mention
of running fixlibtool but I'm not sure that helped any.
Maybe one of those will help. Maybe worth trying at least.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-22 18:05 [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan Mackenzie
2011-04-22 22:34 ` Dale
@ 2011-04-22 22:43 ` Alan McKinnon
2011-04-23 16:35 ` Alan Mackenzie
1 sibling, 1 reply; 20+ messages in thread
From: Alan McKinnon @ 2011-04-22 22:43 UTC (permalink / raw
To: gentoo-user; +Cc: Alan Mackenzie
Apparently, though unproven, at 20:05 on Friday 22 April 2011, Alan Mackenzie
did opine thusly:
> Hi, Gentoo.
>
> In my attempt to 'emerge --update --deep xfce4-meta', one sole package
> is refusing to build, namely pygtk.
>
> Its log file displays many (perhaps 100) error lines like:
>
> Could not write method AtkObject.get_attributes: No ArgType for
> AtkAttributeSet*
>
> . The command that caused all these errors was:
>
> libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread
> -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I./gtk
> -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall
> -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF
> .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o
> .libs/pango_la-pangomodule.o
>
> . If anybody knows how to fix this, or a more appropriate place to ask
> for help, please tell me.
>
> Thanks in advance!
This one might be tricky. Here's a tip: include version numbers of packages
that are giving trouble, and whether you run stable, testing or (god forbid!)
a mixture - this can be rather important in guiding one to what to do next (a
process mostly defined by instinct rather than by say reason)
The error looks like an API break between pygtk and whatever provides
AtkObject. That is part of the gtk accessibility toolkit, and the relevant
files come out of a package called atk.
My first guess is that pygtk and atk are now out of sync on your machine. Try
this:
emerge -av1 atk
emerge -av1 pygtk
Post back if that doesn't work.
Another tip: search bugs.gentoo.org first before posting - oftentimes
theproblem is already known and reported on. In this specific case however, I
didn't find anything.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-22 22:43 ` Alan McKinnon
@ 2011-04-23 16:35 ` Alan Mackenzie
2011-04-23 19:46 ` Mick
2011-04-23 20:21 ` [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan McKinnon
0 siblings, 2 replies; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-23 16:35 UTC (permalink / raw
To: Alan McKinnon; +Cc: gentoo-user
Hi, Alan.
On Sat, Apr 23, 2011 at 12:43:45AM +0200, Alan McKinnon wrote:
> Apparently, though unproven, at 20:05 on Friday 22 April 2011, Alan Mackenzie
> did opine thusly:
> > Hi, Gentoo.
> > In my attempt to 'emerge --update --deep xfce4-meta', one sole
> > package is refusing to build, namely pygtk.
> > Its log file displays many (perhaps 100) error lines like:
> > Could not write method AtkObject.get_attributes: No ArgType for
> > AtkAttributeSet*
> > . The command that caused all these errors was:
> > libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> > -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread
> > -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I./gtk
> > -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread
> > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall
> > -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF
> > .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o
> > .libs/pango_la-pangomodule.o
> > . If anybody knows how to fix this, or a more appropriate place to
> > ask for help, please tell me.
> > Thanks in advance!
> This one might be tricky. Here's a tip: include version numbers of
> packages that are giving trouble, and whether you run stable, testing
> or (god forbid!) a mixture - this can be rather important in guiding
> one to what to do next (a process mostly defined by instinct rather
> than by say reason)
OK. As a relative newbie, I only run "stable". My system is giving me
enough headaches as it is.
> The error looks like an API break between pygtk and whatever provides
> AtkObject. That is part of the gtk accessibility toolkit, and the relevant
> files come out of a package called atk.
> My first guess is that pygtk and atk are now out of sync on your machine. Try
> this:
> emerge -av1 atk
> emerge -av1 pygtk
> Post back if that doesn't work.
Sadly, it didn't work.
> Another tip: search bugs.gentoo.org first before posting - oftentimes
> the problem is already known and reported on. In this specific case
> however, I didn't find anything.
OK. I managed to get the problem fixed, basically by trying everything,
though I don't really understand what I did. This was my recipe:
emerge --sync
emerge --update --deep --newuse xfce4-meta
, which updated libglade-2.6.4 and pygtk-2.22.0-r1 successfully. So
thanks!
> --
> alan dot mckinnon at gmail dot com
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-23 16:35 ` Alan Mackenzie
@ 2011-04-23 19:46 ` Mick
2011-04-23 20:06 ` Alan Mackenzie
2011-04-23 20:21 ` [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan McKinnon
1 sibling, 1 reply; 20+ messages in thread
From: Mick @ 2011-04-23 19:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2942 bytes --]
On Saturday 23 April 2011 17:35:44 Alan Mackenzie wrote:
> Hi, Alan.
>
> On Sat, Apr 23, 2011 at 12:43:45AM +0200, Alan McKinnon wrote:
> > Apparently, though unproven, at 20:05 on Friday 22 April 2011, Alan
> > Mackenzie
> >
> > did opine thusly:
> > > Hi, Gentoo.
> > >
> > > In my attempt to 'emerge --update --deep xfce4-meta', one sole
> > > package is refusing to build, namely pygtk.
> > >
> > > Its log file displays many (perhaps 100) error lines like:
> > > Could not write method AtkObject.get_attributes: No ArgType for
> > >
> > > AtkAttributeSet*
> > >
> > > . The command that caused all these errors was:
> > >
> > > libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> > > -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread
> > > -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> > > -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
> > > -I/usr/lib64/glib-2.0/include -I./gtk
> > > -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread
> > > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > > -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall
> > > -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF
> > > .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o
> > > .libs/pango_la-pangomodule.o
> > >
> > > . If anybody knows how to fix this, or a more appropriate place to
> > > ask for help, please tell me.
> > >
> > > Thanks in advance!
> >
> > This one might be tricky. Here's a tip: include version numbers of
> > packages that are giving trouble, and whether you run stable, testing
> > or (god forbid!) a mixture - this can be rather important in guiding
> > one to what to do next (a process mostly defined by instinct rather
> > than by say reason)
>
> OK. As a relative newbie, I only run "stable". My system is giving me
> enough headaches as it is.
>
> > The error looks like an API break between pygtk and whatever provides
> > AtkObject. That is part of the gtk accessibility toolkit, and the
> > relevant files come out of a package called atk.
> >
> > My first guess is that pygtk and atk are now out of sync on your machine.
> > Try this:
> >
> > emerge -av1 atk
> > emerge -av1 pygtk
> >
> > Post back if that doesn't work.
>
> Sadly, it didn't work.
>
> > Another tip: search bugs.gentoo.org first before posting - oftentimes
> > the problem is already known and reported on. In this specific case
> > however, I didn't find anything.
>
> OK. I managed to get the problem fixed, basically by trying everything,
> though I don't really understand what I did. This was my recipe:
>
> emerge --sync
> emerge --update --deep --newuse xfce4-meta
>
> , which updated libglade-2.6.4 and pygtk-2.22.0-r1 successfully. So
> thanks!
What do you get when you run:
# eselect python list
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-23 19:46 ` Mick
@ 2011-04-23 20:06 ` Alan Mackenzie
2011-04-24 8:17 ` Mick
0 siblings, 1 reply; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-23 20:06 UTC (permalink / raw
To: gentoo-user
Hi, Mick.
On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> On Saturday 23 April 2011 17:35:44 Alan Mackenzie wrote:
> > Hi, Alan.
> > On Sat, Apr 23, 2011 at 12:43:45AM +0200, Alan McKinnon wrote:
> > > Apparently, though unproven, at 20:05 on Friday 22 April 2011, Alan
> > > Mackenzie
> > > did opine thusly:
> > > > Hi, Gentoo.
> > > > In my attempt to 'emerge --update --deep xfce4-meta', one sole
> > > > package is refusing to build, namely pygtk.
> > > > Its log file displays many (perhaps 100) error lines like:
> > > > Could not write method AtkObject.get_attributes: No ArgType for
> > > > AtkAttributeSet*
> > > > . The command that caused all these errors was:
> > > > libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> > > > -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread
> > > > -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> > > > -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
> > > > -I/usr/lib64/glib-2.0/include -I./gtk
> > > > -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread
> > > > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > > > -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall
> > > > -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF
> > > > .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o
> > > > .libs/pango_la-pangomodule.o
> > > > . If anybody knows how to fix this, or a more appropriate place
> > > > to ask for help, please tell me.
> > > > Thanks in advance!
> > > This one might be tricky. Here's a tip: include version numbers of
> > > packages that are giving trouble, and whether you run stable,
> > > testing or (god forbid!) a mixture - this can be rather important
> > > in guiding one to what to do next (a process mostly defined by
> > > instinct rather than by say reason)
> > OK. As a relative newbie, I only run "stable". My system is giving
> > me enough headaches as it is.
> > > The error looks like an API break between pygtk and whatever
> > > provides AtkObject. That is part of the gtk accessibility toolkit,
> > > and the relevant files come out of a package called atk.
> > > My first guess is that pygtk and atk are now out of sync on your
> > > machine. Try this:
> > > emerge -av1 atk
> > > emerge -av1 pygtk
> > > Post back if that doesn't work.
> > Sadly, it didn't work.
> > > Another tip: search bugs.gentoo.org first before posting -
> > > oftentimes the problem is already known and reported on. In this
> > > specific case however, I didn't find anything.
> > OK. I managed to get the problem fixed, basically by trying
> > everything, though I don't really understand what I did. This was my
> > recipe:
> > emerge --sync
> > emerge --update --deep --newuse xfce4-meta
> > , which updated libglade-2.6.4 and pygtk-2.22.0-r1 successfully. So
> > thanks!
> What do you get when you run:
> # eselect python list
Available Python interpreters:
[1] python2.6 *
[2] python2.7
[3] python3.1
> --
> Regards,
> Mick
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-23 16:35 ` Alan Mackenzie
2011-04-23 19:46 ` Mick
@ 2011-04-23 20:21 ` Alan McKinnon
2011-04-23 23:58 ` Volker Armin Hemmann
1 sibling, 1 reply; 20+ messages in thread
From: Alan McKinnon @ 2011-04-23 20:21 UTC (permalink / raw
To: gentoo-user
Apparently, though unproven, at 18:35 on Saturday 23 April 2011, Alan
Mackenzie did opine thusly:
> OK. I managed to get the problem fixed, basically by trying everything,
> though I don't really understand what I did. This was my recipe:
>
> emerge --sync
> emerge --update --deep --newuse xfce4-meta
>
> , which updated libglade-2.6.4 and pygtk-2.22.0-r1 successfully. So
> thanks!
In that case, you either had an incomplete portage tree and syncing gave you
all the bits you needed. Or the pygtk ebuild was faulty and the dev fixed it
without bumping the version number.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-23 20:21 ` [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan McKinnon
@ 2011-04-23 23:58 ` Volker Armin Hemmann
0 siblings, 0 replies; 20+ messages in thread
From: Volker Armin Hemmann @ 2011-04-23 23:58 UTC (permalink / raw
To: gentoo-user
On Saturday 23 April 2011 22:21:28 Alan McKinnon wrote:
> Apparently, though unproven, at 18:35 on Saturday 23 April 2011, Alan
>
> Mackenzie did opine thusly:
> > OK. I managed to get the problem fixed, basically by trying everything,
> >
> > though I don't really understand what I did. This was my recipe:
> > emerge --sync
> > emerge --update --deep --newuse xfce4-meta
> >
> > , which updated libglade-2.6.4 and pygtk-2.22.0-r1 successfully. So
> > thanks!
>
> In that case, you either had an incomplete portage tree and syncing gave you
> all the bits you needed. Or the pygtk ebuild was faulty and the dev fixed
> it without bumping the version number.
which happens everytime a version is so bugged it does not install.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please!
2011-04-23 20:06 ` Alan Mackenzie
@ 2011-04-24 8:17 ` Mick
2011-04-24 13:25 ` [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!] Alan Mackenzie
0 siblings, 1 reply; 20+ messages in thread
From: Mick @ 2011-04-24 8:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 770 bytes --]
On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote:
> On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> > What do you get when you run:
> >
> > # eselect python list
>
> Available Python interpreters:
> [1] python2.6 *
> [2] python2.7
> [3] python3.1
OK, the next stage would be to change your python to the latest stable:
eselect python set 2
and then remerge those packages that were linked against the old python:
python-updater -v -p
to get a list of these.
When you finish all this you can run:
emerge --depclean -v -p
It should now ask you to remove the old python, but check carefully the
remaining packages in case something important is in the list and breaks your
system.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-24 8:17 ` Mick
@ 2011-04-24 13:25 ` Alan Mackenzie
2011-04-24 15:44 ` Mick
0 siblings, 1 reply; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-24 13:25 UTC (permalink / raw
To: gentoo-user
Hi, Mick.
On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote:
> On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote:
> > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> > > What do you get when you run:
> > > # eselect python list
> > Available Python interpreters:
> > [1] python2.6 *
> > [2] python2.7
> > [3] python3.1
> OK, the next stage would be to change your python to the latest stable:
> eselect python set 2
DONE.
> and then remerge those packages that were linked against the old
> python:
> python-updater -v -p
> to get a list of these.
That gives me a list of 24 packages. Am I meant to actually run
python-updater without the -p, here?
> When you finish all this you can run:
> emerge --depclean -v -p
> It should now ask you to remove the old python, but check carefully the
> remaining packages in case something important is in the list and
> breaks your system.
I do emerge --depclean -v -p. It says I should run emerge -uDN @world
first. I'm a bit apprehensive about this, since the world update says it
would reemerge 138 packages (I'm not sure whether this is top-level
(whatever that means) packages or the real total). In that list are 3
blockages I don't know wha do do with. My experience suggests this will
not work smoothly, and I'll likely be left with a non-working (or even a
non-bootable) system.
How come? Well, I started my installation in February 2010, and with one
thing and another, didn't get it finished, so it went into cold storage
until a month ago. I've had so much trouble trying to get updated, that
it might be better to start again from scratch with a new stage3 (or even
a new installation CD). This would surely leave my home directory and
suchlike untouched. What do you think?
> --
> Regards,
> Mick
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-24 13:25 ` [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!] Alan Mackenzie
@ 2011-04-24 15:44 ` Mick
2011-04-24 15:48 ` Mick
` (2 more replies)
0 siblings, 3 replies; 20+ messages in thread
From: Mick @ 2011-04-24 15:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2626 bytes --]
On Sunday 24 April 2011 14:25:58 Alan Mackenzie wrote:
> Hi, Mick.
>
> On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote:
> > On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote:
> > > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> > > > What do you get when you run:
> > > >
> > > > # eselect python list
> > >
> > > Available Python interpreters:
> > > [1] python2.6 *
> > > [2] python2.7
> > > [3] python3.1
> >
> > OK, the next stage would be to change your python to the latest stable:
> >
> > eselect python set 2
>
> DONE.
>
> > and then remerge those packages that were linked against the old
> > python:
> >
> > python-updater -v -p
> >
> > to get a list of these.
>
> That gives me a list of 24 packages. Am I meant to actually run
> python-updater without the -p, here?
That's correct. As the man emerge say -p stands for --pretend. Just to give
a chance to see what it wants to do and think about it before you run it again
without it for execution.
You need to do this next.
> > When you finish all this you can run:
> >
> > emerge --depclean -v -p
> >
> > It should now ask you to remove the old python, but check carefully the
> > remaining packages in case something important is in the list and
> > breaks your system.
>
> I do emerge --depclean -v -p. It says I should run emerge -uDN @world
> first. I'm a bit apprehensive about this, since the world update says it
> would reemerge 138 packages (I'm not sure whether this is top-level
> (whatever that means) packages or the real total). In that list are 3
> blockages I don't know wha do do with. My experience suggests this will
> not work smoothly, and I'll likely be left with a non-working (or even a
> non-bootable) system.
At this stage you should only run:
python-updater -v
Nothing else.
Once it completes you can run --depclean which will ask you to remove the
older 2.6 python package.
> How come? Well, I started my installation in February 2010, and with one
> thing and another, didn't get it finished, so it went into cold storage
> until a month ago. I've had so much trouble trying to get updated, that
> it might be better to start again from scratch with a new stage3 (or even
> a new installation CD). This would surely leave my home directory and
> suchlike untouched. What do you think?
Adding the -N flag will remerge any packages that are affected by changes to
USE flags that you have made since they were first installed. So the list
will be longer than without it.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-24 15:44 ` Mick
@ 2011-04-24 15:48 ` Mick
2011-04-24 17:17 ` Stroller
2011-04-25 12:11 ` Alan Mackenzie
2 siblings, 0 replies; 20+ messages in thread
From: Mick @ 2011-04-24 15:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2884 bytes --]
On Sunday 24 April 2011 16:44:05 Mick wrote:
> On Sunday 24 April 2011 14:25:58 Alan Mackenzie wrote:
> > Hi, Mick.
> >
> > On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote:
> > > On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote:
> > > > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> > > > > What do you get when you run:
> > > > >
> > > > > # eselect python list
> > > >
> > > > Available Python interpreters:
> > > > [1] python2.6 *
> > > > [2] python2.7
> > > > [3] python3.1
> > >
> > > OK, the next stage would be to change your python to the latest stable:
> > >
> > > eselect python set 2
> >
> > DONE.
> >
> > > and then remerge those packages that were linked against the old
> > > python:
> > >
> > > python-updater -v -p
> > >
> > > to get a list of these.
> >
> > That gives me a list of 24 packages. Am I meant to actually run
> > python-updater without the -p, here?
>
> That's correct. As the man emerge say -p stands for --pretend. Just to
> give a chance to see what it wants to do and think about it before you run
> it again without it for execution.
>
> You need to do this next.
>
> > > When you finish all this you can run:
> > >
> > > emerge --depclean -v -p
> > >
> > > It should now ask you to remove the old python, but check carefully the
> > > remaining packages in case something important is in the list and
> > > breaks your system.
> >
> > I do emerge --depclean -v -p. It says I should run emerge -uDN @world
> > first. I'm a bit apprehensive about this, since the world update says it
> > would reemerge 138 packages (I'm not sure whether this is top-level
> > (whatever that means) packages or the real total). In that list are 3
> > blockages I don't know wha do do with. My experience suggests this will
> > not work smoothly, and I'll likely be left with a non-working (or even a
> > non-bootable) system.
>
> At this stage you should only run:
>
> python-updater -v
>
> Nothing else.
>
> Once it completes you can run --depclean which will ask you to remove the
> older 2.6 python package.
>
> > How come? Well, I started my installation in February 2010, and with one
> > thing and another, didn't get it finished, so it went into cold storage
> > until a month ago. I've had so much trouble trying to get updated, that
> > it might be better to start again from scratch with a new stage3 (or even
> > a new installation CD). This would surely leave my home directory and
> > suchlike untouched. What do you think?
>
> Adding the -N flag will remerge any packages that are affected by changes
> to USE flags that you have made since they were first installed. So the
> list will be longer than without it.
Post any blockers shown if you don't know what you need to do about them.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-24 15:44 ` Mick
2011-04-24 15:48 ` Mick
@ 2011-04-24 17:17 ` Stroller
2011-04-25 12:11 ` Alan Mackenzie
2 siblings, 0 replies; 20+ messages in thread
From: Stroller @ 2011-04-24 17:17 UTC (permalink / raw
To: gentoo-user
On 24/4/2011, at 4:44pm, Mick wrote:
> ...
> At this stage you should only run:
>
> python-updater -v
>
> Nothing else.
Doing this today I've had a couple of packages that needed to be emerged with USE=-doc when they failed.
Stroller.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-24 15:44 ` Mick
2011-04-24 15:48 ` Mick
2011-04-24 17:17 ` Stroller
@ 2011-04-25 12:11 ` Alan Mackenzie
2011-04-25 14:12 ` Mick
2 siblings, 1 reply; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-25 12:11 UTC (permalink / raw
To: gentoo-user
Hi, Mick.
On Sun, Apr 24, 2011 at 04:44:05PM +0100, Mick wrote:
> On Sunday 24 April 2011 14:25:58 Alan Mackenzie wrote:
> > Hi, Mick.
> > On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote:
> > > On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote:
> > > > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> > > python-updater -v -p
> > > to get a list of these.
> > That gives me a list of 24 packages. Am I meant to actually run
> > python-updater without the -p, here?
> That's correct. As the man emerge say -p stands for --pretend. Just
> to give a chance to see what it wants to do and think about it before
> you run it again without it for execution.
> You need to do this next.
DONE.
> > > When you finish all this you can run:
> > > emerge --depclean -v -p
> > > It should now ask you to remove the old python, but check carefully
> > > the remaining packages in case something important is in the list
> > > and breaks your system.
> > I do emerge --depclean -v -p. It says I should run emerge -uDN
> > @world first. I'm a bit apprehensive about this, since the world
> > update says it would reemerge 138 packages (I'm not sure whether this
> > is top-level (whatever that means) packages or the real total). In
> > that list are 3 blockages I don't know wha do do with. My experience
> > suggests this will not work smoothly, and I'll likely be left with a
> > non-working (or even a non-bootable) system.
> At this stage you should only run:
> python-updater -v
> Nothing else.
> Once it completes you can run --depclean which will ask you to remove
> the older 2.6 python package.
I had to (or, at least, did) run emerge -uND @world. Funnily enough, it
ran to completion without manual intervention. :-) I'd like to run
--depclean, but it's threatening to remove my 2.6.31-r6 kernel sources,
which correspond to my working kernel. What's the easiest way to protect
these from --depclean?
> --
> Regards,
> Mick
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-25 12:11 ` Alan Mackenzie
@ 2011-04-25 14:12 ` Mick
2011-04-25 15:03 ` Alan Mackenzie
0 siblings, 1 reply; 20+ messages in thread
From: Mick @ 2011-04-25 14:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2991 bytes --]
On Monday 25 April 2011 13:11:53 Alan Mackenzie wrote:
> Hi, Mick.
>
> On Sun, Apr 24, 2011 at 04:44:05PM +0100, Mick wrote:
> > On Sunday 24 April 2011 14:25:58 Alan Mackenzie wrote:
> > > Hi, Mick.
> > >
> > > On Sun, Apr 24, 2011 at 09:17:45AM +0100, Mick wrote:
> > > > On Saturday 23 April 2011 21:06:25 Alan Mackenzie wrote:
> > > > > On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> > > > python-updater -v -p
> > > >
> > > > to get a list of these.
> > >
> > > That gives me a list of 24 packages. Am I meant to actually run
> > > python-updater without the -p, here?
> >
> > That's correct. As the man emerge say -p stands for --pretend. Just
> > to give a chance to see what it wants to do and think about it before
> > you run it again without it for execution.
> >
> > You need to do this next.
>
> DONE.
>
> > > > When you finish all this you can run:
> > > >
> > > > emerge --depclean -v -p
> > > >
> > > > It should now ask you to remove the old python, but check carefully
> > > > the remaining packages in case something important is in the list
> > > > and breaks your system.
> > >
> > > I do emerge --depclean -v -p. It says I should run emerge -uDN
> > > @world first. I'm a bit apprehensive about this, since the world
> > > update says it would reemerge 138 packages (I'm not sure whether this
> > > is top-level (whatever that means) packages or the real total). In
> > > that list are 3 blockages I don't know wha do do with. My experience
> > > suggests this will not work smoothly, and I'll likely be left with a
> > > non-working (or even a non-bootable) system.
> >
> > At this stage you should only run:
> >
> > python-updater -v
> >
> > Nothing else.
> >
> > Once it completes you can run --depclean which will ask you to remove
> > the older 2.6 python package.
>
> I had to (or, at least, did) run emerge -uND @world. Funnily enough, it
> ran to completion without manual intervention. :-) I'd like to run
> --depclean, but it's threatening to remove my 2.6.31-r6 kernel sources,
> which correspond to my working kernel. What's the easiest way to protect
> these from --depclean?
Aha! That's why I said first look at what it wants to remove - you don't want
to cripple your system. In this case of course it won't cripple anything,
because it won't remove the kernel image from /boot/
If you look in /usr/src/linux/ you will see a number of kernel sources listed
in there. If you've run update world there should be a more up-to-date kernel
awaiting for you to configure and compile it. Do that first; copy the
necessary files into /boot; configure grub.conf to boot with you latest
kernel; and after you boot into it and check that all is good you can allow --
depclean to remove older kernel source files.
PS. You may need to manually remove older source files left in
/usr/src/linux/ when depclean completes its job.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-25 14:12 ` Mick
@ 2011-04-25 15:03 ` Alan Mackenzie
2011-04-25 15:29 ` Mark Knecht
2011-04-25 16:00 ` Mick
0 siblings, 2 replies; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-25 15:03 UTC (permalink / raw
To: gentoo-user
Hi, Mick.
On Mon, Apr 25, 2011 at 03:12:15PM +0100, Mick wrote:
> On Monday 25 April 2011 13:11:53 Alan Mackenzie wrote:
> > > Once it completes you can run --depclean which will ask you to
> > > remove the older 2.6 python package.
> > I had to (or, at least, did) run emerge -uND @world. Funnily enough,
> > it ran to completion without manual intervention. :-) I'd like to
> > run --depclean, but it's threatening to remove my 2.6.31-r6 kernel
> > sources, which correspond to my working kernel. What's the easiest
> > way to protect these from --depclean?
> Aha! That's why I said first look at what it wants to remove - you
> don't want to cripple your system. In this case of course it won't
> cripple anything, because it won't remove the kernel image from /boot/
> If you look in /usr/src/linux/ you will see a number of kernel sources
> listed in there. If you've run update world there should be a more
> up-to-date kernel awaiting for you to configure and compile it. Do
> that first; copy the necessary files into /boot; configure grub.conf to
> boot with you latest kernel; and after you boot into it and check that
> all is good you can allow -- depclean to remove older kernel source
> files.
Yes, I've got new kernel sources, and yesterday and today I've spent
about 5 hours head-banging to get a working kernel. (I've managed it,
thankfully.) But the new kernel's X-windows isn't filling my 1920x1080
shiny new monitor like the old kernel did. I've still got some fiddling
to do.
Call me a clinging cry-baby if you like, but until I'm confident about my
new kernel, I'd like to hang on to the old one, including its sources.
It'd also be nice to run --depclean in the meantime. Do I have to do
recursive copying or directory renaming to achiev this?
As a matter of interest, do you know how to configure a framebuffer
console to fill up a wide screen (say, to a width of 170 characters) as
contrasted with the 128 characters which were optimum on an old fashioned
CRT?
> PS. You may need to manually remove older source files left in
> /usr/src/linux/ when depclean completes its job.
OK. I can manage that.
> --
> Regards,
> Mick
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-25 15:03 ` Alan Mackenzie
@ 2011-04-25 15:29 ` Mark Knecht
2011-04-26 19:43 ` Alan Mackenzie
2011-04-25 16:00 ` Mick
1 sibling, 1 reply; 20+ messages in thread
From: Mark Knecht @ 2011-04-25 15:29 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 25, 2011 at 8:03 AM, Alan Mackenzie <acm@muc.de> wrote:
<SNIP>
> Call me a clinging cry-baby if you like, but until I'm confident about my
> new kernel, I'd like to hang on to the old one, including its sources.
> It'd also be nice to run --depclean in the meantime. Do I have to do
> recursive copying or directory renaming to achiev this?
>
Run something like
emerge --noreplace =gentoo-sources-2.6.38-r1
to add the kernel you want to keep to your world file, or just add the
kernel with it's specific revision to the world file manually. At that
point emerge won't delete it and you won't get any messages until
portage maintainers remove it from portage.
HTH,
Mark
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-25 15:03 ` Alan Mackenzie
2011-04-25 15:29 ` Mark Knecht
@ 2011-04-25 16:00 ` Mick
2011-04-26 20:05 ` Alan Mackenzie
1 sibling, 1 reply; 20+ messages in thread
From: Mick @ 2011-04-25 16:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2829 bytes --]
On Monday 25 April 2011 16:03:21 Alan Mackenzie wrote:
> Hi, Mick.
>
> On Mon, Apr 25, 2011 at 03:12:15PM +0100, Mick wrote:
> > On Monday 25 April 2011 13:11:53 Alan Mackenzie wrote:
> > > > Once it completes you can run --depclean which will ask you to
> > > > remove the older 2.6 python package.
> > >
> > > I had to (or, at least, did) run emerge -uND @world. Funnily enough,
> > > it ran to completion without manual intervention. :-) I'd like to
> > > run --depclean, but it's threatening to remove my 2.6.31-r6 kernel
> > > sources, which correspond to my working kernel. What's the easiest
> > > way to protect these from --depclean?
> >
> > Aha! That's why I said first look at what it wants to remove - you
> > don't want to cripple your system. In this case of course it won't
> > cripple anything, because it won't remove the kernel image from /boot/
> >
> > If you look in /usr/src/linux/ you will see a number of kernel sources
> > listed in there. If you've run update world there should be a more
> > up-to-date kernel awaiting for you to configure and compile it. Do
> > that first; copy the necessary files into /boot; configure grub.conf to
> > boot with you latest kernel; and after you boot into it and check that
> > all is good you can allow -- depclean to remove older kernel source
> > files.
>
> Yes, I've got new kernel sources, and yesterday and today I've spent
> about 5 hours head-banging to get a working kernel. (I've managed it,
> thankfully.) But the new kernel's X-windows isn't filling my 1920x1080
> shiny new monitor like the old kernel did. I've still got some fiddling
> to do.
>
> Call me a clinging cry-baby if you like, but until I'm confident about my
> new kernel, I'd like to hang on to the old one, including its sources.
> It'd also be nice to run --depclean in the meantime. Do I have to do
> recursive copying or directory renaming to achiev this?
>
> As a matter of interest, do you know how to configure a framebuffer
> console to fill up a wide screen (say, to a width of 170 characters) as
> contrasted with the 128 characters which were optimum on an old fashioned
> CRT?
I think that things have moved on since the first time you installed Gentoo.
Latest kernels have the ability to load firmware for your video card that
takes account of the native resolution of the monitor - without any additional
framebuffer drivers (like vesa, uvesa, radeonfb, etc.) As a matter of fact
you'll get a blank screen if you try to boot the latest kernels with KMS
configured using any additional framebuffer driver.
To save me describing each step, you would do better reading through this page
which details everything you need to do:
http://www.gentoo.org/doc/en/xorg-config.xml
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-25 15:29 ` Mark Knecht
@ 2011-04-26 19:43 ` Alan Mackenzie
0 siblings, 0 replies; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-26 19:43 UTC (permalink / raw
To: gentoo-user
Hi, Mark.
On Mon, Apr 25, 2011 at 08:29:47AM -0700, Mark Knecht wrote:
> On Mon, Apr 25, 2011 at 8:03 AM, Alan Mackenzie <acm@muc.de> wrote:
> Run something like
> emerge --noreplace =gentoo-sources-2.6.38-r1
That's just the job. Thanks.
> HTH,
> Mark
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]
2011-04-25 16:00 ` Mick
@ 2011-04-26 20:05 ` Alan Mackenzie
0 siblings, 0 replies; 20+ messages in thread
From: Alan Mackenzie @ 2011-04-26 20:05 UTC (permalink / raw
To: gentoo-user
Hi, Nick.
On Mon, Apr 25, 2011 at 05:00:49PM +0100, Mick wrote:
> On Monday 25 April 2011 16:03:21 Alan Mackenzie wrote:
> > As a matter of interest, do you know how to configure a framebuffer
> > console to fill up a wide screen (say, to a width of 170 characters)
> > as contrasted with the 128 characters which were optimum on an old
> > fashioned CRT?
> I think that things have moved on since the first time you installed
> Gentoo. Latest kernels have the ability to load firmware for your
> video card that takes account of the native resolution of the monitor -
> without any additional framebuffer drivers (like vesa, uvesa, radeonfb,
> etc.) As a matter of fact you'll get a blank screen if you try to boot
> the latest kernels with KMS configured using any additional framebuffer
> driver.
Indeed. :-(
> To save me describing each step, you would do better reading through
> this page which details everything you need to do:
> http://www.gentoo.org/doc/en/xorg-config.xml
A fascinating document. Thanks!
> --
> Regards,
> Mick
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2011-04-26 20:20 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-22 18:05 [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan Mackenzie
2011-04-22 22:34 ` Dale
2011-04-22 22:43 ` Alan McKinnon
2011-04-23 16:35 ` Alan Mackenzie
2011-04-23 19:46 ` Mick
2011-04-23 20:06 ` Alan Mackenzie
2011-04-24 8:17 ` Mick
2011-04-24 13:25 ` [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!] Alan Mackenzie
2011-04-24 15:44 ` Mick
2011-04-24 15:48 ` Mick
2011-04-24 17:17 ` Stroller
2011-04-25 12:11 ` Alan Mackenzie
2011-04-25 14:12 ` Mick
2011-04-25 15:03 ` Alan Mackenzie
2011-04-25 15:29 ` Mark Knecht
2011-04-26 19:43 ` Alan Mackenzie
2011-04-25 16:00 ` Mick
2011-04-26 20:05 ` Alan Mackenzie
2011-04-23 20:21 ` [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan McKinnon
2011-04-23 23:58 ` Volker Armin Hemmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox