Bug 4888

Summary: Tomboy fails to start: System.TypeInitializationException [lib64gmime-devel dependency]
Product: Mageia Reporter: Reinout van Schouwen <reinout>
Component: RPM PackagesAssignee: Jani Välimaa <jani.valimaa>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: Normal CC: zen25000
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: tomboy-1.9.9-1.mga2.x86_64.rpm CVE:
Status comment:

Description Reinout van Schouwen 2012-03-11 23:16:35 CET
I installed tomboy-1.9.9-1 from Cauldron.

When I try to run it, Tomboy gives the following exception:

$ tomboy
[INFO 23:14:18.802] Initializing Mono.Addins
[WARN 23:14:19.013] No GUI 'su' tool found
[WARN 23:14:19.333] Couldn't create a NoteAddin instance: Exception has been thrown by the target of an invocation.

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Tomboy.Evolution.EvolutionNoteAddin ---> System.DllNotFoundException: libgmime-2.6.so
  at (wrapper managed-to-native) GMime.Global:g_mime_init (int)
  at GMime.Global.Init () [0x00000] in <filename unknown>:0 
  at Tomboy.Evolution.EvolutionNoteAddin..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Tomboy.Evolution.EvolutionNoteAddin ---> System.DllNotFoundException: libgmime-2.6.so
  at (wrapper managed-to-native) GMime.Global:g_mime_init (int)
  at GMime.Global.Init () [0x00000] in <filename unknown>:0 
  at Tomboy.Evolution.EvolutionNoteAddin..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Comment 1 Reinout van Schouwen 2012-03-11 23:22:23 CET
Solved the problem by installing lib64gmime-devel which contains the missing libgmime-2.6.so.

Having to install a -devel package to run a regular app somehow doesn't feel right!

Summary: Tomboy fails to start: System.TypeInitializationException => Tomboy fails to start: System.TypeInitializationException [lib64gmime-devel dependency]
Source RPM: (none) => tomboy-1.9.9-1.mga2.x86_64.rpm

Comment 2 Barry Jackson 2012-03-12 00:42:48 CET
Is there some compelling reason that we still have tomboy when gnote is packaged?
gnote is a c++ port/fork of tomboy with no require on mono and it's faster. 

Notes are compatible, GUI is identical and I currently have no issues with gnote.
When I have found bugs in the past, upstream have been fast to react.

Just curious as I don't see the point in distributing both.

CC: (none) => zen25000

Comment 3 Reinout van Schouwen 2012-03-12 13:09:17 CET
If duplication of functionality should decide whether or not to package a certain program, we might as well cut the distro size in half... and call ourselves Mubuntu.
Manuel Hiebel 2012-03-12 15:01:46 CET

Assignee: bugsquad => jani.valimaa

Comment 4 Marja Van Waes 2012-05-26 13:03:05 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 5 Reinout van Schouwen 2012-05-28 23:49:38 CEST
The library appears to be provided now by lib64gmime2.6_0.
Still, I think there's a requirement missing for Tomboy:

$ urpmq --whatrequires lib64gmime2.6_0
gmime-sharp
grilo-plugins
lib64gmime-devel
lib64gmime2.6_0
lib64totem-plparser17
mail-notification
pan
pinot

New bug?

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