Configuration summary * Installation prefix = /usr * C# compiler: /usr/bin/mcs -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12 Optional assemblies included in the build: * glade-sharp.dll: yes * gtk-dotnet.dll: yes * Mono.Cairo.dll: using system assembly NOTE: if any of the above say 'no' you may install the corresponding development packages for them, rerun autogen.sh to include them in the build. * Documentation build enabled: yes --- >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-dotnet/gdk-sharp-2.12.10/work/gtk-sharp-2.12.10 ... make -j3 CSC=/usr/bin/gmcs Making all in . make[1]: Entering directory '/var/tmp/portage/dev-dotnet/gdk-sharp-2.12.10/work/gtk-sharp-2.12.10/gdk' cp ./gdk-api.raw gdk-api.xml chmod u+w gdk-api.xml cp ../gtk-sharp.snk . cp ../AssemblyInfo.cs . sed -e "s/@ASSEMBLY_NAME@/gdk-sharp/" -e "s/@POLICY@/2.4/" ../policy.config > policy.2.4.config sed -e "s/@ASSEMBLY_NAME@/gdk-sharp/" -e "s/@POLICY@/2.6/" ../policy.config > policy.2.6.config /usr/bin/gapi2-fixup --api=gdk-api.xml --metadata=./Gdk.metadata --symbols=./gdk-symbols.xml sed -e "s/@ASSEMBLY_NAME@/gdk-sharp/" -e "s/@POLICY@/2.8/" ../policy.config > policy.2.8.config sed -e "s/@ASSEMBLY_NAME@/gdk-sharp/" -e "s/@POLICY@/2.10/" ../policy.config > policy.2.10.config WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 /usr/bin/al -link:policy.2.4.config -out:policy.2.4.gdk-sharp.dll -keyfile:gtk-sharp.snk /usr/bin/al -link:policy.2.6.config -out:policy.2.6.gdk-sharp.dll -keyfile:gtk-sharp.snk ALINK: warning A99999: Path 'policy.2.4.config' in the resource name is not supported. Using just file name 'policy.2.4.config' ALINK: warning A99999: Path 'policy.2.6.config' in the resource name is not supported. Using just file name 'policy.2.6.config' /usr/bin/al -link:policy.2.8.config -out:policy.2.8.gdk-sharp.dll -keyfile:gtk-sharp.snk /usr/bin/al -link:policy.2.10.config -out:policy.2.10.gdk-sharp.dll -keyfile:gtk-sharp.snk ALINK: warning A99999: Path 'policy.2.10.config' in the resource name is not supported. Using just file name 'policy.2.10.config' ALINK: warning A99999: Path 'policy.2.8.config' in the resource name is not supported. Using just file name 'policy.2.8.config' rm -f generated/* && \ /usr/bin/gapi2-codegen --generate gdk-api.xml \ -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/glib-api.xml -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/pango-api.xml -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/glib-api.xml \ --outdir=generated --customdir=. --assembly-name=gdk-sharp \ --gluelib-name=gdksharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=gdk/gdk.h \ && touch generated-stamp WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 Generation Summary: Enums: 54 Structs: 18 Boxed: 3 Opaques: 12 Interfaces: 0 Objects: 23 Callbacks: 8 Properties: 10 Signals: 10 Methods: 500 Constructors: 30 Throttled: 0 Total Nodes: 668 /usr/bin/gmcs -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12 -nowarn:0169,0612,0618 -unsafe -out:gdk-sharp.dll -target:library /r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/glib-sharp.dll /r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/pango-sharp.dll /r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/glib-sharp.dll -r:Mono.Cairo generated/*.cs ./EventButton.cs ./EventClient.cs ./EventConfigure.cs ./EventCrossing.cs ./Event.cs ./EventDND.cs ./EventExpose.cs ./EventFocus.cs ./EventGrabBroken.cs ./EventKey.cs ./EventMotion.cs ./EventOwnerChange.cs ./EventProperty.cs ./EventProximity.cs ./EventScroll.cs ./EventSelection.cs ./EventSetting.cs ./EventVisibility.cs ./EventWindowState.cs ./Key.cs ./Size.cs ./TextProperty.cs AssemblyInfo.cs /bin/sh: /usr/bin/gmcs: No such file or directory Makefile:725: recipe for target 'gdk-sharp.dll' failed make[1]: *** [gdk-sharp.dll] Error 127 make[1]: Leaving directory '/var/tmp/portage/dev-dotnet/gdk-sharp-2.12.10/work/gtk-sharp-2.12.10/gdk' Makefile:407: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 emake failed * ERROR: dev-dotnet/gdk-sharp-2.12.10::gentoo failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3078: Called gtk-sharp-module_src_compile * environment, line 2251: Called die * The specific snippet of code: * emake CSC=/usr/bin/gmcs || die "emake failed" *
yes, I guess gmcs should be mcs in gtk-sharp-module.eclass for newer mono
gmcs is changed to mcs in dotnet overlay. but maybe better way will be adding symlink in mono installation. for now it's possible to use stable mono (just moved it back) or creating symlink manually
in addition you may try new gtk-sharp packages https://github.com/gentoo/gentoo/commit/3734280aee79307945994b3396c1b7f073ae1a85 , they are masked for testing for now
updated eclass to use mcs, gmcs is derpecated and should be dropped there