View previous topic :: View next topic |
Author |
Message |
HydroDiOxide n00b
Joined: 22 May 2007 Posts: 55 Location: Groningen
|
Posted: Sun Sep 16, 2007 1:11 pm Post subject: emerge --update --deep world (pango) broke system |
|
|
I tried to do a system update by running: Code: | emerge --update --deep world |
However, the update stopped running while compiling a pango update and broke my gnome environment.
I haven't got a clue how to fix this. I ran but that didn't fix it. Code: | emerge --update --deep world | still fails on the pango package. |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sun Sep 16, 2007 1:20 pm Post subject: |
|
|
Could you paste the error message when pango fails? _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Sep 16, 2007 1:34 pm Post subject: |
|
|
You've fallen to the expat ABI upgrade:
Code: | emerge portage gentoolkit
emerge -1 sys-devel/gettext dev-perl/XML-Parser sys-devel/libtool
emerge -1 sys-apps/dbus sys-apps/hal x11-libs/cairo x11-libs/pango x11-libs/gtk+
revdep-rebuild -X -L libexpat.so.0
revdep-rebuild -i |
HTH.
edit: if you have apache |
|
Back to top |
|
|
HydroDiOxide n00b
Joined: 22 May 2007 Posts: 55 Location: Groningen
|
Posted: Sun Sep 16, 2007 5:59 pm Post subject: |
|
|
@mark_alec: This is the last part of the compile text
Code: | /var/tmp/portage/x11-libs/pango-1.16.5/work/pango-1.16.5/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.5/work/pango-1.16.5/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.5/work/pango-1.16.5/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.5/work/pango-1.16.5'
make: *** [all] Error 2
!!! ERROR: x11-libs/pango-1.16.5 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1328: Called gnome2_src_compile
gnome2.eclass, line 71: Called die
!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-libs/pango-1.16.5/temp/build.log'. |
@steveL: will your code example work? In your edit you say 'if you have apache', I don't have apache. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Sep 16, 2007 9:13 pm Post subject: |
|
|
HydroDiOxide wrote: | @steveL: will your code example work? In your edit you say 'if you have apache', I don't have apache. |
Er the apache bit is a link to another post with more info if you do have apache, so don't worry about it. Try the code, and see what happens: if you want more immediate help log in to irc.freenode.org channel #gentoo as they have been dealing with this for weeks. |
|
Back to top |
|
|
xbmodder Guru
Joined: 25 Feb 2004 Posts: 404
|
Posted: Sun Sep 16, 2007 9:40 pm Post subject: |
|
|
Do a
rm -rf .revdep*
revdep-rebuild -X _________________ http://xbmodder.us/ |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Sep 17, 2007 1:05 am Post subject: |
|
|
xbmodder wrote: | Do a
rm -rf .revdep*
revdep-rebuild -X |
Er that's pretty much what revdep-rebuild -i does (new version does packagenames by default, but I don't know if that's in stable.) The -i flag tells it to ignore files from a previous run. You may be right that this would help at the start. |
|
Back to top |
|
|
HydroDiOxide n00b
Joined: 22 May 2007 Posts: 55 Location: Groningen
|
Posted: Tue Sep 18, 2007 9:21 pm Post subject: |
|
|
@steveL and xbmodder
Both suggested repair option fail to work. I still get an error when trying to install the pango ebuild. Any suggestions? |
|
Back to top |
|
|
bblount Tux's lil' helper
Joined: 08 Nov 2004 Posts: 80
|
Posted: Wed Sep 19, 2007 4:27 pm Post subject: |
|
|
Try this again:
Code: |
emerge --sync
revdep-rebuild -X -i --library=libexpat.so.0
|
|
|
Back to top |
|
|
HydroDiOxide n00b
Joined: 22 May 2007 Posts: 55 Location: Groningen
|
Posted: Thu Sep 20, 2007 6:10 pm Post subject: |
|
|
@bblount
That didn't work either... Is there any way to fix this lib expat bug that broke my system.....??? |
|
Back to top |
|
|
sbrenneis n00b
Joined: 08 Dec 2006 Posts: 9
|
Posted: Mon Sep 24, 2007 2:14 am Post subject: |
|
|
I don't know if anyone solved this, but there is a pre-built binary in the pango distribution that depends on libexpat.so.0. You can get around this as follows:
Code: |
cd /usr/lib
ln -s libexpat.so.1.5.2 libexpat.so.0
emerge -u pango
unlink libexpat.so.0
|
Don't forget to do the unlink before you emerge anything else or you will have big problems.
Hope this helps. |
|
Back to top |
|
|
HydroDiOxide n00b
Joined: 22 May 2007 Posts: 55 Location: Groningen
|
Posted: Mon Sep 24, 2007 9:54 am Post subject: |
|
|
@sbrenneis
Your code helped to emerge pango; great! Cheers for that. What to do now, because an emerge --update --deep world still doens't emerge all the packages? |
|
Back to top |
|
|
zorglube n00b
Joined: 05 Jan 2008 Posts: 1 Location: France, Paris.
|
Posted: Sat Jan 05, 2008 3:22 am Post subject: |
|
|
I tried the last tip, and it worked!!! thank you!!! _________________ Have Fun!!!! |
|
Back to top |
|
|
gmfnt n00b
Joined: 06 May 2008 Posts: 11
|
Posted: Wed May 14, 2008 12:03 pm Post subject: |
|
|
sbrenneis wrote: | I don't know if anyone solved this, but there is a pre-built binary in the pango distribution that depends on libexpat.so.0. You can get around this as follows:
Code: |
cd /usr/lib
ln -s libexpat.so.1.5.2 libexpat.so.0
emerge -u pango
unlink libexpat.so.0
|
Don't forget to do the unlink before you emerge anything else or you will have big problems.
Hope this helps. |
very thanks!! |
|
Back to top |
|
|
|