When compiling tomboy-0.5.6, I get an error and compilation aborts. Reproducible: Always Steps to Reproduce: 1. Emerge tomboy-0.5.6 Actual Results: gmcs -out:Tomboy.exe -debug -define:DEBUG -unsafe -target:exe -define:ENABLE_DBUS -define:FIXED_GTKSPELL Tomboy.cs ActionManager.cs Applet.cs Logger.cs Note.cs NoteManager.cs NoteWindow.cs NoteBuffer.cs NoteTag.cs PluginManager.cs Preferences.cs RecentChanges.cs Tray.cs Trie.cs Undo.cs Utils.cs Watchers.cs XKeybinder.cs panelapplet/BonoboUIVerb.cs panelapplet/ChangeBackgroundHandler.cs panelapplet/ChangeSizeHandler.cs panelapplet/GnomeSharp.PanelAppletFactoryCallbackNative.cs panelapplet/MoveFocusOutOfAppletHandler.cs panelapplet/ObjectManager.cs panelapplet/PanelApplet.cs panelapplet/PanelAppletBackgroundType.cs panelapplet/PanelAppletFactory.cs panelapplet/PanelAppletFactoryCallback.cs panelapplet/PanelAppletFlags.cs dbus-sharp/dbus-sharp/src/Address.cs dbus-sharp/dbus-sharp/src/AssemblyInfo.cs dbus-sharp/dbus-sharp/src/Authentication.cs dbus-sharp/dbus-sharp/src/Bus.cs dbus-sharp/dbus-sharp/src/BusObject.cs dbus-sharp/dbus-sharp/src/Connection.cs dbus-sharp/dbus-sharp/src/DBus.cs dbus-sharp/dbus-sharp/src/DProxy.cs dbus-sharp/dbus-sharp/src/ExportObject.cs dbus-sharp/dbus-sharp/src/Introspection.cs dbus-sharp/dbus-sharp/src/Mapper.cs dbus-sharp/dbus-sharp/src/Message.cs dbus-sharp/dbus-sharp/src/MessageFilter.cs dbus-sharp/dbus-sharp/src/MessageReader.cs dbus-sharp/dbus-sharp/src/MessageWriter.cs dbus-sharp/dbus-sharp/src/Protocol.cs dbus-sharp/dbus-sharp/src/Server.cs dbus-sharp/dbus-sharp/src/Signature.cs dbus-sharp/dbus-sharp/src/SocketTransport.cs dbus-sharp/dbus-sharp/src/Transport.cs dbus-sharp/dbus-sharp/src/UnixNativeTransport.cs dbus-sharp/dbus-sharp/src/UnixTransport.cs dbus-sharp/dbus-sharp/src/Wrapper.cs dbus-sharp/dbus-sharp-glib/glib/GLib.IO.cs dbus-sharp/dbus-sharp-glib/glib/GLib.cs RemoteControl.cs RemoteControlProxy.cs Defines.cs -r:/usr/lib64/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib64/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:Mono.Posix -resource:../data/GNOME_TomboyApplet.xml,GNOME_TomboyApplet.xml -resource:../data/DefaultPlugins.desktop,DefaultPlugins.desktop -resource:../data/UIManagerLayout.xml -resource:../data/images/tomboy.png,tomboy.png -resource:../data/images/tomboy-note-16.png,tomboy-note.png -resource:../data/images/gnome-searchtool.png,gnome-searchtool.png -resource:../data/images/pinup.png,pinup.png -resource:../data/images/pinup-active.png,pinup-active.png -resource:../data/images/pindown.png,pindown.png NoteTag.cs(598,47): error CS0072: `Tomboy.NoteTagTable.TagChanged': cannot override because `Gtk.TextTagTable.TagChanged' is not an event /usr/lib64/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings make[3]: *** [Tomboy.exe] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-misc/tomboy-0.5.6/work/tomboy-0.5.6/Tomboy' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-misc/tomboy-0.5.6/work/tomboy-0.5.6/Tomboy' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-misc/tomboy-0.5.6/work/tomboy-0.5.6' make: *** [all] Error 2 !!! ERROR: app-misc/tomboy-0.5.6 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3552: Called src_compile ebuild.sh, line 1304: Called gnome2_src_compile gnome2.eclass, line 71: Called die !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-misc/tomboy-0.5.6/temp/build.log'. Expected Results: Tomboy compiled Using mono 1.2.3 and gtk-sharp 2.0.10.
tomboy != Gnome
Sorry. I thought that since it was an official component of gnome since 2.16, that's where it belonged. My bad.
Can you please try with mono-1.2.x and see if the same error occurs? Thanks.
As I mentioned, I am already using mono-1.2.3. Would you like me to downgrade to 1.2.2.1?
From: http://svn.gnome.org/viewcvs/tomboy/trunk/Tomboy/NoteTag.cs?rev=954&view=markup "Tomboy/NoteTag.cs: Use "new" instead of "override" for TagChanged event so that Tomboy will build in newer versions of gtk-sharp (Sebastian Dröge)."
Created attachment 109908 [details, diff] tomboy-0.5.6-gtksharp.patch One-liner patch from gnome SVN. Lets tomboy compile and run here
Odd, it had built just fine for me a few days ago. I have applied the patch in portage, thanks for the bug report.