[Mono-bugs] [Bug 529101] New: mtouch reports an error linking
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Aug 7 04:11:38 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=529101
Summary: mtouch reports an error linking
Classification: Mono
Product: Mono: Compilers
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Critical
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: yosi at taguri.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=311244)
--> (http://bugzilla.novell.com/attachment.cgi?id=311244)
a sample app with a ported twitter client - pure in c#
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
This is the error I'm getting:
Building: firstapp (Release|iPhoneSimulator)
Building Solution firstapp
Building: firstapp (Release|iPhoneSimulator)
Performing main compilation...
Updating CodeBehind files
/Developer/MonoTouch/usr/bin/smcs /noconfig
"/out:/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.exe"
"/r:System.dll" "/r:System.Xml.dll" "/r:System.Core.dll"
"/r:System.Xml.Linq.dll" "/r:System.ServiceModel.Web.dll"
"/r:System.ServiceModel.dll" "/r:System.Runtime.Serialization.dll"
"/r:monotouch.dll" /nologo /warn:4 /optimize- /codepage:utf8 /t:exe
"/Users/gilit/yosit/monotouch/firstapp/firstapp/MainWindow.xib.designer.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/Main.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/HTTPUtility.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/InvalidTwitterParameterException.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/Twitter.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterDirectMessageMethods.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterizerException.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterParameters.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterRequest.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterRequestData.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterStatus.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterStatusCollection.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterStatusMethods.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterUser.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterUserCollection.cs"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/code/TwitterUserMethods.cs"
Compilation succeeded - 1 warning(s)
/Users/gilit/yosit/monotouch/firstapp/firstapp/Main.cs(43,30): warning CS0169:
The private method `firstapp.AppDelegate.tapSampl(MonoTouch.UIKit.UIButton)' is
never used
Build complete -- 0 errors, 1 warning
Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -sim
"/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.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/System.Xml.Linq.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.ServiceModel.Web.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.ServiceModel.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Runtime.Serialization.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll"
"/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.exe"
Framework is:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk
Copying
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.exe
to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.app/firstapp.exe
Copying /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.app/monotouch.dll
Copying /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.app/mscorlib.dll
Copying /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.app/System.dll
Copying /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.Linq.dll to
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.app/System.Xml.Linq.dll
Linking assembly
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.app/firstapp.exe
into
/Users/gilit/yosit/monotouch/firstapp/firstapp/bin/iPhoneSimulator/Release/firstapp.app
Could not link assemblies: System.ArgumentException: The Path do not have a
valid format
at System.IO.Directory.GetParent (System.String path) [0x00000]
at Mono.Cecil.BaseAssemblyResolver.GetCurrentGacPath () [0x00000]
at Mono.Cecil.BaseAssemblyResolver.GetAssemblyInGac
(Mono.Cecil.AssemblyNameReference reference) [0x00000]
at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference
name) [0x00000]
at Mono.Linker.AssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference
name) [0x00000]
at Mono.Linker.LinkContext.Resolve (IMetadataScope scope) [0x00000]
at Mono.Linker.Steps.LoadReferencesStep.ProcessReferences
(Mono.Cecil.AssemblyDefinition assembly) [0x00000]
at Mono.Linker.Steps.LoadReferencesStep.ProcessReferences
(Mono.Cecil.AssemblyDefinition assembly) [0x00000]
at Mono.Linker.Steps.LoadReferencesStep.ProcessAssembly
(Mono.Cecil.AssemblyDefinition assembly) [0x00000]
at Mono.Linker.Steps.BaseStep.Process (Mono.Linker.LinkContext context)
[0x00000]
at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000]
at MonoTouch.Tuner.Linker.Run (Mono.Linker.Pipeline pipeline,
Mono.Linker.LinkContext context) [0x00000]
---------------------- Done ----------------------
Build: 1 error, 1 warning
Reproducible: Always
Steps to Reproduce:
1. compile the code attached
2.
3.
Actual Results:
mtouch fails
Expected Results:
mtouch should say everything is ok
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list