| View previous topic :: View next topic |
| Author |
Message |
xcable Guru


Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Sat Aug 18, 2007 8:40 pm Post subject: Don't update expat!!!!! -- kills your system |
|
|
Looks like several people are seeing problems with libexpat. Do NOT upgrade expat to 2.0.1; it breaks lots of packages. I suggest waiting until it's fixed.
--
heath |
|
| Back to top |
|
 |
drescherjm Veteran

Joined: 05 Jun 2004 Posts: 1710 Location: Pittsburgh, PA, USA
|
Posted: Sat Aug 18, 2007 8:46 pm Post subject: |
|
|
I just had that and basically anything that used it would not run because libexpat.so.0 does not exist. As a quick and dirty fix I symlinked /usr/lib/libexpat.so.0 to /usr/lib/libexpat.so and at least MythTV ran fine which it did not start before because of this.
| Code: |
# ls -al /usr/lib/libexpat.so.0
lrwxrwxrwx 1 root root 11 Aug 18 20:27 /usr/lib/libexpat.so.0 -> libexpat.so
|
_________________ John |
|
| Back to top |
|
 |
mno Apprentice


Joined: 29 Dec 2003 Posts: 214 Location: Toronto, Canada
|
Posted: Sat Aug 18, 2007 9:04 pm Post subject: |
|
|
I'm just fighting it now. I upgraded. I found some suggestions that you should never symlink. It works, yes, but you've been warned. _________________ "Hello and goodbye. As always." | You can't use here?? | Unanswered |
|
| Back to top |
|
 |
mno Apprentice


Joined: 29 Dec 2003 Posts: 214 Location: Toronto, Canada
|
Posted: Sat Aug 18, 2007 9:05 pm Post subject: |
|
|
The proper way to fix all these dependencies is through revdep-rebuild... it is not a sweet solution, but it does fix the issues. Regardless, the only way to "fix" will be to re-build all packages that lookfor the .so.0 file. _________________ "Hello and goodbye. As always." | You can't use here?? | Unanswered |
|
| Back to top |
|
 |
mno Apprentice


Joined: 29 Dec 2003 Posts: 214 Location: Toronto, Canada
|
Posted: Sat Aug 18, 2007 9:24 pm Post subject: |
|
|
For more info, see this bug here: https://bugs.gentoo.org/show_bug.cgi?id=187730
It seems that it is natural for expat to cause breakage, just need to commit a bit of time to fixing the breakage afterwards. _________________ "Hello and goodbye. As always." | You can't use here?? | Unanswered |
|
| Back to top |
|
 |
padoor Veteran


Joined: 29 Dec 2005 Posts: 2298 Location: india
|
Posted: Sat Aug 18, 2007 9:47 pm Post subject: |
|
|
seems like everyone does not get this problem
i have my gentoo uptodate . did not have a problem like this.
i have had this only in my 2006.1 installation.
in this new profile 2007.0 laptop i did not see any breakage of any package. with a lower hardware than my desktop where i had expat problem.
in this forum there is a way to make this problem less troublesome like copying libexpat.0 to /usr/local or something like that before upgrading libexpat.
this cant stop updating the system. the more older the system becomes it will be difficult to catch up with updates of today. _________________ reach out a little bit more to catch it (DON'T BELIEVE the veteran part under my user name) |
|
| Back to top |
|
 |
Akkara Guru


Joined: 28 Mar 2006 Posts: 462
|
Posted: Sat Aug 18, 2007 10:00 pm Post subject: |
|
|
| Quote: | | I suggest waiting until it's fixed. |
From what I understand, the breakage is because expat's API had been changed with version 2.0.
Which means you'll need to deal with the breakage and rebuilding sooner or later anyway since it's not something that can be fixed, but more like growth pains in the evolution of software. |
|
| Back to top |
|
 |
mno Apprentice


Joined: 29 Dec 2003 Posts: 214 Location: Toronto, Canada
|
|
| Back to top |
|
 |
Telexen Apprentice

Joined: 09 Oct 2005 Posts: 189
|
Posted: Sat Aug 18, 2007 10:17 pm Post subject: |
|
|
Wait until it's fixed?
You can fix it ...there's dozens of posts on the EXACT subject and they all contain the same fix. |
|
| Back to top |
|
 |
drescherjm Veteran

Joined: 05 Jun 2004 Posts: 1710 Location: Pittsburgh, PA, USA
|
Posted: Sat Aug 18, 2007 10:31 pm Post subject: |
|
|
| Quote: | | The proper way to fix all these dependencies is through revdep-rebuild... |
Agreed.
Although, I think I will just downgrade if it causes me any problems as I do not want to rebuild MythTV until I have to being that I am running a svn snapshot from mid February. _________________ John |
|
| Back to top |
|
 |
AllenJB l33t


Joined: 02 Sep 2005 Posts: 836 Location: Southampton, Hampshire
|
Posted: Sun Aug 19, 2007 3:51 am Post subject: |
|
|
| drescherjm wrote: | I just had that and basically anything that used it would not run because libexpat.so.0 does not exist. As a quick and dirty fix I symlinked /usr/lib/libexpat.so.0 to /usr/lib/libexpat.so and at least MythTV ran fine which it did not start before because of this.
| Code: |
# ls -al /usr/lib/libexpat.so.0
lrwxrwxrwx 1 root root 11 Aug 18 20:27 /usr/lib/libexpat.so.0 -> libexpat.so
|
|
Do not do this. There is a reason the filenames changed (the APIs are incompatible) and doing this may solve some problems in the short term but will cause more problems in the long term. Please rebuild your packages properly. _________________ My ebuilds (UT2k4 Map Packs, Uplink, Patched asus_acpi & madwifi-hal for Eee PC - see also atl2 for the EeePC) |
|
| Back to top |
|
 |
swimmer l33t


Joined: 15 Jul 2002 Posts: 919 Location: Netherlands
|
Posted: Sun Aug 19, 2007 4:10 am Post subject: |
|
|
The real problem is that you guys don't read: | Quote: | Please note that the soname of the library changed!
If you are upgrading from a previous version you need
to fix dynamic linking inconsistencies by executing:
revdep-rebuild -X --library libexpat.so.0 |
If you do what the devs say in this valuable peace of information which is part of the installation you'd have *no* problems at all!
Sorry to be harsh
swimmer |
|
| Back to top |
|
 |
wjb Apprentice


Joined: 10 Jul 2005 Posts: 198 Location: Fife, Scotland
|
Posted: Sun Aug 19, 2007 5:59 am Post subject: |
|
|
| True, but this info got swamped by the kde 3.5.7 upgrades. |
|
| Back to top |
|
 |
swimmer l33t


Joined: 15 Jul 2002 Posts: 919 Location: Netherlands
|
Posted: Sun Aug 19, 2007 6:10 am Post subject: |
|
|
Nothing gets "swamped" if you set up elog usefully ...
| Code: | PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_ELOG_MAILURI="<YOUR_MAIL_ACCOUNT> <YOUR_SMTP_SERVER>"
PORTAGE_ELOG_MAILFROM="<YOUR_MAIL_ACCOUNT>" |
Sorry again
swimmer |
|
| Back to top |
|
 |
xcable Guru


Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Sun Aug 19, 2007 9:54 am Post subject: |
|
|
The problem with rev-rebuild is that it's has never worked for me without me have to fix many many issues and baby sitting it. I don't have that kind of time.
And you don't know when you have to run rev-rebuild until you update and things start failing. Portage tells you need to rev-rebuild but only right after a particular package, and most of the time you don't see that message because there are other packages that are emerged after that particular library. This is a huge issue with portage and I'm really surprised this has not been "fixed". Please correct me if I'm wrong on this one.
heath |
|
| Back to top |
|
 |
drescherjm Veteran

Joined: 05 Jun 2004 Posts: 1710 Location: Pittsburgh, PA, USA
|
Posted: Sun Aug 19, 2007 10:00 am Post subject: |
|
|
| Quote: | | The real problem is that you guys don't read |
The problem is that doing an and upgrading 30 or so packages you will never see this message. _________________ John |
|
| Back to top |
|
 |
drescherjm Veteran

Joined: 05 Jun 2004 Posts: 1710 Location: Pittsburgh, PA, USA
|
Posted: Sun Aug 19, 2007 10:01 am Post subject: |
|
|
| Quote: | | The problem with rev-rebuild is that it's has never worked for me without me have to fix many many issues and baby sitting it. I don't have that kind of time. |
I have the same experience with that. _________________ John |
|
| Back to top |
|
 |
drescherjm Veteran

Joined: 05 Jun 2004 Posts: 1710 Location: Pittsburgh, PA, USA
|
Posted: Sun Aug 19, 2007 10:05 am Post subject: |
|
|
| Quote: | | Please rebuild your packages properly. |
I took everyones warning and I ended up masking the new version and downgrading expat as nothing I currently have on my system (including kde-3.5.7 which I have had installed for many months) needs the new version. _________________ John |
|
| Back to top |
|
 |
xcable Guru


Joined: 15 Aug 2002 Posts: 424 Location: College Station, Texas
|
Posted: Sun Aug 19, 2007 10:53 am Post subject: |
|
|
Re-emerging Gimp, because expat broke it....
| Code: |
checking for GTK+ - version >= 2.4.4... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/media-gfx/gimp-2.2.17/work/gimp-2.2.17/config.log
!!! ERROR: media-gfx/gimp-2.2.17 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
gimp-2.2.17.ebuild, line 108: Called econf '--disable-default-binary' '--with-x' '--e nable-mmx' '--enable-sse' '--disable-altivec' '--enable-gtk-doc' '--enable-python' '--ena ble-print' '--with-libpng' '--with-libjpeg' '--with-libexif' '--disable-mp' '--without-li btiff' '--without-libmng' '--without-aa' '--without-lcms' '--without-gtkhtml2' '--with-li brsvg' '--disable-debug'
ebuild.sh, line 586: Called die
!!! econf failed
!!! 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/media-gfx/gimp-2.2.17/temp/build .log'.
|
FING RIDICULOUS!!!! I've been a Gentoo user for over 5 years now, but Ubuntu is looking better and better every day.
--
heath |
|
| Back to top |
|
 |
Ladynik0n Tux's lil' helper


Joined: 11 Apr 2004 Posts: 75
|
Posted: Sun Aug 19, 2007 11:21 am Post subject: |
|
|
localhost ~ # revdep-rebuild -X --library libexpat.so.0
-su: revdep-rebuild: command not found
?? |
|
| Back to top |
|
 |
AllenJB l33t


Joined: 02 Sep 2005 Posts: 836 Location: Southampton, Hampshire
|
Posted: Sun Aug 19, 2007 11:24 am Post subject: |
|
|
| Ladynik0n wrote: | localhost ~ # revdep-rebuild -X --library libexpat.so.0
-su: revdep-rebuild: command not found
?? |
revdep-rebuild is in the gentoolkit package, which isn't installed by default.
Personally I think the trick here was to know the expat update was coming... I've now upgraded 2 systems using the following with only 1 problem (mysql-gui-tools wouldn't build for an apparently unrelated reason, but it's a package that's marked testing and I don't really use, so I removed that for now):
| Code: | emerge -1a expat
revdep-revbuild -- -vat
emerge -uDNvat world
|
(As a side note, I'm currently using the very latest ~arch version of gentoolkit) _________________ My ebuilds (UT2k4 Map Packs, Uplink, Patched asus_acpi & madwifi-hal for Eee PC - see also atl2 for the EeePC) |
|
| Back to top |
|
 |
Ladynik0n Tux's lil' helper


Joined: 11 Apr 2004 Posts: 75
|
Posted: Sun Aug 19, 2007 11:34 am Post subject: |
|
|
| ty allen |
|
| Back to top |
|
 |
jlh Tux's lil' helper


Joined: 06 May 2007 Posts: 137 Location: Switzerland::Zürich
|
Posted: Sun Aug 19, 2007 1:31 pm Post subject: |
|
|
| I had only very small problems with that expat upgrade. Yes, I had to recompile like 30 packages, but only two of them didn't 'just work'; one problem solved itself by retrying later and the other had a trivial fix. If this type of babysitting (which - at least for me in this case - is not even very time-consuming) is already too much for you, you might want to use a distro that hides these things from the user. I don't know many other distros, but I'm sure at least some are easier on the user with those issues. For me, using gentoo really means to be a bit more low-level than other distros, which adds a great deal of flexibility and configurability, but - and that's the price you pay - you have to invested more time and do some babysitting when major upgrades happen. Just my two cents of course, you may disagree. |
|
| Back to top |
|
 |
01mf02 Veteran


Joined: 21 Nov 2004 Posts: 1070 Location: Innsbruck, Austria
|
Posted: Sun Aug 19, 2007 6:09 pm Post subject: |
|
|
| jlh wrote: | | I had only very small problems with that expat upgrade. Yes, I had to recompile like 30 packages, but only two of them didn't 'just work'; one problem solved itself by retrying later and the other had a trivial fix. If this type of babysitting (which - at least for me in this case - is not even very time-consuming) is already too much for you, you might want to use a distro that hides these things from the user. I don't know many other distros, but I'm sure at least some are easier on the user with those issues. For me, using gentoo really means to be a bit more low-level than other distros, which adds a great deal of flexibility and configurability, but - and that's the price you pay - you have to invested more time and do some babysitting when major upgrades happen. Just my two cents of course, you may disagree. |
++
I didn't have problems with revdep-rebuild either - it took some time, but I'm willing to pay that price for the knowledge what's going on with the system - look, you probably wouldn't even know there existed an expat package if it didn't break your stuff sometimes.  |
|
| Back to top |
|
 |
mno Apprentice


Joined: 29 Dec 2003 Posts: 214 Location: Toronto, Canada
|
Posted: Sun Aug 19, 2007 6:14 pm Post subject: |
|
|
Yes, but now that you know about the expat package, you probably wish that it didn't exist  _________________ "Hello and goodbye. As always." | You can't use here?? | Unanswered |
|
| Back to top |
|
 |
|