Bug 5931 - Failed to compile the generated registrar code
Summary: Failed to compile the generated registrar code
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.3.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-29 15:22 UTC by kenny goers
Modified: 2013-12-05 18:33 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description kenny goers 2012-06-29 15:22:41 UTC
error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com

This works fine it 5.2, fails in 5.3.4

Output below:

----------------------------------------------------------------------

Building Solution: NAUCountry.Agent.MT (Debug|iPhone)

Building: NAUCountry.Agent.Touch.MT (Debug|iPhone)

Detecting signing identity...
Provisioning profile: "iOS Team Provisioning Profile: *" (57D627C0-1BEB-4F4B-8B3D-5E53A6FADD11)
Signing Identity: "iPhone Developer: kenneth goers (DH7VYDJ3CP)"
App ID: "J6UU627C84.com.itrgroup.NAUCountryAgent"
Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentApp.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Users/mac/Projects/nau-country/trunk/iFactr/SDK/ICSharpCode.SharpZipLib.MT.dll" "/r:/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Core.MT.dll" "/r:/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Data.MT.dll" "/r:/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Stack.MT.dll" "/r:/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Templates.MT.dll" "/r:/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Touch.MT.dll" "/r:/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Utilities.MT.dll" "/r:/Users/mac/Projects/nau-country/trunk/bin/iPhone/Debug/NAUCountryAgentMT.dll" "/r:/Users/mac/Projects/nau-country/trunk/ArcGIS/bin/Debug/ArcGIS.dll" "/r:/Users/mac/Projects/nau-country/trunk/RDPDFKit/bin/Debug/RDPDFKit.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 "/define:DEBUG;TESTING"  /t:exe "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/Main.cs" "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/PdfViewController.cs" "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs" "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/SignatureViewController.cs" "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/Extensions.cs" 
Compilation succeeded - 10 warning(s)

/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(175,35): warning CS0219: The variable `credential' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(200,35): warning CS0219: The variable `credential' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(219,35): warning CS0219: The variable `credential' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(245,35): warning CS0219: The variable `credential' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(323,60): warning CS0219: The variable `columns' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/PdfViewController.cs(158,49): warning CS0649: Field `NAUCountry.Agent.Touch.PdfViewController.PdfViewDelegate._signatureViewController' is never assigned to, and will always have its default value `null'
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(43,45): warning CS0414: The private field `NAUCountry.Agent.Touch.MappingViewController._commonLayerView' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(44,43): warning CS0414: The private field `NAUCountry.Agent.Touch.MappingViewController._baseLayerView' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(511,39): warning CS0414: The private field `NAUCountry.Agent.Touch.MapViewCalloutDelegate._controller' is assigned but its value is never used
/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/ViewControllers/MappingViewController.cs(568,39): warning CS0414: The private field `NAUCountry.Agent.Touch.MapViewTouchDelegate._controller' is assigned but its value is never used


Build complete -- 0 errors, 10 warnings

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" -v --cache "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/obj/Debug/mtouch-cache" --nomanifest --nosign -dev "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app" -r "/Users/mac/Projects/nau-country/trunk/bin/iPhone/Debug/NAUCountryAgentMT.dll" -r "/Users/mac/Projects/nau-country/trunk/ArcGIS/bin/Debug/ArcGIS.dll" -r "/Users/mac/Projects/nau-country/trunk/RDPDFKit/bin/Debug/RDPDFKit.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -r "/Users/mac/Projects/nau-country/trunk/iFactr/SDK/ICSharpCode.SharpZipLib.MT.dll" -r "/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Core.MT.dll" -r "/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Data.MT.dll" -r "/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Stack.MT.dll" -r "/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Templates.MT.dll" -r "/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Touch.MT.dll" -r "/Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Utilities.MT.dll" -debug -nolink -sdk "5.1" -targetver "5.0" --armv7 "-aot" "ntrampolines=2048" "-aot" "nrgctx-trampolines=2048" "-aot" "nimt-trampolines=2048" "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentApp.exe"
MonoTouch version 5.3.4 using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
Copied /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentApp.exe to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/NAUCountryAgentApp.exe
Copied /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/mscorlib.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/monotouch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/System.Core.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/System.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/Mono.Security.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/System.Xml.dll
Copied /Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Touch.MT.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/iFactr.Touch.MT.dll
Copied /Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Core.MT.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/iFactr.Core.MT.dll
Copied /Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Stack.MT.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/iFactr.Stack.MT.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/System.Web.Services.dll
Copied /Users/mac/Projects/nau-country/trunk/bin/iPhone/Debug/NAUCountryAgentMT.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/NAUCountryAgentMT.dll
Copied /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountrySharedModel.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/NAUCountrySharedModel.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Runtime.Serialization.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/System.Runtime.Serialization.dll
Copied /Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Utilities.MT.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/iFactr.Utilities.MT.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.Linq.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/System.Xml.Linq.dll
Copied /Users/mac/Projects/nau-country/trunk/iFactr/SDK/ICSharpCode.SharpZipLib.MT.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/ICSharpCode.SharpZipLib.MT.dll
Copied /Users/mac/Projects/nau-country/trunk/iFactr/SDK/iFactr.Data.MT.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/iFactr.Data.MT.dll
Copied /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/RDPDFKit.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/RDPDFKit.dll
Copied /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/ArcGIS.dll to /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/ArcGIS.dll
MONO_PATH=/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --debug --aot=mtriple=armv7-darwin,nimt-trampolines=2048nrgctx-trampolines=2048ntrampolines=2048full,static,asmonly,direct-icalls,soft-debug,no-direct-calls,iphone-abi,outfile=/var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/NAUCountryAgentApp.exe.7.s "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/NAUCountryAgentApp.exe"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -gdwarf-2 -miphoneos-version-min=5.0 -arch armv7  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -c /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/NAUCountryAgentApp.exe.7.s -o /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/NAUCountryAgentApp.exe.7.o
MONO_PATH=/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --debug --aot=mtriple=armv7-darwin,nimt-trampolines=2048nrgctx-trampolines=2048ntrampolines=2048full,static,asmonly,direct-icalls,soft-debug,no-direct-calls,iphone-abi,outfile=/var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/ArcGIS.dll.7.s "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/ArcGIS.dll"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -gdwarf-2 -miphoneos-version-min=5.0 -arch armv7  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -c /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/ArcGIS.dll.7.s -o /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/ArcGIS.dll.7.o
MONO_PATH=/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --debug --aot=mtriple=armv7-darwin,nimt-trampolines=2048nrgctx-trampolines=2048ntrampolines=2048full,static,asmonly,direct-icalls,soft-debug,no-direct-calls,iphone-abi,outfile=/var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/RDPDFKit.dll.7.s "/Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/bin/iPhone/Debug/NAUCountryAgentTouchMT.app/RDPDFKit.dll"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -gdwarf-2 -miphoneos-version-min=5.0 -arch armv7  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -c /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/RDPDFKit.dll.7.s -o /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/RDPDFKit.dll.7.o
Generated /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/main.m
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -gdwarf-2 -miphoneos-version-min=5.0 -arch armv7  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -c /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/registrar.m -o /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/obj/Debug/mtouch-cache/registrar.7.cache.A+v9Ljz1WROpN7e+SlxzHCYqxmQ=.o
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -gdwarf-2 -miphoneos-version-min=5.0 -arch armv7  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -c /var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/registrar.m -o /Users/mac/Projects/nau-country/trunk/NAUCountry.Agent.Touch/obj/Debug/mtouch-cache/registrar.7.cache.A+v9Ljz1WROpN7e+SlxzHCYqxmQ=.o
/var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/registrar.m: In function 'native_to_managed_trampoline_ArcGIS_AGSJSONUtility_DecodeFromDictionary':
/var/folders/1k/j_m1n5150kz1n6vhlf4_dkgm0000gn/T/tmp7052de54.tmp/registrar.m:40988: error: expected ':' before ';' token

error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-06-29 16:19:47 UTC
I believe this has been fixed already, but can you tell me the signature of the method ArcGIS.AGSJSONUtility:DecodeFromDictionary anyway?

In any case you can add "--noregistrar" to the additional mtouch arguments to workaround this issue until a fix is available.
Comment 2 PJ 2013-11-19 17:03:59 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 3 kenny goers 2013-11-19 17:10:05 UTC
Yes, the error isn't an issue any longer, should be fine to close
Comment 4 PJ 2013-12-05 18:33:59 UTC
This bug has not been changed from the NEEDINFO state since my previous comment, marking as RESOLVED NORESPONSE.

Please feel free to REOPEN this bug at any time if you are still experiencing the issue. Please add the requested information and set the bug back to the NEW (or CONFIRMED) state.