Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]kde4-apps lost theme,akonadi/configs with 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
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

PostPosted: Fri May 19, 2017 8:03 am    Post subject: [solved]kde4-apps lost theme,akonadi/configs with qt-4.8.7 Reply with quote

Hello Gentoo-experts.

Yesterday I updated some qt-ebuilds:
Code:
1495119845:  >>> emerge (1 of 17) dev-qt/qtcore-4.8.7-r2 to /
1495120151:  ::: completed emerge (1 of 17) dev-qt/qtcore-4.8.7-r2 to /
1495120151:  >>> emerge (2 of 17) dev-qt/qttranslations-4.8.7 to /
1495120165:  ::: completed emerge (2 of 17) dev-qt/qttranslations-4.8.7 to /
1495120165:  >>> emerge (3 of 17) dev-qt/qtscript-4.8.7 to /
1495120235:  ::: completed emerge (3 of 17) dev-qt/qtscript-4.8.7 to /
1495120235:  >>> emerge (4 of 17) dev-qt/qtgui-4.8.7 to /
1495120390:  ::: completed emerge (4 of 17) dev-qt/qtgui-4.8.7 to /
1495120390:  >>> emerge (5 of 17) dev-qt/qtdbus-4.8.7 to /
1495120439:  ::: completed emerge (5 of 17) dev-qt/qtdbus-4.8.7 to /
1495120439:  >>> emerge (6 of 17) dev-qt/qtsvg-4.8.7 to /
1495120486:  ::: completed emerge (6 of 17) dev-qt/qtsvg-4.8.7 to /
1495120486:  >>> emerge (7 of 17) dev-qt/qtopengl-4.8.7 to /
1495120536:  ::: completed emerge (7 of 17) dev-qt/qtopengl-4.8.7 to /
1495120536:  >>> emerge (8 of 17) dev-qt/qtxmlpatterns-4.8.7 to /
1495120626:  ::: completed emerge (8 of 17) dev-qt/qtxmlpatterns-4.8.7 to /
1495120626:  >>> emerge (9 of 17) dev-qt/qttest-4.8.7 to /
1495120671:  ::: completed emerge (9 of 17) dev-qt/qttest-4.8.7 to /
1495120671:  >>> emerge (10 of 17) dev-qt/qtwebkit-4.8.7 to /
1495121224:  ::: completed emerge (10 of 17) dev-qt/qtwebkit-4.8.7 to /
1495121224:  >>> emerge (11 of 17) dev-qt/qtmultimedia-4.8.7 to /
1495121270:  ::: completed emerge (11 of 17) dev-qt/qtmultimedia-4.8.7 to /
1495121270:  >>> emerge (12 of 17) dev-qt/qtsql-4.8.7-r1 to /
1495121316:  ::: completed emerge (12 of 17) dev-qt/qtsql-4.8.7-r1 to /
1495121316:  >>> emerge (13 of 17) dev-qt/qt3support-4.8.7 to /
1495121395:  ::: completed emerge (13 of 17) dev-qt/qt3support-4.8.7 to /
1495121395:  >>> emerge (14 of 17) dev-qt/qtdeclarative-4.8.7 to /
1495121487:  ::: completed emerge (14 of 17) dev-qt/qtdeclarative-4.8.7 to /
1495121487:  >>> emerge (15 of 17) dev-qt/designer-4.8.7 to /
1495121608:  ::: completed emerge (15 of 17) dev-qt/designer-4.8.7 to /
1495121608:  >>> emerge (16 of 17) www-client/firefox-52.1.0-r1 to /
1495122535:  ::: completed emerge (16 of 17) www-client/firefox-52.1.0-r1 to /
1495122535:  >>> emerge (17 of 17) net-analyzer/wireshark-2.2.6 to /
1495122839:  ::: completed emerge (17 of 17) net-analyzer/wireshark-2.2.6 to /
Now all kde4 applications like juk or kmail have an old windows style, not the breeze theme anymore. It seems to be the qt4 default theme.
I tried to set it in Plasma-desktop again, reemerge kdelibs, no luck.

Any ideas, a place to look?
Thank you for your help.
_________________
With nice greetings
Vrenn


Last edited by Vrenn on Fri May 19, 2017 4:03 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 15227
Location: here

PostPosted: Fri May 19, 2017 8:07 am    Post subject: Reply with quote

Package kde-plasma/breeze have active qt4 use flag?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

PostPosted: Fri May 19, 2017 8:12 am    Post subject: Reply with quote

yes, tried reemerge. K3b&others didn't change to breeze.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

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

wow, kmail just did not only lost its theme, but also emails (imap), kontacts (views vcf-filenames, not the names of the contacts) no to list...
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

PostPosted: Fri May 19, 2017 9:47 am    Post subject: Reply with quote

starting kmail in konsole
Code:
...search paths:  ("/usr/lib64/kde4/plugins", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/xy/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
QPluginLoader* AgentPluginLoader::load(const QString&) Failed to load agent:  "The plugin '/usr/lib64/kde4/akonadi_akonotes_resource.so' uses incompatible Qt library. Expected build key "x86_64 linux g++-4 full-config", got "x86_64 linux g++-5.4.0 full-config""
search paths:  ("/usr/lib64/kde4/plugins", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/xy/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
QPluginLoader* AgentPluginLoader::load(const QString&) Failed to load agent:  "The plugin '/usr/lib64/kde4/akonadi_contacts_resource.so' uses incompatible Qt library. Expected build key "x86_64 linux g++-4 full-config", got "x86_64 linux g++-5.4.0 full-config""
search paths:  ("/usr/lib64/kde4/plugins", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/xy/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
QPluginLoader* AgentPluginLoader::load(const QString&) Failed to load agent:  "The plugin '/usr/lib64/kde4/akonadi_ical_resource.so' uses incompatible Qt library. Expected build key "x86_64 linux g++-4 full-config", got "x86_64 linux g++-5.4.0 full-config""
search paths:  ("/usr/lib64/kde4/plugins", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/xy/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
QPluginLoader* AgentPluginLoader::load(const QString&) Failed to load agent:  "The plugin '/usr/lib64/kde4/akonadi_maildir_resource.so' uses incompatible Qt library. Expected build key "x86_64 linux g++-4 full-config", got "x86_64 linux g++-5.4.0 full-config""
Akonadi server is now operational. ...
I'll switch back to 4.8.6 for a try
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5006
Location: Austria

PostPosted: Fri May 19, 2017 10:30 am    Post subject: Reply with quote

Did you complete the upgrade to GCC 5.4.0 according to the news item?
_________________
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
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

PostPosted: Fri May 19, 2017 10:43 am    Post subject: Reply with quote

I did an "revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc" and an emerge -ea --oneshot @world (tradition and an core i7...). That's why a "Expected build key "x86_64 linux g++-4 full-config", got "x86_64 linux g++-5.4.0" irritates me.

I now put following into ma package.mask
Code:
#PRIVATE kmail/kde4 fail
=dev-qt/qtcore-4.8.7-r2
=dev-qt/qttranslations-4.8.7
=dev-qt/qtscript-4.8.7
=dev-qt/qtgui-4.8.7
=dev-qt/qtdbus-4.8.7
=dev-qt/qtsvg-4.8.7
=dev-qt/qtopengl-4.8.7
=dev-qt/qtxmlpatterns-4.8.7
=dev-qt/qttest-4.8.7
=dev-qt/qtwebkit-4.8.7
=dev-qt/qtmultimedia-4.8.7
=dev-qt/qtsql-4.8.7
=dev-qt/qt3support-4.8.7
=dev-qt/qtdeclarative-4.8.7
=dev-qt/designer-4.8.7
reemerged, and kontact works normal again?!?
(emails listened, todolist here, adressbook...)

I know what a compiler-switch can do (using gentoo since gentoo 1.4). but then a downgrade shouldn't work?
Or is it more likely that an revdep-rebuild and an emerge -e just overlook qt4 because of qt5-packages with the same name?
Having only gcc 5.4 for some time now why does an upgrade of qt4 (which compiles with gcc 5.4 too, what else?) break binary compatibility?
Why does an downgrade with 5.4 solves this binary compatibility?
I'll test this, # my .mask-entries again, be back in some minutes.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
marax_faraii
n00b
n00b


Joined: 11 Apr 2016
Posts: 27

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

For me kmail lost the ability to configure imap which came from the latest kde-apps upgrade. There's upstream bugs reported on the matter and there's a fix been pushed out. Something about an "include" file not being there. So I assume that will be pushed put in the portage tree.

I have upgraded my gcc and rebuilt the system as the eselect news informed to do.


However the latest QT upgrades broke like you say, breeze theme on kde4 apps as well as amarok ability to play audio.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5006
Location: Austria

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

I've been using qt-4.8.7 for months without issue...
_________________
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
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 394

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

This is not a theme problem - all KDE4 programs lost access to their settings completely. Amarok starts the first-run assistant, for example. Re-emerging Qt 4.8.6 now, after masking 4.8.7...
_________________
My phrenologist says I'm stupid.
Back to top
View user's profile Send private message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

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

upgrade to qt-4.8.7 and all problemes (theme, lost akonadi-resources...) are here again.
So another emerge -e would make no sense?

Thanks for all your helpof you all. I'll stick with qt 4.8.6 at now.
Can you link the upstream-bugs here? Might be good to know for bugs.gentoo.org or to verify if it is already in the portage-tree.
@astrum You will get the most impact using kdepim. Does this work?

Nevertheless I change my title on the topic in something more useful now.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

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

Just hit the bugzilla:
https://bugs.gentoo.org/show_bug.cgi?id=618922
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1931

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

Try to rebuild everything that links against libQtCore.so.4. In my case that helped:
Code:
revdep-rebuild --library='libQtCore.so.4'

You probably can skip all qt-libs/* packages, as they have already been built against the new version.
_________________
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
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

PostPosted: Fri May 19, 2017 3:51 pm    Post subject: Reply with quote

mrsteven, you are right:
a revdep-rebuild --library='libQtCore.so.4' -- -a got me 92 packages to rebuild (don't mind about the qt-libs/* as libreoffice was on the train too...) got me a working kmail/k3b/juk... with a qt 4.8.7.

I hope this is not needed on every new qt version and slips through revdep-rebuild/preserve-libs.

Thank you for the help!
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
Frautoincnam
n00b
n00b


Joined: 19 May 2017
Posts: 5

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

seems to recompile just kde-apps/kdepim-runtime was sufficient for me.
(I compiled kde-apps/akonadi and kde-apps/kalarm too but not sure it was necessary)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5006
Location: Austria

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

Vrenn wrote:
I hope this is not needed on every new qt version and slips through revdep-rebuild/preserve-libs.

It's the last Qt4 release you will ever install.
_________________
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
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 256

PostPosted: Tue May 23, 2017 1:20 pm    Post subject: Reply with quote

I hope so, just one qt-version would be nice.
_________________
With nice greetings
Vrenn
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