Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libexpat 2.0.0 ABI breakage
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Mon May 01, 2006 2:20 pm    Post subject: Reply with quote

That has nothing to do with libexpat and is a known bug in revdep-rebuild, see https://bugs.gentoo.org/show_bug.cgi?id=32276
Back to top
View user's profile Send private message
prolific
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 237

PostPosted: Thu May 04, 2006 2:47 am    Post subject: Reply with quote

i have this problem ..

...
All prepared. Starting rebuild...
emerge --oneshot =app-text/evince-0.5.0 =app-text/poppler-bindings-0.5.0 =dev-util/kdevelop-3.3.1 =gnome-base/control-center-2.12.2-r1 =gnome-base/gconf-2.12.1-r1 =gnome-base/gdm-2.8.0.7 =gnome-base/gnome-desktop-2.12.2 =gnome-base/gnome-keyring-0.4.6 =gnome-base/gnome-panel-2.12.2 =gnome-base/gnome-session-2.12.0 =gnome-base/libbonoboui-2.10.1-r1 =gnome-base/libgnomeui-2.12.1 =gnome-base/librsvg-2.12.7 =gnome-base/nautilus-2.12.2 =gnome-extra/gcalctool-5.6.31 =gnome-extra/gconf-editor-2.12.1 =gnome-extra/gnome-keyring-manager-2.12.0 =gnome-extra/gnome-media-2.12.0 =gnome-extra/gucharmap-1.4.4 =gnome-extra/nautilus-cd-burner-2.12.2 =gnome-extra/yelp-2.12.2 =kde-base/kdeaddons-3.5.0 =kde-base/kdeadmin-3.5.0 =kde-base/kdeartwork-3.5.0 =kde-base/kdebase-3.5.0-r1 =kde-base/kdeedu-3.5.0 =kde-base/kdegames-3.5.0 =kde-base/kdegraphics-3.5.0-r3 =kde-base/kdelibs-3.5.1-r1 =kde-base/kdemultimedia-3.5.0 =kde-base/kdenetwork-3.5.0 =kde-base/kdepim-3.5.0-r3 =kde-base/kdetoys-3.5.0 =kde-base/kdeutils-3.5.0 =kde-base/kdewebdev-3.5.0 =media-libs/musicbrainz-2.1.2 =media-sound/beep-media-player-0.9.7.1 =media-sound/moc-2.4.0 =media-sound/rhythmbox-0.9.2 =media-video/totem-1.2.1 =net-analyzer/gnome-netstatus-2.12.0 =net-analyzer/gnome-nettool-1.4.1 =net-misc/vino-2.12.0 =www-client/epiphany-1.8.3 =x11-base/xorg-x11-6.8.2-r6 =x11-libs/gtk+-2.8.13 =x11-libs/pango-1.10.4 =x11-terms/gnome-terminal-2.12.0 =x11-wm/fluxbox-0.9.14-r1 =x11-wm/metacity-2.12.2
..........
Calculating dependencies /
emerge: there are no ebuilds to satisfy "=kde-base/kdeaddons-3.5.0".
......

i don't have the exact ebuild of kdeaddons-3.5.0 in portage but there are other versions of it ..

the output also said "- use -X or --package-names as first argument (trys to rebuild package, not exact ebuild)"

so i ran "revdep-rebuild -X" but the same thing happened
Back to top
View user's profile Send private message
tejecske
n00b
n00b


Joined: 20 Mar 2006
Posts: 60
Location: Pécs, Hungary

PostPosted: Sun May 07, 2006 5:49 pm    Post subject: Reply with quote

I think you could simply emerge -1 kde-base/kdeaddons before revdep-rebuild.
_________________
The w/ELDER
Back to top
View user's profile Send private message
rocketrabbit
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Wed May 17, 2006 10:04 am    Post subject: Reply with quote

hello,

yet another victim of expat. :(

i have masked expat 2, downgrade it, and tried to emerge all my kde-based stuff like many here. but it is not allowing me to re-emerge my stuff because the expat thing is still screwing things up! how did you guys do it and how do i fix it?

Code:

 # emerge kate
Calculating dependencies... done!
>>> Emerging (1 of 1) kde-base/kate-3.5.2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking kdebase-3.5.2.tar.bz2 ;-)
>>> Unpacking source...
>>> Extracting from tarball...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/kate-3.5.2/work/kate-3.5.2 ...
*** automake (GNU automake) 1.7.9 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
unknown icon type  in kate/pics/Makefile.in (sessionchooser.png)
*** Creating date/time stamp
*** Finished
    Don't forget to run ./configure
    If you haven't done so in a while, run ./configure --help
 * Running elibtoolize in: kate-3.5.2/admin
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
acinclude.m4 aclocal.m4 admin AUTHORS autom4te.cache config.h.in configure configu                                                                                                                                 re.files configure.in configure.in.bot configure.in.in COPYING doc INSTALL kate Ma                                                                                                                                 kefile.am Makefile.am.in Makefile.in README stamp-h.in subdirs econf: updating kat                                                                                                                                 e-3.5.2/admin/config.guess with /usr/share/gnuconfig/config.guess
acinclude.m4 aclocal.m4 admin AUTHORS autom4te.cache config.h.in configure configu                                                                                                                                 re.files configure.in configure.in.bot configure.in.in COPYING doc INSTALL kate Ma                                                                                                                                 kefile.am Makefile.am.in Makefile.in README stamp-h.in subdirs econf: updating kat                                                                                                                                 e-3.5.2/admin/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infod                                                                                                                                 ir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib                                                                                                                                  --without-java --with-x --enable-mitshm --without-xinerama --with-qt-dir=/usr/qt/                                                                                                                                 3 --enable-mt --with-qt-libraries=/usr/qt/3/lib --disable-dependency-tracking --di                                                                                                                                 sable-debug --without-debug --disable-final --with-arts --prefix=/usr/kde/3.5 --ma                                                                                                                                 ndir=/usr/kde/3.5/share/man --infodir=/usr/kde/3.5/share/info --datadir=/usr/kde/3                                                                                                                                 .5/share --sysconfdir=/usr/kde/3.5/etc --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/kde/3.5/bin/kde-config
/usr/kde/3.5/bin/kde-config: error while loading shared libraries: libexpat.so.1:                                                                                                                                  cannot open shared object file: No such file or directory
configure: error: /usr/kde/3.5/bin/kde-config --prefix outputed the non existant p                                                                                                                                 refix '' for kdelibs.
                    This means it has been moved since you installed it.
                    This won't work. Please recompile kdelibs for the new prefix.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kate-3.5.2/work/kate-3.5.2/config.log

!!! ERROR: kde-base/kate-3.5.2 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  ebuild.sh, line 1240:   Called kde-meta_src_compile
  kde-meta.eclass, line 408:   Called kde_src_compile
  kde.eclass, line 120:   Called kde_src_compile 'all'
  kde.eclass, line 238:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 220:   Called econf '--without-java' '--with-x' '--enable-mitsh                                                                                                                                 m' '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-librari                                                                                                                                 es=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-deb                                                                                                                                 ug' '--disable-final' '--with-arts' '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5                                                                                                                                 /share/man' '--infodir=/usr/kde/3.5/share/info' '--datadir=/usr/kde/3.5/share' '--                                                                                                                                 sysconfdir=/usr/kde/3.5/etc'
  ebuild.sh, line 533:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relev                                                                                                                                 ant.



Code:
$ kate
kate: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory


oh, no! fluxbox uses expat too!? i rebooted and now it won't start!
Back to top
View user's profile Send private message
tejecske
n00b
n00b


Joined: 20 Mar 2006
Posts: 60
Location: Pécs, Hungary

PostPosted: Thu May 18, 2006 2:02 pm    Post subject: Reply with quote

Simply remerge everything what breaks, that's all.
I did it.
Which package is not available anymore (revdep cannot find it), should be updated.
_________________
The w/ELDER
Back to top
View user's profile Send private message
rocketrabbit
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Thu May 18, 2006 3:40 pm    Post subject: Reply with quote

the problem is, i did that! i emerged some small packages to test that out, and nothing works! when i was still logged in x, i re-emerged kate and kopete, and neither worked! at some point, i rebooted, and wanted to log into x again, but fluxbox won't start! i re-emerged fluxbox and it failed to load when i want to start x. my system been broken for 3 days now! damn expat!
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Thu May 18, 2006 4:12 pm    Post subject: Reply with quote

well add -Wl,--as-needed to your linker-flags and emerge -e world :)
you'll never exeprience such system-breakdown anymore, it's that easy - there is nothing in kde, which really depends on expat, as long as I know.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
rocketrabbit
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Thu May 18, 2006 6:27 pm    Post subject: Reply with quote

what is a 'linker flag' and how would i use it? i did a search and all the results returned that contain words is from return codes. sorry that i had to ask, i am still very newbie-ish.

is that something i add to the command line or something i add to the /etc/make.conf file?
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Thu May 18, 2006 6:39 pm    Post subject: Reply with quote

this is what I have in my /etc/make.conf
Code:
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

the original --as-needed thread on gentoo-forums
the bug-tracker for the failing packages
the flameeyes' qa article explaining how to fix packages, failin with --as-needed
hope this helps :)
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
rocketrabbit
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Fri May 19, 2006 5:59 am    Post subject: Reply with quote

i did 'emerge -e world' and some programs still fail to run. those that can run fail to run properly.

here's an example:
Code:
conky: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory


looks like expat is still screwing me after the long hours of emerging all my stuff.
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri May 19, 2006 9:53 am    Post subject: Reply with quote

which version of expat do you have installed now?
what is the output of
readelf -d /usr/bin/conky
I suppose that you haven't installed sth without the portage?
the second thing is that you could try the script, in this thread to see which applications link to libexpat
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
rocketrabbit
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Fri May 19, 2006 1:45 pm    Post subject: Reply with quote

Code:
0x00000001 (NEEDED) [libexpat.so.1]


along with many things that are under (NEEDED) too! like libSM.so.6, libICE.so.6, libglib-2.0.so.0. just typing a few since i cannot use the browser in my gentoo. therefore, i can't copy and paste.

no, the net is working now. so i can use portage. but my browser along with many things are broken.

as far as i am concerned, all programs are not running properly.
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri May 19, 2006 2:13 pm    Post subject: Reply with quote

Have you re-emerged -e world with the as-needed ldflag, it is impossible to have this behaviour, it could have two explanations:
you are not using the --as-needed or somehow emerge -e world has failed to re-emerge some packages.
re-emerge them with emerge -D1 and see what happens.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
rocketrabbit
n00b
n00b


Joined: 30 Mar 2006
Posts: 58

PostPosted: Fri May 19, 2006 4:31 pm    Post subject: Reply with quote

yes, i used the as-needed ldflag.

it appears that programs will work only if i unmerge it, and then emerge it all over it again. some stuff continue to run after i have exited x with ctrl+alt+backspace. i know this, because in shell, error messages keep on showing up line after line.

thank you for trying to help. but i think i just had enough of it, this is day 5 and my system is still screwed up.

this expat thing is the biggest pos i ever expierenced in computer problems.

i think it is far better and faster if i torn down my entire system and reinstall it all over again!

like many said: expat 2.0.0 should be hard masked! and the developers should be hanged by the balls.
Back to top
View user's profile Send private message
pgrdsl
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 93
Location: Southampton, UK

PostPosted: Mon May 22, 2006 6:43 pm    Post subject: Reply with quote

rocketrabbit wrote:
like many said: expat 2.0.0 should be hard masked! and the developers should be hanged by the balls.

Which developers? The expat ones? Then you wouldn't have had expat 1 or expat 2, and the world would be a worse place. See my earlier posts for why we (as gentoo users) have any right to limit the expat ones.
The gentoo ones? And then you wouldn't have gentoo. If you can be bothered to read the bugzilla report on this upgrade, you will understand the reason why things have been done the way they have. If you can think of a better way, I'm sure they'll be delighted to hear it.

As far as I can tell expat-2 is still ~'d. If you can't cope with using ~ packages, don't do it. Nobody is forcing you.

Calm down. Grow up. Or remember to put a smiley in :wink:
_________________
pihl
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 451

PostPosted: Sun May 28, 2006 9:53 am    Post subject: Reply with quote

pgrdsl wrote:
rocketrabbit wrote:
like many said: expat 2.0.0 should be hard masked! and the developers should be hanged by the balls.

Which developers? The expat ones? Then you wouldn't have had expat 1 or expat 2, and the world would be a worse place. See my earlier posts for why we (as gentoo users) have any right to limit the expat ones.
The gentoo ones? And then you wouldn't have gentoo. If you can be bothered to read the bugzilla report on this upgrade, you will understand the reason why things have been done the way they have. If you can think of a better way, I'm sure they'll be delighted to hear it.

As far as I can tell expat-2 is still ~'d. If you can't cope with using ~ packages, don't do it. Nobody is forcing you.

Calm down. Grow up. Or remember to put a smiley in :wink:


Well i can understand him (although i have to say that the words he used are ABSOLUTELY not okey), when i TRIED to upgrade expat there was NO einfo msg in the ebuild (they put this in AFTER many ppl complained about borking their system by upgrading expad) and pow my system was fucked. X was gone... VERY ANNOYING

I do think that quite alot of packages are put into portage without doin REALLY proper testing. Have seen alot during my two years of gentoo...

But honestly if everybody would keep to this we wouldn't have so many fights/insults... here, and we could all stick to the important things like solving problems...
Back to top
View user's profile Send private message
morgoth6
n00b
n00b


Joined: 20 Nov 2004
Posts: 43

PostPosted: Sun Jun 04, 2006 11:41 am    Post subject: Reply with quote

There is realy easy way to upgrade to new expat without disabling almost complete system set for day or two to rebuild packages depends on it. Before upgrade to 2.0.0 copy libexpat* from /usr/lib/ to /usr/local/lib and make ldconfig. Now upgrade to 2.0.0

Now all packages that use old libexpat would use version from /usr/local/lib, but emerge would use new version from /usr/lib. This way you can still use your system when rebuilding KDE, Gnome, etc. After revdep-rebuild when all packages use new version just delete libexpat from /usr/local/lib and that all.
Back to top
View user's profile Send private message
kardolus
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2005
Posts: 120
Location: Amsterdam

PostPosted: Tue Jun 06, 2006 6:12 pm    Post subject: Reply with quote

I made the symlink as was mentioned on page one of this thread. I know this was not a good idea, but i needed a fix. Now my X is messed up. For example when i browse i often see the background colors instead of the fonts. I tried to fix it with revdep-rebuild, but still the same problem.

This is a fresh installed gentoo on an amd64. It was just installed for one day and now i run into this problem :).

can someone help me out, this problem is a bit complicated for me.

ps i use gnome and followed the steps i saw laurelin make. However this was after i had made a simlink.
_________________
Smokey, this is not 'Nam. This is bowling. There are rules.

http://twitter.com/GKardolus
Back to top
View user's profile Send private message
kardolus
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2005
Posts: 120
Location: Amsterdam

PostPosted: Wed Jun 07, 2006 7:47 pm    Post subject: Reply with quote

anyone ?

i cant really work on my cpu in this way, any idea could be helpfull
_________________
Smokey, this is not 'Nam. This is bowling. There are rules.

http://twitter.com/GKardolus
Back to top
View user's profile Send private message
Jannejt
n00b
n00b


Joined: 14 Oct 2005
Posts: 12
Location: Finland

PostPosted: Wed Jun 07, 2006 11:36 pm    Post subject: Reply with quote

morgoth6 wrote:
There is realy easy way to upgrade to new expat without disabling almost complete system set for day or two to rebuild packages depends on it. Before upgrade to 2.0.0 copy libexpat* from /usr/lib/ to /usr/local/lib and make ldconfig. Now upgrade to 2.0.0

Now all packages that use old libexpat would use version from /usr/local/lib, but emerge would use new version from /usr/lib. This way you can still use your system when rebuilding KDE, Gnome, etc. After revdep-rebuild when all packages use new version just delete libexpat from /usr/local/lib and that all.


thanks, that worked for me! :D
_________________
Gentoo Linux ~x86 @ laptop
Gentoo Linux ~amd64 @ desktop
Back to top
View user's profile Send private message
Rheddry
n00b
n00b


Joined: 30 Nov 2004
Posts: 4

PostPosted: Thu Jul 27, 2006 2:35 pm    Post subject: Reply with quote

i just did the ln -s thngie to avoid anymore headaches :|
maybe that's just the break point LOL :)


:| i've had it with expat breakage (and no KDE here) :roll:

cheers,
~EinZteiN aka rheddry
_________________
Deprecated User: Check user "EinZteiN" for further contact! Thank you. :)
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5227
Location: France, Old Europe

PostPosted: Fri Sep 15, 2006 9:25 am    Post subject: Reply with quote

morgoth6 wrote:
There is realy easy way to upgrade to new expat without disabling almost complete system set for day or two to rebuild packages depends on it. Before upgrade to 2.0.0 copy libexpat* from /usr/lib/ to /usr/local/lib and make ldconfig. Now upgrade to 2.0.0


damn good idea, much more sensible than symlinking files with different ABIs

This should be in the einfo message!

Many thanks. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
aka_iG
n00b
n00b


Joined: 12 Feb 2005
Posts: 44
Location: Faro - Portugal

PostPosted: Sun Sep 24, 2006 6:27 pm    Post subject: Reply with quote

Hi!

This also worked for me.

How comes this issue is to be solved since March??! 8O At least that's the date of the first post of this topic.

Thanks again for this "solution" :wink:
_________________
Ivo Belchior Gonçalves

"Most days I wake up thinking I'm the luckiest bastard alive."
Back to top
View user's profile Send private message
y2rayk
n00b
n00b


Joined: 29 Dec 2006
Posts: 1

PostPosted: Fri Dec 29, 2006 4:15 am    Post subject: Reply with quote

i fixed this problem by running revdep-rebuild. revdep-rebuild listed packages that were missing dependencies. for me, revdep-rebuild failed after this step. then i manually emerged all the packaged listed in revdep-rebuild.
Back to top
View user's profile Send private message
Kate Monster
Apprentice
Apprentice


Joined: 13 Jun 2006
Posts: 222
Location: Clarkston, Michigan

PostPosted: Sat Dec 30, 2006 5:07 am    Post subject: Reply with quote

I recently emerged expat-2.0.0, and the woes since doing so refuse to cease. First thing after the emerge I ran revdep-rebuild -X --library=libexpat.so.0, it failed on the first package, gtk+, because it complained about a missing expat.so.0 during the emerge. Someone suggested remerging neon, I did so, and emerged mplayer successfully, but mplayer refuses to start, complaining about, lo and behold, libexpat.so.0. I read a second suggestion to add --as-needed to LDFLAGS, but as far as I can tell this has fixed nothing. A second remerge of mplayer produces the same result. Does anyone have any idea what could be going on?
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
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
Page 9 of 11

 
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