Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] breakage after update to qt-4.8.7
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
equaeghe
Guru
Guru


Joined: 22 Feb 2005
Posts: 463

PostPosted: Fri May 19, 2017 10:56 am    Post subject: [solved] breakage after update to qt-4.8.7 Reply with quote

Yesterday, I got the update from qt-4.8.6 tot qt-4.8.7 (on a mosly stable kde5 box). A first cosmetic effect is that the kde4 applications do not use the same theme anymore as the kde5 apps. A second effect is that kmail (kde4 application) cannot access my mail anymore; this may be an akonadi issue.

Is anyone seeing issues as well? In any case, what can I try to fix stuff? (revdep-rebuild doesn't see the need to re-emerge the kde4 applications, which makes sense, as the api should not have changed.)


Last edited by equaeghe on Fri May 19, 2017 7:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
equaeghe
Guru
Guru


Joined: 22 Feb 2005
Posts: 463

PostPosted: Fri May 19, 2017 11:04 am    Post subject: Reply with quote

Bug 618922
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Fri May 19, 2017 12:50 pm    Post subject: Reply with quote

See here: https://forums.gentoo.org/viewtopic-t-1063730-start-0-postdays-0-postorder-asc-highlight-.html

This probably has something to do with Qt4 plugins, which have to be rebuilt against the new version of dev-qt/qtcore.
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
equaeghe
Guru
Guru


Joined: 22 Feb 2005
Posts: 463

PostPosted: Fri May 19, 2017 7:25 pm    Post subject: Reply with quote

mrsteven wrote:
See here: https://forums.gentoo.org/viewtopic-t-1063730-start-0-postdays-0-postorder-asc-highlight-.html

This probably has something to do with Qt4 plugins, which have to be rebuilt against the new version of dev-qt/qtcore.
Thanks, a manual revdep-rebuild fixed things for me as well.
Back to top
View user's profile Send private message
iandoug
Guru
Guru


Joined: 11 Feb 2005
Posts: 513
Location: Cape Town, South Africa

PostPosted: Sun May 21, 2017 12:04 pm    Post subject: Reply with quote

Standard revdep-rebuild says nothing to fix here.

Trying revdep-rebuild --library='libQtCore.so.4'

Whatever happened to "don't break UserSpace" ?.....

Can't live without mail... it's not like when a browser is broken, there are alternative....
_________________
Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram | Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Sun May 21, 2017 12:12 pm    Post subject: Reply with quote

The problem is that any Qt-4 plugins from applications that you had previously built with GCC-4 are incompatible with Qt-4.8.7 that is _now_ built with GCC-5
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
iandoug
Guru
Guru


Joined: 11 Feb 2005
Posts: 513
Location: Cape Town, South Africa

PostPosted: Sun May 21, 2017 12:14 pm    Post subject: Reply with quote

asturm wrote:
The problem is that any Qt-4 plugins from applications that you had previously built with GCC-4 are incompatible with Qt-4.8.7 that is _now_ built with GCC-5


I thought that whole "upgrade your system to new GCC" procedure was supposed to fix that?

THAT was a long job to run... :-)
_________________
Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram | Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13493

PostPosted: Sun May 21, 2017 3:45 pm    Post subject: Reply with quote

iandoug wrote:
Whatever happened to "don't break UserSpace" ?.....
The kernel has a hard rule about that, enforced by Linus reverting patches that break userspace if the offending developer does not provide a better solution. Individual libraries have no such guarantee.
Back to top
View user's profile Send private message
iandoug
Guru
Guru


Joined: 11 Feb 2005
Posts: 513
Location: Cape Town, South Africa

PostPosted: Sun May 21, 2017 9:31 pm    Post subject: Reply with quote

iandoug wrote:
Standard revdep-rebuild says nothing to fix here.

Trying revdep-rebuild --library='libQtCore.so.4'



Happy to report that that ran through all 98 rebuilds on the second attempt (crashed about half way first time) and now Kmail works again.

Thanks to community for help :-)

Cheers, Ian
_________________
Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram | Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
tholin
Apprentice
Apprentice


Joined: 04 Oct 2008
Posts: 165

PostPosted: Tue May 23, 2017 7:33 pm    Post subject: Reply with quote

I was also hit by this. Styles got broken so all qt4 programs looked like windows95. Japanese IME didn't work until I rebuilt dev-libs/sni-qt & app-i18n/fcitx and kalarm lost all alarms until I rebuilt that.

iandoug wrote:
asturm wrote:
The problem is that any Qt-4 plugins from applications that you had previously built with GCC-4 are incompatible with Qt-4.8.7 that is _now_ built with GCC-5

I thought that whole "upgrade your system to new GCC" procedure was supposed to fix that?

So did I.

Just for the record here are the steps I took when upgrading from gcc-4.9.4 to gcc-5.4.0-r3. From my bash_history:

Code:
eselect news read 44
emerge -auv1 sys-devel/gcc
gcc-config -l
gcc-config 2
. /etc/profile
env-update && source /etc/profile
emerge -av1 sys-devel/libtool
revdep-rebuild --library 'libstdc++.so.6' -- -av --exclude gcc
idle emerge --autounmask-write -uavDN -j 16 --with-bdeps y --keep-going --backtrack=50 --verbose-conflicts world
emerge -av --depclean


List of stuff that got rebuilt http://sprunge.us/bBXd

Since I knew there would be abi breaks I even put together a small script to list the versions of gcc my installed programs was built with. It looks at the .comment sections in the *.debug files in /usr/lib/debug. I rebuilt software built with older gcc versions, including the software that broke by this qt update.

List of that rebuild http://sprunge.us/aMAM

It that wasn't enough what else should I had done to avoid this breakage?
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