Bug 12636 - MT0000 Unexpected error
Summary: MT0000 Unexpected error
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.3.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 6.4 (async)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-06-11 15:07 UTC by Chad
Modified: 2013-07-09 02:27 UTC (History)
3 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 Chad 2013-06-11 15:07:32 UTC
"Build Log" -

Building: TransitHub (Debug|iPhoneSimulator)
Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.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/chadpowell/Documents/RestSharp.MonoTouch.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Json.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 "/define:DEBUG;__MOBILE__;__IOS__"  /t:exe "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/Main.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/AppDelegate.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/TransitHubViewController.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/TransitHubViewController.designer.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/ClosestStop.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/MapViewDelegate.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/Route.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/RouteAnnotation.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/RoutePoints.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/RouteUnits.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/ShowLocation.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/TableDataSource.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/UnitAnnotation.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/Reachability.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/ScarAnnotation.cs" "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/CustomRouteCell.cs" 
Compilation succeeded - 2 warning(s)

/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/MapViewDelegate.cs(24,29): warning CS0169: The private field `TransitHub.MapViewDelegate.type' is never used
/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/TableDataSource.cs(24,29): warning CS0414: The private field `TransitHub.RoutesTableDataSource.tableView' is assigned but its value is never used


Build complete -- 0 errors, 2 warnings

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" -v --cache "/Users/chadpowell/TransitHub-Mobile/obj/iPhoneSimulator/Debug/mtouch-cache" --nomanifest --nosign -sim "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app" -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/chadpowell/Documents/RestSharp.MonoTouch.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Json.dll" -debug -nolink -sdk "6.1" --abi=i386 "/Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.exe"
MonoTouch Business version 6.2.7 using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
Copied /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.exe to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/TransitHub.exe
Copied /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/mscorlib.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/monotouch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/System.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/Mono.Security.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/System.Core.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/System.Xml.dll
Copied /Users/chadpowell/Documents/RestSharp.MonoTouch.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/RestSharp.MonoTouch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.Linq.dll to /Users/chadpowell/TransitHub-Mobile/TransitHub/TransitHub/bin/iPhoneSimulator/Debug/TransitHub.app/System.Xml.Linq.dll
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc  -Wl,-no_pie -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2 -miphoneos-version-min=3.0 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk  /Users/chadpowell/TransitHub-Mobile/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.cache.JaDsEQBrOwusgj1LFX59KCkiGXg=.o -o /var/folders/px/jf31kd953qbgx9w3bd8x2p_80000gp/T/tmp35133d56.tmp/TransitHub -framework CFNetwork -framework Foundation -framework GameKit -framework MapKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework StoreKit -framework UIKit -framework AddressBookUI -framework AudioToolbox -framework SystemConfiguration -framework AddressBook -framework AVFoundation -framework QuartzCore -framework CoreData -framework CoreGraphics -framework CoreLocation -framework MobileCoreServices -framework Security -framework ExternalAccessory -weak_framework AssetsLibrary -weak_framework Accounts -weak_framework CoreBluetooth -weak_framework CoreTelephony -weak_framework EventKit -weak_framework EventKitUI -weak_framework CoreMotion -weak_framework GLKit -weak_framework iAd -weak_framework NewsstandKit -weak_framework Social -weak_framework Twitter -weak_framework PassKit -weak_framework CoreImage -weak_framework CoreText -weak_framework ImageIO -weak_framework CoreMedia -weak_framework CoreMIDI -weak_framework CoreVideo -weak_framework AdSupport -weak_framework QuickLook -lz -liconv -u _mono_pmip -u _monotouch_create_managed_ref -u _monotouch_release_managed_ref -u _monotouch_IntPtr_objc_msgSend_IntPtr -u _monotouch_IntPtr_objc_msgSendSuper_IntPtr -u _CloseZStream -u _CreateZStream -u _Flush -u _ReadZStream -u _WriteZStream -lmono-2.0 -lmonotouch-debug -L/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib -u _catch_exception_raise -dead_strip
error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
System.IO.IOException: Win32 IO returned ERROR_ALREADY_EXISTS. Path: 
  at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] in <filename unknown>:0 
  at MTouch.CompileToNative (System.String user_gcc_flags, System.Collections.Generic.List`1 assemblies, IList`1 inputs) [0x00000] in <filename unknown>:0 
  at MTouch.Main2 (System.String[] args) [0x00000] in <filename unknown>:0 
  at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0 

---------------------- Done ----------------------

Build: 1 error, 2 warnings
Comment 1 Sebastien Pouliot 2013-06-11 18:56:43 UTC
It looks like the build could not complete because it could not replace a file (permissions?) inside the solution.

Can you try a "Clean" in your solution ? to see if the IDE can remove the file.

If that does not work can you look at the files, under the solution marked as read-only (some tools, like TFS, likes to changes files to read-only) or where the permissions won't allow you to move/delete them.
Comment 3 PJ 2013-07-09 02:27:38 UTC
Marking this one as RESOLVED, NO RESPONSE for now. Please feel free to re-open if you still have an issue. If you do, please add full version info and, if possible, some steps to reproduce or a test project.