Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-misc/tomboy crashes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mtvoid
n00b
n00b


Joined: 04 Nov 2004
Posts: 7
Location: Boston

PostPosted: Mon Sep 12, 2016 1:52 pm    Post subject: app-misc/tomboy crashes Reply with quote

tomboy-1.14.1 won't build on my system with the default mono install: dev-lang/mono-4.4.1.0.

Code:

checking for DBUS... yes
checking for MONO_ADDINS... yes
checking for GNOME... yes
checking for GTKSHARP... yes
checking for Mono 2.0 GAC for Mono.Cairo.dll... not found
configure: error: missing reqired Mono 2.0 assembly: Mono.Cairo.dll


Downgrading mono to dev-lang/mono-2.10.9-r2 and rebuilding al dev-dotnet packages allowed me to compile and install tomoby, but it fails when clicking on any of the tray items such as "Create a new note":

Code:

Unhandled Exception: System.MissingMethodException: Method not found: 'System.Runtime.InteropServices.Marshal.StructureToPtr'.
  at (wrapper native-to-managed) GLib.SignalClosure:MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr)
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000] in <filename unknown>:0
  at Tomboy.GnomeApplication.StartMainLoop () [0x00000] in <filename unknown>:0
  at Tomboy.Application.StartMainLoop () [0x00000] in <filename unknown>:0
  at Tomboy.Tomboy.StartTrayIcon () [0x00000] in <filename unknown>:0
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Runtime.InteropServices.Marshal.StructureToPtr'.
  at (wrapper native-to-managed) GLib.SignalClosure:MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr)
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000] in <filename unknown>:0
  at Tomboy.GnomeApplication.StartMainLoop () [0x00000] in <filename unknown>:0
  at Tomboy.Application.StartMainLoop () [0x00000] in <filename unknown>:0
  at Tomboy.Tomboy.StartTrayIcon () [0x00000] in <filename unknown>:0
  at Tomboy.Tomboy.Main (System.String[] args) [0x00000] in <filename unknown>:0

Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31373
Location: here

PostPosted: Mon Sep 12, 2016 3:14 pm    Post subject: Reply with quote

Bug on debian and relative patch.
I think you need change patch for search mono lib version 4.4 (in patch is 4.5), but not sure.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mtvoid
n00b
n00b


Joined: 04 Nov 2004
Posts: 7
Location: Boston

PostPosted: Mon Sep 19, 2016 8:06 pm    Post subject: Reply with quote

Thanks. I didn't run across these bug reports in my searches.

This looks like a step in the right direction, but it looks like it would require some tweaking to work.

The relevant section of the patch:

Code:

+-   AC_MSG_CHECKING([for Mono 2.0 GAC for $asm.dll])
++   AC_MSG_CHECKING([for Mono 4.5 GAC for $asm.dll])
+    if test \
+-      -e "$($PKG_CONFIG --variable=libdir mono)/mono/2.0/$asm.dll" -o \
+-      -e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/2.0/$asm.dll"; \
++      -e "$($PKG_CONFIG --variable=libdir mono)/mono/4.5/$asm.dll" -o \



I have to admit I can't really read diff files, but this looks like it wouldn't work on my system with Mono 4.0 GAC. Perhaps someone could enlighten me.
Back to top
View user's profile Send private message
mtvoid
n00b
n00b


Joined: 04 Nov 2004
Posts: 7
Location: Boston

PostPosted: Mon Sep 19, 2016 8:11 pm    Post subject: Reply with quote

I discovered that app-misc/gnote is a more or less drop-in replacement for app-misc/tomboy. It uses the same database files, but the interface is not nearly as slick.

So I have access to my 800+ notes until I can get tomboy back.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31373
Location: here

PostPosted: Tue Sep 20, 2016 6:17 am    Post subject: Reply with quote

mtvoid wrote:
I have to admit I can't really read diff files, but this looks like it wouldn't work on my system with Mono 4.0 GAC. Perhaps someone could enlighten me.

If you want try patch download this (I changed path for mono 4.4).
For apply patch use /etc/portage/patches
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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