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 ... 9, 10, 11  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tapted
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2003
Posts: 122
Location: Sydney, Australia

PostPosted: Tue Aug 14, 2007 6:36 am    Post subject: Reply with quote

astor84 wrote:

What am I doing wrong?


Probably nothing. It's just a mess.

Try running my script in the post above https://forums.gentoo.org/viewtopic-p-4184915.html#4184915 -- just change the line 'BINARY=/usr/bin/svn' to 'BINARY=/usr/bin/xine'. It should tell you what ebuilds you need to re-emerge.
Back to top
View user's profile Send private message
smelialichu
n00b
n00b


Joined: 31 Jan 2004
Posts: 16

PostPosted: Tue Aug 14, 2007 11:01 am    Post subject: Reply with quote

pango refused to emerge for me untill I'd re-emerged libXft. Just sharing here because I didn't come across this suggestion while looking for help on the forums. Hopefully qt will compile now too, I'll find out after gtk+ is done..
Back to top
View user's profile Send private message
eno2001
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2006
Posts: 136

PostPosted: Wed Aug 15, 2007 5:38 am    Post subject: Thanks to Roderick! Reply with quote

That thread solved my problem. I'm back up and running. Thanks!

roderick wrote:
Read this.... should help

https://forums.gentoo.org/viewtopic-t-575655.html
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Wed Aug 15, 2007 2:20 pm    Post subject: Reply with quote

you're quite welcome :)
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
Bravo_Kernel
n00b
n00b


Joined: 19 Mar 2006
Posts: 5

PostPosted: Sat Aug 18, 2007 2:33 pm    Post subject: Reply with quote

This was the most fun breakage I ever had. All the tips failed.
Luckily somebody mentioned 'emerge -e' and after rebuilding 580 packages everything is back to smooth.

Got to love unstable branches (and Gentoo's little helpers)
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1650

PostPosted: Tue Aug 21, 2007 2:00 am    Post subject: Reply with quote

As we can see this problem is over a year old and will continue to reoccur flooding the forums every time expat is updated. For those whom are interested a bug has been filed as to the procedural problem of an ebuild post install warning not giving the user the choice that Gentoo should offer. In this cast the choice is to have a broken system now or later. Please leave your comments and suggestions.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Fri Aug 24, 2007 9:29 pm    Post subject: Reply with quote

Same thing is happening here and after 11 pages of reading I cant find a solution

I run revdep-rebuild -X --library libexpat.so.0 , It re-emerged 250 packages, I run revdep-rebuild again and there ara thousands of broken links. I really dont know what else to dο. Its been 3 days with this problem :cry:
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Fri Aug 24, 2007 11:57 pm    Post subject: Reply with quote

If you dont have app-portage/gentoolkit, then emerge it.

Then run

Code:

equery depends dev-libs/expat


That will produce a list of packages that need to be rebuilt against the new expat.

For each package in the list, emerge --oneshot [package]

At the very least, your list will probably contain XML-parser, and gettext which need to be emerged first.

Try this for each if these packages, then after that re-try the revdep-rebuild, remember to rm -rf ~/.revdep* before re-issuing the revdep to get it to start from scratch.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sat Aug 25, 2007 12:06 am    Post subject: Reply with quote

Listen to this man for he is wise!

The road to expat enlightenment is with 'equery d expat'.
Because revdep-rebuild is really thick and does silly things.
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Sat Aug 25, 2007 7:06 am    Post subject: Reply with quote

roderick wrote:
If you dont have app-portage/gentoolkit, then emerge it.

Then run

Code:

equery depends dev-libs/expat


That will produce a list of packages that need to be rebuilt against the new expat.

For each package in the list, emerge --oneshot [package]

At the very least, your list will probably contain XML-parser, and gettext which need to be emerged first.

Try this for each if these packages, then after that re-try the revdep-rebuild, remember to rm -rf ~/.revdep* before re-issuing the revdep to get it to start from scratch.


Thanks man for the reply. I ll give it a shot as soon as possible
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Sat Aug 25, 2007 9:27 am    Post subject: Reply with quote

Have a look at this

After revdep-rebuild

I try this

Code:
Onyx Desktop # env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: File /usr/lib/libssl.so.0.9.7 is empty, not checked.


The last line means something bad? :? :?

Also

with this command

equery depends dev-libs/expat

I get this
Code:
Onyx Desktop # equery depends dev-libs/expat
[ Searching for packages depending on dev-libs/expat... ]
app-editors/nvu-1.0-r4 (dev-libs/expat)
app-office/openoffice-2.2.1 (dev-libs/expat)
dev-lang/python-2.4.4-r4 (!build? dev-libs/expat)
dev-libs/apr-util-1.2.8 (dev-libs/expat)
dev-perl/XML-Parser-2.34-r1 (>=dev-libs/expat-1.95.1-r1)
dev-python/pyxml-0.8.4 (>=dev-libs/expat-1.95.6)
games-emulation/advancemame-0.106.0 (expat? >=dev-libs/expat-1.95.6)
games-emulation/gxmame-0.35_beta2 (dev-libs/expat)
games-emulation/xmame-0.106 (expat? dev-libs/expat)
kde-base/kopete-3.5.7-r1 (jingle? dev-libs/expat)
mail-client/mozilla-thunderbird-2.0.0.6 (dev-libs/expat)
media-libs/fontconfig-2.4.2 (!xml? >=dev-libs/expat-1.95.3)
media-libs/libofa-0.9.3 (dev-libs/expat)
media-libs/mesa-6.5.2-r1 (dev-libs/expat)
media-libs/musicbrainz-2.1.4 (dev-libs/expat)
media-libs/tunepimp-0.5.3 (dev-libs/expat)
net-misc/neon-0.26.3 (expat? dev-libs/expat)
sys-apps/dbus-1.0.2-r2 (>=dev-libs/expat-1.95.8)
sys-apps/hal-0.5.9-r1 (>=dev-libs/expat-1.95.8)
sys-devel/gettext-0.16.1 (dev-libs/expat)
www-client/mozilla-firefox-2.0.0.6 (dev-libs/expat)
www-client/seamonkey-1.1.4 (dev-libs/expat)



I did re-emerge all those packages last night

With revdep-rebuild I get this

Code:
  broken /bin/kedit (requires  libexpat.so.0)
  broken /usr/bin/amarokapp (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/bin/amarokcollectionscanner (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/bin/ogg123 (requires  libcurl.so.3)
  broken /usr/bin/puid (requires  libcurl.so.3)
  broken /usr/kde/3.5/bin/bab (requires  libexpat.so.0)
  broken /usr/kde/3.5/bin/kcometen3.kss (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib64/kde3/b_menu_panelapplet.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib64/kde3/konqsidebar_baghirasidebar.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib64/kde3/kstyle_baghira_config.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib64/kde3/kwin3_baghira.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib64/kde3/kwin_baghira_config.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib64/kde3/plugins/styles/baghira.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib/kde3/b_menu_panelapplet.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib/kde3/konqsidebar_baghirasidebar.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib/kde3/kstyle_baghira_config.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib/kde3/kwin3_baghira.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib/kde3/kwin_baghira_config.so (requires  libexpat.so.0)
  broken /usr/kde/3.5/lib/kde3/plugins/styles/baghira.so (requires  libexpat.so.0)
broken /usr/lib64/kde3/kcm_autostart.so (requires  libexpat.so.0)
  broken /usr/lib64/kde3/konqsidebar_universalamarok.so (requires  libexpat.so.0)
  broken /usr/lib64/kde3/libamarok_generic-mediadevice.so (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/lib64/kde3/libamarok_massstorage-device.so (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/lib64/kde3/libamarok_nfs-device.so (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/lib64/kde3/libamarok_smb-device.so (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/lib64/kde3/libamarok_void-engine_plugin.so (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/lib64/kde3/libamarok_xine-engine.so (requires  libcurl.so.3 libexpat.so.0)
  broken /usr/lib64/libbioapi_mds300.so.0.0.0 (requires  libmds_util.so.0)

Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sat Aug 25, 2007 12:16 pm    Post subject: Reply with quote

On mine, these were (I think) the most important packages to re-emerge first:

dev-lang/python-2.4.4-r4 (!build? dev-libs/expat)
dev-perl/XML-Parser-2.34-r1 (>=dev-libs/expat-1.95.1-r1)
dev-python/pyxml-0.8.4 (>=dev-libs/expat-1.95.6)
sys-apps/dbus-1.0.2-r2 (>=dev-libs/expat-1.95.8)
sys-apps/hal-0.5.9-r1 (>=dev-libs/expat-1.95.8)
sys-devel/gettext-0.16.1 (dev-libs/expat)


You say that you did re-emerge them but you're still getting dep errors.
Can you remember command(s) you used to re-emerge them?
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Sat Aug 25, 2007 1:07 pm    Post subject: Reply with quote

É ran revdep-rebuild -X --library libexpat.so.0 and it rebuilt 250 packages including the packages that you mention above... :?
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Sat Aug 25, 2007 10:49 pm    Post subject: Reply with quote

Its so weird however cause it says that /bin/kedit needs libexpat.so.0 but kedit doesnt have expat as a dependency :? :? :? :?
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Aug 26, 2007 1:52 am    Post subject: Reply with quote

Hwoarang wrote:
Its so weird however cause it says that /bin/kedit needs libexpat.so.0 but kedit doesnt have expat as a dependency :? :? :? :?

That's because kedit depends on something, that depends on expat :(
Because the 'something' is broken because it can't link to expat, revep thinks it's also broken, when really it isn't.

That's why I've been telling people to use "equery d expat" and manually compile THOSE packages with "emerge --oneshot" instead of using revdep-rebuild.

revdep fucntionality is very basic. I only use it with -p to check for dependency oddities; I don't trust it enough to let it try and fix complex dependency problems like this.
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Sun Aug 26, 2007 8:14 am    Post subject: Reply with quote

I see what u mean.

So i tried dep -l kedit so see which packages ara the depedencies of kedit

Code:
Onyx dev # dep -l kedit
kde-base/kedit-3.5.7:
!!! Unknown USE component: env.d
                    dev-lang/perl            dev-lang/perl-5.8.8-r2
                    dev-util/pkgconfig       dev-util/pkgconfig-0.21-r1
                    ~kde-base/kdelibs-3.5.7  kde-base/kdelibs-3.5.7-r2
                    !=kde-base/kdeutils-3.5*
                    >=sys-devel/autoconf-2.59 sys-devel/autoconf-2.61
                    =sys-devel/automake-1.9* sys-devel/automake-1.9.6-r2
                    sys-devel/libtool        sys-devel/libtool-1.5.24
                    sys-devel/make           sys-devel/make-3.81
!!! Unknown USE component: env.d
    xinerama?       x11-libs/libXinerama     x11-libs/libXinerama-1.0.2
                    x11-libs/libXt           x11-libs/libXt-1.0.5
                    =x11-libs/qt-3.3*        x11-libs/qt-3.3.8-r3
                    x11-proto/xf86vidmodeproto x11-proto/xf86vidmodeproto-2.2.2
!!! Unknown USE component: env.d
    xinerama?       x11-proto/xineramaproto  x11-proto/xineramaproto-1.1.2


None of them is similar to these packages

Code:
Onyx Desktop # equery depends dev-libs/expat
[ Searching for packages depending on dev-libs/expat... ]
app-editors/nvu-1.0-r4 (dev-libs/expat)
app-office/openoffice-2.2.1 (dev-libs/expat)
dev-lang/python-2.4.4-r4 (!build? dev-libs/expat)
dev-libs/apr-util-1.2.8 (dev-libs/expat)
dev-perl/XML-Parser-2.34-r1 (>=dev-libs/expat-1.95.1-r1)
dev-python/pyxml-0.8.4 (>=dev-libs/expat-1.95.6)
games-emulation/advancemame-0.106.0 (expat? >=dev-libs/expat-1.95.6)
games-emulation/gxmame-0.35_beta2 (dev-libs/expat)
games-emulation/xmame-0.106 (expat? dev-libs/expat)
kde-base/kopete-3.5.7-r1 (jingle? dev-libs/expat)
mail-client/mozilla-thunderbird-2.0.0.6 (dev-libs/expat)
media-libs/fontconfig-2.4.2 (!xml? >=dev-libs/expat-1.95.3)
media-libs/libofa-0.9.3 (dev-libs/expat)
media-libs/mesa-6.5.2-r1 (dev-libs/expat)
media-libs/musicbrainz-2.1.4 (dev-libs/expat)
media-libs/tunepimp-0.5.3 (dev-libs/expat)
net-misc/neon-0.26.3 (expat? dev-libs/expat)
sys-apps/dbus-1.0.2-r2 (>=dev-libs/expat-1.95.8)
sys-apps/hal-0.5.9-r1 (>=dev-libs/expat-1.95.8)
sys-devel/gettext-0.16.1 (dev-libs/expat)
www-client/mozilla-firefox-2.0.0.6 (dev-libs/expat)
www-client/seamonkey-1.1.4 (dev-libs/expat)


that equery d dev-libs/expat produces

Except I do something wrong ...
Back to top
View user's profile Send private message
tapted
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2003
Posts: 122
Location: Sydney, Australia

PostPosted: Mon Aug 27, 2007 7:40 am    Post subject: Reply with quote

Cyker wrote:
Hwoarang wrote:
Its so weird however cause it says that /bin/kedit needs libexpat.so.0 but kedit doesnt have expat as a dependency :? :? :? :?

That's because kedit depends on something, that depends on expat :(
Because the 'something' is broken because it can't link to expat, revep thinks it's also broken, when really it isn't.

That's why I've been telling people to use "equery d expat" and manually compile THOSE packages with "emerge --oneshot" instead of using revdep-rebuild.

revdep fucntionality is very basic. I only use it with -p to check for dependency oddities; I don't trust it enough to let it try and fix complex dependency problems like this.


Indeed. I had the same problem with svn, which led to me writing a script.

If you are still having issues, try running my script in a previous post https://forums.gentoo.org/viewtopic-p-4184915.html#4184915 -- just change the line 'BINARY=/usr/bin/svn' to 'BINARY=`which kedit`'. It should tell you what ebuilds you need to re-emerge.
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Mon Aug 27, 2007 8:17 am    Post subject: Reply with quote

Thanks man

This is the output


hwoarang@Onyx ~/Desktop $ sh fixbuilding.sh
Code:
checking /usr/kde/3.5/lib64/libkdeinit_kedit.so.. OK
checking /usr/kde/3.5/lib64/libkdeprint.so.4.. OK
checking /usr/kde/3.5/lib64/libkparts.so.2.. OK
checking /usr/kde/3.5/lib64/libkio.so.4.. OK
checking /usr/kde/3.5/lib64/libkdeui.so.4.. OK
checking /usr/kde/3.5/lib64/libkdesu.so.4.. OK
checking /usr/kde/3.5/lib64/libkwalletclient.so.1.. OK
checking /usr/kde/3.5/lib64/libkdecore.so.4.. OK
checking /usr/kde/3.5/lib64/libDCOP.so.4.. OK
checking /lib/libresolv.so.2.. OK
checking /lib/libutil.so.1.. OK
checking /usr/lib64/libart_lgpl_2.so.2.. OK
checking /usr/lib64/libidn.so.11.. OK
checking /usr/kde/3.5/lib64/libkdefx.so.4.. OK
checking /usr/qt/3/lib64/libqt-mt.so.3.. OK
checking /usr/lib64/libmng.so.1.. OK
checking /usr/lib64/libjpeg.so.62.. OK
checking /usr/lib64/libXi.so.6.. OK
checking /usr/lib64/libXrandr.so.2.. OK
checking /usr/lib64/libXcursor.so.1.. OK
checking /usr/lib64/libXfixes.so.3.. OK
checking /usr/lib64/libXinerama.so.1.. OK
checking /usr/lib64/libXft.so.2.. OK
checking /usr/lib64/libfontconfig.so.1.. OK
checking /usr/lib64/libfreetype.so.6.. OK
checking /usr/lib64/libxml2.so.2.. OK
checking /usr/lib64/libpng12.so.0.. OK
checking /usr/lib64/libXext.so.6.. OK
checking /usr/lib64/libSM.so.6.. OK
checking /usr/lib64/libICE.so.6.. OK
checking /lib/libpthread.so.0.. OK
checking /usr/lib64/libXrender.so.1.. OK
checking /usr/lib64/libX11.so.6.. OK
checking /usr/lib64/libXau.so.6.. OK
checking /usr/lib64/libXdmcp.so.6.. OK
checking /lib/libdl.so.2.. OK
checking /lib/libz.so.1.. OK
checking /lib/libacl.so.1.. OK
checking /lib/libattr.so.1.. OK
checking /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.. OK
checking /lib/libm.so.6.. OK
checking /lib/libgcc_s.so.1.. ldd: warning: you do not have execution permission for `/lib/libgcc_s.so.1'
OK
checking /lib/libc.so.6.. OK
Broken:
Ebuilds:


If I put /bin/kedit in the place of BINARY i get this
Code:

/bin/kedit: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
ldd: missing file arguments
Try `ldd --help' for more information.
Broken:
Ebuilds:
Back to top
View user's profile Send private message
tapted
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2003
Posts: 122
Location: Sydney, Australia

PostPosted: Mon Aug 27, 2007 10:02 am    Post subject: Reply with quote

Hwoarang wrote:

If I put /bin/kedit in the place of BINARY i get this
Code:

/bin/kedit: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory


I think here we have stumbled upon the problem.

kedit shouldn't live in /bin -- an old (and now broken) version may have been copied there inadvertently in the past. kedit should live in a path akin to /usr/kde/3.5/bin/kedit. I suspect your /bin/kedit doesn't belong to any package and so can safely be removed. Being an orphan, it would not get overwritten when you emerge kedit.

try (as root)

Code:
mv /bin/kedit /tmp
kedit


(if it says no such file, do 'hash -r' and try again)
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Mon Aug 27, 2007 2:10 pm    Post subject: Reply with quote

You were right. the kedit under the /bin folder was a shit. There was no reason for being there. That one is fixed now but there are like 20 packages left that revdep-rebuild complanes about. I suppose that I need to find the package names and then rebuild them ... Damn you expat :evil:
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 ... 9, 10, 11
Page 11 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