Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] libattica upgrade to 0.3.0 breaks KDE
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Fri Jun 08, 2012 1:37 pm    Post subject: [Solved] libattica upgrade to 0.3.0 breaks KDE Reply with quote

This version doesn't create a libattica.so.0 symlink, only libattica.so.0.3, so emerging or running KDE packages fails because libkdeui.so (kde-base/kdelibs) is built against libattica.so.0.

A workaround is to create the missing symlink:
> ln -s libattica.so.0.3.0 libattica.so.0

Solutions:
1. mask >dev-libs/libattica-0.2.0
2. remerge kde-base/kdelibs (maybe revdep-rebuild)


Last edited by sebaro on Mon Jun 11, 2012 9:07 am; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sun Jun 10, 2012 11:22 pm    Post subject: Reply with quote

Running revdep-rebuild would be preferable (remove symlink first). The change in soname is due to ABI break, which means that programs using your symlink may now behave in unexpected ways.
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Mon Jun 11, 2012 5:33 am    Post subject: Reply with quote

I found this on libattica's changelog: "0.3.0 - Bump soname from .0 to .0.3 since we have a BIC change."
Why aren't the "preserve_old_lib(_notify)" functions used in the ebuild? Why some ebuilds use them and other don't (libpng use them and tiff doesn't)?
Thanks.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Mon Jun 11, 2012 8:06 am    Post subject: Reply with quote

preserve_old_lib is needed for packages where large parts of the system would break on soname change, or important packages like gcc. With libattica it was only a couple of KDE packages, so it was not justified.
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Mon Jun 11, 2012 9:05 am    Post subject: Reply with quote

OK, but I think the size (build time) of packages should be considered as well not just how many packages need to be rebuilt. But that's off topic.
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Fri Aug 10, 2012 1:53 am    Post subject: Reply with quote

Well libattica-0.4.0 will stop KDE from loading. It doesn't upgrade/remerge libkde and attica, and your only left with libattica.so.0.4 and they want libattica.so.0.3.
If it hadn't been for twm and typing startkde wouldn't have figured it out and could only get a console. Using startkde in console didn't tell me what the problem was.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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