| View previous topic :: View next topic |
| Author |
Message |
Leio Developer


Joined: 27 Feb 2003 Posts: 64 Location: Estonia, Tallinn
|
Posted: Mon Aug 13, 2007 11:22 am Post subject: |
|
|
To summarize it once again:
If you do not use revdep-rebuild -X you are going to get a lot more trouble than by using it.
And we mean that when we say that in all kinds of ewarn's, forum posts, upgrade guides...
The -X will allow revdep-rebuild to upgrade while rebuilding a package, not just rebuilding the old package and then you have to also upgrade later - this is a waste of time, use -X.
Secondly, -X allows revdep-rebuild to do a better ordering, because when it passes the list to emerge, emerge will see the upgrade instead of a specific old version, and be able to order it better due to that. Which means all this pango and whatever problem hopefully wouldn't happen because pango will be rebuilt AND upgraded much earlier in the list as without -X.
Also, http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.18-upgrade.xml now contains information about this.
Furthermore, you might want to use revdep-rebuild -X without the --library argument after upgrading curl too. That has some ABI breakage as well. So upgrade expat AND curl and then "revdep-rebuild -X", thank you for reading this and sorry for the pain, but you really want a new expat for all the coolness (and performance/memory fixes) in it
Update: So a perfect way to handle this could be the following:
| Code: | | emerge -1n expat curl && revdep-rebuild -X && emerge -uD world |
_________________ wxwindows and gnome herd
Developer of wxWidgets - http://wxwidgets.org
Project Manager of wxMUD - http://wxmud.sf.net
Last edited by Leio on Mon Aug 13, 2007 11:49 am; edited 2 times in total |
|
| Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 366 Location: Paris, France
|
Posted: Mon Aug 13, 2007 11:23 am Post subject: |
|
|
| maxheadroom wrote: | | xavier10 wrote: |
Thanks for your detailed suggestion.
Pango failed, due to expat as usual:
| Code: |
Writing a pango.modules file to use with tests/examples.
/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4/pango/.libs/lt-pango-querymodules: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [pango.modules] Error 127
make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4'
make: *** [all] Error 2
!!! ERROR: x11-libs/pango-1.16.4 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1322: Called gnome2_src_compile
gnome2.eclass, line 71: Called die
|
|
Can you show me the output of emerge -pv pango?
EDIT: also, can you check that the new version of expat is installed, and the old version is definitely gone?
Also, paste up the output of this:
| Code: | | find /var/db/pkg -name NEEDED -type f -print0 | xargs -0 grep -l 'expat\.so\.0' | cut -f5,6 -d/ |
|
I do have the new expat, and no old version apparently:
| Code: |
$ eix expat
[I] dev-libs/expat
Available versions: 1.95.7 ~1.95.7-r1 1.95.8 ~2.0.0 2.0.1 {test}
Installed versions: 2.0.1(09:39:49 08/13/07)
Homepage: http://expat.sourceforge.net/
Description: XML parsing libraries
|
Regarding to pango, there is no USE flag set (but I am not sure the USE flags would do anything here):
| Code: |
$ emerge -pv pango
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/pango-1.16.4 USE="-debug -doc" 0 kB
|
Last, regarding to the dependences attached to expat:
| Code: |
$ find /var/db/pkg -name NEEDED -type f -print0 | xargs -0 grep -l 'expat\.so\.0' | cut -f5,6 -d/
app-arch/rpm-4.4.6-r3
dev-python/gnome-python-extras-2.14.0-r1
dev-util/kdesvn-0.11.2
dev-libs/apr-util-0.9.12
app-portage/kuroo-0.80.2-r1
x11-misc/wmakerconf-2.11
x11-libs/pango-1.16.4
x11-libs/wxGTK-2.6.2-r1
x11-libs/gtk+-2.10.13
media-libs/xine-lib-1.1.4-r2
x11-wm/blackbox-0.70.0
x11-wm/fvwm-2.5.18
app-doc/kchmviewer-2.5
gnome-base/gnome-mount-0.6
gnome-base/nautilus-2.18.1-r1
media-gfx/hugin-0.5
media-gfx/gimageview-0.2.27-r2
gnome-extra/yelp-2.14.2-r2
gnome-extra/gucharmap-1.6.0
gnome-extra/gnome-keyring-manager-2.14.0
gnome-extra/gtkhtml-2.6.3
gnome-extra/gnome-games-2.14.2.1
x11-themes/activeheart-1.2.1
x11-themes/alloy-0.5.2
x11-themes/qinx-1.4
x11-themes/crystal-1.0.0
kde-base/kdebase-3.5.5-r4
kde-base/kdelibs-3.5.7-r2
kde-base/khexedit-3.5.5
kde-base/kmines-3.5.5
kde-base/klaptopdaemon-3.5.5
kde-base/kompare-3.5.5
kde-base/libkdegames-3.5.5
kde-base/kwifimanager-3.5.2
kde-base/kweather-3.5.2
kde-base/kworldwatch-3.5.5
kde-base/kmix-3.5.2
kde-misc/kdiff3-0.9.92
kde-misc/filelight-1.0_rc2
kde-misc/ksynaptics-0.3.3
media-sound/easytag-2.0
net-analyzer/gnome-netstatus-2.12.0
app-dicts/stardict-2.4.6-r1
net-im/gaim-1.5.0
dev-dotnet/libgdiplus-1.2.4
net-irc/kvirc-3.2.5
|
|
|
| Back to top |
|
 |
maxheadroom n00b


Joined: 17 Feb 2004 Posts: 20
|
Posted: Mon Aug 13, 2007 12:16 pm Post subject: |
|
|
| xavier10 wrote: | | maxheadroom wrote: | | xavier10 wrote: |
Thanks for your detailed suggestion.
Pango failed, due to expat as usual:
| Code: |
Writing a pango.modules file to use with tests/examples.
/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4/pango/.libs/lt-pango-querymodules: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [pango.modules] Error 127
make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.4/work/pango-1.16.4'
make: *** [all] Error 2
!!! ERROR: x11-libs/pango-1.16.4 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1322: Called gnome2_src_compile
gnome2.eclass, line 71: Called die
|
|
Can you show me the output of emerge -pv pango?
EDIT: also, can you check that the new version of expat is installed, and the old version is definitely gone?
Also, paste up the output of this:
| Code: | | find /var/db/pkg -name NEEDED -type f -print0 | xargs -0 grep -l 'expat\.so\.0' | cut -f5,6 -d/ |
|
I do have the new expat, and no old version apparently:
| Code: |
$ eix expat
[I] dev-libs/expat
Available versions: 1.95.7 ~1.95.7-r1 1.95.8 ~2.0.0 2.0.1 {test}
Installed versions: 2.0.1(09:39:49 08/13/07)
Homepage: http://expat.sourceforge.net/
Description: XML parsing libraries
|
Regarding to pango, there is no USE flag set (but I am not sure the USE flags would do anything here):
| Code: |
$ emerge -pv pango
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/pango-1.16.4 USE="-debug -doc" 0 kB
|
Last, regarding to the dependences attached to expat:
| Code: |
$ find /var/db/pkg -name NEEDED -type f -print0 | xargs -0 grep -l 'expat\.so\.0' | cut -f5,6 -d/
app-arch/rpm-4.4.6-r3
dev-python/gnome-python-extras-2.14.0-r1
dev-util/kdesvn-0.11.2
dev-libs/apr-util-0.9.12
app-portage/kuroo-0.80.2-r1
x11-misc/wmakerconf-2.11
x11-libs/pango-1.16.4
x11-libs/wxGTK-2.6.2-r1
x11-libs/gtk+-2.10.13
media-libs/xine-lib-1.1.4-r2
x11-wm/blackbox-0.70.0
x11-wm/fvwm-2.5.18
app-doc/kchmviewer-2.5
gnome-base/gnome-mount-0.6
gnome-base/nautilus-2.18.1-r1
media-gfx/hugin-0.5
media-gfx/gimageview-0.2.27-r2
gnome-extra/yelp-2.14.2-r2
gnome-extra/gucharmap-1.6.0
gnome-extra/gnome-keyring-manager-2.14.0
gnome-extra/gtkhtml-2.6.3
gnome-extra/gnome-games-2.14.2.1
x11-themes/activeheart-1.2.1
x11-themes/alloy-0.5.2
x11-themes/qinx-1.4
x11-themes/crystal-1.0.0
kde-base/kdebase-3.5.5-r4
kde-base/kdelibs-3.5.7-r2
kde-base/khexedit-3.5.5
kde-base/kmines-3.5.5
kde-base/klaptopdaemon-3.5.5
kde-base/kompare-3.5.5
kde-base/libkdegames-3.5.5
kde-base/kwifimanager-3.5.2
kde-base/kweather-3.5.2
kde-base/kworldwatch-3.5.5
kde-base/kmix-3.5.2
kde-misc/kdiff3-0.9.92
kde-misc/filelight-1.0_rc2
kde-misc/ksynaptics-0.3.3
media-sound/easytag-2.0
net-analyzer/gnome-netstatus-2.12.0
app-dicts/stardict-2.4.6-r1
net-im/gaim-1.5.0
dev-dotnet/libgdiplus-1.2.4
net-irc/kvirc-3.2.5
|
|
Hmm, my last post never made it here.
I have to go out now, so won't be around til tomorrow. Did you try emerge -1 fontconfig pango ? |
|
| Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 366 Location: Paris, France
|
Posted: Mon Aug 13, 2007 12:19 pm Post subject: |
|
|
| maxheadroom wrote: |
Hmm, my last post never made it here.
I have to go out now, so won't be around til tomorrow. Did you try emerge -1 fontconfig pango ? |
Yes, I have tried that. It failed with the usual error in the emerge of pango. Thanks for your help. |
|
| Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 366 Location: Paris, France
|
Posted: Mon Aug 13, 2007 12:27 pm Post subject: |
|
|
| Leio wrote: |
Update: So a perfect way to handle this could be the following:
| Code: | | emerge -1n expat curl && revdep-rebuild -X && emerge -uD world |
|
In my case, doing exactly that causes pango to be emerged (2nd in the list in revedep-rebuild -X), but that fails due to a libexpat.so.0 not found.
Is there a way to progress from that troublesome situation ? Thanks. |
|
| Back to top |
|
 |
Herr_Wan n00b

Joined: 03 Jun 2007 Posts: 1
|
Posted: Mon Aug 13, 2007 1:41 pm Post subject: heliodor |
|
|
Just for info, I had to recompile heliodor on amd64 because it was not working anymore :
heliodor[6381]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffcd49e710 error 14
emerge -C heliodor && emerge heliodor
Cheers
r1 _________________ http://thiscow.eu |
|
| Back to top |
|
 |
iandoug Tux's lil' helper

Joined: 11 Feb 2005 Posts: 93 Location: Cape Town, South Africa
|
Posted: Mon Aug 13, 2007 2:13 pm Post subject: |
|
|
| Leio wrote: | To summarize it once again:
If you do not use revdep-rebuild -X you are going to get a lot more trouble than by using it.
Also, http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.18-upgrade.xml now contains information about this.
Furthermore, you might want to use revdep-rebuild -X without the --library argument after upgrading curl too. That has some ABI breakage as well. So upgrade expat AND curl and then "revdep-rebuild -X", thank you for reading this and sorry for the pain, but you really want a new expat for all the coolness (and performance/memory fixes) in it
Update: So a perfect way to handle this could be the following:
| Code: | | emerge -1n expat curl && revdep-rebuild -X && emerge -uD world |
|
Have tried various suggestions in the forums re this problem, including the suggestion above.
However the revdep-rebuild dies on the first of 50 packages, as follows:
| Code: |
/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/bin/uic: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [listboxeditor.h] Error 127
make[3]: *** Waiting for unfinished jobs....
/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/bin/uic: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [editfunctions.h] Error 127
make[3]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools'
make: *** [sub-tools] Error 2
!!! ERROR: x11-libs/qt-3.3.8-r3 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
qt-3.3.8-r3.ebuild, line 214: Called die
!!! (no error message)
|
As for expat:
| Code: | qlist -Iv|grep expat
dev-libs/expat-2.0.1
|
and curl:
| Code: |
qlist -Iv|grep curl
net-misc/curl-7.16.4
|
Any suggestion on how to fix this and get a working sytem gratefully received
thanks, Ian _________________ Asus A8N-SLI, AMD64 3200+, MSI RX600, 2GB RAM |
|
| Back to top |
|
 |
roderick l33t


Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Mon Aug 13, 2007 3:36 pm Post subject: |
|
|
This topic spells it all out clearly on what needs to be done:
http://forums.gentoo.org/viewtopic-t-575655.html
Most of the issues are around the following packages:
gettext, XML-Parser, fontconfig, pango, gtk+
Basically, you need to emerge the expat update first, then those packages above and then do the revdep-rebuild -X. _________________ If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/ |
|
| Back to top |
|
 |
iandoug Tux's lil' helper

Joined: 11 Feb 2005 Posts: 93 Location: Cape Town, South Africa
|
Posted: Tue Aug 14, 2007 2:39 am Post subject: |
|
|
| roderick wrote: | This topic spells it all out clearly on what needs to be done:
http://forums.gentoo.org/viewtopic-t-575655.html
Most of the issues are around the following packages:
gettext, XML-Parser, fontconfig, pango, gtk+
Basically, you need to emerge the expat update first, then those packages above and then do the revdep-rebuild -X. |
I've done all that (including suggestion in the linked topic above) and revdep-rebuild -X STILL fails in qt3 (first of 55 packages).
Anything else I can try?
Cheers, Ian _________________ Asus A8N-SLI, AMD64 3200+, MSI RX600, 2GB RAM |
|
| Back to top |
|
 |
juniper l33t


Joined: 21 Oct 2004 Posts: 655 Location: EU
|
Posted: Tue Aug 14, 2007 1:43 pm Post subject: |
|
|
I just had a minor ordeal with this as well, however it all seems good.
basically, after reading all this I had to do a series of revdep-rebuild, revdep-rebuild -X, etc etc
| iandoug wrote: |
I've done all that (including suggestion in the linked topic above) and revdep-rebuild -X STILL fails in qt3 (first of 55 packages).
Anything else I can try?
Cheers, Ian |
hmmmmm, I didn't run into this problem. What version of qt do you have? i have 3.3.8-r3 and 4.2.3-r1. the first is the latest stable 3.x but the other one is not the latest 4.x.
What is your precise error? from what you are saying, it will try and build qt, but fail. please post the error.
In case this helps anyone, i had to upgrade glibc (to 2.5 from 2.3.6). |
|
| Back to top |
|
 |
juniper l33t


Joined: 21 Oct 2004 Posts: 655 Location: EU
|
Posted: Tue Aug 14, 2007 7:10 pm Post subject: |
|
|
actually, i do have a problem now. my wireless card doesn't work!!! Argh!!! how did this happen!!!
i have a ipw2200 and if i modprobe it takes about 5 seconds, exits and nothing happens. the output of dmesg is
| Code: |
ieee80211_crypt: unregistered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2k
ipw2200: Copyright(c) 2003-2006 Intel Corporation
PCI: Enabling device 0000:03:03.0 (0110 -> 0112)
ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 17 (level, low) -> IRQ 18
ipw2200: Detected Intel PRO/Wireless 2915ABG Network Connection
ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device
ACPI: PCI interrupt for device 0000:03:03.0 disabled
ipw2200: probe of 0000:03:03.0 failed with error -5
|
i think i only upgraded necessary packages. I did not upgrade the kernel. i have no idea what could have affected this module.
EDIT: the following link explained that I needed to add a line to my udev rules due to upgrading to udev 104
Gentoo udev 104 ipw2200 how to
it worked, so i have no issues now.
Last edited by juniper on Wed Aug 15, 2007 11:34 am; edited 1 time in total |
|
| Back to top |
|
 |
mdmnchr n00b


Joined: 05 Jun 2003 Posts: 51
|
Posted: Tue Aug 14, 2007 9:14 pm Post subject: |
|
|
| roderick wrote: |
Most of the issues are around the following packages:
gettext, XML-Parser, fontconfig, pango, gtk+
Basically, you need to emerge the expat update first, then those packages above and then do the revdep-rebuild -X. |
The above is essentially the way I updated....
Using THIS script for the world update and 20 hours, ≈360 packages, and a couple revdep-rebuils later all is well.
Thanks to all the devs and forum users that made this smooth update possible! |
|
| Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 366 Location: Paris, France
|
Posted: Wed Aug 15, 2007 3:56 am Post subject: |
|
|
Trying again to emerge random stuff taken in the result of 'revdep-rebuild -pX' did not fix it for me. Most ebuilds would fail to emerge due to 'libexpat.0.so missing'. Now this raises a question for me: what does it mean that libexpat.0.so is missing, when I see that other people can get the same package to build ? I mean: if I see that pango does not build for me but builds for someone else, it means that the dependence on libexpat.0.so can only be indirect, right ?
Now, if I try to build all the packages pango does depend on, with no problem, then it should prove that there is no indirect dependence ? Or what ? would it mean a there is a deeper dependences that is not satisfied ? but then, should it not be among the direct dependences of pango ?
Well, anyway, I am ashamed to admit it: I did do the symbolic link fix, that I agree nobody should even think about doing. But at least, now some of my applications seem to work. (Nota bene: I am developping some stuff with lablgtk, and was not even able to run my own software due to the breakage of gtk; now, at least I can use my computer to actually work).
I want to limit the consequences of that regretable decision, so I guess I should remove the symbolic link when I do emerge packages (rarely now, since I got badly burnt this week) and re create it when I switch to "now I use my computer mode". Oh yes, and I will not complain when applications that were broken to libexpat now fail, since that will likely be the source of the problem. Does this seem reasonable ?
(I know this should not be done, but I see it as my last hope to resume work now) |
|
| Back to top |
|
 |
Henno n00b


Joined: 14 Nov 2002 Posts: 29 Location: Germany
|
Posted: Wed Aug 15, 2007 6:49 am Post subject: |
|
|
| xavier10 wrote: | | 'revdep-rebuild -pX' did not fix it for me. |
Of course not. "-pX" is not a known comand line switch for revdep-rebuild, and so it is handed right through to emerge.
For emerge, this means "pretend, but do no actual work", and "X? What is X?". So emerge does nothing.
"revdep-rebuild -X -p" would make revdep-rebuild to use the newest versions of a package available in portage ("-X"), but to hand emerge the "-p"-switch, stopping emerge from doing anything.
"revdep-rebuild -X" then would do the real job needed.
By now, you have done unspeakable horrors to your system (like symlinking incompatible libraries). I doubt that the line given would get your system back running, even if you would delete the symlink.
Re-emrging anything (That is, using the "-e" switch, seems to be the best bet now). |
|
| Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 366 Location: Paris, France
|
Posted: Wed Aug 15, 2007 7:50 am Post subject: |
|
|
| Henno wrote: | | xavier10 wrote: | | 'revdep-rebuild -pX' did not fix it for me. |
Of course not. "-pX" is not a known comand line switch for revdep-rebuild, and so it is handed right through to emerge.
For emerge, this means "pretend, but do no actual work", and "X? What is X?". So emerge does nothing.
"revdep-rebuild -X -p" would make revdep-rebuild to use the newest versions of a package available in portage ("-X"), but to hand emerge the "-p"-switch, stopping emerge from doing anything.
"revdep-rebuild -X" then would do the real job needed.
By now, you have done unspeakable horrors to your system (like symlinking incompatible libraries). I doubt that the line given would get your system back running, even if you would delete the symlink.
Re-emrging anything (That is, using the "-e" switch, seems to be the best bet now). |
1) Regarding to the execution of the revdep-rebuild:
Sorry for my typo: I meant '-p -X'. I have written previously that 'revdep-rebuild -X' without -p results in NO successfull emerge (first emerge FAILS), so as other people have done in this thread, I have been adding '-p' to get a list of packages out of revdep-rebuild that I could try emerging with the emerge command, one by one in order to make progress.
I have also seen a post by a dev saying that '-X' gives a 'better ordering'. Note this was not 'best ordering' or 'correct ordering'. Therefore, I imagine that trying to emerge other packages manually when revdep-rebuild fails on the first emerge is not necessarily worse than doing nothing. I am not very knowledgeable in package dependencies, but I would think that solving the "right emerge ordering" question would solve most of my (and other posters of this thread) issues, or can someone explain that an emerge fails due to a missing libexpat.0.so for someone and succeed without it with someone else without a dependency problem being the cause ?
Yesterday, I have reached a situation where no package could be emerged successfully (all failures due to missing libexpat.0.so) BEFORE adding unsafe symlinks.
2) Regarding to the symlink of incompat libs:
I have used this solution after two days of hassle, where dozens of packages will neither work nor re-emerge, and after a huge frustration regarding to the way dependencies are handled. I would LOVE to fix my system with a SAFE solution, but there is a limit to the system fixing time I can aford in one single week.
I will gladly look at it again when I have some more time (in a couple of weeks). |
|
| Back to top |
|
 |
iandoug Tux's lil' helper

Joined: 11 Feb 2005 Posts: 93 Location: Cape Town, South Africa
|
Posted: Wed Aug 15, 2007 8:01 am Post subject: |
|
|
| xavier10 wrote: |
2) Regarding to the symlink of incompat libs:
I have used this solution after two days of hassle, where dozens of packages will neither work nor re-emerge, and after a huge frustration regarding to the way dependencies are handled. I would LOVE to fix my system with a SAFE solution, but there is a limit to the system fixing time I can aford in one single week.
I will gladly look at it again when I have some more time (in a couple of weeks). |
You may want to check my experiences with the symlink in this thread:
http://forums.gentoo.org/viewtopic-p-4188364.html
Firefox is still broken, don't know if it's related. Doing -uvDN world at the moment, re-emerging firefox didn't help.
cheers, Ian _________________ Asus A8N-SLI, AMD64 3200+, MSI RX600, 2GB RAM |
|
| Back to top |
|
 |
BoneKracker Guru


Joined: 14 Mar 2006 Posts: 585
|
Posted: Wed Aug 15, 2007 9:35 pm Post subject: |
|
|
I guess I got lucky. I was able to upgrade an x86 and a ppc without major issues. As best I can recall...
emerge -uavDN world first broke saying it needed the XML-parser perl module. So I emerged (oneshot) it.
Then it broke saying it needed a related module, so I emerged (oneshot) it.
emerge -uavDN world then broke on something linking to expat. Seeing that was one of the packages to be upgraded (but that it was later in the order) I separately emerged it. It provided the instruction to revdep-rebuild -X --library (etc.), so I did that.
Then I resumed the -uavDN world, which completed fine. Normal cleanup caught a few more things.
I do agree with xavier10 that better communication about this would have helped.
When I saw all the 2.18 packages show up in my updates, I decided to wait 2-3 days (just from experience that there are always a couple housekeeping glitches and these get cleaned up in the first days).
Then, I checked for upgrade guides, saw the Gnome 2.18 one (which was frigging useless) and went ahead blindly. That document is where information should have been laid out in detail about how to proceed. Don't blame, the devs, though -- that could have been done by anybody (preferably someone just undertaking the task for the first time on a stable-branch machine). |
|
| Back to top |
|
 |
meron n00b


Joined: 16 Mar 2004 Posts: 46 Location: Nijmegen, NL
|
Posted: Thu Aug 16, 2007 4:15 am Post subject: |
|
|
I agree with BoneKracker. After noticing emerge broke on almost everything after expat, the log was clear on XML-parser being the problem. After emering XML-parser, some thinking and revdep-rebuild, I was able to emerge & compile everything correctly. So yeah, some more info would have been nice, but the problem was not that big (if I can solve it, it can't be a major problem).
So hereby: thanks to the devellopers for all their work. |
|
| Back to top |
|
 |
Lasker Guru


Joined: 17 Jul 2002 Posts: 445
|
Posted: Thu Aug 16, 2007 9:38 am Post subject: |
|
|
What I still blame the developers for is that they could and did foresee all the mess.
Also, several warnings about it at "various" places is not the right way to do, cause
that would demand us to frequently read many forum topics. Devs may have the
time to do that, users usually have a life.
My suggestion: create a new and closed forum "Emergency Room" with things you
really don't want to miss. |
|
| Back to top |
|
 |
roderick l33t


Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Thu Aug 16, 2007 12:24 pm Post subject: |
|
|
| Lasker wrote: | What I still blame the developers for is that they could and did foresee all the mess.
Also, several warnings about it at "various" places is not the right way to do, cause
that would demand us to frequently read many forum topics. Devs may have the
time to do that, users usually have a life.
My suggestion: create a new and closed forum "Emergency Room" with things you
really don't want to miss. |
I guess the two stickied topics and the post under News and Announcements weren't loud enough. Oh, and didn't something appear in the GWN as well?  _________________ If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/ |
|
| Back to top |
|
 |
jonnevers Veteran


Joined: 02 Jan 2003 Posts: 1464 Location: Gentoo64 land
|
Posted: Thu Aug 16, 2007 1:12 pm Post subject: |
|
|
| roderick wrote: | Oh, and didn't something appear in the GWN as well?  |
I haven't gotten any GWN recently, i heard they effed up the subscribers listing... oh well. |
|
| Back to top |
|
 |
Lasker Guru


Joined: 17 Jul 2002 Posts: 445
|
Posted: Thu Aug 16, 2007 3:19 pm Post subject: |
|
|
| roderick wrote: | | Lasker wrote: |
My suggestion: create a new and closed forum "Emergency Room" with things you
really don't want to miss. |
I guess the two stickied topics and the post under News and Announcements weren't loud enough.
Oh, and didn't something appear in the GWN as well?  |
If you're talking about this topic:
Gnome-2.18, KDE.3.5.7 and expat-2.0.0 - stable
where does this topic indicate something serious will be coming up?
I'm talking about the topic, not its content...
Again: if there would have been a big fat WARNING in front of that topic,
indicating something really important to read, everything would be fine and no
reason to complain. At least I could now blame myself for not frequently reading
News and Announcements.
No, seriously. I'm surely not the only one who doesn't frequently read gentoo
forums but frequently updates his system. Thus a much more logical way to go
would be a forced user invention via ebuild, for all ebuilds with a known potential
to screw your system. If I would have been warned that way, I would have done
all the needed steps before updating and thus no need to boot my rusty XP.
Do you realise how you're promoting Mr. Bill that way? Shame on you!
 |
|
| Back to top |
|
 |
roderick l33t


Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Thu Aug 16, 2007 4:20 pm Post subject: |
|
|
It's a source based distro. Some care must always be taken when performing updates. Afterall, you as the user here are like a package maintainer, unlike other distros where an actual package maintainer does the hard work for us.
For such a source based distro, it is quite incumbent upon the user to read the forums, GLSA announcements, and GWN to keep up to date on changes.
This is quite different from Ubuntu, Red Hat, Suse, etc, as they release pre-built sets and already do all the hard work for you. _________________ If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/ |
|
| Back to top |
|
 |
Lasker Guru


Joined: 17 Jul 2002 Posts: 445
|
Posted: Thu Aug 16, 2007 7:20 pm Post subject: |
|
|
Ok, that was standard phrase No.2 (No.1 would be "make it better").
I'm always open to arguments, but please try don't being a phrase monger.
Admittedly, my suggestion with the ebuild-based, forced user intervention might be too expensive. But what does it cost to place a good visible warning (as I suggested before) as part of the topic sentence, at least in cases like this? 5 seconds or maybe 10 of your precious time? Can you imagine how much time it did cost to me and who knows how many other users? Where is the relation? Where is the rule that states source based distros have to be inconvenient for their users? Even in cases where it'd be so easy to prevent? And yes, I do know (and appreciate!) the difference to binary based distros. What do you think why I'm still a gentoo user (for many years now) and was (long time ago) a user of your three examples above and a few more?
This was my last attempt to convince you. If unsuccessful, we'll have to live with it. Better give ground before debating starts wasting more time than fixing problems further ignorance will cause. Ah - and I hope I didn't sound too unpolite. If so I do apologize (please keep in mind I'm not a native speaker).
Have a nice day!  |
|
| Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 366 Location: Paris, France
|
Posted: Fri Aug 17, 2007 7:51 am Post subject: |
|
|
Ok, I have fixed my situation.
What I did was:
1) remove the symbolic link that I had temporarily added so that I could do some work with the damaged system, cuz I had to). I was SCARED about emerging anything with an unsafe symbolic link active (am I correct to suspect this may generate further breakage in the system ?).
2) focus on pango, which seemed to be the first package that would break on any emerge path. I decided to re-emerge anything it would depend on. Therefore I did emerge --emptytree -avD pango.
3) do revdep-rebuild -X (well, in fact it was -p -X, and copy of the emerge command).
Some packages would fail, but most would emerge safely. That fixed part of kde, gnome.
4) emerge -auvD world for the remaining packages.
5) individual emerges when binaries fail and complain about libexpat.0.so
A few notes: I have noticed that some packages that revdep-rebuild -p wants to re-emerge are simply ignored by revdep-rebuild -p -X. That is the reason why I found that individual emerges were necessary for some remaining packages. Note that step 4 did already part of the work in fixing kde individual builds that had not been fixed by the revdep-rebuild -X stage.
Regarding to the update strategy, now. When I installed gentoo for the first time, I did not notice any kind of warning that I remember of inviting evrybody to read the forums whenever updating any single package. Over years using gentoo, I came across very important upgrades, that involved temporarily breaking the system and these were typically highlighed with blocker packages, and I liked that approach. I consider that a blocker package was a very nice warning that some update may not work well at first and would require the user to go look for more information. I did not notice that for expat, and think it might have helped me avoiding or foreseeing the mess. Not sure if the blocker thing is the best way to warn users against a steep udpate. Though I would still like a distinction be made between the updates that maintain all interfaces (99% of them, I expect) and the 1% potentially problematic ones. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|