Bug 16726 - kmail will not start in Plasma5 login
Summary: kmail will not start in Plasma5 login
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 17523
  Show dependency treegraph
 
Reported: 2015-09-09 19:50 CEST by Maurice Batey
Modified: 2016-03-21 12:55 CET (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
(MB) 'Developer info' from Settings/Configure Kmail failure (9.08 KB, text/plain)
2015-09-19 19:00 CEST, Maurice Batey
Details

Description Maurice Batey 2015-09-09 19:50:20 CEST
Description of problem:

kmail will not start in a plasma5 login

Version-Release number of selected component (if applicable):
   kdepim-15.07.90-1.mga6.src.rpm




How reproducible:

Steps to Reproduce:

1.  Fully apply Cauldron update on 64-bit KDE Mageia-5

2.  Try to start kmail; result:

3. $ kmail
kmail: symbol lookup error: /lib64/libKF5AkonadiSearchPIM.so.5: undefined symbol: _ZNK6Xapian13PostingSource9serialiseEv


Reproducible: 

Steps to Reproduce:
Maurice Batey 2015-09-09 19:50:31 CEST

CC: (none) => maurice

Samuel Verschelde 2015-09-10 10:30:23 CEST

Assignee: bugsquad => mageia

Comment 1 Nicolas Lécureuil 2015-09-10 11:37:18 CEST
kmail needs a rebuild, i will try to fix this.
Comment 2 Maurice Batey 2015-09-19 19:00:31 CEST
Created attachment 7021 [details]
(MB) 'Developer info' from Settings/Configure Kmail failure
Comment 3 Maurice Batey 2015-09-19 19:02:31 CEST
After today's Cauldron update, Kmail now starts and generally works.

However, Settings/Configure Kmail fails - see its above Attached 
'Developer Info'.
Comment 4 Maurice Batey 2015-11-14 20:54:08 CET
Just done a Cauldron update on the netbook, and Kmail has regressed to failing to start - because Akonadi is not running (and 'akonadictl start' eventually crashes...).
Curtis Hildebrand 2015-11-28 21:02:45 CET

CC: (none) => curtis_mageia

Comment 5 Curtis Hildebrand 2015-12-02 18:54:08 CET
I have the same symptoms.  My backtrace from a couple weeks ago looked exactly the same as yours.  I think the issue is with kleopatra:

]$ kmail
kmail: symbol lookup error: /lib64/libkdepim.so.5: undefined symbol: _ZN7Akonadi9TagWidget16selectionChangedERK5QListINS_3TagEE

]$ kleopatra 
kleopatra: symbol lookup error: /lib64/libkdepim.so.5: undefined symbol: _ZN7Akonadi9TagWidget16selectionChangedERK5QListINS_3TagEE
Comment 6 Frank Griffin 2015-12-02 19:58:58 CET
Same here.

CC: (none) => ftg

Comment 7 Curtis Hildebrand 2016-01-05 23:01:13 CET
Got it working.  

There were a lot of conflicts in the kf5 at qt5 upgrades that were stopping the new packages to be installed: Use "urpmq --not-available".  For all the kf5/qt4/qt5 libs especially, remove them or search for the new package that provides the required file.  I only used --nodeps if there was an upgraded package to immediately replace it. I wish I kept full track of them, but this is what I found with a quick search.


qt4-database-plugin-sqlite-4.8.7-6.mga6.x86_64  ==> lib64qt5-database-plugin-sqlite-5.6.0-0.beta.4.mga6
qtbase5-database-plugin-mysql-5.5.1-1.mga6.x86_64  ==> lib64qt5-database-plugin-mysql-5.6.0-0.beta.4.mga6


]# history |grep "rpm -e"
  370  rpm -e --nodeps lib64dolphinprivate15-15.08.3-1.mga6.x86_64; urpmi lib64dolphinprivate5-15.11.80-1.mga6
  373  rpm -e --nodeps lib64dolphinvcs15-15.08.3-1.mga6.x86_64; urpmi lib64dolphinvcs5-15.11.80-1.mga6
  721  rpm -e --nodeps lib64kmailprivate4-2:15.07.90-1.mga6.x86_64; urpmi lib64kmailprivate5-15.12.0-2.mga6
  787  rpm -e --nodeps lib64kaddressbookprivate5-2:15.07.90-1.mga6.x86_64; urpmi lib64addressbookprivate5-15.12.0-2.mga6
  793  rpm -e --nodeps lib64korganizer_interfaces4-2:15.07.90-1.mga6.x86_64; urpmi lib64korganizer_interfaces5-15.12.0-2.mga6
Comment 8 Maurice Batey 2016-01-06 11:46:35 CET
Did a 600+ package Cauldron update on the netbook yesterday, but Kmail would still not start.

(On the other hand, Kwrite - for the first time for me - worked normally!
  Also, I had a systray with Network applet & battery monitor icons - but no sign of Dropbox icon.)
Comment 9 Maurice Batey 2016-01-09 15:18:56 CET
Did a 1000+ package Cauldron update on the nVidia PC yesterday, but Kmail would still not start (though, as on netbook, kwrite now works properly).
Comment 10 Nicolas Lécureuil 2016-01-10 21:31:20 CET
does it start with a "fresh install" ?
Comment 11 Maurice Batey 2016-01-10 23:05:29 CET
Fresh install of what?!

Have been awaiting a Mageia-6 .iso that would install, so anything I've reported so far has been based on a Cauldron update on Mageia-5.

Or do you mean a re-install of Kmail?
Comment 12 Nicolas Lécureuil 2016-01-10 23:18:11 CET
you can try with boot.iso to do a "fresh install" 

ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/install/images/boot.iso
Comment 13 Maurice Batey 2016-01-11 13:18:12 CET
Seems need some password etc to use. 
(Tried the "no password" option but that didn't produce any signs of a download.)
Comment 14 Nicolas Lécureuil 2016-01-11 14:57:22 CET
a password ?  absolutly not
Comment 15 Maurice Batey 2016-01-12 17:13:56 CET
Mmm. Just got round to trying again, and it downloaded perfectly... :-)
Comment 16 Maurice Batey 2016-01-12 18:18:48 CET
OK - burned to DVD and booted on netbook (UK keyboard).

Got to "Welcome to Mageia-6, dec 31 2015 10:22:45"
"Detecting USB devices" (one of which is USB mouse)

Selected FTP Server, Distrib-coffee mirror, and arrived at 1st page of the usual installer.

Sadly, at this point I was unable to select a language, as the cursor movement keys didn't work*, there was NO MOUSE POINTER, and Enter would not respond, so could not move on to next step.

(* Until I hit CtlPqge Up/Down, after which I was then able to select 'English(UK)', but could not hit or achieve 'Next' to move on)

Tried reboot 3 times...
Comment 17 Maurice Batey 2016-01-12 18:57:13 CET
P.S. The problem is that - at that stage - the mouse pointer 
is *invisible*!

But after trial and error I accidentally hit the Help button, at which point
a 'X' mouse pointer appeared, and I was then able to select language and
hit Next...

Eventually installation of files stopped at:

  "Installation failed, file missing:_
     ...............lib64gnutls30-3.4.8.5.mga6.x86_64.rpm"

Told it to carry on,but soon there were 7 more lib64 files missing, 
so I abandoned the install.

What to try next?
Comment 18 Maurice Batey 2016-01-12 18:58:02 CET
P.S. That was on the nVidia PC.
Comment 19 Maurice Batey 2016-01-12 20:35:36 CET
> I abandoned the install.

  Does the installer ever touch the MBR (apart from later writing the Mageia-6 GRUB starter)?

To my horror, after abandoning the boot.iso install (during package installation)
the PC would not boot at all ("GRUB Loading Stage 1.5-->Error 15")!

Had to restore the MBR. Nasty....
Comment 20 Nicolas Lécureuil 2016-01-12 22:30:10 CET
Rule 1: Test on a Virtual Machine.
Comment 21 Maurice Batey 2016-01-12 22:51:53 CET
Of course, but that doesn't answer the question:

   How did the boot.iso route mess up the MBR?
Comment 22 Jüri Ivask 2016-01-13 09:40:24 CET
(In reply to Maurice Batey from comment #17)
> P.S. The problem is that - at that stage - the mouse pointer 
> is *invisible*!

Thanks for reporting - created a bug on this:
https://bugs.mageia.org/show_bug.cgi?id=17486

CC: (none) => jyri2000

Comment 23 Rémi Verschelde 2016-01-19 09:50:39 CET
@Maurice: Thanks a lot for your extensive testing, but please try to make new issues when you encounter them. The issues you are having with the network install are valid but have nothing to do with kmail not starting, which is the purpose of this bug report :) In this case Jüri has already created bug 17486 though.


Back to the topic, is the issue still valid? I recently fixed an issue with the lib(64)qt5-database-plugin-* packages to ensure that they get updated and remove the old qtbase5-database-plugin-*. According to comment 7 those might have been the issue?
Rémi Verschelde 2016-01-19 09:50:49 CET

Blocks: (none) => 17523

Comment 24 Rémi Verschelde 2016-01-19 19:31:52 CET
Quoting misplaced comment from Mauricec on bug 16733 comment 7:
> Issue still valid, I'm afraid:
>
> [mab@netbook ~]$ kmail
> kmail: symbol lookup error: /lib64/libKF5AkonadiCore.so.5: undefined symbol:  > _ZTIN7Akonadi8Protocol7CommandE
> [mab@netbook ~]$
Comment 25 Rémi Verschelde 2016-01-19 19:39:04 CET
It starts up fine for me on a fully up-to-date cauldron. Can you check that you are fully up-to-date? You should have both lib64kf5akonadicore5 and kmail at the version 15.12.1-1.mga6.
Comment 26 Maurice Batey 2016-01-19 20:44:25 CET
It's up to date apart from the update today that failed because of a missing signature.

If there's a way around forcing that update through I will then re-check kmail.
Comment 27 Rémi Verschelde 2016-01-19 20:52:18 CET
You should be able to do the update with:
# urpmi --auto-select

It should ask you if you want to install the package regardless of its missing signature. Alternatively you can also use:
# urpmi --auto-select --no-verify-rpm
to ignore the signature check for all RPMs of the update.
Comment 28 Maurice Batey 2016-01-19 23:21:24 CET
 > urpmi --auto-select --no-verify-rpm

OK - tried that and the install completed.

Sadly, at reboot the boot got to 5 bubbles on the cauldron (before got to login) and stuck there for 10 minutes before I abandoned it. (Could not break into tty2.)
  Tried twice.

Will re-do update tomorrow...
Comment 29 Maurice Batey 2016-01-20 14:55:49 CET
> Will re-do update tomorrow...

Well, I could have done if Ctl+Alt+F2 would work, but as I said earlier it doesn't (I just see a blinking cursor top left of screen).


So, if I can't boot Cauldron then the install is nuked - or is it?
  Is there a way - other than via tty2 - of doing  another updatet?
Comment 30 Rémi Verschelde 2016-01-20 15:59:12 CET
What about tty3 (or tty4 up to 8)?

Else you could try to start in runlevel 3 by adding "3" at the end of the boot command line in grub.
Comment 31 Maurice Batey 2016-01-20 17:55:18 CET
> What about tty3 (or tty4 up to 8)?

  Same result as tty2.

> Else you could try to start in runlevel 3 by adding "3" at the end 
> of the boot command line in grub.

  Ah, yes - that did allow me to do a Cauldron update*, but a Reboot led to the same lockup as before.
  Happy to try another approach, otherwise will try fresh install with a Dev1 iso.

* Update log:
--------------------------------------------
Preparing...                     #############################################
     1/20: lib64kworkspace5      #############################################
     2/20: lib64plasma-geolocation-interface5
                                 #############################################
     3/20: lib64weather_ion7     #############################################
     4/20: lib64taskmanager5     #############################################
     5/20: plasma-workspace      #############################################
     6/20: kwallet-pam           #############################################
     7/20: lib64proj0            #############################################
     8/20: lib64qtsensors1       #############################################
      1/7: removing plasma-workspace-5.5.3-2.mga6.x86_64
                                 #############################################
      2/7: removing lib64kworkspace5-5.5.3-2.mga6.x86_64
                                 #############################################
      3/7: removing lib64plasma-geolocation-interface5-5.5.3-2.mga6.x86_64
                                 #############################################
      4/7: removing lib64taskmanager5-5.5.3-2.mga6.x86_64
                                 #############################################
      5/7: removing lib64weather_ion7-5.5.3-2.mga6.x86_64
                                 #############################################
removing package pam-kwallet-0-0.git20140508.2.mga6.x86_64
      6/7: removing pam-kwallet-0-0.git20140508.2.mga6.x86_64
                                 #############################################
      7/7: removing lib64qtsensors1-1.2.0-13.mga5.x86_64
                                 #############################################


installing libqtscript4-4.8.7-9.mga6.i586.rpm xauth-1.0.9-4.mga6.x86_64.rpm libqtxmlpatterns4-4.8.7-9.mga6.i586.rpm libsystemd0-228-1.mga6.i586.rpm libqtdeclarative4-4.8.7-9.mga6.i586.rpm libproj0-4.8.0-6.mga5.i586.rpm xkbcomp-1.3.1-2.mga6.x86_64.rpm lib64qtlocation1-1.2.2-1.mga6.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
     9/20: libqtxmlpatterns4     #############################################
    10/20: libqtscript4          #############################################
    11/20: lib64qtlocation1      #############################################
    12/20: xkbcomp               #############################################
    13/20: xauth                 #############################################
    14/20: libqtdeclarative4     #############################################
    15/20: libproj0              #############################################
    16/20: libsystemd0           #############################################
      1/4: removing libsystemd0-227-4.mga6.i586
                                 #############################################
      2/4: removing lib64qtlocation1-1.2.0-13.mga5.x86_64
                                 #############################################
      3/4: removing xkbcomp-1.3.1-1.mga6.x86_64
                                 #############################################
      4/4: removing xauth-1:1.0.9-3.mga5.x86_64
                                 #############################################


installing libqtlocation1-1.2.2-1.mga6.i586.rpm libudev1-228-1.mga6.i586.rpm libqtsensors1-1.2.2-1.mga6.i586.rpm libdbus1_3-1.10.6-1.mga6.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
    17/20: libdbus1_3            #############################################
    18/20: libqtsensors1         #############################################
    19/20: libudev1              #############################################
    20/20: libqtlocation1        #############################################
      1/4: removing libdbus1_3-1.8.20-1.mga6.i586
                                 #############################################
      2/4: removing libqtsensors1-1.2.0-13.mga5.i586
                                 #############################################
      3/4: removing libudev1-227-4.mga6.i586
                                 #############################################
      4/4: removing libqtlocation1-1.2.0-13.mga5.i586
                                 #############################################
[root@netbook ~]# 
---------------------------------
Comment 32 Maurice Batey 2016-01-21 14:50:44 CET
Tried update again today - 32 packages.

Same result: Boots to 5 bubbles then freezes; no Login.
Comment 33 Maurice Batey 2016-02-07 17:55:09 CET
> Boots to 5 bubbles then freezes; no Login.

Just done 54+-package Cauldron update, and got to same stoppage.
  However, if I did Ctl+Alt+F1, a Plasma login appeared and I got into Plasma.

Sadly, same old Kmail problem: 
  kmail: symbol lookup error: /lib64/libKF5AkonadiCore.so.5: undefined symbol: _ZTIN7Akonadi8Protocol7CommandE

Using icon: KDEInit could not launch /bin/kmail
Comment 34 Maurice Batey 2016-03-09 21:43:04 CET
Have just installed 64-bit Mageia-6-dev1 on the nVidia PC, got a Plasma login and: Kmail starts  as normal!

I also installed it on my Samsung netbook, but was not given a Plasma login, nor was kmail even on offer. But have done a 100-package update and will check that out tomorrow on return to base.
Comment 35 Nicolas Lécureuil 2016-03-21 12:55:24 CET
closing.

Please reopen if any pbs.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.