Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --update --deep world (pango) broke system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
HydroDiOxide
n00b
n00b


Joined: 22 May 2007
Posts: 55
Location: Groningen

PostPosted: Sun Sep 16, 2007 1:11 pm    Post subject: emerge --update --deep world (pango) broke system Reply with quote

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
Code:
revdep-rebuild
but that didn't fix it.
Code:
emerge --update --deep world
still fails on the pango package.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sun Sep 16, 2007 1:20 pm    Post subject: Reply with quote

Could you paste the error message when pango fails?
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 2160
Location: The Peanut Gallery

PostPosted: Sun Sep 16, 2007 1:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
HydroDiOxide
n00b
n00b


Joined: 22 May 2007
Posts: 55
Location: Groningen

PostPosted: Sun Sep 16, 2007 5:59 pm    Post subject: Reply with quote

@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
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 2160
Location: The Peanut Gallery

PostPosted: Sun Sep 16, 2007 9:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
xbmodder
Guru
Guru


Joined: 25 Feb 2004
Posts: 404

PostPosted: Sun Sep 16, 2007 9:40 pm    Post subject: Reply with quote

Do a
rm -rf .revdep*
revdep-rebuild -X
_________________
http://xbmodder.us/
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 2160
Location: The Peanut Gallery

PostPosted: Mon Sep 17, 2007 1:05 am    Post subject: Reply with quote

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
View user's profile Send private message
HydroDiOxide
n00b
n00b


Joined: 22 May 2007
Posts: 55
Location: Groningen

PostPosted: Tue Sep 18, 2007 9:21 pm    Post subject: Reply with quote

@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
View user's profile Send private message
bblount
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 80

PostPosted: Wed Sep 19, 2007 4:27 pm    Post subject: Reply with quote

Try this again:
Code:

emerge --sync
revdep-rebuild -X -i --library=libexpat.so.0
Back to top
View user's profile Send private message
HydroDiOxide
n00b
n00b


Joined: 22 May 2007
Posts: 55
Location: Groningen

PostPosted: Thu Sep 20, 2007 6:10 pm    Post subject: Reply with quote

@bblount

That didn't work either... Is there any way to fix this lib expat bug that broke my system.....???
Back to top
View user's profile Send private message
sbrenneis
n00b
n00b


Joined: 08 Dec 2006
Posts: 9

PostPosted: Mon Sep 24, 2007 2:14 am    Post subject: Reply with quote

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
View user's profile Send private message
HydroDiOxide
n00b
n00b


Joined: 22 May 2007
Posts: 55
Location: Groningen

PostPosted: Mon Sep 24, 2007 9:54 am    Post subject: Reply with quote

@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
View user's profile Send private message
zorglube
n00b
n00b


Joined: 05 Jan 2008
Posts: 1
Location: France, Paris.

PostPosted: Sat Jan 05, 2008 3:22 am    Post subject: Reply with quote

I tried the last tip, and it worked!!! thank you!!!
_________________
Have Fun!!!!
Back to top
View user's profile Send private message
gmfnt
n00b
n00b


Joined: 06 May 2008
Posts: 11

PostPosted: Wed May 14, 2008 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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