make[3]: Entering directory `/mnt/tmp/portage/portage/gtk-sharp-1.0/work/gtk-sha rp-1.0/gdk' cp ./gdk-api.raw gdk-api.xml chmod u+w gdk-api.xml /usr/bin/mono ../parser/gapi-fixup.exe --api=gdk-api.xml --metadata=./Gdk.metadata rm -f generated/* && \ /usr/bin/mono ../generator/gapi_codegen.exe --generate gdk-api.xml ./gdk-symbols.xml \ --include ../pango/pango-api.xml --outdir=generated --customdir=. --assembly-name=gdk-sharp \ --gluelib-name=gdksharpglue --glue-filename=glue/generated.c \ && touch generated-stamp Invalid XML file. System.Xml.XmlException: Invalid XML declaration. in <0x00709> System.Xml.XmlDeclaration:ParseInput (string) in <0x00011> System.Xml.XmlDeclaration:set_Value (string) in <0x003ca> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader) in <0x0004f> System.Xml.XmlDocument:Load (System.Xml.XmlReader) in <0x0004c> System.Xml.XmlDocument:Load (System.IO.Stream) in <0x00060> GtkSharp.Generation.Parser:Load (string) Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object in <0x00075> GtkSharp.Generation.SymbolTable:AddTypes (GtkSharp.Generation.IGeneratable[]) in <0x00337> GtkSharp.Generation.CodeGenerator:Main (string[]) make[3]: *** [generated-stamp] Error 1 make[3]: Leaving directory `/mnt/tmp/portage/portage/gtk-sharp-1.0/work/gtk-sharp-1.0/gdk' Reproducible: Always Steps to Reproduce: 1. 2. 3.
Odd, can you try running xmllint on the generated XML file and see if it is really an invalid XML file for me?
All XML files are valid. Fortunately I found the problem. If i remove 'encoding="UTF-8"' from XML decl in gdk-symbols.xml (also {gtk,art}-symbols.xml), the problem's gone.
Okay, marking WONTFIX. Seems like a locale issue, if you care to dig up more info and get something productive, please feel free to reopen.