| Summary: | Wrong paths in .pc files for gnome/gnome-vfs-sharp-2.16 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hinrik Örn Sigurðsson <hinrik.sig> |
| Component: | New packages | Assignee: | dotnet project <dotnet> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Please see https://bugs.gentoo.org/show_bug.cgi?id=146659#c1, it seems you somehow have a borked gnome-sharp-2.16.0 install. Those paths are in fact right, but some things got installed to the wrong spot somehow. Marking INVALID, see bug #146659 |
I was trying to compile tomboy-0.4.1 when I ran into this: mcs -out:Tomboy.exe -debug -define:DEBUG -unsafe -target:exe -define:ENABLE_DBUS -define:ENABLE_GTKSPELL -define:FIXED_GTKSPELL Tomboy.cs Applet.cs Logger.cs Note.cs NoteManager.cs NoteWindow.cs NoteBuffer.cs NoteTag.cs PluginManager.cs Preferences.cs RecentChanges.cs Search.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/PanelAppletBackgroundType.cs panelapplet/PanelApplet.cs panelapplet/PanelAppletFactoryCallback.cs panelapplet/PanelAppletFactory.cs panelapplet/PanelAppletFlags.cs dbus-sharp/Arguments.cs dbus-sharp/Array.cs dbus-sharp/Boolean.cs dbus-sharp/Bus.cs dbus-sharp/BusDriver.cs dbus-sharp/Byte.cs dbus-sharp/Connection.cs dbus-sharp/DBusException.cs dbus-sharp/Double.cs dbus-sharp/Error.cs dbus-sharp/ErrorMessage.cs dbus-sharp/Handler.cs dbus-sharp/IDBusType.cs dbus-sharp/Int16.cs dbus-sharp/Int32.cs dbus-sharp/Int64.cs dbus-sharp/InterfaceAttribute.cs dbus-sharp/InterfaceProxy.cs dbus-sharp/Introspector.cs dbus-sharp/Message.cs dbus-sharp/MethodAttribute.cs dbus-sharp/MethodCall.cs dbus-sharp/MethodReturn.cs dbus-sharp/ObjectPath.cs dbus-sharp/ProxyBuilder.cs dbus-sharp/Server.cs dbus-sharp/Service.cs dbus-sharp/SignalAttribute.cs dbus-sharp/Signal.cs dbus-sharp/String.cs dbus-sharp/UInt16.cs dbus-sharp/UInt32.cs dbus-sharp/UInt64.cs RemoteControl.cs RemoteControlProxy.cs Defines.cs -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/pkgconfig/../../lib/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/images/tomboy.png,tomboy.png -resource:../data/images/gnome-searchtool.png,gnome-searchtool.png error CS0006: Cannot find assembly `/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll' Solution: Tomboy uses "pkg-config --libs" to find the location of these dlls. gnome-sharp-2.0.pc.in (2.16) and gnome-vfs-sharp-2.0.pc (2.16) in their respective packages both have incorrect paths: Libs: -r:${libdir}/mono/gtk-sharp-2.0/gnome-sharp.dll Libs: -r:${libdir}/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll If I change "gtk-sharp" to "gnome-sharp", tomboy compiles and runs. Same story with beagle. I'm not sure if the .pc files or the .pc.in source files or whatever should be patched, but you get the idea.