GNOME Bugzilla – Bug 555908
muine 0.8.10 doesn't build with mono 2.0
Last modified: 2009-01-16 11:44:28 UTC
MONO_XMLSERIALIZER_THS=no wsdl -namespace:Amazon ./AmazonSearchService.wsdl Web Services Description Language Utility Mono Framework v2.0.50727.42 Error: Key duplication when adding: System.Web.Services.Description.MessagePart Stack: at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x00000] at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x00000] at System.Web.Services.Description.BasicProfileChecker.Check (System.Web.Services.Description.ConformanceCheckContext ctx, System.Web.Services.Description.Binding value) [0x00000] at System.Web.Services.Description.WebServicesInteroperability.Check (System.Web.Services.Description.ConformanceCheckContext ctx, System.Web.Services.Description.ConformanceChecker checker, System.Web.Services.Description.Binding b) [0x00000] at System.Web.Services.Description.WebServicesInteroperability.Check (System.Web.Services.Description.ConformanceCheckContext ctx, System.Web.Services.Description.ConformanceChecker checker, System.Web.Services.Description.ServiceDescription sd) [0x00000] at System.Web.Services.Description.WebServicesInteroperability.Check (WsiProfiles claims, System.Web.Services.Description.ConformanceCheckContext ctx, IEnumerable documents) [0x00000] at System.Web.Services.Description.WebServicesInteroperability.CheckConformance (WsiProfiles claims, System.Web.Services.Description.WebReference webReference, System.Web.Services.Description.BasicProfileViolationCollection violations) [0x00000] at Mono.WebServices.Driver.GenerateCode (System.Web.Services.Description.WebReferenceCollection references, System.CodeDom.CodeCompileUnit codeUnit) [0x00000] at Mono.WebServices.Driver.Run (System.String[] args) [0x00000] make: *** [AmazonSearchService.cs] Fehler 2
confirmed
In case this is a Mono bug: https://bugzilla.novell.com/show_bug.cgi?id=434892
you can workaround by changing "wsdl" to "wsdl1" in src/Makefile.am or by upgrading mono. i personally dont think this is a muine bug
The patch mentioned in the Mono bug helps as well.
Created attachment 122226 [details] [review] Patch fixing mono issue Workaround for building on mono 2.0 and 2.0.1 useful for packagers. Reopening so people can see, we should only close when mono 2.0.2 is released.
actually, muine trunk works here with mono 2.0.1
Just a quick heads up, supplied patch didn't fix this issue for me, but making the same changes to Makefile.in made things just build again. Thanks for the fix.
(In reply to comment #7) > Just a quick heads up, supplied patch didn't fix this issue for me, but making > the same changes to Makefile.in made things just build again. Thanks for the > fix. Did you run ./autogen.sh afterwards?
You only need to run autoconf or autoreconf.
It builds fine on mono 2.2.
Ok, marking OBSOLETE.