Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Cyd Haselton
Will try it after this latest re-build is complete.

FYI, after building and installing mono the first time I was able to 
successfully compile and run the console Hello World example from this link: 
http://www.mono-project.com/docs/getting-started/mono-basics/.


On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
Can you try this simple Hello World exe to confirm basic Mono is
working and it's something specific to xbuild:
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just
prints the current date).
 
I believe there's some terminal requirements, but not sure. Redirecting
output to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in
general? The rebuild I mentioned earlier was done in order to make sure
-lncurses and all related headers and libs were included but it's
possible I left something out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The
android environment i'm using only comes with two types but I;ve got a
working tic and sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com
wrote:



I realized that my other mail was hosed, outlook in a browser does blow
at times...
So I was wondering if you were able to run xbuild using the mono option
-v, since xbuild /verbosity:diagnostic never spills even the first line
of the diag text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even
getting to the version/copyright notice... assuming something in there
is causing a silent fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20
to 0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code
length 216) [xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to
0x4f7e5c (code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1
(code length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8
to 0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0
to 0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) emitted at
0x4f7ef0 to 0x4f7f52 (code length 98) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void_object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void_object
(object,intptr,intptr,intptr) emitted at 0x4f7f78 to 0x4f8044 (code
length 204) [xbuild.exe]
converting method (wrapper alloc) object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object:AllocSmall (intptr,intptr) emitted at
0x4f8050 to 0x4f80b6 (code length 102) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:.ctor ()
Method Mono.XBuild.CommandLine.MainClass:.ctor () emitted at 0x4f80b8
to 0x4f8152 (code length 154) [xbuild.exe]
converting method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion)
Method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion) emitted at
0x4f8178 to 0x4f81aa (code length 50) [xbuild.exe]

From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 17:00:01 -0500
To: atsushi...@veritas-vos-liberabit.com; alan.mcgov...@gmail.com
CC: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

Here you go...



/bld/pash/Pash-Project-Pash-bc07215 $ xbuild /verbosity:diagnostic
hello.proj

XBuild Engine Version 12.0

Mono, Version 4.0.0.0

Copyright (C) 2005-2013 Various Mono authors

/bld/pash/Pash-Project-Pash-bc07215 $

On June 4, 2015 1:14:33 PM CDT, Atsushi Eno
atsushi...@veritas-vos-liberabit.com wrote:
I tried xbuild from mono master as well as mono 3.2.8, and it *did* 
complain about the syntax error you made. The output from master is:

-
atsushi:~/Desktop$ xbuild 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Alexander Köplinger
Can you try this simple Hello World exe to confirm basic Mono is working and 
it's something specific to xbuild: 
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just prints the 
current date).
 
I believe there's some terminal requirements, but not sure. Redirecting output 
to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in general? 
The rebuild I mentioned earlier was done in order to make sure -lncurses and 
all related headers and libs were included but it's possible I left something 
out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The android 
environment i'm using only comes with two types but I;ve got a working tic and 
sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com wrote:



I realized that my other mail was hosed, outlook in a browser does blow at 
times...
So I was wondering if you were able to run xbuild using the mono option -v, 
since xbuild /verbosity:diagnostic never spills even the first line of the diag 
text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even getting to the 
version/copyright notice... assuming something in there is causing a silent 
fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20 to 
0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke) 
Module:runtime_invoke_void__this___object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void__this___object 
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code length 216) 
[xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to 0x4f7e5c 
(code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1 (code 
length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8 to 
0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0 to 
0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) emitted at 0x4f7ef0 to 
0x4f7f52 (code length 98) [xbuild.exe]
converting method (wrapper runtime-invoke) Module:runtime_invoke_void_object 
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void_object 
(object,intptr,intptr,intptr) emitted at 0x4f7f78 to 0x4f8044 (code length 204) 
[xbuild.exe]
converting method (wrapper alloc) object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object:AllocSmall (intptr,intptr) emitted at 0x4f8050 to 
0x4f80b6 (code length 102) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:.ctor ()
Method Mono.XBuild.CommandLine.MainClass:.ctor () emitted at 0x4f80b8 to 
0x4f8152 (code length 154) [xbuild.exe]
converting method 
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework 
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion)
Method Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework 
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion) emitted at 0x4f8178 to 
0x4f81aa (code length 50) [xbuild.exe]

From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 17:00:01 -0500
To: atsushi...@veritas-vos-liberabit.com; alan.mcgov...@gmail.com
CC: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

Here you go...



/bld/pash/Pash-Project-Pash-bc07215 $ xbuild /verbosity:diagnostic hello.proj

XBuild Engine Version 12.0

Mono, Version 4.0.0.0

Copyright (C) 2005-2013 Various Mono authors

/bld/pash/Pash-Project-Pash-bc07215 $

On June 4, 2015 1:14:33 PM CDT, Atsushi Eno 
atsushi...@veritas-vos-liberabit.com wrote:
I tried xbuild from mono master as well as mono 3.2.8, and it *did* 
complain about the syntax error you made. The output from master is:

-
atsushi:~/Desktop$ xbuild x.proj
XBuild Engine Version 12.0
Mono, Version 4.3.0.0
Copyright (C) 2005-2013 Various Mono authors

Build started 6/5/2015 2:08:48 AM.

x.proj: error : /home/atsushi/Desktop/x.proj: Name cannot begin with the 
' ' character, hexadecimal value 0x20. Line 1, position 2.
Build FAILED.
Errors:

x.proj: error : 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Cyd Haselton
Interesting output for your Program.exe

/bld/mono/mono-4.0.0 $ mono Program.exe -v  
 
/bld/mono/mono-4.0.0 $ mono -v Program.exe  
 
/bld/mono/mono-4.0.0 $ mono Program.exe 
 
/bld/mono/mono-4.0.0 $

But for hello.cs (see earlier link):

/bld/mono/mono-4.0.0 $ mcs hello.cs
/bld/mono/mono-4.0.0 $ mono hello.exe
Hello Mono World
/bld/mono/mono-4.0.0 $

Regarding terminal requirements, I checked the config.log for the latest build 
and for some reason ./configure doesn't like my curses.h and doesn't use them.

On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
Can you try this simple Hello World exe to confirm basic Mono is
working and it's something specific to xbuild:
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just
prints the current date).
 
I believe there's some terminal requirements, but not sure. Redirecting
output to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in
general? The rebuild I mentioned earlier was done in order to make sure
-lncurses and all related headers and libs were included but it's
possible I left something out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The
android environment i'm using only comes with two types but I;ve got a
working tic and sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com
wrote:



I realized that my other mail was hosed, outlook in a browser does blow
at times...
So I was wondering if you were able to run xbuild using the mono option
-v, since xbuild /verbosity:diagnostic never spills even the first line
of the diag text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even
getting to the version/copyright notice... assuming something in there
is causing a silent fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20
to 0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code
length 216) [xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to
0x4f7e5c (code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1
(code length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8
to 0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0
to 0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) emitted at
0x4f7ef0 to 0x4f7f52 (code length 98) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void_object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void_object
(object,intptr,intptr,intptr) emitted at 0x4f7f78 to 0x4f8044 (code
length 204) [xbuild.exe]
converting method (wrapper alloc) object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object:AllocSmall (intptr,intptr) emitted at
0x4f8050 to 0x4f80b6 (code length 102) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:.ctor ()
Method Mono.XBuild.CommandLine.MainClass:.ctor () emitted at 0x4f80b8
to 0x4f8152 (code length 154) [xbuild.exe]
converting method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion)
Method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion) emitted at
0x4f8178 to 0x4f81aa (code length 50) [xbuild.exe]

From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 17:00:01 -0500
To: atsushi...@veritas-vos-liberabit.com; alan.mcgov...@gmail.com
CC: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

Here you go...



/bld/pash/Pash-Project-Pash-bc07215 $ xbuild /verbosity:diagnostic
hello.proj

XBuild Engine Version 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Cyd Haselton
Unfortunately the latest build...with ncurses this time...didn't change 
anything.  Same output for xbuild.

Alexander, could you send the code for the Project.exe you sent me?

On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
Can you try this simple Hello World exe to confirm basic Mono is
working and it's something specific to xbuild:
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just
prints the current date).
 
I believe there's some terminal requirements, but not sure. Redirecting
output to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in
general? The rebuild I mentioned earlier was done in order to make sure
-lncurses and all related headers and libs were included but it's
possible I left something out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The
android environment i'm using only comes with two types but I;ve got a
working tic and sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com
wrote:



I realized that my other mail was hosed, outlook in a browser does blow
at times...
So I was wondering if you were able to run xbuild using the mono option
-v, since xbuild /verbosity:diagnostic never spills even the first line
of the diag text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even
getting to the version/copyright notice... assuming something in there
is causing a silent fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20
to 0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code
length 216) [xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to
0x4f7e5c (code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1
(code length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8
to 0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0
to 0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) emitted at
0x4f7ef0 to 0x4f7f52 (code length 98) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void_object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void_object
(object,intptr,intptr,intptr) emitted at 0x4f7f78 to 0x4f8044 (code
length 204) [xbuild.exe]
converting method (wrapper alloc) object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object:AllocSmall (intptr,intptr) emitted at
0x4f8050 to 0x4f80b6 (code length 102) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:.ctor ()
Method Mono.XBuild.CommandLine.MainClass:.ctor () emitted at 0x4f80b8
to 0x4f8152 (code length 154) [xbuild.exe]
converting method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion)
Method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion) emitted at
0x4f8178 to 0x4f81aa (code length 50) [xbuild.exe]

From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 17:00:01 -0500
To: atsushi...@veritas-vos-liberabit.com; alan.mcgov...@gmail.com
CC: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

Here you go...



/bld/pash/Pash-Project-Pash-bc07215 $ xbuild /verbosity:diagnostic
hello.proj

XBuild Engine Version 12.0

Mono, Version 4.0.0.0

Copyright (C) 2005-2013 Various Mono authors

/bld/pash/Pash-Project-Pash-bc07215 $

On June 4, 2015 1:14:33 PM CDT, Atsushi Eno
atsushi...@veritas-vos-liberabit.com wrote:
I tried xbuild from mono master as well as mono 3.2.8, and it *did* 
complain about the syntax error you made. The output from master is:

-
atsushi:~/Desktop$ xbuild x.proj
XBuild Engine Version 12.0
Mono, Version 4.3.0.0
Copyright (C) 2005-2013 Various 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Cyd Haselton
It does NOT work as written
It DOES work after removing + DateTime.Now

On June 5, 2015 10:16:34 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
It's just a simple helloworld as well, but with datetime output:
 
using System;
 
namespace HelloWorld {
public class Program {
public static void Main(string[] args) {
Console.WriteLine(Hello World  + DateTime.Now);
}
}
}
 
If this doesn't work, then there's no point trying to get xbuild
working as the code above is as basic as it gets.
 
-- Alex 
 
Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
From: chasel...@gmail.com
Date: Fri, 5 Jun 2015 09:43:07 -0500
To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com

Unfortunately the latest build...with ncurses this time...didn't change
anything.  Same output for xbuild.



Alexander, could you send the code for the Project.exe you sent me?

On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger
alex.koeplin...@outlook.com wrote:



Can you try this simple Hello World exe to confirm basic Mono is
working and it's something specific to xbuild:
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just
prints the current date).
 
I believe there's some terminal requirements, but not sure. Redirecting
output to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in
general? The rebuild I mentioned earlier was done in order to make sure
-lncurses and all related headers and libs were included but it's
possible I left something out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The
android environment i'm using only comes with two types but I;ve got a
working tic and sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com
wrote:



I realized that my other mail was hosed, outlook in a browser does blow
at times...
So I was wondering if you were able to run xbuild using the mono option
-v, since xbuild /verbosity:diagnostic never spills even the first line
of the diag text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even
getting to the version/copyright notice... assuming something in there
is causing a silent fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20
to 0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code
length 216) [xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to
0x4f7e5c (code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1
(code length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8
to 0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0
to 0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) emitted at
0x4f7ef0 to 0x4f7f52 (code length 98) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void_object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void_object
(object,intptr,intptr,intptr) emitted at 0x4f7f78 to 0x4f8044 (code
length 204) [xbuild.exe]
converting method (wrapper alloc) object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object:AllocSmall (intptr,intptr) emitted at
0x4f8050 to 0x4f80b6 (code length 102) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:.ctor ()
Method Mono.XBuild.CommandLine.MainClass:.ctor () emitted at 0x4f80b8
to 0x4f8152 (code length 154) [xbuild.exe]
converting method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion)
Method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion) emitted at
0x4f8178 to 0x4f81aa (code length 50) [xbuild.exe]

From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 17:00:01 -0500
To: 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Timotheus Pokorra
Hello Cyd,

 System.DateTime.Now
 System.TimeZoneNotFoundException: Exception of type
 'System.TimeZoneNotFoundException' was thrown.

This sounds familiar.
I had that recently on Fedora for ppc64le.
see my comment: https://bugzilla.redhat.com/show_bug.cgi?id=1224945#c1

quote
The exception is thrown here:
https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L88
Please have a look at the function TimeZoneInfo CreateLocal () at
https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L121
This refers also to
https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L163
defining timeZoneDirectory enclosed in #if LIBC.
/quote

hope this helps,
  Timotheus
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Cyd Haselton
For the hell of it, I;m going to rebuild with #define HAVE_CURSES_H 1 and see 
what happens.  Feel free to send more tests...it may be a while before I can 
get to them

On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
Can you try this simple Hello World exe to confirm basic Mono is
working and it's something specific to xbuild:
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just
prints the current date).
 
I believe there's some terminal requirements, but not sure. Redirecting
output to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in
general? The rebuild I mentioned earlier was done in order to make sure
-lncurses and all related headers and libs were included but it's
possible I left something out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The
android environment i'm using only comes with two types but I;ve got a
working tic and sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com
wrote:



I realized that my other mail was hosed, outlook in a browser does blow
at times...
So I was wondering if you were able to run xbuild using the mono option
-v, since xbuild /verbosity:diagnostic never spills even the first line
of the diag text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even
getting to the version/copyright notice... assuming something in there
is causing a silent fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20
to 0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code
length 216) [xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to
0x4f7e5c (code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1
(code length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8
to 0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0
to 0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) emitted at
0x4f7ef0 to 0x4f7f52 (code length 98) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void_object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void_object
(object,intptr,intptr,intptr) emitted at 0x4f7f78 to 0x4f8044 (code
length 204) [xbuild.exe]
converting method (wrapper alloc) object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object:AllocSmall (intptr,intptr) emitted at
0x4f8050 to 0x4f80b6 (code length 102) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:.ctor ()
Method Mono.XBuild.CommandLine.MainClass:.ctor () emitted at 0x4f80b8
to 0x4f8152 (code length 154) [xbuild.exe]
converting method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion)
Method
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion) emitted at
0x4f8178 to 0x4f81aa (code length 50) [xbuild.exe]

From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 17:00:01 -0500
To: atsushi...@veritas-vos-liberabit.com; alan.mcgov...@gmail.com
CC: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

Here you go...



/bld/pash/Pash-Project-Pash-bc07215 $ xbuild /verbosity:diagnostic
hello.proj

XBuild Engine Version 12.0

Mono, Version 4.0.0.0

Copyright (C) 2005-2013 Various Mono authors

/bld/pash/Pash-Project-Pash-bc07215 $

On June 4, 2015 1:14:33 PM CDT, Atsushi Eno
atsushi...@veritas-vos-liberabit.com wrote:
I tried xbuild from mono master as well as mono 3.2.8, and it *did* 
complain about the syntax error you made. The output from master is:

-
atsushi:~/Desktop$ xbuild x.proj
XBuild Engine Version 12.0
Mono, Version 4.3.0.0
Copyright (C) 2005-2013 Various Mono 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Alexander Köplinger
It's just a simple helloworld as well, but with datetime output:
 
using System;
 
namespace HelloWorld {
public class Program {
public static void Main(string[] args) {
Console.WriteLine(Hello World  + DateTime.Now);
}
}
}
 
If this doesn't work, then there's no point trying to get xbuild working as the 
code above is as basic as it gets.
 
-- Alex 
 
Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
From: chasel...@gmail.com
Date: Fri, 5 Jun 2015 09:43:07 -0500
To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com

Unfortunately the latest build...with ncurses this time...didn't change 
anything.  Same output for xbuild.



Alexander, could you send the code for the Project.exe you sent me?

On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:



Can you try this simple Hello World exe to confirm basic Mono is working and 
it's something specific to xbuild: 
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just prints the 
current date).
 
I believe there's some terminal requirements, but not sure. Redirecting output 
to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in general? 
The rebuild I mentioned earlier was done in order to make sure -lncurses and 
all related headers and libs were included but it's possible I left something 
out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The android 
environment i'm using only comes with two types but I;ve got a working tic and 
sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com wrote:



I realized that my other mail was hosed, outlook in a browser does blow at 
times...
So I was wondering if you were able to run xbuild using the mono option -v, 
since xbuild /verbosity:diagnostic never spills even the first line of the diag 
text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even getting to the 
version/copyright notice... assuming something in there is causing a silent 
fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20 to 
0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke) 
Module:runtime_invoke_void__this___object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void__this___object 
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code length 216) 
[xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to 0x4f7e5c 
(code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1 (code 
length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8 to 
0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0 to 
0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) emitted at 0x4f7ef0 to 
0x4f7f52 (code length 98) [xbuild.exe]
converting method (wrapper runtime-invoke) Module:runtime_invoke_void_object 
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) Module:runtime_invoke_void_object 
(object,intptr,intptr,intptr) emitted at 0x4f7f78 to 0x4f8044 (code length 204) 
[xbuild.exe]
converting method (wrapper alloc) object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object:AllocSmall (intptr,intptr) emitted at 0x4f8050 to 
0x4f80b6 (code length 102) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:.ctor ()
Method Mono.XBuild.CommandLine.MainClass:.ctor () emitted at 0x4f80b8 to 
0x4f8152 (code length 154) [xbuild.exe]
converting method 
Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework 
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion)
Method Microsoft.Build.Utilities.ToolLocationHelper:GetPathToDotNetFramework 
(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion) emitted at 0x4f8178 to 
0x4f81aa (code length 50) [xbuild.exe]

From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 17:00:01 -0500
To: atsushi...@veritas-vos-liberabit.com; alan.mcgov...@gmail.com
CC: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Atsushi Eno
Wait, you are building mono _on_ Android? I don't think mono supports 
custom Android build. Things WON'T work and it is quite as expected. 
That's not a bug at all.


We Xamarin don't even use full mono stack. xbuild is totally out of 
mobile scope.


Atsushi Eno


On 2015年06月06日 00:26, Cyd Haselton wrote:

Additionally there's this

csharp System.DateTime.Now
System.TimeZoneNotFoundException: Exception of type
'System.TimeZoneNotFoundException' was thrown.
at System.TimeZoneInfo.get_Local () [0x0] in filename unknown:0
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time,
System.Boolean isAmbiguousLocalDst) [0x0] in filename unknown:0
at System.DateTime.get_Now () [0x0] in filename unknown:0
at InteractiveExpressionClass.Host (System.Object $retval) [0x0]
in filename unknown:0
at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object
result, System.Boolean result_set) [0x0] in filename unknown:0
at Mono.CSharpShell.Evaluate (System.String input) [0x0] in
filename unknown:0

Android's native support for locale is notoriously broken. I used
-DNO-LOCALE when building mono, hoping that it would be taken into account

On June 5, 2015 10:16:34 AM CDT, Alexander Köplinger
alex.koeplin...@outlook.com wrote:

It's just a simple helloworld as well, but with datetime output:

using System;

namespace HelloWorld {
 public class Program {
 public static void Main(string[] args) {
 Console.WriteLine(Hello World  + DateTime.Now);
 }
 }
}

If this doesn't work, then there's no point trying to get xbuild
working as the code above is as basic as it gets.

-- Alex



Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
From: chasel...@gmail.com
Date: Fri, 5 Jun 2015 09:43:07 -0500
To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com

Unfortunately the latest build...with ncurses this time...didn't
change anything. Same output for xbuild.

Alexander, could you send the code for the Project.exe you sent me?

On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger
alex.koeplin...@outlook.com wrote:

Can you try this simple Hello World exe to confirm basic Mono is
working and it's something specific to xbuild:
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it
just prints the current date).

I believe there's some terminal requirements, but not sure.
Redirecting output to a file might work.


From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before,
unfortunately.

Is there a terminfo/ncurses requirement for xbuild? Or for mono
in general? The rebuild I mentioned earlier was done in order to
make sure -lncurses and all related headers and libs were
included but it's possible I left something out and need to
re-build again.

Additionally, is there a terminal tyoe requirement for xbuild?
The android environment i'm using only comes with two types but
I;ve got a working tic and sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N
sushihango...@outlook.com wrote:

I realized that my other mail was hosed, outlook in a
browser does blow at times...

So I was wondering if you were able to run xbuild using the
mono option -v, since xbuild /verbosity:diagnostic never
spills even the first line of the diag text: Loading default
tasks for ToolsVersion

Using mono_options -v 'should' dump about 6500 lines before
even getting to the version/copyright notice... assuming
something in there is causing a silent fault(?) and exit.

Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild
Pash.proj |more

converting method System.OutOfMemoryException:.ctor (string)

Method System.OutOfMemoryException:.ctor (string) emitted at
0x4f7d20 to 0x4f7d44 (code length 36) [xbuild.exe]

converting method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr)

Method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to
0x4f7e38 (code length 216) [xbuild.exe]

converting method System.SystemException:.ctor (string)

Method 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Cyd Haselton
Yes I am bulding on android, specifically in an app that emulates a linux-type 
filesystem.  I thought, since it is listed on the supported platforms page and 
since the sources include PLATFORM_ANDROID and TARGET_ANDROID, that building on 
android would be ok.

I found a bug report for an issue I ran into with a System.TimeZoneNotFound 
exception so I'll work from there.

On June 5, 2015 4:26:35 PM CDT, Atsushi Eno 
atsushi...@veritas-vos-liberabit.com wrote:
Wait, you are building mono _on_ Android? I don't think mono supports 
custom Android build. Things WON'T work and it is quite as expected. 
That's not a bug at all.

We Xamarin don't even use full mono stack. xbuild is totally out of 
mobile scope.

Atsushi Eno


On 2015年06月06日 00:26, Cyd Haselton wrote:
 Additionally there's this

 csharp System.DateTime.Now
 System.TimeZoneNotFoundException: Exception of type
 'System.TimeZoneNotFoundException' was thrown.
 at System.TimeZoneInfo.get_Local () [0x0] in filename unknown:0
 at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time,
 System.Boolean isAmbiguousLocalDst) [0x0] in filename
unknown:0
 at System.DateTime.get_Now () [0x0] in filename unknown:0
 at InteractiveExpressionClass.Host (System.Object $retval)
[0x0]
 in filename unknown:0
 at Mono.CSharp.Evaluator.Evaluate (System.String input,
System.Object
 result, System.Boolean result_set) [0x0] in filename unknown:0
 at Mono.CSharpShell.Evaluate (System.String input) [0x0] in
 filename unknown:0

 Android's native support for locale is notoriously broken. I used
 -DNO-LOCALE when building mono, hoping that it would be taken into
account

 On June 5, 2015 10:16:34 AM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com wrote:

 It's just a simple helloworld as well, but with datetime output:

 using System;

 namespace HelloWorld {
  public class Program {
  public static void Main(string[] args) {
  Console.WriteLine(Hello World  + DateTime.Now);
  }
  }
 }

 If this doesn't work, then there's no point trying to get xbuild
 working as the code above is as basic as it gets.

 -- Alex




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
 From: chasel...@gmail.com
 Date: Fri, 5 Jun 2015 09:43:07 -0500
 To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com

 Unfortunately the latest build...with ncurses this time...didn't
 change anything. Same output for xbuild.

 Alexander, could you send the code for the Project.exe you sent
me?

 On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com wrote:

 Can you try this simple Hello World exe to confirm basic Mono
is
 working and it's something specific to xbuild:
 https://dl.dropboxusercontent.com/u/21102229/Program.zip (it
 just prints the current date).

 I believe there's some terminal requirements, but not sure.
 Redirecting output to a file might work.



 From: chasel...@gmail.com
 Date: Thu, 4 Jun 2015 19:56:01 -0500
 To: sushihango...@outlook.com;
mono-devel-list@lists.ximian.com
 Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

 I tried it just now and I get the same result as before,
 unfortunately.

 Is there a terminfo/ncurses requirement for xbuild? Or for
mono
 in general? The rebuild I mentioned earlier was done in order
to
 make sure -lncurses and all related headers and libs were
 included but it's possible I left something out and need to
 re-build again.

 Additionally, is there a terminal tyoe requirement for
xbuild?
 The android environment i'm using only comes with two types
but
 I;ve got a working tic and sources so I can always install
more.

 On June 4, 2015 6:51:00 PM CDT, Robert N
 sushihango...@outlook.com wrote:

 I realized that my other mail was hosed, outlook in a
 browser does blow at times...

 So I was wondering if you were able to run xbuild using
the
 mono option -v, since xbuild /verbosity:diagnostic never
 spills even the first line of the diag text: Loading
default
 tasks for ToolsVersion

 Using mono_options -v 'should' dump about 6500 lines
before
 even getting to the version/copyright notice... assuming
 something in there is causing a silent fault(?) and exit.

 Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild
 Pash.proj |more

 converting method System.OutOfMemoryException:.ctor
(string)

 Method System.OutOfMemoryException:.ctor (string) emitted
at
  

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread Cyd Haselton
Working now, after building timezone data and re-building mono:

/bld/pash/Pash-Project-Pash-bc07215 $ mcs DateTime.cs
/bld/pash/Pash-Project-Pash-bc07215 $ mono DateTime.exe
Hello World 06/05/2015 23:51:13/bld/pash/Pash-Project-Pash-bc07215 $

And, as it turns out, so is xbuild:

XBuild Engine Version 12.0
Mono, Version 4.0.0.0
Copyright (C) 2005-2013 Various Mono authors

Build started 06/05/2015 23:53:47.
__
Project /bld/pash/Pash-Project-Pash-bc07215/Pash.proj (default target(s)):
Target Build:
Project /bld/pash/Pash-Project-Pash-bc07215/Source/Pash.sln 
(default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration Debug|Any CPU.
Target Build:
Project 
/bld/pash/Pash-Project-Pash-bc07215/Libraries/Irony/Irony/010.Irony.2010.csproj
 (default target(s)):
Target PrepareForBuild:
**snip**

The Pash build fails but at least the errors are visible; I can work on them.

Thanks everyone, for your help.

On June 5, 2015 10:16:34 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
It's just a simple helloworld as well, but with datetime output:
 
using System;
 
namespace HelloWorld {
public class Program {
public static void Main(string[] args) {
Console.WriteLine(Hello World  + DateTime.Now);
}
}
}
 
If this doesn't work, then there's no point trying to get xbuild
working as the code above is as basic as it gets.
 
-- Alex 
 
Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
From: chasel...@gmail.com
Date: Fri, 5 Jun 2015 09:43:07 -0500
To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com

Unfortunately the latest build...with ncurses this time...didn't change
anything.  Same output for xbuild.



Alexander, could you send the code for the Project.exe you sent me?

On June 5, 2015 3:25:42 AM CDT, Alexander Köplinger
alex.koeplin...@outlook.com wrote:



Can you try this simple Hello World exe to confirm basic Mono is
working and it's something specific to xbuild:
https://dl.dropboxusercontent.com/u/21102229/Program.zip (it just
prints the current date).
 
I believe there's some terminal requirements, but not sure. Redirecting
output to a file might work.
 
From: chasel...@gmail.com
Date: Thu, 4 Jun 2015 19:56:01 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project

I tried it just now and I get the same result as before, unfortunately.



Is there a terminfo/ncurses requirement for xbuild?  Or for mono in
general? The rebuild I mentioned earlier was done in order to make sure
-lncurses and all related headers and libs were included but it's
possible I left something out and need to re-build again.



Additionally, is there a terminal tyoe requirement for xbuild?  The
android environment i'm using only comes with two types but I;ve got a
working tic and sources so I can always install more.

On June 4, 2015 6:51:00 PM CDT, Robert N sushihango...@outlook.com
wrote:



I realized that my other mail was hosed, outlook in a browser does blow
at times...
So I was wondering if you were able to run xbuild using the mono option
-v, since xbuild /verbosity:diagnostic never spills even the first line
of the diag text: Loading default tasks for ToolsVersion
Using mono_options -v 'should' dump about 6500 lines before even
getting to the version/copyright notice... assuming something in there
is causing a silent fault(?) and exit.
Win81Pro:Pash administrator$ MONO_OPTIONS=-v xbuild Pash.proj |more
converting method System.OutOfMemoryException:.ctor (string)
Method System.OutOfMemoryException:.ctor (string) emitted at 0x4f7d20
to 0x4f7d44 (code length 36) [xbuild.exe]
converting method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr)
Method (wrapper runtime-invoke)
Module:runtime_invoke_void__this___object
(object,intptr,intptr,intptr) emitted at 0x4f7d60 to 0x4f7e38 (code
length 216) [xbuild.exe]
converting method System.SystemException:.ctor (string)
Method System.SystemException:.ctor (string) emitted at 0x4f7e38 to
0x4f7e5c (code length 36) [xbuild.exe]
converting method System.Exception:.ctor (string)
Method System.Exception:.ctor (string) emitted at 0x4f7e68 to 0x4f7ea1
(code length 57) [xbuild.exe]
converting method System.NullReferenceException:.ctor (string)
Method System.NullReferenceException:.ctor (string) emitted at 0x4f7ea8
to 0x4f7ecc (code length 36) [xbuild.exe]
converting method System.StackOverflowException:.ctor (string)
Method System.StackOverflowException:.ctor (string) emitted at 0x4f7ed0
to 0x4f7eea (code length 26) [xbuild.exe]
converting method Mono.XBuild.CommandLine.MainClass:Main (string[])
Method Mono.XBuild.CommandLine.MainClass:Main (string[]) 

Re: [Mono-dev] mono 4.0.0 xbuild won't build project

2015-06-05 Thread crashfourit
S


Sent via the Samsung Galaxy S® 6, an ATT 4G LTE smartphone Original 
message 
From: Timotheus Pokorra timotheus.poko...@solidcharity.com 
Date: 06/05/2015  11:31 AM  (GMT-06:00) 
To: Cyd Haselton chasel...@gmail.com 
Cc: mono-devel-list@lists.ximian.com 
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project 

Hello Cyd,

 System.DateTime.Now
 System.TimeZoneNotFoundException: Exception of type
 'System.TimeZoneNotFoundException' was thrown.

This sounds familiar.
I had that recently on Fedora for ppc64le.
see my comment: https://bugzilla.redhat.com/show_bug.cgi?id=1224945#c1

quote
The exception is thrown here:
https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L88
Please have a look at the function TimeZoneInfo CreateLocal () at
https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L121
This refers also to
https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System/TimeZoneInfo.cs#L163
defining timeZoneDirectory enclosed in #if LIBC.
/quote

hope this helps,
  Timotheus
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list