Generation Summary: Enums: 52 Structs: 17 Boxed: 3 Opaques: 11 Interfaces: 0 Objects: 21 Callbacks: 8 Properties: 8 Signals: 9 Methods: 438 Constructors: 25 Throttled: 3 Total Nodes: 595 cp ../gtk-sharp.snk . cp ../AssemblyInfo.cs . /usr/bin/mcs -nowarn:0169,0612,0618 -unsafe -out:gdk-sharp.dll -target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:Mono.Cairo.dll generated/*.cs ./EventButton.cs ./EventClient.cs ./EventConfigure.cs ./EventCrossing.cs ./Event.cs ./EventDND.cs ./EventExpose.cs ./EventFocus.cs ./EventKey.cs ./EventMotion.cs ./EventProperty.cs ./EventProximity.cs ./EventScroll.cs ./EventSelection.cs ./EventSetting.cs ./EventVisibility.cs ./EventWindowState.cs ./Key.cs ./Size.cs ./TextProperty.cs AssemblyInfo.cs generated/PangoHelper.cs(17,55): error CS0039: Cannot convert type `GLib.Object' to `Pango.Context' via a built-in conversion generated/PangoHelper.cs(51,55): error CS0039: Cannot convert type `GLib.Object' to `Pango.Context' via a built-in conversion Compilation failed: 2 error(s), 0 warnings make[3]: *** [gdk-sharp.dll] Error 1 make[3]: Leaving directory `/var/tmp/portage/gtk-sharp-2.4.0/work/gtk-sharp-2.4.0/gdk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-2.4.0/work/gtk-sharp-2.4.0/gdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-2.4.0/work/gtk-sharp-2.4.0' make: *** [all] Error 2 !!! ERROR: dev-dotnet/gtk-sharp-2.4.0 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. This is with mono-1.1.10, btw.
What versions of gtk-sharp do you currently have installed? (ie please respond with the output of `equery l gtk-sharp`) I'm going to guess you have some gtk-sharp-2.5.x version installed, which is freaking things out. If that's the case, please unmerge *all* *-sharp-2.5.x stuff you have installed and then try again. Thanks.
Yah, I had the 2.5.92 versions installed. And yeah, removing the whole of that series makes it compile OK. (well, up to gtk-sharp so far; 3 to go.) Perhaps a pkg_setup warning?
The same problem occures if 2.6 is installed, If I unemerge all 2.6 packages first then 2.4 will compile, however when you have installed 2.4 you have to reemerge all packages that depend on any *-sharp package (that is all 2.5.* or 2.6 packages you just unemerged) Does revdep-rebuild work with c# packages?
Johan: sadly no. Someone posted a small stand-alone utility on the forums that performed a similar function, and I suggested they integrate it into revdep-rebuild. I've not seen any progress on that yet though. @all: I'll add a check + useful error message this week sometime.
Yeah, sorry about that. The internals of revdep-rebuild don't really lend themselves to adding new object file formats; I'd like to make the fix but it'd need a fairly complete redesign.
Since gtk-sharp-2.4/2.5 is not in portage now, this bug seems a bit outdated and a solution/workaround has already been proposed, I'm closing it.