Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128069 (expat-2) - [Tracker] emerge fails after upgrading to dev-libs/expat-2.0.0
Summary: [Tracker] emerge fails after upgrading to dev-libs/expat-2.0.0
Status: VERIFIED INVALID
Alias: expat-2
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: Tracker
: 128060 128071 128074 128077 128113 128134 128179 128278 128285 128357 128406 132985 140783 142704 146873 149597 152302 154655 155458 157325 158065 167291 167301 175546 175946 178644 181486 181758 182131 188317 188319 188369 188472 188473 188531 188571 188677 188815 189506 189515 189585 189663 189700 189745 189923 189984 190088 190235 190897 191077 192615 195835 197360 197377 197536 205634 206536 207145 208837 209073 210737 212862 213045 213481 218702 219555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-29 21:53 UTC by spamas
Modified: 2017-01-19 18:47 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spamas 2006-03-29 21:53:36 UTC
creating toolkit/mozapps/installer/unix/wizard/Makefile
creating toolkit/mozapps/installer/unix/Makefile
creating toolkit/mozapps/installer/Makefile
creating toolkit/mozapps/installer/windows/Makefile
creating toolkit/mozapps/installer/windows/wizard/Makefile
creating toolkit/mozapps/installer/windows/wizard/setup/Makefile
creating toolkit/mozapps/installer/windows/wizard/setuprsc/Makefile
creating toolkit/mozapps/installer/windows/wizard/uninstall/Makefile
creating toolkit/mozapps/update/Makefile
creating toolkit/mozapps/update/public/Makefile
creating toolkit/mozapps/update/src/Makefile
creating toolkit/mozapps/xpinstall/Makefile
creating toolkit/profile/Makefile
creating toolkit/profile/public/Makefile
creating toolkit/profile/skin/Makefile
creating toolkit/profile/src/Makefile
creating toolkit/themes/Makefile
creating toolkit/themes/gnomestripe/global/Makefile
creating toolkit/themes/gnomestripe/Makefile
creating toolkit/themes/pinstripe/communicator/Makefile
creating toolkit/themes/pinstripe/Makefile
creating toolkit/themes/pinstripe/global/Makefile
creating toolkit/themes/pinstripe/help/Makefile
creating toolkit/themes/pinstripe/mozapps/Makefile
creating toolkit/themes/qute/communicator/Makefile
creating toolkit/themes/qute/Makefile
creating toolkit/themes/qute/global/Makefile
creating toolkit/themes/qute/help/Makefile
creating toolkit/themes/qute/mozapps/Makefile
creating toolkit/themes/winstripe/communicator/Makefile
creating toolkit/themes/winstripe/Makefile
creating toolkit/themes/winstripe/global/Makefile
creating toolkit/themes/winstripe/help/Makefile
creating toolkit/themes/winstripe/mozapps/Makefile
creating toolkit/xre/Makefile
updating cache ./config.cache
creating ./config.status
creating config/autoconf.mk
creating config/doxygen.cfg
creating xpfe/global/buildconfig.html
creating toolkit/content/buildconfig.html
creating gfx/gfx-config.h
creating netwerk/necko-config.h
creating xpcom/xpcom-config.h
creating xpcom/xpcom-private.h
 * Parsing Makefiles ...
cat: ./config/build_number: No such file or directory
cat: ./config/build_number: No such file or directory
rm -f -rf ./dist/sdk
rm -f -rf ./dist/include
/usr/bin/gmake -C config export
cat: ../config/build_number: No such file or directory
gmake[1]: Entering directory `/var/tmp/portage/mozilla-firefox-1.5.0.1-r3/work/mozilla/config'
nsinstall.c
i686-pc-linux-gnu-gcc -o host_nsinstall.o -c -march=athlon-xp -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -DXP_UNIX -O2   -I../dist/include -I../dist/include -I/usr/include/nspr    -I../dist/sdk/include -I/usr/include/nspr nsinstall.c
pathsub.c
i686-pc-linux-gnu-gcc -o host_pathsub.o -c -march=athlon-xp -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -DXP_UNIX -O2   -I../dist/include -I../dist/include -I/usr/include/nspr    -I../dist/sdk/include -I/usr/include/nspr pathsub.c
rm -f nfspwd
cp nfspwd.pl nfspwd
chmod +x nfspwd
rm -f revdepth
cp revdepth.pl revdepth
chmod +x revdepth
/usr/bin/perl -I. ./bdate.pl build_number 1
i686-pc-linux-gnu-gcc  -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=   -I../dist/include -I../dist/include -I/usr/include/nspr    -I../dist/sdk/include    -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"   -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=athlon-xp -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -include ../mozilla-config.h -DMOZILLA_CLIENT  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -o elf-dynstr-gc elf-dynstr-gc.c   -Wl,-rpath,'$ORIGIN'  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try using -rpath or -rpath-link)
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetElementHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetDoctypeDeclHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserFree'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetCharacterDataHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ErrorString'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParseBuffer'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserCreate'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetUserData'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetErrorCode'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetBuffer'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetCurrentLineNumber'
collect2: ld returned 1 exit status
gmake[1]: *** [elf-dynstr-gc] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.1-r3/work/mozilla/config'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.5.0.1-r3 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  mozilla-firefox-1.5.0.1-r3.ebuild, line 158:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

'emerge --info'
Portage 2.1_pre7-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -Os -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -Os -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.dtiltas.lt/mirror/gentoo/              http://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="lt_LT.UTF-8"
LINGUAS="lt"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apm artworkextra asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cdb cdparanoia cdr chroot crypt curl dbus dri dv dvd dvdr dvdread eds emboss encode exif expat fam fat ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib irssi java javascript jpeg lame lcms libg++ libwww live logrotate mad matroska mikmod mjpeg mmx mmxext mng motif mozilla mp3 mpeg mplayer nautilus ncurses network nls nptl nptlonly nsplugin ntfs numeric nvidia offensive ogg oggvorbis openal opengl oss pam pdf pdflib perl pic png python quicktime readline real reiser4 reiserfs sdl shorten spell sqlite sse ssl symlink tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vidix vorbis win32codecs wxwindows xchat xine xml xml2 xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_lt userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 00:04:24 UTC
*** Bug 128071 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 00:07:05 UTC
*** Bug 128074 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 00:09:02 UTC
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../i686-pc-linux-gnu/bin/ld:
> warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try
> using -rpath or -rpath-link)
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_SetElementHandler'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_SetDoctypeDeclHandler'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserFree'
> /usr/lib/libfontconfig.so.1: undefined reference to
> `XML_SetCharacterDataHandler'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_ErrorString'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_ParseBuffer'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserCreate'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_SetUserData'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_GetErrorCode'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_GetBuffer'
> /usr/lib/libfontconfig.so.1: undefined reference to `XML_GetCurrentLineNumber'

You didn't run revdep-rebuild after upgrading expat...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 00:42:24 UTC
Everyone here - you need to run revdep-rebuild as noted in the expat ebuild.

<snip>
ewarn "Please note that the soname of the library changed!"
ewarn "If you are upgrading from a previous version you need"
ewarn "to fix dynamic linking inconsistencies by executing:"
ewarn "revdep-rebuild --library libexpat.so.0"
</snip>
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 00:42:50 UTC
*** Bug 128077 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 08:28:57 UTC
*** Bug 128113 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 09:50:45 UTC
*** Bug 128134 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 10:40:04 UTC
*** Bug 128060 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 15:24:51 UTC
*** Bug 128179 has been marked as a duplicate of this bug. ***
Comment 10 Shaw 2006-03-30 15:30:44 UTC
Ok, stupid question.  Where do I get revdep-rebuild?
[root@kronos / 231]% find . -name revdep\*
./etc/revdep-rebuild

..but that file is no help.

I searched with emerge --search and searchdesc for revd and combinations but didn't find anything.  Would appreciate any help!
Comment 11 Shaw 2006-03-30 15:40:40 UTC
emerge app-portage/gentoolkit for revdep-upgrade
Comment 12 André Terpstra 2006-03-31 00:47:57 UTC
As has been said elsewhere, the introduction of this upgrade requires me to recompile almost my entire system, including Xorg-x11 and KDE. What worries me even more is that both of these have just been upgraded in the past few days: Xorg-x11 to versie 7.0 and KDE to 3.5.2. Both of these are time-consuming (KDE) and/or complicated (Xorg-x11). At the very least, timing of this expat upgrade is bad. I will have to stay with expat 1.95.8 for as long as possible since upgrading is just a waste of resources now.
Comment 13 Rumen Yotov 2006-03-31 02:06:11 UTC
Hi,
This is exactly my thinking, the only thing that made me go and re-emerge KDE-3.5.2 etc.,just day after it went out was because i use GCC-4.0.3(work wonderfully here).
Sorry is this is a little bit OT.
Rumen
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 10:59:13 UTC
*** Bug 128278 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 11:48:36 UTC
*** Bug 128285 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-04-01 02:18:13 UTC
*** Bug 128357 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-04-01 10:04:04 UTC
*** Bug 128406 has been marked as a duplicate of this bug. ***
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-05-11 02:08:08 UTC
*** Bug 132985 has been marked as a duplicate of this bug. ***
Comment 19 LXj 2006-05-29 13:22:44 UTC
It is not actually simple, because Opera needs libexpat.so.0 too

I resolved it buy making symlink libexpat.so.0 -> libexpat.so. Maybe ebuild
should create this link too?
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-07-17 07:27:52 UTC
*** Bug 140783 has been marked as a duplicate of this bug. ***
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-08-03 14:27:54 UTC
*** Bug 142704 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-09-08 13:10:03 UTC
*** Bug 146873 has been marked as a duplicate of this bug. ***
Comment 23 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-19 08:19:15 UTC
(In reply to comment #19)
> It is not actually simple, because Opera needs libexpat.so.0 too
> 
> I resolved it buy making symlink libexpat.so.0 -> libexpat.so. Maybe ebuild
> should create this link too?

You can't just pretend that an ABI break didn't happen. While it may fortuitously work for a subset of functionality used by opera, it's wrong to do this.
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 02:59:06 UTC
*** Bug 149597 has been marked as a duplicate of this bug. ***
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2006-10-21 16:25:27 UTC
*** Bug 152302 has been marked as a duplicate of this bug. ***
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 03:35:05 UTC
*** Bug 154655 has been marked as a duplicate of this bug. ***
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-11-17 01:52:00 UTC
*** Bug 155458 has been marked as a duplicate of this bug. ***
Comment 28 Jakub Moc (RETIRED) gentoo-dev 2006-12-06 07:30:20 UTC
*** Bug 157325 has been marked as a duplicate of this bug. ***
Comment 29 Jakub Moc (RETIRED) gentoo-dev 2006-12-13 12:02:17 UTC
*** Bug 158065 has been marked as a duplicate of this bug. ***
Comment 30 Dominik Kozaczko 2007-02-15 10:28:12 UTC
There are tons of duplicate bug marks pointing here from bugs named "expat-2 should have new slot" but no one actually answered the issue (using common sense arguments (I mean other than "just because")):

If upgrading expat 1.x to 2.x breaks ABI and requires recompilation of most of the desktop system, then why isn't it in the separate slot? Or maybe it should preserve the old libs just like openldap does? Why does OpenLDAP preserve old libs if it's a matter of revdep-rebuild to fix dependencies (this argument is raised against slotting expat)?
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2007-02-15 10:36:23 UTC
(In reply to comment #30)
> the desktop system, then why isn't it in the separate slot? 

Kindly read all the comments above before commenting. There won't be any slot because it's _not_ safely slottable. Period.

> preserve the old libs just like openldap does? Why does OpenLDAP preserve old
> libs if it's a matter of revdep-rebuild to fix dependencies (this argument is
> raised against slotting expat)?

Because it's not safe here, stuff can continue to link against the old libexpat ABI. Again, read the backlog before posting yet another comment here.
Comment 32 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 08:02:39 UTC
*** Bug 167291 has been marked as a duplicate of this bug. ***
Comment 33 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 08:04:05 UTC
*** Bug 167301 has been marked as a duplicate of this bug. ***
Comment 34 Samuli Suominen (RETIRED) gentoo-dev 2007-04-22 12:04:49 UTC
*** Bug 175546 has been marked as a duplicate of this bug. ***
Comment 35 Markus Ullmann (RETIRED) gentoo-dev 2007-04-25 10:29:34 UTC
*** Bug 175946 has been marked as a duplicate of this bug. ***
Comment 36 Jakub Moc (RETIRED) gentoo-dev 2007-05-15 14:37:22 UTC
*** Bug 178644 has been marked as a duplicate of this bug. ***
Comment 37 Jakub Moc (RETIRED) gentoo-dev 2007-06-10 10:29:07 UTC
*** Bug 181486 has been marked as a duplicate of this bug. ***
Comment 38 Jakub Moc (RETIRED) gentoo-dev 2007-06-12 17:34:01 UTC
*** Bug 181758 has been marked as a duplicate of this bug. ***
Comment 39 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 11:56:31 UTC
*** Bug 182131 has been marked as a duplicate of this bug. ***
Comment 40 Jakub Moc (RETIRED) gentoo-dev 2007-08-10 09:55:24 UTC
*** Bug 188317 has been marked as a duplicate of this bug. ***
Comment 41 Jakub Moc (RETIRED) gentoo-dev 2007-08-10 10:06:30 UTC
*** Bug 188319 has been marked as a duplicate of this bug. ***
Comment 42 Jakub Moc (RETIRED) gentoo-dev 2007-08-10 16:36:02 UTC
*** Bug 188369 has been marked as a duplicate of this bug. ***
Comment 43 Jakub Moc (RETIRED) gentoo-dev 2007-08-11 14:17:55 UTC
*** Bug 188472 has been marked as a duplicate of this bug. ***
Comment 44 Jakub Moc (RETIRED) gentoo-dev 2007-08-11 14:45:59 UTC
*** Bug 188473 has been marked as a duplicate of this bug. ***
Comment 45 Jakub Moc (RETIRED) gentoo-dev 2007-08-12 04:02:21 UTC
*** Bug 188473 has been marked as a duplicate of this bug. ***
Comment 46 Jakub Moc (RETIRED) gentoo-dev 2007-08-12 04:05:34 UTC
*** Bug 188531 has been marked as a duplicate of this bug. ***
Comment 47 Jakub Moc (RETIRED) gentoo-dev 2007-08-12 11:48:08 UTC
*** Bug 188571 has been marked as a duplicate of this bug. ***
Comment 48 Danny 2007-08-13 06:33:15 UTC
> Everyone here - you need to run revdep-rebuild as noted in the expat ebuild.

I never saw the message.  There's literally hundreds of reports due to this, so I think other's missed it also.

Maybe it should be done automatically.  There should at least be some sort of way to give the user a message after the entire emerge process has completed instead of at the end or middle of one of 30 ebuilds queued.
Comment 49 Jakub Moc (RETIRED) gentoo-dev 2007-08-13 06:46:20 UTC
*** Bug 188677 has been marked as a duplicate of this bug. ***
Comment 50 Jakub Moc (RETIRED) gentoo-dev 2007-08-13 08:53:04 UTC
*** Bug 188688 has been marked as a duplicate of this bug. ***
Comment 51 Dawid Węgliński (RETIRED) gentoo-dev 2007-08-13 12:16:59 UTC
*** Bug 188701 has been marked as a duplicate of this bug. ***
Comment 52 Craig Edwards 2007-08-13 17:54:45 UTC
"revdep-rebuild -X --library libexpat.so.0"

as stated on the emerge did not work. I did not see this either, it was lost above 250 updated ebuilds.

I had to do "revdep-rebuild -X" to pick up all changed libs, not only this but other libs were broken too (libexif etc).

For future reference, if you are having problems, try "revdep-rebuild -X".
Comment 53 Jakub Moc (RETIRED) gentoo-dev 2007-08-14 12:52:25 UTC
*** Bug 188815 has been marked as a duplicate of this bug. ***
Comment 54 Josh Sled 2007-08-16 19:45:15 UTC
My subversion[-1.3.2-r4] continued to be broken, "error while loading shared libraries: libexpat.so.0 [...]" at runtime, after multiple `revdep-rebuild -X`es.  revdep-rebuild brought up libapr-1.2.8 a couple of times, but to no avail.

Looking carefully at the output of a subversion re-build, it – because of apache2 usage – was building against apr-util-0.9.12(-r1), not apr-util-1.2.8.  But revdep-rebuild wasn't picking up apr-util-0.9.12 ... just -1.2.8.

I see another couple of subversion rebuild failures dup'ed against this bug, but subversion (re)built fine for me ... it was a runtime failure here.  Manually re-emerging apr-util-0.9.12(-r1) resolved the subversion problem.

:(
Comment 55 Jakub Moc (RETIRED) gentoo-dev 2007-08-19 18:52:32 UTC
*** Bug 189506 has been marked as a duplicate of this bug. ***
Comment 56 Jakub Moc (RETIRED) gentoo-dev 2007-08-19 19:17:05 UTC
*** Bug 189515 has been marked as a duplicate of this bug. ***
Comment 57 Jakub Moc (RETIRED) gentoo-dev 2007-08-20 13:48:10 UTC
*** Bug 189585 has been marked as a duplicate of this bug. ***
Comment 58 hvjunk 2007-08-20 20:51:15 UTC
(In reply to comment #31)
> (In reply to comment #30)
> > the desktop system, then why isn't it in the separate slot? 
> 
> Kindly read all the comments above before commenting. There won't be any slot
> because it's _not_ safely slottable. Period.

And no other options have been investigated, especially since this library is inside dependencies and typically only gets touched during something like "emerge -uD".

> 
> > preserve the old libs just like openldap does? Why does OpenLDAP preserve old
> > libs if it's a matter of revdep-rebuild to fix dependencies (this argument is
> > raised against slotting expat)?
> 
> Because it's not safe here, stuff can continue to link against the old libexpat
> ABI. Again, read the backlog before posting yet another comment here.
> 

I have read through this bugs comments, and didn't see that mentioned/discuss here.
Comment 59 hvjunk 2007-08-20 20:56:12 UTC
(In reply to comment #48)
> > Everyone here - you need to run revdep-rebuild as noted in the expat ebuild.
> 
> I never saw the message.  There's literally hundreds of reports due to this, so
> I think other's missed it also.
> 
> Maybe it should be done automatically.  There should at least be some sort of
> way to give the user a message after the entire emerge process has completed
> instead of at the end or middle of one of 30 ebuilds queued.

The problem is it's an "important" library (given the number of dependencies) and it caused hassles since 2006/06... >14months ago, and yes, it byte my too :(

And yes, the problem is that I didn't installed it directly, but it got installed by some package deep in an update queue :(

And no revdep-rebuild is not fixing everything (I appear to have a long time lingering gcc revdep problem that recompiles gcc everything :() and yes, it breaks systems in near totality... I'm fear for the day that login(1) or sshd starts using it...
> 

Comment 60 Jakub Moc (RETIRED) gentoo-dev 2007-08-20 21:07:21 UTC
*** Bug 189642 has been marked as a duplicate of this bug. ***
Comment 61 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 05:44:46 UTC
*** Bug 189642 has been marked as a duplicate of this bug. ***
Comment 62 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 05:56:13 UTC
*** Bug 189663 has been marked as a duplicate of this bug. ***
Comment 63 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 13:11:05 UTC
*** Bug 189700 has been marked as a duplicate of this bug. ***
Comment 64 Simon Matthews 2007-08-21 15:04:17 UTC
On my system, revdep-rebuild just resulted in more build failures. Every package I tried to build would complain about missing libexpat.so.0. The only solution was to create a link: libexpat.so.0, pointing to libexpat.so

Please re-open this because the solution does not work
Comment 65 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 17:27:28 UTC
*** Bug 189663 has been marked as a duplicate of this bug. ***
Comment 66 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 18:31:57 UTC
*** Bug 189745 has been marked as a duplicate of this bug. ***
Comment 67 Jesus de Santos Garcia 2007-08-21 21:04:10 UTC
(In reply to comment #64)
> On my system, revdep-rebuild just resulted in more build failures. Every
> package I tried to build would complain about missing libexpat.so.0. The only
> solution was to create a link: libexpat.so.0, pointing to libexpat.so
> 
> Please re-open this because the solution does not work
> 

It worked fine on my machine. What output did you get when doing

revdep-rebuild -v -p

?
Comment 68 Jakub Moc (RETIRED) gentoo-dev 2007-08-23 12:48:46 UTC
*** Bug 189923 has been marked as a duplicate of this bug. ***
Comment 69 Icewalker 2007-08-23 14:12:03 UTC
(In reply to comment #4)
> Everyone here - you need to run revdep-rebuild as noted in the expat ebuild.
> 
> <snip>
> ewarn "Please note that the soname of the library changed!"
> ewarn "If you are upgrading from a previous version you need"
> ewarn "to fix dynamic linking inconsistencies by executing:"
> ewarn "revdep-rebuild --library libexpat.so.0"
> </snip>
>
 
revdep-rebuild has solved my problem. the system update was successfull. thanks
Comment 70 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 06:39:14 UTC
*** Bug 189984 has been marked as a duplicate of this bug. ***
Comment 71 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 21:04:58 UTC
*** Bug 190088 has been marked as a duplicate of this bug. ***
Comment 72 Jakub Moc (RETIRED) gentoo-dev 2007-08-25 21:44:17 UTC
*** Bug 190235 has been marked as a duplicate of this bug. ***
Comment 73 Jakub Moc (RETIRED) gentoo-dev 2007-08-31 23:09:45 UTC
*** Bug 190897 has been marked as a duplicate of this bug. ***
Comment 74 Jakub Moc (RETIRED) gentoo-dev 2007-09-02 18:01:41 UTC
*** Bug 191077 has been marked as a duplicate of this bug. ***
Comment 75 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 18:31:29 UTC
*** Bug 192615 has been marked as a duplicate of this bug. ***
Comment 76 Dirk-Lüder Kreie 2007-09-19 07:21:57 UTC
emerge / revdep-rebuild still fails.
not going to link the so.0 to the .so of expat-2.0

reopening bug.

Tried: 
a) revdep-rebuild -X --library libexpat.so.0
didnt work. (qt-3.3.8 failed with missing file libexpat.so.0)

b) same as a) but without distcc 
same result.

c) skipping qt on the emerge from a) (emerge --resume --skipfirst), then retrying a)
this apparently narrows down the list of broken packages but doesn't really solve the problem. (more successes after multiple runs, but some remain, like qt3)

will try to find a workaround.

Comment 77 Dirk-Lüder Kreie 2007-09-19 18:46:55 UTC
multiple runs of revdep-rebuild and subsequent emerge --resume --skipfirst seem to have "fixed" this.
Comment 78 Jakub Moc (RETIRED) gentoo-dev 2007-10-14 13:26:38 UTC
*** Bug 195835 has been marked as a duplicate of this bug. ***
Comment 79 Pablo De Nápoli 2007-10-14 14:29:16 UTC
Not just a matter of running revdep-rebuild I'm afraid, this worked for many other programs but not for scilab!

(please re-open)
Comment 80 Jakub Moc (RETIRED) gentoo-dev 2007-10-29 06:50:14 UTC
*** Bug 197360 has been marked as a duplicate of this bug. ***
Comment 81 Jakub Moc (RETIRED) gentoo-dev 2007-10-29 07:29:17 UTC
*** Bug 197377 has been marked as a duplicate of this bug. ***
Comment 82 Jakub Moc (RETIRED) gentoo-dev 2007-10-29 09:07:12 UTC
*** Bug 197377 has been marked as a duplicate of this bug. ***
Comment 83 Jakub Moc (RETIRED) gentoo-dev 2007-10-30 20:56:16 UTC
*** Bug 197536 has been marked as a duplicate of this bug. ***
Comment 84 Jakub Moc (RETIRED) gentoo-dev 2008-01-13 15:19:23 UTC
*** Bug 205634 has been marked as a duplicate of this bug. ***
Comment 85 Jakub Moc (RETIRED) gentoo-dev 2008-01-18 16:39:36 UTC
*** Bug 206536 has been marked as a duplicate of this bug. ***
Comment 86 Jakub Moc (RETIRED) gentoo-dev 2008-01-23 12:07:22 UTC
*** Bug 207145 has been marked as a duplicate of this bug. ***
Comment 87 Seblu 2008-01-23 12:31:10 UTC
(In reply to comment #86)
> *** Bug 207145 has been marked as a duplicate of this bug. ***
> 

(In reply to comment #86)
> *** Bug 207145 has been marked as a duplicate of this bug. ***
> 

All solutions given in this thread don't work.

revdep-rebuild detect /usr/bin/xgettext (require libexpat.so.0)
and fail when trying to compile gettext => there are no ebuilds to satisfy "=sys-devel/gettext-0.16.1"

But, emerge -1 --nodeps gettext-0.17 fix the problem.
If this bug come again, maybe they are an error somewhere ?

Comment 88 Dawid Węgliński (RETIRED) gentoo-dev 2008-02-04 11:39:10 UTC
*** Bug 208837 has been marked as a duplicate of this bug. ***
Comment 89 Dawid Węgliński (RETIRED) gentoo-dev 2008-02-06 01:26:56 UTC
*** Bug 209073 has been marked as a duplicate of this bug. ***
Comment 90 Jakub Moc (RETIRED) gentoo-dev 2008-02-19 19:09:05 UTC
*** Bug 210737 has been marked as a duplicate of this bug. ***
Comment 91 Jakub Moc (RETIRED) gentoo-dev 2008-03-09 19:47:31 UTC
*** Bug 212862 has been marked as a duplicate of this bug. ***
Comment 92 Peter Jaworski 2008-03-09 20:15:58 UTC
(In reply to comment #91)
> *** Bug 212862 has been marked as a duplicate of this bug. ***
> 
revdep-rebuild -X --library libexpat.so.0 does not work. Sys-apps/attr-2.4.39 has failed in the same way:
#==============================================
gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
/usr/bin/xgettext --language=C --keyword=_ -o attr.pot ../attr/attr.c ../getfattr/getfattr.c ../setfattr/setfattr.c ../libattr/attr_copy_fd.c ../libattr/attr_copy_file.c
/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
gmake[1]: *** [attr.pot] Error 127
make: *** [default] Error 2
#=============================================
It is known for almost year, I see, and not solved yet definitely?
Comment 93 Peter Jaworski 2008-03-09 20:50:29 UTC
(In reply to comment #92)
> (In reply to comment #91)
> > *** Bug 212862 has been marked as a duplicate of this bug. ***
> > 
> revdep-rebuild -X --library libexpat.so.0 does not work. Sys-apps/attr-2.4.39
> has failed in the same way:
> #==============================================
> gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
> rule.
> /usr/bin/xgettext --language=C --keyword=_ -o attr.pot ../attr/attr.c
> ../getfattr/getfattr.c ../setfattr/setfattr.c ../libattr/attr_copy_fd.c
> ../libattr/attr_copy_file.c
> /usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot
> open shared object file: No such file or directory
> gmake[1]: *** [attr.pot] Error 127
> make: *** [default] Error 2
> #=============================================
> It is known for almost year, I see, and not solved yet definitely?
> 

The problem was with USE flag "acl", for te first time in stage1 it is better not to use it to fulfil emerge -e system.
because sys-devel/gettext-0.17 with acl requires sys-apps/acl-2.2.45 and acl requires sys-apps/attr-2.4.39, but unfortunately sys-apps/attr-2.4.39, requires 
sys-devel/gettext-0.17. So we need first emerge sys-devel/gettext-0.17 without acl USE flag.
Comment 94 Dawid Węgliński (RETIRED) gentoo-dev 2008-03-11 15:48:56 UTC
*** Bug 213045 has been marked as a duplicate of this bug. ***
Comment 95 Jakub Moc (RETIRED) gentoo-dev 2008-03-15 11:44:21 UTC
*** Bug 213481 has been marked as a duplicate of this bug. ***
Comment 96 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-21 16:59:02 UTC
*** Bug 218702 has been marked as a duplicate of this bug. ***
Comment 97 Ben de Groot (RETIRED) gentoo-dev 2008-04-28 00:10:13 UTC
*** Bug 219555 has been marked as a duplicate of this bug. ***