Re: [Mono-dev] Terminal config for mono csharp shell?

2015-06-13 Thread Cyd Haselton
 of P-coders just place an os.system('stty sane')
in their exit code, perl coders place system(stty sane);  curses
users should always use endwin(); reset(); to clean things up, etc...
 
  The fact that the console.unix.c works across all the std linux
flavors and os-x would suggest that something in your environment is
different. Not sure what your 'droid dev environment is like, but if
you can build/debug mono, you can look at how it is init  exiting in
the app-domain.c/console-io.c/console-unix.c routines.
 
  
  From: chasel...@gmail.com
  Date: Sat, 6 Jun 2015 19:39:16 -0500
  To: mono-devel-list@lists.ximian.com
  Subject: Re: [Mono-dev] Terminal config for mono csharp shell?
 
  Additionally, running 'stty sane' after exiting the REPL solves the
problem. Maybe there is a way to set the REPL to run a command on
quitting?
 
  On June 6, 2015 8:04:47 AM CDT, Cyd Haselton chasel...@gmail.com
wrote:
 
  Are there any special terminal and/or shell settings I should set
for the csharp shell?
 
  csharp works okay...minus some cursor jumping...but after quitting
the console shell behaves oddly until I exit it and re-enter.
 
  Example:
  /home/kbox $ csharp
  Mono C# Shell, type help; for help
  Enter statements below.
  csharp DateTime.Now 06/06/2015 13:00:31
  csharp help Static methods:
  Describe (object); - Describes the object's type
  LoadPackage (package); - Loads the given Package (like -pkg:FILE)
  LoadAssembly (assembly); - Loads the given assembly (like
-r:ASSEMBLY)
  ShowVars (); - Shows defined local variables.
  ShowUsing (); - Show active using declarations.
  Prompt - The prompt used by the C# shell
  ContinuationPrompt - The prompt for partial input
  Time (() = { }); - Times the specified code
  print (obj); - Shorthand for Console.WriteLine
  quit; - You'll never believe it - this quits the repl!
  help; - This help text
  TabAtStartCompletes - Whether tab will complete even on empty lines
  
  csharp quit
 
  Environment shell after quitting:
  /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $ /home/kbox $ 
/data/data/jackpal.androidterm/kbox2/bin/bash: \: not found
  /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $
 
  After exiting environment shell...you can't see the 'exit' command
I typed:
  /home/kbox $ 127|u0_a186@altev:/ $
  127|u0_a186@altev:/ $
  127|u0_a186@altev:/ $
  127|u0_a186@altev:/ $
  127|u0_a186@altev:/ $
 
  Re-entering the environment shell:
  127|u0_a186@altev:/ $
/data/data/jackpal.androidterm/kbox2/bin/kbox_shell
  /home/kbox $
  /home/kbox $
  /home/kbox $
  /home/kbox $
 
 
  --
  Sent from my Android device with K-9 Mail. Please excuse my
brevity.
  ___ 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


Re: [Mono-dev] Terminal config for mono csharp shell?

2015-06-12 Thread Cyd Haselton
}, NULL, 0x15980b8) = 0

**snip**

On June 12, 2015 1:02:49 AM CDT, Robert N sushihango...@outlook.com wrote:

Sorry, been swamped... I'm not sure about the outclass.h, I'll have to
take a look... I do know that resizing the csharp repo on os-x's
terminal causes havoc on the its output and the input/output cursor is
incorrectly moved, that that point it is taking input and sending out
to the wrong line of the window, but it does not crash as in your case.

 Date: Wed, 10 Jun 2015 11:20:46 -0500
 Subject: Re: [Mono-dev] Terminal config for mono csharp shell?
 From: chasel...@gmail.com
 To: sushihango...@outlook.com
 CC: mono-devel-list@lists.ximian.com
 
 I'm revisiting this because I uncovered a larger, possibly related,
 problem with running the newly built csharp REPL.
 
 When resizing the terminal, csharp exits unexpectedly.  Running
strace
 in a separate terminal and attaching it to the csharp PID shows the
 csharp REPL segfaulting when the terminal is resized (at
 SIGWINCH...specifically right after the following line is
 called/executed:
 
 ioctl(0, TIOCGWINSZ, {ws_row=59, ws_col=85, ws_xpixel=0,
ws_ypixel=0}) = 0
 
 My sysroot has an asm/ioctls.h...I'm guessing that it needs to be
 added to console-unix.c or console-io.c...possibly both.  Am I in the
 right ballpark?
 
 On Sat, Jun 6, 2015 at 10:41 PM, Robert N sushihango...@outlook.com
wrote:
 
 
  stty sane make sense in terms of a TERM=linux and either a messed
up/missing termcap and/or missing capabilities during autogen/configure
and shell that is not quite right...
 
  The fact that the console.unix.c works across all the std linux
flavors and os-x would suggest that something in your environment is
different. Not sure what your 'droid dev environment is like, but if
you can build/debug mono, you can look at how it is init  exiting in
the app-domain.c/console-io.c/console-unix.c routines.
 
  It should 'just work', but that requires a very clean environment
as Mono does an very generic (iffy IMHO) job of tty exiting (also
init'ing).  If you look at the ConsoleDriver the extent of the tty
exit/teardown is 'string' that is sent is a hardcoded DC1 signal (0x11)
which is Ctrl-Q (XON). You can browse the native driver function in
console-unix.c, it is running on a gc'd thread, the std c lib function
atexit is called with the tty teardown function and it does a very
generic teardown (flushing the pipes and setting the ECHO env to true).
 
  Is this right or wrong? Depends upon who you ask ;-) Programs
written in python have this this issue all the time with using no echo
tty mode and properly exiting, it is usually a threading issue, but
hard to prevent. A lot of P-coders just place an os.system('stty sane')
in their exit code, perl coders place system(stty sane);  curses
users should always use endwin(); reset(); to clean things up, etc...
 
  The fact that the console.unix.c works across all the std linux
flavors and os-x would suggest that something in your environment is
different. Not sure what your 'droid dev environment is like, but if
you can build/debug mono, you can look at how it is init  exiting in
the app-domain.c/console-io.c/console-unix.c routines.
 
  
  From: chasel...@gmail.com
  Date: Sat, 6 Jun 2015 19:39:16 -0500
  To: mono-devel-list@lists.ximian.com
  Subject: Re: [Mono-dev] Terminal config for mono csharp shell?
 
  Additionally, running 'stty sane' after exiting the REPL solves the
problem. Maybe there is a way to set the REPL to run a command on
quitting?
 
  On June 6, 2015 8:04:47 AM CDT, Cyd Haselton chasel...@gmail.com
wrote:
 
  Are there any special terminal and/or shell settings I should set
for the csharp shell?
 
  csharp works okay...minus some cursor jumping...but after quitting
the console shell behaves oddly until I exit it and re-enter.
 
  Example:
  /home/kbox $ csharp
  Mono C# Shell, type help; for help
  Enter statements below.
  csharp DateTime.Now 06/06/2015 13:00:31
  csharp help Static methods:
  Describe (object); - Describes the object's type
  LoadPackage (package); - Loads the given Package (like -pkg:FILE)
  LoadAssembly (assembly); - Loads the given assembly (like
-r:ASSEMBLY)
  ShowVars (); - Shows defined local variables.
  ShowUsing (); - Show active using declarations.
  Prompt - The prompt used by the C# shell
  ContinuationPrompt - The prompt for partial input
  Time (() = { }); - Times the specified code
  print (obj); - Shorthand for Console.WriteLine
  quit; - You'll never believe it - this quits the repl!
  help; - This help text
  TabAtStartCompletes - Whether tab will complete even on empty lines
  
  csharp quit
 
  Environment shell after quitting:
  /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $ /home/kbox $ 
/data/data/jackpal.androidterm/kbox2/bin/bash: \: not found
  /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $
 
  After exiting environment shell...you can't see the 'exit' command
I typed

Re: [Mono-dev] Terminal config for mono csharp shell?

2015-06-10 Thread Cyd Haselton
I'm revisiting this because I uncovered a larger, possibly related,
problem with running the newly built csharp REPL.

When resizing the terminal, csharp exits unexpectedly.  Running strace
in a separate terminal and attaching it to the csharp PID shows the
csharp REPL segfaulting when the terminal is resized (at
SIGWINCH...specifically right after the following line is
called/executed:

ioctl(0, TIOCGWINSZ, {ws_row=59, ws_col=85, ws_xpixel=0, ws_ypixel=0}) = 0

My sysroot has an asm/ioctls.h...I'm guessing that it needs to be
added to console-unix.c or console-io.c...possibly both.  Am I in the
right ballpark?

On Sat, Jun 6, 2015 at 10:41 PM, Robert N sushihango...@outlook.com wrote:


 stty sane make sense in terms of a TERM=linux and either a messed up/missing 
 termcap and/or missing capabilities during autogen/configure and shell that 
 is not quite right...

 The fact that the console.unix.c works across all the std linux flavors and 
 os-x would suggest that something in your environment is different. Not sure 
 what your 'droid dev environment is like, but if you can build/debug mono, 
 you can look at how it is init  exiting in the 
 app-domain.c/console-io.c/console-unix.c routines.

 It should 'just work', but that requires a very clean environment as Mono 
 does an very generic (iffy IMHO) job of tty exiting (also init'ing).  If you 
 look at the ConsoleDriver the extent of the tty exit/teardown is 'string' 
 that is sent is a hardcoded DC1 signal (0x11) which is Ctrl-Q (XON). You can 
 browse the native driver function in console-unix.c, it is running on a gc'd 
 thread, the std c lib function atexit is called with the tty teardown 
 function and it does a very generic teardown (flushing the pipes and setting 
 the ECHO env to true).

 Is this right or wrong? Depends upon who you ask ;-) Programs written in 
 python have this this issue all the time with using no echo tty mode and 
 properly exiting, it is usually a threading issue, but hard to prevent. A lot 
 of P-coders just place an os.system('stty sane') in their exit code, perl 
 coders place system(stty sane);  curses users should always use endwin(); 
 reset(); to clean things up, etc...

 The fact that the console.unix.c works across all the std linux flavors and 
 os-x would suggest that something in your environment is different. Not sure 
 what your 'droid dev environment is like, but if you can build/debug mono, 
 you can look at how it is init  exiting in the 
 app-domain.c/console-io.c/console-unix.c routines.

 
 From: chasel...@gmail.com
 Date: Sat, 6 Jun 2015 19:39:16 -0500
 To: mono-devel-list@lists.ximian.com
 Subject: Re: [Mono-dev] Terminal config for mono csharp shell?

 Additionally, running 'stty sane' after exiting the REPL solves the problem. 
 Maybe there is a way to set the REPL to run a command on quitting?

 On June 6, 2015 8:04:47 AM CDT, Cyd Haselton chasel...@gmail.com wrote:

 Are there any special terminal and/or shell settings I should set for the 
 csharp shell?

 csharp works okay...minus some cursor jumping...but after quitting the 
 console shell behaves oddly until I exit it and re-enter.

 Example:
 /home/kbox $ csharp
 Mono C# Shell, type help; for help
 Enter statements below.
 csharp DateTime.Now 06/06/2015 13:00:31
 csharp help Static methods:
 Describe (object); - Describes the object's type
 LoadPackage (package); - Loads the given Package (like -pkg:FILE)
 LoadAssembly (assembly); - Loads the given assembly (like -r:ASSEMBLY)
 ShowVars (); - Shows defined local variables.
 ShowUsing (); - Show active using declarations.
 Prompt - The prompt used by the C# shell
 ContinuationPrompt - The prompt for partial input
 Time (() = { }); - Times the specified code
 print (obj); - Shorthand for Console.WriteLine
 quit; - You'll never believe it - this quits the repl!
 help; - This help text
 TabAtStartCompletes - Whether tab will complete even on empty lines
 
 csharp quit

 Environment shell after quitting:
 /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ 
 /home/kbox $  /data/data/jackpal.androidterm/kbox2/bin/bash: \: not found
 /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $

 After exiting environment shell...you can't see the 'exit' command I typed:
 /home/kbox $ 127|u0_a186@altev:/ $
 127|u0_a186@altev:/ $
 127|u0_a186@altev:/ $
 127|u0_a186@altev:/ $
 127|u0_a186@altev:/ $

 Re-entering the environment shell:
 127|u0_a186@altev:/ $ /data/data/jackpal.androidterm/kbox2/bin/kbox_shell
 /home/kbox $
 /home/kbox $
 /home/kbox $
 /home/kbox $


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.
 ___ 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

Re: [Mono-dev] Terminal config for mono csharp shell?

2015-06-07 Thread Cyd Haselton
Additionally, console-unix.c includes the curses header...why doesn't it make 
use of the routines in the associated library?

On June 6, 2015 10:41:46 PM CDT, Robert N sushihango...@outlook.com wrote:

stty sane make sense in terms of a TERM=linux and either a messed
up/missing termcap and/or missing capabilities during autogen/configure
and shell that is not quite right...
The fact that the console.unix.c works across all the std linux flavors
and os-x would suggest that something in your environment is different.
Not sure what your 'droid dev environment is like, but if you can
build/debug mono, you can look at how it is init  exiting in the
app-domain.c/console-io.c/console-unix.c routines.
It should 'just work', but that requires a very clean environment as
Mono does an very generic (iffy IMHO) job of tty exiting (also
init'ing).  If you look at the ConsoleDriver the extent of the tty
exit/teardown is 'string' that is sent is a hardcoded DC1 signal (0x11)
which is Ctrl-Q (XON). You can browse the native driver function in
console-unix.c, it is running on a gc'd thread, the std c lib function
atexit is called with the tty teardown function and it does a very
generic teardown (flushing the pipes and setting the ECHO env to true).
Is this right or wrong? Depends upon who you ask ;-) Programs written
in python have this this issue all the time with using no echo tty mode
and properly exiting, it is usually a threading issue, but hard to
prevent. A lot of P-coders just place an os.system('stty sane') in
their exit code, perl coders place system(stty sane);  curses users
should always use endwin(); reset(); to clean things up, etc... 
The fact that the console.unix.c works across all the std linux flavors
and os-x would suggest that something in your environment is different.
Not sure what your 'droid dev environment is like, but if you can
build/debug mono, you can look at how it is init  exiting in the
app-domain.c/console-io.c/console-unix.c routines.

From: chasel...@gmail.com
Date: Sat, 6 Jun 2015 19:39:16 -0500
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Terminal config for mono csharp shell?

Additionally, running 'stty sane' after exiting the REPL solves the
problem.  Maybe there is a way to set the REPL to run a command on
quitting?

On June 6, 2015 8:04:47 AM CDT, Cyd Haselton chasel...@gmail.com
wrote:
Are there any special terminal and/or shell settings I should set for
the csharp shell?



csharp works okay...minus some cursor jumping...but after quitting the
console shell behaves oddly until I exit it and re-enter.



Example:

/home/kbox $ csharp

Mono C# Shell, type help; for help   
 

Enter statements below.

csharp DateTime.Now   
 06/06/2015 13:00:31

csharp help   
 Static methods:

  Describe (object);   - Describes the object's type

  LoadPackage (package);   - Loads the given Package (like -pkg:FILE)

 LoadAssembly (assembly); - Loads the given assembly (like -r:ASSEMBLY)

  ShowVars (); - Shows defined local variables.

  ShowUsing ();- Show active using declarations.

  Prompt   - The prompt used by the C# shell

  ContinuationPrompt   - The prompt for partial input

  Time (() = { });- Times the specified code

  print (obj); - Shorthand for Console.WriteLine

quit;- You'll never believe it - this quits the
repl!

  help;- This help text

TabAtStartCompletes  - Whether tab will complete even on empty
lines



csharp quit



Environment shell after quitting:

/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $ /home/kbox $ 
/data/data/jackpal.androidterm/kbox2/bin/bash: \: not found

/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $



After exiting environment shell...you can't see the 'exit' command I
typed:

/home/kbox $ 127|u0_a186@altev:/ $

127|u0_a186@altev:/ $

127|u0_a186@altev:/ $

127|u0_a186@altev:/ $

127|u0_a186@altev:/ $



Re-entering the environment shell:

127|u0_a186@altev:/ $
/data/data/jackpal.androidterm/kbox2/bin/kbox_shell

/home/kbox $

/home/kbox $

/home/kbox $

/home/kbox $


-- 

Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list   
  

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Terminal config for mono csharp shell?

2015-06-06 Thread Cyd Haselton
Are there any special terminal and/or shell settings I should set for the 
csharp shell?

csharp works okay...minus some cursor jumping...but after quitting the console 
shell behaves oddly until I exit it and re-enter.

Example:
/home/kbox $ csharp
Mono C# Shell, type help; for help
 
Enter statements below.
csharp DateTime.Now
 06/06/2015 13:00:31
csharp help
 Static methods:
  Describe (object);   - Describes the object's type
  LoadPackage (package);   - Loads the given Package (like -pkg:FILE)
  LoadAssembly (assembly); - Loads the given assembly (like -r:ASSEMBLY)
  ShowVars (); - Shows defined local variables.
  ShowUsing ();- Show active using declarations.
  Prompt   - The prompt used by the C# shell
  ContinuationPrompt   - The prompt for partial input
  Time (() = { });- Times the specified code
  print (obj); - Shorthand for Console.WriteLine
  quit;- You'll never believe it - this quits the repl!
  help;- This help text
  TabAtStartCompletes  - Whether tab will complete even on empty lines

csharp quit

Environment shell after quitting:
/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ 
/home/kbox $  /data/data/jackpal.androidterm/kbox2/bin/bash: \: not found
/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $

After exiting environment shell...you can't see the 'exit' command I typed:
/home/kbox $ 127|u0_a186@altev:/ $
127|u0_a186@altev:/ $
127|u0_a186@altev:/ $
127|u0_a186@altev:/ $
127|u0_a186@altev:/ $

Re-entering the environment shell:
127|u0_a186@altev:/ $ /data/data/jackpal.androidterm/kbox2/bin/kbox_shell
/home/kbox $
/home/kbox $
/home/kbox $
/home/kbox $
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Terminal config for mono csharp shell?

2015-06-06 Thread Cyd Haselton
Additionally, running 'stty sane' after exiting the REPL solves the problem.  
Maybe there is a way to set the REPL to run a command on quitting?

On June 6, 2015 8:04:47 AM CDT, Cyd Haselton chasel...@gmail.com wrote:
Are there any special terminal and/or shell settings I should set for
the csharp shell?

csharp works okay...minus some cursor jumping...but after quitting the
console shell behaves oddly until I exit it and re-enter.

Example:
/home/kbox $ csharp
Mono C# Shell, type help; for help   
 
Enter statements below.
csharp DateTime.Now   
 06/06/2015 13:00:31
csharp help   
 Static methods:
  Describe (object);   - Describes the object's type
  LoadPackage (package);   - Loads the given Package (like -pkg:FILE)
 LoadAssembly (assembly); - Loads the given assembly (like -r:ASSEMBLY)
  ShowVars (); - Shows defined local variables.
  ShowUsing ();- Show active using declarations.
  Prompt   - The prompt used by the C# shell
  ContinuationPrompt   - The prompt for partial input
  Time (() = { });- Times the specified code
  print (obj); - Shorthand for Console.WriteLine
quit;- You'll never believe it - this quits the
repl!
  help;- This help text
TabAtStartCompletes  - Whether tab will complete even on empty
lines

csharp quit

Environment shell after quitting:
/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $ /home/kbox $ 
/data/data/jackpal.androidterm/kbox2/bin/bash: \: not found
/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $

After exiting environment shell...you can't see the 'exit' command I
typed:
/home/kbox $ 127|u0_a186@altev:/ $
127|u0_a186@altev:/ $
127|u0_a186@altev:/ $
127|u0_a186@altev:/ $
127|u0_a186@altev:/ $

Re-entering the environment shell:
127|u0_a186@altev:/ $
/data/data/jackpal.androidterm/kbox2/bin/kbox_shell
/home/kbox $
/home/kbox $
/home/kbox $
/home/kbox $
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Terminal config for mono csharp shell?

2015-06-06 Thread Cyd Haselton
Funny you should mention python.  I've ported 3.4.2 to Android and the 
interpreter runs without issues; no cursor jumping and no stty sane needed 
after exit.

In my env TERM=linux but I have other options...if that would help.  I'll take 
a look at the routines you mentioned, but i'm kinda hoping to find a way to 
resolve this without (moe) hacking at source code.

Thanks for the pointer in the right direction.

On June 6, 2015 10:41:46 PM CDT, Robert N sushihango...@outlook.com wrote:

stty sane make sense in terms of a TERM=linux and either a messed
up/missing termcap and/or missing capabilities during autogen/configure
and shell that is not quite right...
The fact that the console.unix.c works across all the std linux flavors
and os-x would suggest that something in your environment is different.
Not sure what your 'droid dev environment is like, but if you can
build/debug mono, you can look at how it is init  exiting in the
app-domain.c/console-io.c/console-unix.c routines.
It should 'just work', but that requires a very clean environment as
Mono does an very generic (iffy IMHO) job of tty exiting (also
init'ing).  If you look at the ConsoleDriver the extent of the tty
exit/teardown is 'string' that is sent is a hardcoded DC1 signal (0x11)
which is Ctrl-Q (XON). You can browse the native driver function in
console-unix.c, it is running on a gc'd thread, the std c lib function
atexit is called with the tty teardown function and it does a very
generic teardown (flushing the pipes and setting the ECHO env to true).
Is this right or wrong? Depends upon who you ask ;-) Programs written
in python have this this issue all the time with using no echo tty mode
and properly exiting, it is usually a threading issue, but hard to
prevent. A lot of P-coders just place an os.system('stty sane') in
their exit code, perl coders place system(stty sane);  curses users
should always use endwin(); reset(); to clean things up, etc... 
The fact that the console.unix.c works across all the std linux flavors
and os-x would suggest that something in your environment is different.
Not sure what your 'droid dev environment is like, but if you can
build/debug mono, you can look at how it is init  exiting in the
app-domain.c/console-io.c/console-unix.c routines.

From: chasel...@gmail.com
Date: Sat, 6 Jun 2015 19:39:16 -0500
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Terminal config for mono csharp shell?

Additionally, running 'stty sane' after exiting the REPL solves the
problem.  Maybe there is a way to set the REPL to run a command on
quitting?

On June 6, 2015 8:04:47 AM CDT, Cyd Haselton chasel...@gmail.com
wrote:
Are there any special terminal and/or shell settings I should set for
the csharp shell?



csharp works okay...minus some cursor jumping...but after quitting the
console shell behaves oddly until I exit it and re-enter.



Example:

/home/kbox $ csharp

Mono C# Shell, type help; for help   
 

Enter statements below.

csharp DateTime.Now   
 06/06/2015 13:00:31

csharp help   
 Static methods:

  Describe (object);   - Describes the object's type

  LoadPackage (package);   - Loads the given Package (like -pkg:FILE)

 LoadAssembly (assembly); - Loads the given assembly (like -r:ASSEMBLY)

  ShowVars (); - Shows defined local variables.

  ShowUsing ();- Show active using declarations.

  Prompt   - The prompt used by the C# shell

  ContinuationPrompt   - The prompt for partial input

  Time (() = { });- Times the specified code

  print (obj); - Shorthand for Console.WriteLine

quit;- You'll never believe it - this quits the
repl!

  help;- This help text

TabAtStartCompletes  - Whether tab will complete even on empty
lines



csharp quit



Environment shell after quitting:

/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $ /home/kbox $ 
/data/data/jackpal.androidterm/kbox2/bin/bash: \: not found

/home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $ /home/kbox $
/home/kbox $



After exiting environment shell...you can't see the 'exit' command I
typed:

/home/kbox $ 127|u0_a186@altev:/ $

127|u0_a186@altev:/ $

127|u0_a186@altev:/ $

127|u0_a186@altev:/ $

127|u0_a186@altev:/ $



Re-entering the environment shell:

127|u0_a186@altev:/ $
/data/data/jackpal.androidterm/kbox2/bin/kbox_shell

/home/kbox $

/home/kbox $

/home/kbox $

/home/kbox $


-- 

Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list   
  

-- 
Sent from my Android device with K-9 Mail. Please excuse my

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

2015-06-05 Thread Cyd Haselton
 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 : /home/atsushi/Desktop/x.proj: Name cannot begin with
the 
' ' character, hexadecimal value 0x20. Line 1, position 2.

  0 Warning(s)
  1 Error(s)

Time Elapsed 00:00:00.0105090
-

Once I fixed the extraneous space between '' and Project, it printed

Hello world as expected:


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

Build started 6/5/2015 2:11:17 AM.

Project /home/atsushi/Desktop/x.proj (default target(s)):
 Target Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that 
project. It doesn't do anything except for output version info then
exit.

 I'll
pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan
alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com mailto:chasel...@gmail.com
 
   Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another
 machine. Also, I kinda would like to figure out why
 xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be
 able to build Pash on another machine and just
 copy over the .exe, it is managed code after
all ;)



 From: chasel...@gmail.com mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build
 project

 Just built and installed mono 4.0 from sources.
 Basic Hello World console program builds and
 runs successfully but basic Hello World project
 (hello.proj) won't build; xbuild displays the
 banner and then exits with no errors and without
 building the project.

 Here's the hello.proj
  Project
   xmlns=http://schemas.microsoft.com/developer/msbuild/2003;
   http://schemas.microsoft.com/developer/msbuild/2003%22%3e;
 Target Name=Build
 Message Importance=High Text=Hello, World! /
 /Target
 /Project

 I;ve tried /verbosity:detailed and several other
 flags. I've tried running path/to/mono

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

2015-06-05 Thread Cyd Haselton
 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 : /home/atsushi/Desktop/x.proj: Name cannot begin with
the 
' ' character, hexadecimal value 0x20. Line 1, position 2.

  0 Warning(s)
  1 Error(s)

Time Elapsed 00:00:00.0105090
-

Once I fixed the extraneous space between '' and Project, it printed

Hello world as expected:


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

Build started 6/5/2015 2:11:17 AM.

Project /home/atsushi/Desktop/x.proj (default target(s)):
 Target Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that 
project. It doesn't do anything except for output version info then
exit.

 I'll
pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan
alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com mailto:chasel...@gmail.com
 
   Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another
 machine. Also, I kinda would like to figure out why
 xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be
 able to build Pash on another machine and just
 copy over the .exe, it is managed code after
all ;)



 From: chasel...@gmail.com mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build
 project

 Just built and installed mono 4.0 from sources.
 Basic Hello World console program builds and
 runs successfully but basic Hello World project
 (hello.proj) won't build; xbuild displays the
 banner and then exits with no errors and without
 building the project.

 Here's the hello.proj
  Project
   xmlns=http://schemas.microsoft.com/developer

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

2015-06-05 Thread Cyd Haselton
 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 : /home/atsushi/Desktop/x.proj: Name cannot begin with
the 
' ' character, hexadecimal value 0x20. Line 1, position 2.

  0 Warning(s)
  1 Error(s)

Time Elapsed 00:00:00.0105090
-

Once I fixed the extraneous space between '' and Project, it printed

Hello world as expected:


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

Build started 6/5/2015 2:11:17 AM.

Project /home/atsushi/Desktop/x.proj (default target(s)):
 Target Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that 
project. It doesn't do anything except for output version info then
exit.

 I'll
pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan
alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com mailto:chasel...@gmail.com
 
   Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another
 machine. Also, I kinda would like to figure out why
 xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be
 able to build Pash on another machine and just
 copy over the .exe, it is managed code after
all ;)



 From: chasel...@gmail.com mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build
 project

 Just built and installed mono 4.0 from sources.
 Basic Hello World console program builds and
 runs successfully but basic Hello World project
 (hello.proj) won't build; xbuild displays the
 banner and then exits with no errors and without
 building the project.

 Here's the hello.proj
  Project
   xmlns=http://schemas.microsoft.com/developer/msbuild/2003;
   http://schemas.microsoft.com/developer/msbuild/2003%22%3e;
 Target Name=Build
 Message Importance=High Text=Hello, World! /
 /Target
 /Project

 I;ve tried /verbosity:detailed and several other
 flags. I've tried running path/to/mono -v
 /path/to/xbuild.exe proj.proj. Same thing happens

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

2015-06-05 Thread Cyd Haselton
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 : /home/atsushi/Desktop/x.proj: Name cannot begin with
the 
' ' character, hexadecimal value 0x20. Line 1, position 2.

  0 Warning(s)
  1 Error(s)

Time Elapsed 00:00:00.0105090
-

Once I fixed the extraneous space between '' and Project, it printed

Hello world as expected:


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

Build started 6/5/2015 2:11:17 AM.

Project /home/atsushi/Desktop/x.proj (default target(s)):
 Target Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that 
 project. It doesn't do
anything except for output version info then exit.

 I'll
pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan
alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com mailto:chasel...@gmail.com
 
   Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another
 machine. Also, I kinda would like to figure out why
 xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be
 able to build Pash on another machine and just
 copy over the .exe, it is managed code after
all ;)



 From: chasel...@gmail.com mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build
 project

 Just built and installed mono 4.0 from sources.
 Basic Hello World console program builds and
 runs successfully but basic Hello World project

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

2015-06-05 Thread Cyd Haselton
 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 : /home/atsushi/Desktop/x.proj: Name cannot begin with
the 
' ' character, hexadecimal value 0x20. Line 1, position 2.

  0 Warning(s)
  1 Error(s)

Time Elapsed 00:00:00.0105090
-

Once I fixed the extraneous space between '' and Project, it printed

Hello world as expected:


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

Build started 6/5/2015 2:11:17 AM.

Project /home/atsushi/Desktop/x.proj (default target(s)):
 Target Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that 
project. It doesn't do anything except for output version info then
exit.

 I'll
pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan
alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com mailto:chasel...@gmail.com
 
   Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another
 machine. Also, I kinda would like to figure out why
 xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be
 able to build Pash on another machine and just
 copy over the .exe, it is managed code after
all ;)



 From: chasel...@gmail.com mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build
 project

 Just built and installed mono 4.0 from sources.
 Basic Hello World console program builds and
 runs successfully but basic Hello World project
 (hello.proj) won't build; xbuild displays the
 banner and then exits with no errors and without
 building the project.

 Here's the hello.proj
  Project
   xmlns=http://schemas.microsoft.com/developer/msbuild/2003;
   http://schemas.microsoft.com/developer/msbuild/2003%22%3e;
 Target Name=Build
 Message Importance=High Text=Hello, World! /
 /Target
 /Project

 I;ve tried /verbosity:detailed and several other
 flags. I've tried running path/to/mono -v
 /path/to/xbuild.exe proj.proj. Same thing happens

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

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

2015-06-05 Thread Cyd Haselton
[]) 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 : /home/atsushi/Desktop/x.proj: Name cannot begin with
the 
' ' character, hexadecimal value 0x20. Line 1, position 2.

  0 Warning(s)
  1 Error(s)

Time Elapsed 00:00:00.0105090
-

Once I fixed the extraneous space between '' and Project, it printed

Hello world as expected:


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

Build started 6/5/2015 2:11:17 AM.

Project /home/atsushi/Desktop/x.proj (default target(s)):
 Target Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that 
 project. It doesn't do
anything except for output version info then exit.

 I'll
pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan
alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com mailto:chasel...@gmail.com
 
   Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another

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

2015-06-04 Thread Cyd Haselton
 Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that 
project. It doesn't do anything except for output version info then
exit.

 I'll
pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan
alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.




 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com mailto:chasel...@gmail.com
 
   Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another
 machine. Also, I kinda would like to figure out why
 xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be
 able to build Pash on another machine and just
 copy over the .exe, it is managed code after
all ;)



 From: chasel...@gmail.com mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build
 project

 Just built and installed mono 4.0 from sources.
 Basic Hello World console program builds and
 runs successfully but basic Hello World project
 (hello.proj) won't build; xbuild displays the
 banner and then exits with no errors and without
 building the project.

 Here's the hello.proj
  Project
   xmlns=http://schemas.microsoft.com/developer/msbuild/2003;
   http://schemas.microsoft.com/developer/msbuild/2003%22%3e;
 Target Name=Build
 Message Importance=High Text=Hello, World! /
 /Target
 /Project

 I;ve tried /verbosity:detailed and several other
 flags. I've tried running path/to/mono -v
 /path/to/xbuild.exe proj.proj. Same thing happens
 every time:

 /bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.proj
 XBuild Engine Version 12.0
 Mono, Version 4.0.0.0 http://4.0.0.0
 Copyright (C) 2005-2013 Various Mono authors
 /bld/pash/Pash-Project-Pash-bc07215 $

 Please help...this is driving me crazy.


 -- 
 Sent from my Android device with K-9 Mail. Please
 excuse my brevity.


 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 mailto: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-04 Thread Cyd Haselton
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 : /home/atsushi/Desktop/x.proj: Name cannot begin with
the 
' ' character, hexadecimal value 0x20. Line 1, position 2.

  0 Warning(s)
  1 Error(s)

Time Elapsed 00:00:00.0105090
-

Once I fixed the extraneous space between '' and Project, it printed

Hello world as expected:


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

Build started 6/5/2015 2:11:17 AM.
__
Project /home/atsushi/Desktop/x.proj (default target(s)):
 Target Build:
 Hello, World!
Done building project /home/atsushi/Desktop/x.proj.

Build succeeded.
  0 Warning(s)
  0 Error(s)

Time Elapsed 00:00:00.0708910


A precise repro steps would help inspecting possible bugs.

Atsushi Eno


On 2015年06月03日 19:31, Cyd Haselton wrote:
 Thing is xbuild doesn't even complain about the syntax errors in that

 project. It doesn't do anything except for output version info then
exit.

 I'll pastebin the file ifthe rebuild I;m working on doesn;t resolve 
 the issue.

 Thanks!

 On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 Can you use a pastebin to attach the actual file you're trying to
 build? The text you attached has two syntax errors in it and
would
 not work as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com
 mailto:chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan alan.mcgov...@gmail.com
 mailto:alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't
 set a default target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 Yeah, but it's much easier on another machine since
we
 got the official packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild
 to show if/what it does before it exits.





 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
 project
 From: chasel...@gmail.com
mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com;
 mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another
 machine. Also, I kinda would like to figure out why
 xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
 alex.koeplin...@outlook.com
 mailto:alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be
 able to build Pash on another machine and just
 copy over the .exe, it is managed code after all
;)




 From: chasel...@gmail.com
mailto:chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 mailto:mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build
 project

 Just built and installed mono 4.0 from sources.
 Basic Hello World

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

2015-06-04 Thread Cyd Haselton
Here you go:

/bld/pash/Pash-Project-Pash-bc07215 $ xbuild /verbosity:diagnostic
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 3, 2015 12:10:42 PM CDT, Alan alan.mcgov...@gmail.com wrote:
In the file you linked, a default target is set:
https://github.com/Pash-Project/Pash/blob/master/Pash.proj#L2

That means if you don't specify a target, 'Build' will be executed (in
this
case). In the original email i would expect the output to be empty
because
no target was specified and no default target was set.

So if there is a bug we will need the actual output (with
/verbosity:diagnostic passed to xbuild) when trying to build the actual
proj file.

Alan

On 3 June 2015 at 12:29, Alexander Köplinger
alex.koeplin...@outlook.com
wrote:

  You didn't tell xbuild to build anything and you didn't set a
default
 target in your proj file.

 FYI, xbuild/msbuild probes for *.proj/*.sln and builds the first it
finds
 when you omit the argument.

  Can you use a pastebin to attach the actual file you're trying to
build?

 The project is https://github.com/Pash-Project/Pash which builds fine
on
 Linux with Mono on TravisCI, so I guess it's something specific to
the
 xbuild on android environment, most likely some runtime issue.

 -- Alex

 --
 Date: Wed, 3 Jun 2015 12:18:11 +0100
 Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project
 From: alan.mcgov...@gmail.com
 To: chasel...@gmail.com
 CC: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com


 Can you use a pastebin to attach the actual file you're trying to
build?
 The text you attached has two syntax errors in it and would not work
as-is.

 A slightly modified file works as expected for me:
 https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

 Hope that helps!
 Alan

 On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't set a default
 target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
alex.koeplin...@outlook.com
 wrote:

 Yeah, but it's much easier on another machine since we got the
official
 packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild to show if/what
it
 does before it exits.



 --
 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
 From: chasel...@gmail.com
 Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another machine. Also, I
kinda
 would like to figure out why xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger 
 alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be able to build Pash
on
 another machine and just copy over the .exe, it is managed code after
all
 ;)


 --
 From: chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build project

 Just built and installed mono 4.0 from sources. Basic Hello World
 console program builds and runs successfully but basic Hello World
 project (hello.proj) won't build; xbuild displays the banner and then
exits
 with no errors and without building the project.

 Here's the hello.proj
  Project
xmlns=http://schemas.microsoft.com/developer/msbuild/2003;;
 Target Name=Build
 Message Importance=High Text=Hello, World! /
 /Target
 /Project

 I;ve tried /verbosity:detailed and several other flags. I've tried
running
 path/to/mono -v /path/to/xbuild.exe proj.proj. Same thing happens
every
 time:

 /bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.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 $

 Please help...this is driving me crazy.


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.

 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list



 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.




-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
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-03 Thread Cyd Haselton
I did try xbuild /t:Build Pash.proj.  Same result.

I will try the --trace xbuild after I rebuild mono again.

On June 3, 2015 3:18:34 AM CDT, Alan alan.mcgov...@gmail.com wrote:
You didn't tell xbuild to build anything and you didn't set a default
target in your proj file.

Try `xbuild /t:Build Pash.proj`

On 2 June 2015 at 23:29, Alexander Köplinger
alex.koeplin...@outlook.com
wrote:

 Yeah, but it's much easier on another machine since we got the
official
 packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild to show if/what
it
 does before it exits.



 --
 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
 From: chasel...@gmail.com
 Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another machine. Also, I
kinda
 would like to figure out why xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger 
 alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be able to build Pash
on
 another machine and just copy over the .exe, it is managed code after
all
 ;)


 --
 From: chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build project

 Just built and installed mono 4.0 from sources. Basic Hello World
 console program builds and runs successfully but basic Hello World
 project (hello.proj) won't build; xbuild displays the banner and then
exits
 with no errors and without building the project.

 Here's the hello.proj
  Project
xmlns=http://schemas.microsoft.com/developer/msbuild/2003;;
 Target Name=Build
 Message Importance=High Text=Hello, World! /
 /Target
 /Project

 I;ve tried /verbosity:detailed and several other flags. I've tried
running
 path/to/mono -v /path/to/xbuild.exe proj.proj. Same thing happens
every
 time:

 /bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.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 $

 Please help...this is driving me crazy.


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.

 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list



-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
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-03 Thread Cyd Haselton
Thing is xbuild doesn't even complain about the syntax errors in that project.  
It doesn't do anything except for output version info then exit.

I'll pastebin the file ifthe rebuild I;m working on doesn;t resolve the issue.

Thanks!

On June 3, 2015 6:18:11 AM CDT, Alan alan.mcgov...@gmail.com wrote:
Can you use a pastebin to attach the actual file you're trying to
build?
The text you attached has two syntax errors in it and would not work
as-is.

A slightly modified file works as expected for me:
https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

Hope that helps!
Alan

On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com wrote:

 I did try xbuild /t:Build Pash.proj. Same result.

 I will try the --trace xbuild after I rebuild mono again.


 On June 3, 2015 3:18:34 AM CDT, Alan alan.mcgov...@gmail.com wrote:

 You didn't tell xbuild to build anything and you didn't set a
default
 target in your proj file.

 Try `xbuild /t:Build Pash.proj`

 On 2 June 2015 at 23:29, Alexander Köplinger
alex.koeplin...@outlook.com
  wrote:

 Yeah, but it's much easier on another machine since we got the
official
 packages for Mono there :)

 Try running xbuild with MONO_OPTIONS=--trace xbuild to show
if/what it
 does before it exits.



 --
 Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
 From: chasel...@gmail.com
 Date: Tue, 2 Jun 2015 17:15:14 -0500
 To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com


 Excellent point.

 Then again...i'd have to install mono on another machine. Also, I
kinda
 would like to figure out why xbuild is misbehaving on this one...

 On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger 
 alex.koeplin...@outlook.com wrote:

 No idea about the xbuild issue, but you should be able to build
Pash on
 another machine and just copy over the .exe, it is managed code
after all
 ;)


 --
 From: chasel...@gmail.com
 Date: Tue, 2 Jun 2015 16:54:19 -0500
 To: mono-devel-list@lists.ximian.com
 Subject: [Mono-dev] mono 4.0.0 xbuild won't build project

 Just built and installed mono 4.0 from sources. Basic Hello World
 console program builds and runs successfully but basic Hello
World
 project (hello.proj) won't build; xbuild displays the banner and
then exits
 with no errors and without building the project.

 Here's the hello.proj
  Project
xmlns=http://schemas.microsoft.com/developer/msbuild/2003;;
 Target Name=Build
 Message Importance=High Text=Hello, World! /
 /Target
 /Project

 I;ve tried /verbosity:detailed and several other flags. I've tried
 running path/to/mono -v /path/to/xbuild.exe proj.proj. Same thing
happens
 every time:

 /bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.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 $

 Please help...this is driving me crazy.


 --
 Sent from my Android device with K-9 Mail. Please excuse my
brevity.

 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list



 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
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-03 Thread Cyd Haselton
I'm hoping the rebuild I;m currently working on will resolve it.  Will report 
back with results.

On June 3, 2015 6:29:53 AM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
 You didn't tell xbuild to build anything and you didn't set a default
target in your proj file.
 
FYI, xbuild/msbuild probes for *.proj/*.sln and builds the first it
finds when you omit the argument.
 
 Can you use a pastebin to attach the actual file you're trying to
build?
 
The project is https://github.com/Pash-Project/Pash which builds fine
on Linux with Mono on TravisCI, so I guess it's something specific to
the xbuild on android environment, most likely some runtime issue.
-- Alex
 
Date: Wed, 3 Jun 2015 12:18:11 +0100
Subject: Re: [Mono-dev] mono 4.0.0 xbuild won't build project
From: alan.mcgov...@gmail.com
To: chasel...@gmail.com
CC: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com

Can you use a pastebin to attach the actual file you're trying to
build? The text you attached has two syntax errors in it and would not
work as-is.
A slightly modified file works as expected for me:
https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee

Hope that helps!
Alan
On 3 June 2015 at 11:54, Cyd Haselton chasel...@gmail.com wrote:
I did try xbuild /t:Build Pash.proj.  Same result.



I will try the --trace xbuild after I rebuild mono again.

On June 3, 2015 3:18:34 AM CDT, Alan alan.mcgov...@gmail.com wrote:
You didn't tell xbuild to build anything and you didn't set a default
target in your proj file.
Try `xbuild /t:Build Pash.proj`
On 2 June 2015 at 23:29, Alexander Köplinger
alex.koeplin...@outlook.com wrote:



Yeah, but it's much easier on another machine since we got the official
packages for Mono there :)
 
Try running xbuild with MONO_OPTIONS=--trace xbuild to show if/what
it does before it exits.


 
Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build project
From: chasel...@gmail.com
Date: Tue, 2 Jun 2015 17:15:14 -0500
To: alex.koeplin...@outlook.com; mono-devel-list@lists.ximian.com

Excellent point.



Then again...i'd have to install mono on another machine.  Also, I
kinda would like to figure out why xbuild is misbehaving on this one...

On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger
alex.koeplin...@outlook.com wrote:



No idea about the xbuild issue, but you should be able to build Pash on
another machine and just copy over the .exe, it is managed code after
all ;) 

 
From: chasel...@gmail.com
Date: Tue, 2 Jun 2015 16:54:19 -0500
To: mono-devel-list@lists.ximian.com
Subject: [Mono-dev] mono 4.0.0 xbuild won't build project

Just built and installed mono 4.0 from sources.  Basic Hello World
console program builds and runs successfully but basic Hello World
project (hello.proj) won't build; xbuild displays the banner and then
exits with no errors and without building the project.



Here's the hello.proj

 Project xmlns=http://schemas.microsoft.com/developer/msbuild/2003;;

 Target Name=Build

  Message Importance=High Text=Hello, World! /

 /Target

/Project



I;ve tried /verbosity:detailed and several other flags.  I've tried
running path/to/mono -v /path/to/xbuild.exe proj.proj. Same thing
happens every time:



/bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.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 $



Please help...this is driving me crazy.




-- 

Sent from my Android device with K-9 Mail. Please excuse my brevity.   


___

Mono-devel-list mailing list

Mono-devel-list@lists.ximian.com

http://lists.ximian.com/mailman/listinfo/mono-devel-list






-- 

Sent from my Android device with K-9 Mail. Please excuse my brevity.
 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2015-06-02 Thread Cyd Haselton
Just built and installed mono 4.0 from sources.  Basic Hello World console 
program builds and runs successfully but basic Hello World project 
(hello.proj) won't build; xbuild displays the banner and then exits with no 
errors and without building the project.

Here's the hello.proj
 Project xmlns=http://schemas.microsoft.com/developer/msbuild/2003;
Target Name=Build
Message Importance=High Text=Hello, World! /
/Target
/Project

I;ve tried /verbosity:detailed and several other flags.  I've tried running 
path/to/mono -v /path/to/xbuild.exe proj.proj. Same thing happens every time:

/bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.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 $

Please help...this is driving me crazy.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
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-02 Thread Cyd Haselton
Excellent point.

Then again...i'd have to install mono on another machine.  Also, I kinda would 
like to figure out why xbuild is misbehaving on this one...

On June 2, 2015 5:04:07 PM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
No idea about the xbuild issue, but you should be able to build Pash on
another machine and just copy over the .exe, it is managed code after
all ;) 
 
From: chasel...@gmail.com
Date: Tue, 2 Jun 2015 16:54:19 -0500
To: mono-devel-list@lists.ximian.com
Subject: [Mono-dev] mono 4.0.0 xbuild won't build project

Just built and installed mono 4.0 from sources.  Basic Hello World
console program builds and runs successfully but basic Hello World
project (hello.proj) won't build; xbuild displays the banner and then
exits with no errors and without building the project.



Here's the hello.proj

 Project xmlns=http://schemas.microsoft.com/developer/msbuild/2003;;

   Target Name=Build

   Message Importance=High Text=Hello, World! /

   /Target

/Project



I;ve tried /verbosity:detailed and several other flags.  I've tried
running path/to/mono -v /path/to/xbuild.exe proj.proj. Same thing
happens every time:



/bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.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 $



Please help...this is driving me crazy.



-- 

Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list   
  

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] mono make install fails with Error 1

2015-06-01 Thread Cyd Haselton
The second one...all of the gac installs failed.

I finally did 'make clean  make' and now the gac installs...the original 
problematic System and the rest...are running correctly.  UPDATE: I went back 
and checked the 'make install' run and it has completed without errors

I didn't run a 'make check' however, so hopefully the install works.  
Ironically, I only needed to build mono so that I could install pash...so we'll 
see how THAT goes...

Again, thanks for all of your help!

Time to find coffee

On May 31, 2015 11:06:43 PM CDT, Robert N sushihango...@outlook.com wrote:
When you say 'looks like none of the classes built', do you mean that
during the original 'make' run the .dll and xxx.dll.mdb files were
NOT built/compiled and di not exist in the mcs/lib/net_4_5 dir, or they
do all exist and that the gac install is failing like the first
System.dll...

If 'just' the gac issue, did everything get copied into place in the
install dir? i.e. mono and such in the bin dir, all the .net class dlls
in install-dir/lib/mono/4.5... (i.e. can always manually run the gac
update to at least get a working mono on your system for now...)

Did you run 'make check' after your original make run to do a sanity
check of the build? Just wondering if everything else in the Android
build  is actually ok. Not sure what your hardware exists off, but make
check can take a...while...torun.  ;-)




 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 14:37:54 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 Yeah...looks like none of the classes built. Here's a snip: 
 
 make[7]: Entering directory
`/bld/mono/mono-4.0.0/mcs/class/System.XML' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.Xml.dll /f /root /usr/mono/lib 
 /package 4.5 
 make[7]: *** [install-local] Error 1 
 make[7]: Leaving directory
`/bld/mono/mono-4.0.0/mcs/class/System.XML' 
 make[6]: *** [do-install] Error 2 make[6]: Target `install' not
remade 
 because of errors. 
 make[6]: Leaving directory
`/bld/mono/mono-4.0.0/mcs/class/System.XML' 
 WARNING: generic atexit() called from legacy shared library -- 
 make[7]: Entering directory 
 `/bld/mono/mono-4.0.0/mcs/class/Mono.CompilerServices.SymbolWriter' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/Mono.CompilerServices.SymbolWriter.dll /f 
 /root /usr/mono/lib /package 4.5 
 make[7]: *** [install-local] Error 1 
 make[7]: Leaving directory 
 `/bld/mono/mono-4.0.0/mcs/class/Mono.CompilerServices.SymbolWriter' 
 make[6]: *** [do-install] Error 2 
 make[6]: Target `install' not remade because of errors. 
 make[6]: Leaving directory 
 `/bld/mono/mono-4.0.0/mcs/class/Mono.CompilerServices.SymbolWriter' 
 WARNING: generic atexit() called from legacy shared library 
 
 On May 31, 2015 12:51:00 PM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 Cool, well at least we know it is not perms issue... 
 
 You can always run make with --keep-going and see it the rest of the
gacutil calls are an issue but everything is ok... (fingers crossed) 
 
 Try something like: 
 
 make --keep-going install 21 | tee /tmp/monooinstall.log 
 
 and that way you can grep out the failures after the run... 
 
 More coffee please... ;-) 
 
  
 
 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 12:31:04 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 Hopefully that won't deter you (the Android bit, not the coffee) 
 
 Here's the successful output from the manual run of gacutil.exe 
 
 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -i ./System.dll 
 Installed ./System.dll into the gac (/usr/mono/lib/mono/gac) 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -l System 
 The following assemblies are installed into the GAC: 
 System, Version=4.0.0.0http://4.0.0.0http://4.0.0.0,
Culture=neutral, 
 PublicKeyToken=b77a5c561934e089 
 Number of items = 1 
 
 I wonder why it's not working in make install... 
 
 On May 31, 2015 12:21:39 PM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 No, did not lose me, but still working on the coffee ;-) Personally
never build/installed on android 
 
 No output on gacutil -i System.dll gacutil -l is a problem...
h 
 
 Ok, lets prove (or eliminate) the gac install as a problem, gacutil
is just 
 a script that runs mono with the gacutil.exe with some options passed
in... 
 
 So, in your mono source/build dir, cd into the mcs/class/lib/net_4_5
dir and manually run gacutil.exe with the System.dll (both should be in
that dir)... your 

Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
If I didn't lose you at no sudo, Android here's the output from make 
--debug=vv install:

Invoking recipe from ../../build/library.make:197 to update target 
`install-local'.
make[1]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System'
MONO_PATH=./../../class/lib/build:$MONO_PATH 
/bld/mono/mono-4.0.0/runtime/mono-wrapper  ./../../class/lib/build/gacutil.exe 
/i ./../../class/lib/net_4_5/System.dll /f /gacdir /usr/mono/lib /root 
/usr/mono/lib /package 4.5
make[1]: *** [install-local] Error 1
make[1]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System'
make: *** [do-install] Error 2

On May 31, 2015 11:30:51 AM CDT, Robert N sushihango...@outlook.com wrote:
did you try it with sudo?

cd into the mcs/class/System and do a 'gacutil -i System.dll' to see if
that is really working.

and check the results via : gacutil -l 

Also run make in verbose debug mode and see which step is failing.


 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:15:00 -0500 
 To: mono-devel-list@lists.ximian.com 
 CC: sushihango...@outlook.com 
 
 This is going to sound weird, but I think the error is being thrown 
 after the update but before the successful install message. 
 
 Here's the listing of lib/mono/gac and subdirs after running make 
 install in sourcebasedir/mcs/class/System: 
 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 . 
 drwxrwx--- 8 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 System 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac/System/ 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06
4.0.0.0__b77a5c561934e089 
 /bld/mono/mono-4.0.0 $ ls -al 
 /usr/mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/ 
 total 2856 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 .. 
 -rwxrwx--- 1 u0_a186 u0_a186 2063360 May 30 06:12 System.dll 
 -rw-rwx--- 1 u0_a186 u0_a186 851131 May 30 06:12 System.dll.mdb 
 
 But make install still fails 
 
 
 
 On May 31, 2015 10:53:09 AM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 Permissions problem? Looks like you are installing into /usr/mono/lib
(FYI: I'd be careful, installing builds into system usr is not a good
idea usually). 
 
 At that point of the install it is trying to update the gac with
System.dll so I would assume you do not have permissions, you can
always do a 'sudo make install'. 
 
 If you cd into sourcebasedir/mcs/class/System and do a sudo make
install you should see the successful gac update like this: 
 
 Installed ./../../class/lib/net_4_5/System.dll into the gac
(/Users/administrator/playscript-install/lib/mono/gac) 
 
 
  
 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 09:29:20 -0500 
 To: mono-devel-list@lists.ximian.com 
 Subject: [Mono-dev] mono make install fails with Error 1 
 
 I've finally managed to get mono to 
 build from sources, but make 
 install invoked from the top build directory fails at the following 
 point: 
 
 make[6]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make install-local 
 WARNING: generic atexit() called from legacy shared library 
 make[7]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 
 4.5 
 make[7]: *** [install-local] Error 1 
 make[7]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make[6]: *** [do-install] Error 2 
 
 Error 1 is the only error thrown. 
 
 I can run this command without errors 
 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 
 4.5 
 
 And I can run the final command in mono-wrapper without errors 
 
 /bld/mono/mono-4.0.0 $ /bld/mono/mono-4.0.0/libtool --verbose 
 --mode=execute mono/mini/mono --config 
 /bld/mono/mono-4.0.0/runtime/etc/mono/config 
 mcs/class/lib/build/gacutil.exe /i mcs/class/lib/net_4_5/System.dll

 /f /root /usr/mono/lib /package 4.5 
 
 But running 'make install' fails. Any ideas? 
  
 Mono-devel-list mailing 
 list Mono-devel-list@lists.ximian.com 
 http://lists.ximian.com/mailman/listinfo/mono-devel-list 
 
 
 -- 
 Sent from my Android device with K-9 Mail. Please excuse my brevity. 
 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com

Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
Unfortunately based on what I;m seeing, the rest of the install is throwing 
errors as well.

I'll go through the log once it's done.

On May 31, 2015 12:51:00 PM CDT, Robert N sushihango...@outlook.com wrote:
Cool, well at least we know it is not perms issue...

You can always run make with --keep-going and see it the rest of the
gacutil calls are an issue but everything is ok... (fingers crossed)

Try something like:

make --keep-going install 21 | tee /tmp/monooinstall.log

and that way you can grep out the failures after the run...

More coffee please... ;-)


 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 12:31:04 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 Hopefully that won't deter you (the Android bit, not the coffee) 
 
 Here's the successful output from the manual run of gacutil.exe 
 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -i ./System.dll 
 Installed ./System.dll into the gac (/usr/mono/lib/mono/gac) 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -l System 
 The following assemblies are installed into the GAC: 
 System, Version=4.0.0.0http://4.0.0.0, Culture=neutral, 
 PublicKeyToken=b77a5c561934e089 
 Number of items = 1 
 
 I wonder why it's not working in make install... 
 
 On May 31, 2015 12:21:39 PM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 No, did not lose me, but still working on the coffee ;-) Personally
never build/installed on android 
 
 No output on gacutil -i System.dll gacutil -l is a problem...
h 
 
 Ok, lets prove (or eliminate) the gac install as a problem, gacutil
is just a script that runs mono with the gacutil.exe with some options
passed in... 
 
 So, in your mono source/build dir, cd into the mcs/class/lib/net_4_5
dir and manually run gacutil.exe with the System.dll (both should be in
that dir)... your built mono binary should be in mono/mini, so the cmd
should look like: 
 
 ../../../../mono/mini/mono ./gacutil.exe -i ./System.dll 
 
 Try it that way first and if it fails, rerun it and add -v to mono
for verbose output: 
 
 ../../../../mono/mini/mono -v ./gacutil.exe -i ./System.dll 
 
 Passed/installed into gac: 
 
 pwd 

/Users/administrator/Documents/Code/playscript/Playscript-master/mcs/class/lib/net_4_5

 Win81Pro:net_4_5 administrator$ ../../../../mono/mini/mono
./gacutil.exe -i ./System.dll 
 Installed ./System.dll into the gac
(/Users/administrator/mono-install/lib/mono/gac) 
 
 gacutil -l System 
 The following assemblies are installed into the GAC: 
 System, Version=4.0.0.0http://4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 
 Number of items = 1 
 
 
  
 
 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:49:26 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 If I didn't lose you at no sudo, Android here's the output from
make 
 --debug=vv install: 
 
 Invoking recipe from ../../build/library.make:197 to update target 
 `install-local'. 
 make[1]: 
 Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /gacdir /usr/mono/lib /root 
 /usr/mono/lib /package 4.5 
 make[1]: *** [install-local] Error 1 
 make[1]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make: *** [do-install] Error 2 
 
 On May 31, 2015 11:30:51 AM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 did you try it with sudo? 
 
 cd into the mcs/class/System and do a 'gacutil -i System.dll' to see
if that is really working. 
 
 and check the results via : gacutil -l 
 
 Also run make in verbose debug mode and see which step is failing. 
 
  
 
 
 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: 
 Sun, 31 May 2015 11:15:00 -0500 
 To: mono-devel-list@lists.ximian.com 
 CC: sushihango...@outlook.com 
 
 This is going to sound weird, but I think the error is being thrown 
 after the update but before the successful install message. 
 
 Here's the listing of lib/mono/gac and subdirs after running make 
 install in sourcebasedir/mcs/class/System: 
 
 /bld/mono/mono-4.0.0 $ ls -al 
 /usr/mono/lib/mono/gac 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 . 
 drwxrwx--- 8 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 System 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac/System/ 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06
4.0.0.0__b77a5c561934e089 
 /bld/mono/mono-4.0.0 $ ls -al 
 
 

Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
Will try it.  Thanks for the help!

Oh and I still haven't gotten my coffee yet...

On May 31, 2015 12:51:00 PM CDT, Robert N sushihango...@outlook.com wrote:
Cool, well at least we know it is not perms issue...

You can always run make with --keep-going and see it the rest of the
gacutil calls are an issue but everything is ok... (fingers crossed)

Try something like:

make --keep-going install 21 | tee /tmp/monooinstall.log

and that way you can grep out the failures after the run...

More coffee please... ;-)


 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 12:31:04 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 Hopefully that won't deter you (the Android bit, not the coffee) 
 
 Here's the successful output from the manual run of gacutil.exe 
 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -i ./System.dll 
 Installed ./System.dll into the gac (/usr/mono/lib/mono/gac) 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -l System 
 The following assemblies are installed into the GAC: 
 System, Version=4.0.0.0http://4.0.0.0, Culture=neutral, 
 PublicKeyToken=b77a5c561934e089 
 Number of items = 1 
 
 I wonder why it's not working in make install... 
 
 On May 31, 2015 12:21:39 PM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 No, did not lose me, but still working on the coffee ;-) Personally
never build/installed on android 
 
 No output on gacutil -i System.dll gacutil -l is a problem...
h 
 
 Ok, lets prove (or eliminate) the gac install as a problem, gacutil
is just a script that runs mono with the gacutil.exe with some options
passed in... 
 
 So, in your mono source/build dir, cd into the mcs/class/lib/net_4_5
dir and manually run gacutil.exe with the System.dll (both should be in
that dir)... your built mono binary should be in mono/mini, so the cmd
should look like: 
 
 ../../../../mono/mini/mono ./gacutil.exe -i ./System.dll 
 
 Try it that way first and if it fails, rerun it and add -v to mono
for verbose output: 
 
 ../../../../mono/mini/mono -v ./gacutil.exe -i ./System.dll 
 
 Passed/installed into gac: 
 
 pwd 

/Users/administrator/Documents/Code/playscript/Playscript-master/mcs/class/lib/net_4_5

 Win81Pro:net_4_5 administrator$ ../../../../mono/mini/mono
./gacutil.exe -i ./System.dll 
 Installed ./System.dll into the gac
(/Users/administrator/mono-install/lib/mono/gac) 
 
 gacutil -l System 
 The following assemblies are installed into the GAC: 
 System, Version=4.0.0.0http://4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 
 Number of items = 1 
 
 
  
 
 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:49:26 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 If I didn't lose you at no sudo, Android here's the output from
make 
 --debug=vv install: 
 
 Invoking recipe from ../../build/library.make:197 to update target 
 `install-local'. 
 make[1]: 
 Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /gacdir /usr/mono/lib /root 
 /usr/mono/lib /package 4.5 
 make[1]: *** [install-local] Error 1 
 make[1]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make: *** [do-install] Error 2 
 
 On May 31, 2015 11:30:51 AM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 did you try it with sudo? 
 
 cd into the mcs/class/System and do a 'gacutil -i System.dll' to see
if that is really working. 
 
 and check the results via : gacutil -l 
 
 Also run make in verbose debug mode and see which step is failing. 
 
  
 
 
 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: 
 Sun, 31 May 2015 11:15:00 -0500 
 To: mono-devel-list@lists.ximian.com 
 CC: sushihango...@outlook.com 
 
 This is going to sound weird, but I think the error is being thrown 
 after the update but before the successful install message. 
 
 Here's the listing of lib/mono/gac and subdirs after running make 
 install in sourcebasedir/mcs/class/System: 
 
 /bld/mono/mono-4.0.0 $ ls -al 
 /usr/mono/lib/mono/gac 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 . 
 drwxrwx--- 8 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 System 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac/System/ 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06
4.0.0.0__b77a5c561934e089 
 /bld/mono/mono-4.0.0 $ ls -al 
 
 

Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
Robert...I re-ran the gacutil -I command with the -v switch and got the 
following:

/bld/mono/mono-4.0.0/mcs/class/System $ 
/bld/mono/mono-4.0.0/runtime/mono-wrapper -v ../../class/lib/build/gacutil.exe 
-i System.dll
Failure adding assembly System.dll to the cache: The system cannot find the 
file specified.

Re-running it again with the path to class/build/System yields:

/bld/mono/mono-4.0.0/mcs/class/System $ 
/bld/mono/mono-4.0.0/runtime/mono-wrapper -v ../../class/lib/build/gacutil.exe 
-i ../../class/lib/build/System.dll
Failure adding assembly ../../class/lib/build/System.dll to the cache: Strong 
name cannot be verified for delay-signed assembly

On May 31, 2015 12:06:17 PM CDT, Alexander Köplinger 
alex.koeplin...@outlook.com wrote:
You can try make install V=1 for more output as well. 
 
From: chasel...@gmail.com
Date: Sun, 31 May 2015 11:49:26 -0500
To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] mono make install fails with Error 1

If I didn't lose you at no sudo, Android here's the output from make
--debug=vv install:



Invoking recipe from ../../build/library.make:197 to update target
`install-local'.

make[1]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System'

MONO_PATH=./../../class/lib/build:$MONO_PATH
/bld/mono/mono-4.0.0/runtime/mono-wrapper 
./../../class/lib/build/gacutil.exe /i
./../../class/lib/net_4_5/System.dll /f /gacdir /usr/mono/lib /root
/usr/mono/lib /package 4.5

make[1]: *** [install-local] Error 1

make[1]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System'

make: *** [do-install] Error 2

On May 31, 2015 11:30:51 AM CDT, Robert N sushihango...@outlook.com
wrote:
did you try it with sudo?

cd into the mcs/class/System and do a 'gacutil -i System.dll' to see if
that is really working.

and check the results via : gacutil -l 

Also run make in verbose debug mode and see which step is failing.


 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:15:00 -0500 
 To: mono-devel-list@lists.ximian.com 
 CC: sushihango...@outlook.com 
 
 This is going to sound weird, but I think the error is being thrown 
 after the update but before the successful install message. 
 
 Here's the listing of lib/mono/gac and subdirs after running make 
 install in sourcebasedir/mcs/class/System: 
 
 /bld/mono/mono-4.0.0 $ ls -al
/usr/mono/lib/mono/gac 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 . 
 drwxrwx--- 8 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 System 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac/System/ 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 .. 
drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06
4.0.0.0__b77a5c561934e089 
 /bld/mono/mono-4.0.0 $ ls -al 
 /usr/mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/ 
 total 2856 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 .. 
 -rwxrwx--- 1 u0_a186 u0_a186 2063360 May 30 06:12 System.dll 
 -rw-rwx--- 1 u0_a186 u0_a186 851131 May 30 06:12 System.dll.mdb 
 
 But make install still fails 
 
 
 
 On May 31, 2015 10:53:09 AM CDT, Robert N
sushihango...@outlook.com wrote: 
 
Permissions problem? Looks like you are installing into /usr/mono/lib
(FYI: I'd be careful, installing builds into system usr is not a good
idea usually). 
 
At that point of the install it is trying to update the gac with
System.dll so I would assume you do not have permissions, you can
always do a 'sudo make install'. 
 
If you cd into sourcebasedir/mcs/class/System and do a sudo make
install you should see the successful gac update like this: 
 
Installed ./../../class/lib/net_4_5/System.dll into the gac
(/Users/administrator/playscript-install/lib/mono/gac) 
 
 

 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 09:29:20 -0500 
 To: mono-devel-list@lists.ximian.com 
 Subject: [Mono-dev] mono make install fails with Error 1 
 
 I've finally managed to get mono to 
 build from sources, but make 
 install invoked from
the top build directory fails at the following 
 point: 
 
 make[6]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make install-local 
 WARNING: generic atexit() called from legacy shared library 
 make[7]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 
 4.5 
 make[7]: *** [install-local] Error 1 
 make[7]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make[6]: *** [do-install] Error 2 
 
 Error 1 is the only error thrown. 
 
 I can run this command without errors 
 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 
 ./../../class/lib/build/gacutil.exe /i 


Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
Hopefully that won't deter you (the Android bit, not the coffee)

Here's the successful output from the manual run of gacutil.exe

/bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $ ../../../../mono/mini/mono 
./gacutil.exe -i ./System.dll
Installed ./System.dll into the gac (/usr/mono/lib/mono/gac)
/bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $ ../../../../mono/mini/mono 
./gacutil.exe -l System
The following assemblies are installed into the GAC:
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Number of items = 1

I wonder why it's not working in make install...

On May 31, 2015 12:21:39 PM CDT, Robert N sushihango...@outlook.com wrote:
No, did not lose me, but still working on the coffee ;-) Personally
never build/installed on android

No output on gacutil -i System.dll gacutil -l is a problem... h

Ok, lets prove (or eliminate) the gac install as a problem, gacutil is
just a script that runs mono with the gacutil.exe with some options
passed in...

So, in your mono source/build dir, cd into the mcs/class/lib/net_4_5
dir and manually run gacutil.exe with the System.dll (both should be in
that dir)... your built mono binary should be in mono/mini, so the cmd
should look like:

../../../../mono/mini/mono ./gacutil.exe -i ./System.dll

Try it that way first and if it fails, rerun it and add -v to mono for
verbose output:

../../../../mono/mini/mono -v ./gacutil.exe -i ./System.dll

Passed/installed into gac:

pwd
/Users/administrator/Documents/Code/playscript/Playscript-master/mcs/class/lib/net_4_5
Win81Pro:net_4_5 administrator$ ../../../../mono/mini/mono
./gacutil.exe -i ./System.dll
Installed ./System.dll into the gac
(/Users/administrator/mono-install/lib/mono/gac)

gacutil -l System
The following assemblies are installed into the GAC:
System, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
Number of items = 1



 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:49:26 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 If I didn't lose you at no sudo, Android here's the output from
make 
 --debug=vv install: 
 
 Invoking recipe from ../../build/library.make:197 to update target 
 `install-local'. 
 make[1]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /gacdir /usr/mono/lib /root 
 /usr/mono/lib /package 4.5 
 make[1]: *** [install-local] Error 1 
 make[1]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make: *** [do-install] Error 2 
 
 On May 31, 2015 11:30:51 AM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 did you try it with sudo? 
 
 cd into the mcs/class/System and do a 'gacutil -i System.dll' to see
if that is really working. 
 
 and check the results via : gacutil -l 
 
 Also run make in verbose debug mode and see which step is failing. 
 
  
 
 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:15:00 -0500 
 To: mono-devel-list@lists.ximian.com 
 CC: sushihango...@outlook.com 
 
 This is going to sound weird, but I think the error is being thrown 
 after the update but before the successful install message. 
 
 Here's the listing of lib/mono/gac and subdirs after running make 
 install in sourcebasedir/mcs/class/System: 
 
 /bld/mono/mono-4.0.0 $ ls -al 
 /usr/mono/lib/mono/gac 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 . 
 drwxrwx--- 8 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 System 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac/System/ 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06
4.0.0.0__b77a5c561934e089 
 /bld/mono/mono-4.0.0 $ ls -al 
 /usr/mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/ 
 total 2856 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 .. 
 -rwxrwx--- 1 u0_a186 u0_a186 2063360 May 30 06:12 System.dll 
 -rw-rwx--- 1 u0_a186 u0_a186 851131 May 30 06:12 System.dll.mdb 
 
 But make install still fails 
 
 
 
 On May 31, 2015 10:53:09 AM CDT, Robert N 
 sushihango...@outlook.com wrote: 
 
 Permissions problem? Looks like you are installing into /usr/mono/lib
(FYI: I'd be careful, installing builds into system usr is not a good
idea usually). 
 
 At that point of the install it is trying to update the gac with
System.dll so I would assume you do not have permissions, you can
always do a 'sudo make install'. 
 
 If you cd into sourcebasedir/mcs/class/System and do a sudo make
install you should see the successful gac update like this: 
 
 Installed 

Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
This is going to sound weird, but I think the error is being thrown after the 
update but before the successful install message.

Here's the listing of lib/mono/gac and subdirs after running make install in 
sourcebasedir/mcs/class/System:

/bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac
total 12
drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 .
drwxrwx--- 8 u0_a186 u0_a186 4096 May 31 10:27 ..
drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 System
/bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac/System/
total 12
drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 .
drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 ..
drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06 4.0.0.0__b77a5c561934e089
/bld/mono/mono-4.0.0 $ ls -al 
/usr/mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/
total 2856
drwxrwx--- 2 u0_a186 u0_a1864096 May 31 11:06 .
drwxrwx--- 3 u0_a186 u0_a1864096 May 31 11:06 ..
-rwxrwx--- 1 u0_a186 u0_a186 2063360 May 30 06:12 System.dll
-rw-rwx--- 1 u0_a186 u0_a186  851131 May 30 06:12 System.dll.mdb

But make install still fails



On May 31, 2015 10:53:09 AM CDT, Robert N sushihango...@outlook.com wrote:
Permissions problem? Looks like you are installing into /usr/mono/lib
(FYI: I'd be careful, installing builds into system usr is not a good
idea usually).

At that point of the install it is trying to update the gac with
System.dll so I would assume you do not have permissions, you can
always do a 'sudo make install'.

If you cd into sourcebasedir/mcs/class/System and do a sudo make
install you should see the successful gac update like this:

Installed ./../../class/lib/net_4_5/System.dll into the gac
(/Users/administrator/playscript-install/lib/mono/gac)



 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 09:29:20 -0500 
 To: mono-devel-list@lists.ximian.com 
 Subject: [Mono-dev] mono make install fails with Error 1 
 
 I've finally managed to get mono to build from sources, but make 
 install invoked from the top build directory fails at the following 
 point: 
 
 make[6]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make install-local 
 WARNING: generic atexit() called from legacy shared library 
 make[7]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 
 4.5 
 make[7]: *** [install-local] Error 1 
 make[7]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make[6]: *** [do-install] Error 2 
 
 Error 1 is the only error thrown. 
 
 I can run this command without errors 
 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 
 4.5 
 
 And I can run the final command in mono-wrapper without errors 
 
 /bld/mono/mono-4.0.0 $ /bld/mono/mono-4.0.0/libtool --verbose 
 --mode=execute mono/mini/mono --config 
 /bld/mono/mono-4.0.0/runtime/etc/mono/config 
 mcs/class/lib/build/gacutil.exe /i mcs/class/lib/net_4_5/System.dll

 /f /root /usr/mono/lib /package 4.5 
 
 But running 'make install' fails. Any ideas? 
 ___ Mono-devel-list
mailing 
 list Mono-devel-list@lists.ximian.com 
 http://lists.ximian.com/mailman/listinfo/mono-devel-list 
 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
*deep breath*

No, I didn't try it with sudo because I don't have sudo per-se on this system.  
It's Android, rooted.

I did run gacutil -I System.dll and gacutil -l but there wasn't much output:

/bld/mono/mono-4.0.0/mcs/class/System $ 
/bld/mono/mono-4.0.0/runtime/mono-wrapper ../../class/lib/build/gacutil.exe -i 
System.dll
/bld/mono/mono-4.0.0/mcs/class/System $ 
/bld/mono/mono-4.0.0/runtime/mono-wrapper ../../class/lib/build/gacutil.exe -l
/bld/mono/mono-4.0.0/mcs/class/System $

Running make in debug mode now...

On May 31, 2015 11:30:51 AM CDT, Robert N sushihango...@outlook.com wrote:
did you try it with sudo?

cd into the mcs/class/System and do a 'gacutil -i System.dll' to see if
that is really working.

and check the results via : gacutil -l 

Also run make in verbose debug mode and see which step is failing.


 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:15:00 -0500 
 To: mono-devel-list@lists.ximian.com 
 CC: sushihango...@outlook.com 
 
 This is going to sound weird, but I think the error is being thrown 
 after the update but before the successful install message. 
 
 Here's the listing of lib/mono/gac and subdirs after running make 
 install in sourcebasedir/mcs/class/System: 
 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 . 
 drwxrwx--- 8 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 System 
 /bld/mono/mono-4.0.0 $ ls -al /usr/mono/lib/mono/gac/System/ 
 total 12 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 10:27 .. 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06
4.0.0.0__b77a5c561934e089 
 /bld/mono/mono-4.0.0 $ ls -al 
 /usr/mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/ 
 total 2856 
 drwxrwx--- 2 u0_a186 u0_a186 4096 May 31 11:06 . 
 drwxrwx--- 3 u0_a186 u0_a186 4096 May 31 11:06 .. 
 -rwxrwx--- 1 u0_a186 u0_a186 2063360 May 30 06:12 System.dll 
 -rw-rwx--- 1 u0_a186 u0_a186 851131 May 30 06:12 System.dll.mdb 
 
 But make install still fails 
 
 
 
 On May 31, 2015 10:53:09 AM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 Permissions problem? Looks like you are installing into /usr/mono/lib
(FYI: I'd be careful, installing builds into system usr is not a good
idea usually). 
 
 At that point of the install it is trying to update the gac with
System.dll so I would assume you do not have permissions, you can
always do a 'sudo make install'. 
 
 If you cd into sourcebasedir/mcs/class/System and do a sudo make
install you should see the successful gac update like this: 
 
 Installed ./../../class/lib/net_4_5/System.dll into the gac
(/Users/administrator/playscript-install/lib/mono/gac) 
 
 
  
 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 09:29:20 -0500 
 To: mono-devel-list@lists.ximian.com 
 Subject: [Mono-dev] mono make install fails with Error 1 
 
 I've finally managed to get mono to 
 build from sources, but make 
 install invoked from the top build directory fails at the following 
 point: 
 
 make[6]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make install-local 
 WARNING: generic atexit() called from legacy shared library 
 make[7]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 
 4.5 
 make[7]: *** [install-local] Error 1 
 make[7]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make[6]: *** [do-install] Error 2 
 
 Error 1 is the only error thrown. 
 
 I can run this command without errors 
 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /root /usr/mono/lib /package 
 4.5 
 
 And I can run the final command in mono-wrapper without errors 
 
 /bld/mono/mono-4.0.0 $ /bld/mono/mono-4.0.0/libtool --verbose 
 --mode=execute mono/mini/mono --config 
 /bld/mono/mono-4.0.0/runtime/etc/mono/config 
 mcs/class/lib/build/gacutil.exe /i mcs/class/lib/net_4_5/System.dll

 /f /root /usr/mono/lib /package 4.5 
 
 But running 'make install' fails. Any ideas? 
  
 Mono-devel-list mailing 
 list Mono-devel-list@lists.ximian.com 
 http://lists.ximian.com/mailman/listinfo/mono-devel-list 
 
 
 -- 
 Sent from my Android device with K-9 Mail. Please excuse my brevity. 
 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
Yeah...looks like none of the classes built. Here's a snip:

make[7]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System.XML' 
MONO_PATH=./../../class/lib/build:$MONO_PATH 
/bld/mono/mono-4.0.0/runtime/mono-wrapper ./../../class/lib/build/gacutil.exe 
/i ./../../class/lib/net_4_5/System.Xml.dll /f /root /usr/mono/lib /package 4.5
make[7]: *** [install-local] Error 1 
make[7]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System.XML'
make[6]: *** [do-install] Error 2 make[6]: Target `install' not remade because 
of errors.
make[6]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System.XML'
WARNING: generic atexit() called from legacy shared library --
make[7]: Entering directory 
`/bld/mono/mono-4.0.0/mcs/class/Mono.CompilerServices.SymbolWriter'
MONO_PATH=./../../class/lib/build:$MONO_PATH 
/bld/mono/mono-4.0.0/runtime/mono-wrapper ./../../class/lib/build/gacutil.exe 
/i ./../../class/lib/net_4_5/Mono.CompilerServices.SymbolWriter.dll /f /root 
/usr/mono/lib /package 4.5
make[7]: *** [install-local] Error 1 
make[7]: Leaving directory 
`/bld/mono/mono-4.0.0/mcs/class/Mono.CompilerServices.SymbolWriter'
make[6]: *** [do-install] Error 2 
make[6]: Target `install' not remade because of errors.
make[6]: Leaving directory 
`/bld/mono/mono-4.0.0/mcs/class/Mono.CompilerServices.SymbolWriter' WARNING: 
generic atexit() called from legacy shared library

On May 31, 2015 12:51:00 PM CDT, Robert N sushihango...@outlook.com wrote:
Cool, well at least we know it is not perms issue...

You can always run make with --keep-going and see it the rest of the
gacutil calls are an issue but everything is ok... (fingers crossed)

Try something like:

make --keep-going install 21 | tee /tmp/monooinstall.log

and that way you can grep out the failures after the run...

More coffee please... ;-)


 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 12:31:04 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 Hopefully that won't deter you (the Android bit, not the coffee) 
 
 Here's the successful output from the manual run of gacutil.exe 
 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -i ./System.dll 
 Installed ./System.dll into the gac (/usr/mono/lib/mono/gac) 
 /bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 $
../../../../mono/mini/mono 
 ./gacutil.exe -l System 
 The following assemblies are installed into the GAC: 
 System, Version=4.0.0.0http://4.0.0.0, Culture=neutral, 
 PublicKeyToken=b77a5c561934e089 
 Number of items = 1 
 
 I wonder why it's not working in make install... 
 
 On May 31, 2015 12:21:39 PM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 No, did not lose me, but still working on the coffee ;-) Personally
never build/installed on android 
 
 No output on gacutil -i System.dll gacutil -l is a problem...
h 
 
 Ok, lets prove (or eliminate) the gac install as a problem, gacutil
is just a script that runs mono with the gacutil.exe with some options
passed in... 
 
 So, in your mono source/build dir, cd into the mcs/class/lib/net_4_5
dir and manually run gacutil.exe with the System.dll (both should be in
that dir)... your built mono binary should be in mono/mini, so the cmd
should look like: 
 
 ../../../../mono/mini/mono ./gacutil.exe -i ./System.dll 
 
 Try it that way first and if it fails, rerun it and add -v to mono
for verbose output: 
 
 ../../../../mono/mini/mono -v ./gacutil.exe -i ./System.dll 
 
 Passed/installed into gac: 
 
 pwd 

/Users/administrator/Documents/Code/playscript/Playscript-master/mcs/class/lib/net_4_5

 Win81Pro:net_4_5 administrator$ ../../../../mono/mini/mono
./gacutil.exe -i ./System.dll 
 Installed ./System.dll into the gac
(/Users/administrator/mono-install/lib/mono/gac) 
 
 gacutil -l System 
 The following assemblies are installed into the GAC: 
 System, Version=4.0.0.0http://4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 
 Number of items = 1 
 
 
  
 
 Subject: RE: [Mono-dev] mono make install fails with Error 1 
 From: chasel...@gmail.com 
 Date: Sun, 31 May 2015 11:49:26 -0500 
 To: sushihango...@outlook.com; mono-devel-list@lists.ximian.com 
 
 If I didn't lose you at no sudo, Android here's the output from
make 
 --debug=vv install: 
 
 Invoking recipe from ../../build/library.make:197 to update target 
 `install-local'. 
 make[1]: 
 Entering directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 MONO_PATH=./../../class/lib/build:$MONO_PATH 
 /bld/mono/mono-4.0.0/runtime/mono-wrapper 
 ./../../class/lib/build/gacutil.exe /i 
 ./../../class/lib/net_4_5/System.dll /f /gacdir /usr/mono/lib /root 
 /usr/mono/lib /package 4.5 
 make[1]: *** [install-local] Error 1 
 make[1]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System' 
 make: *** [do-install] Error 2 
 
 On May 31, 2015 11:30:51 AM CDT, Robert N sushihango...@outlook.com
wrote: 
 
 did 

[Mono-dev] mono make install fails with Error 1

2015-05-31 Thread Cyd Haselton
I've finally managed to get mono to build from sources,  but make install 
invoked from the top build directory fails at the following point:

make[6]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System'
make install-local
WARNING: generic atexit() called from legacy shared library
make[7]: Entering directory `/bld/mono/mono-4.0.0/mcs/class/System'
MONO_PATH=./../../class/lib/build:$MONO_PATH 
/bld/mono/mono-4.0.0/runtime/mono-wrapper  ./../../class/lib/build/gacutil.exe 
/i ./../../class/lib/net_4_5/System.dll /f  /root /usr/mono/lib /package 4.5
make[7]: *** [install-local] Error 1
make[7]: Leaving directory `/bld/mono/mono-4.0.0/mcs/class/System'
make[6]: *** [do-install] Error 2

Error 1 is the only error thrown.

I can run this command without errors

MONO_PATH=./../../class/lib/build:$MONO_PATH 
/bld/mono/mono-4.0.0/runtime/mono-wrapper  ./../../class/lib/build/gacutil.exe 
/i ./../../class/lib/net_4_5/System.dll /f  /root /usr/mono/lib /package 4.5

And I can run the final command in mono-wrapper without errors

/bld/mono/mono-4.0.0 $ /bld/mono/mono-4.0.0/libtool --verbose --mode=execute 
mono/mini/mono --config /bld/mono/mono-4.0.0/runtime/etc/mono/config 
mcs/class/lib/build/gacutil.exe /i mcs/class/lib/net_4_5/System.dll /f /root 
/usr/mono/lib /package 4.5

But running 'make install' fails.  Any ideas?___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono build issue: mono-sgen illegal instruction

2015-05-28 Thread Cyd Haselton
I;m building mono on android, and while I've finally managed to get make to 
finish without errors, 'make check' always fails at the same point...no matter 
what ./configure I use:

make[3]: Entering directory `/bld/mono/mono-4.0.0/mono/mini'
make  check-local
make[4]: Entering directory `/bld/mono/mono-4.0.0/mono/mini'
MONO_PATH=/bld/mono/mono-4.0.0/mcs/class/lib/net_4_5 ../../runtime/mono-wrapper 
/bld/mono/mono-4.0.0/mcs/class/lib/build/mcs.exe -unsafe -nowarn:0162 
-out:TestDriver.dll -target:library TestDriver.cs
make[4]: *** [TestDriver.dll] Illegal instruction
make[4]: Leaving directory `/bld/mono/mono-4.0.0/mono/mini'
make[3]: *** [check-am] Error 2

addr2line output on the debug output from logcat

/bld/mono/mono-4.0.0 $ addr2line -C -i -e mono/mini/mono-sgen 00159464
/bld/mono/mono-4.0.0/mono/mini/dwarfwriter.c:967

Is there a way to disable whatever component uses dwarfwriter?  I've disabled 
both debug and soft_debug...no dice.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Error Building mono On Android: Undefined Ref to mono_threads_core_get_stack_bounds

2015-05-24 Thread Cyd Haselton
Second attempt at building on Android with the following configure:

/bld/mono/mono-4.0.0/mono $ ./configure --prefix=/usr/mono 
--mandir=/usr/share/man --enable-shared --disable-nls --disable-boehm 
--with-sysroot=/usr/gcc-4.9.2/sysroot --without-x --with-monodroid=yes  
--with-libgdiplus=no --host=arm-linux-androideabi 
--target=arm-linux-androideabi --build=arm-linux-androideabi

When configure is done, it displays the following:

mcs source:mcs

   Engine:
Host:  arm-unknown-linux-androideabi
Target:arm-unknown-linux-androideabi
GC:sgen and Included Boehm GC with typed GC and parallel 
mark
TLS:   pthread
SIGALTSTACK:   no
Engine:Building and using the JIT
oprofile:  no
BigArrays: no
DTrace:no
LLVM Back End: no (dynamically loaded: no)

   Libraries:
.NET 4.5:  yes
MonoDroid: yes
MonoTouch: no
Xamarin.Mac:   no
JNI support:   IKVM Native
libgdiplus:assumed to be installed
zlib:  system zlib


configure: WARNING: Turning off static Mono is a risk


Running make proceeds until failing with the following errors:

../../mono/utils/.libs/libmonoutils.a(mono-threads.o): In function 
`mono_thread_info_get_stack_bounds':
/bld/mono/mono-4.0.0/mono/utils/mono-threads.c:839: undefined reference to 
`mono_threads_core_get_stack_bounds'
/usr/gcc-4.9.2/bin/ld: .libs/libmonosgen-2.0.so: hidden symbol 
`mono_threads_core_get_stack_bounds' isn't defined
/usr/gcc-4.9.2/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

Google returns one similar result with the same error but at a different point 
in the build with an earlier mono version.  The thread refers to a later build 
as the solution.

Any advice would be appreciated
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building from Source Fails with mcs: Command not found (Mono-devel-list Digest, Vol 121, Issue 19) (Mono-devel-list Digest, Vol 121, Issue 20)

2015-05-23 Thread Cyd Haselton


On May 22, 2015 4:02:50 PM CDT, Cyd Haselton chasel...@gmail.com wrote:


On May 22, 2015 2:54:07 PM CDT, Cyd Haselton chasel...@gmail.com
wrote:


On May 22, 2015 8:35:15 AM CDT, Dan Liew d...@su-root.co.uk wrote:
On 22 May 2015 at 14:21, Cyd Haselton chasel...@gmail.com wrote:


 On May 22, 2015 7:34:16 AM CDT, Jo Shields direct...@apebox.org
wrote:


On 22/05/15 01:16, cyd wrote:
 Let me back up a few steps before I start troublehooting this.

 Does the monolite build of mono 4.0 support ARM...specifically
ARMv7?
 If
 so, are there any modifications I need to make before running
'make
 make
 install?'

Monolite is CPU-agnostic. It's just bytecode. Mono 4 supports
ARMv7,
so
the question is what instructions are triggering SIGILL
___

**snip**

Another way to debug this is run the program under gdb and make sure
you set it up to intercept SIGILL. When gdb catches SIGILL you can
walk through the stack and also examine the assembly to see if
anything looks suspect to you.

Hopefully this helps clarify the problem...it's the portion of logcat
during the illegal instruction.

I'd really rather not have to port gdb

I(  317) #00  pc 001756e4 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
(method_commands_internal+5588)  (DEBUG)

I(  317)  bee727ac  00392ebc 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
(do_rehash+336)  (DEBUG)

I(  317)  bee727dc  0019f0e4 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
(mono_arch_emit_prolog+2632)  (DEBUG)

I(  317) 8000-00451000 r-x
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
 (DEBUG)

I(  317) 00458000-0045f000 rwx
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
 (DEBUG)

UPDATE:

addr2line output of the memory(?) areas above:

/bld/mono/mono-4.0.0 $ addr2line -i -C -e mono/mini/mono-sgen 0019f0e4
/bld/mono/mono-4.0.0/mono/mini/tramp-arm.c:465
/bld/mono/mono-4.0.0 $ addr2line -i -C -e mono/mini/mono-sgen 00392ebc
/bld/mono/mono-4.0.0/eglib/src/gslist.c:36
/bld/mono/mono-4.0.0 $ addr2line -i -C -e mono/mini/mono-sgen 001756e4
/bld/mono/mono-4.0.0/mono/mini/debugger-agent.c:8694

I'm going to investigate the files referenced above but if i'm way off-track or 
barking up the wrong stack please chime in...at this point I'm guessing.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building from Source Fails with mcs: Command not found (Mono-devel-list Digest, Vol 121, Issue 19) (Mono-devel-list Digest, Vol 121, Issue 20)

2015-05-22 Thread Cyd Haselton


On May 22, 2015 8:35:15 AM CDT, Dan Liew d...@su-root.co.uk wrote:
On 22 May 2015 at 14:21, Cyd Haselton chasel...@gmail.com wrote:


 On May 22, 2015 7:34:16 AM CDT, Jo Shields direct...@apebox.org
wrote:


On 22/05/15 01:16, cyd wrote:
 Let me back up a few steps before I start troublehooting this.

 Does the monolite build of mono 4.0 support ARM...specifically
ARMv7?
 If
 so, are there any modifications I need to make before running 'make
 make
 install?'

Monolite is CPU-agnostic. It's just bytecode. Mono 4 supports ARMv7,
so
the question is what instructions are triggering SIGILL
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 Running 'strace -v -o mono.log make check', then 'cat mono.log | grep
-B 12 SIGILL' yields:

 mprotect(0x40085000, 4096, PROT_READ)   = 0
 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY})
= 0
 gettid()= 10243
 syscall_983045(0x40086f24, 0xffb8, 0, 0x40086f24, 0x40087154, 0,
0xbeaec0d0, 0xf0005, 0x4008715c, 0xbe2ed000, 0, 0, 0, 0xbeaec070,
0x4007e254, 0x4007eaa4, 0x6010, 0x40086f24, 0, 0, 0xc764, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0) = 0
 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0,
0) = 0x40089000madvise(0x40089000, 8192, 0xc /* MADV_??? */) = -1
EINVAL (Invalid argument)
 sigaltstack({ss_sp=0x40089000, ss_flags=0, ss_size=8192}, NULL) = 0
 sigaction(SIGABRT, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGBUS, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGFPE, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGILL, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0

 I have zero experience reading straces but if I had to guess it looks
like a function is making an invalid memory call.

Isn't the sigaction there setting up the signal handler for SIGILL? If
so this is probably the wrong part to be looking at. I'm slightly
confused by the sigaction written here because it's taking four
arguments but sigaction only takes three (I'm not great at reading the
output of strace either).

Another way to debug this is run the program under gdb and make sure
you set it up to intercept SIGILL. When gdb catches SIGILL you can
walk through the stack and also examine the assembly to see if
anything looks suspect to you.

Hopefully this helps clarify the problem...it's the portion of logcat during 
the illegal instruction.

I'd really rather not have to port gdb

I(  317) #00  pc 001756e4  
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen 
(method_commands_internal+5588)  (DEBUG)

I(  317)  bee727ac  00392ebc  
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen 
(do_rehash+336)  (DEBUG)

I(  317)  bee727dc  0019f0e4  
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen 
(mono_arch_emit_prolog+2632)  (DEBUG)

I(  317) 8000-00451000 r-x 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen  
(DEBUG)

I(  317) 00458000-0045f000 rwx 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen  
(DEBUG)
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building from Source Fails with mcs: Command not found (Mono-devel-list Digest, Vol 121, Issue 19) (Mono-devel-list Digest, Vol 121, Issue 20)

2015-05-22 Thread Cyd Haselton


On May 22, 2015 2:54:07 PM CDT, Cyd Haselton chasel...@gmail.com wrote:


On May 22, 2015 8:35:15 AM CDT, Dan Liew d...@su-root.co.uk wrote:
On 22 May 2015 at 14:21, Cyd Haselton chasel...@gmail.com wrote:


 On May 22, 2015 7:34:16 AM CDT, Jo Shields direct...@apebox.org
wrote:


On 22/05/15 01:16, cyd wrote:
 Let me back up a few steps before I start troublehooting this.

 Does the monolite build of mono 4.0 support ARM...specifically
ARMv7?
 If
 so, are there any modifications I need to make before running
'make
 make
 install?'

Monolite is CPU-agnostic. It's just bytecode. Mono 4 supports ARMv7,
so
the question is what instructions are triggering SIGILL
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 Running 'strace -v -o mono.log make check', then 'cat mono.log |
grep
-B 12 SIGILL' yields:

 mprotect(0x40085000, 4096, PROT_READ)   = 0
 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024,
rlim_max=RLIM_INFINITY})
= 0
 gettid()= 10243
 syscall_983045(0x40086f24, 0xffb8, 0, 0x40086f24, 0x40087154, 0,
0xbeaec0d0, 0xf0005, 0x4008715c, 0xbe2ed000, 0, 0, 0, 0xbeaec070,
0x4007e254, 0x4007eaa4, 0x6010, 0x40086f24, 0, 0, 0xc764, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0) = 0
 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
0,
0) = 0x40089000madvise(0x40089000, 8192, 0xc /* MADV_??? */) = -1
EINVAL (Invalid argument)
 sigaltstack({ss_sp=0x40089000, ss_flags=0, ss_size=8192}, NULL) = 0
 sigaction(SIGABRT, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGBUS, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGFPE, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGILL, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0

 I have zero experience reading straces but if I had to guess it
looks
like a function is making an invalid memory call.

Isn't the sigaction there setting up the signal handler for SIGILL? If
so this is probably the wrong part to be looking at. I'm slightly
confused by the sigaction written here because it's taking four
arguments but sigaction only takes three (I'm not great at reading the
output of strace either).

Another way to debug this is run the program under gdb and make sure
you set it up to intercept SIGILL. When gdb catches SIGILL you can
walk through the stack and also examine the assembly to see if
anything looks suspect to you.

Hopefully this helps clarify the problem...it's the portion of logcat
during the illegal instruction.

I'd really rather not have to port gdb

I(  317) #00  pc 001756e4 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
(method_commands_internal+5588)  (DEBUG)

I(  317)  bee727ac  00392ebc 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
(do_rehash+336)  (DEBUG)

I(  317)  bee727dc  0019f0e4 
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
(mono_arch_emit_prolog+2632)  (DEBUG)

I(  317) 8000-00451000 r-x
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
 (DEBUG)

I(  317) 00458000-0045f000 rwx
/data/data/jackpal.androidterm/kbox2/bld/mono/mono-4.0.0/mono/mini/mono-sgen
 (DEBUG)

UPDATE:

Based on the above, I tried building with --with-sgen=no.  Unfortunately make 
fails early with the following errors:

dyn_load.c: In function 'GC_FirstDLOpenedLinkMap':
dyn_load.c:527:63: error: dereferencing pointer to incomplete type
 = ((struct r_debug *)(dp-d_un.d_ptr))-r_map;
   ^
dyn_load.c:528:48: error: dereferencing pointer to incomplete type
 if( lm != 0 ) cachedResult = lm-l_next; /* might be NIL */
^
dyn_load.c: In function 'GC_register_dynamic_libraries':
dyn_load.c:549:45: error: dereferencing pointer to incomplete type
lm != (struct link_map *) 0;  lm = lm-l_next)
 ^
dyn_load.c:557:30: error: dereferencing pointer to incomplete type
 e = (ElfW(Ehdr) *) lm-l_addr;
  ^
dyn_load.c:562:37: error: dereferencing pointer to incomplete type
 offset = ((unsigned long)(lm-l_addr));
 ^
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building from Source Fails with mcs: Command not found (Mono-devel-list Digest, Vol 121, Issue 19) (Mono-devel-list Digest, Vol 121, Issue 20)

2015-05-22 Thread Cyd Haselton


On May 22, 2015 7:34:16 AM CDT, Jo Shields direct...@apebox.org wrote:


On 22/05/15 01:16, cyd wrote:
 Let me back up a few steps before I start troublehooting this.

 Does the monolite build of mono 4.0 support ARM...specifically ARMv7?
 If
 so, are there any modifications I need to make before running 'make
 make
 install?'

Monolite is CPU-agnostic. It's just bytecode. Mono 4 supports ARMv7, so
the question is what instructions are triggering SIGILL
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Running 'strace -v -o mono.log make check', then 'cat mono.log | grep -B 12 
SIGILL' yields:

mprotect(0x40085000, 4096, PROT_READ)   = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
gettid()= 10243
syscall_983045(0x40086f24, 0xffb8, 0, 0x40086f24, 0x40087154, 0, 
0xbeaec0d0, 0xf0005, 0x4008715c, 0xbe2ed000, 0, 0, 0, 0xbeaec070, 0x4007e254, 
0x4007eaa4, 0x6010, 0x40086f24, 0, 0, 0xc764, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 
0x40089000madvise(0x40089000, 8192, 0xc /* MADV_??? */) = -1 EINVAL (Invalid 
argument)
sigaltstack({ss_sp=0x40089000, ss_flags=0, ss_size=8192}, NULL) = 0
sigaction(SIGABRT, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO}, NULL, 
0x1dd9028) = 0
sigaction(SIGBUS, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO}, NULL, 
0x1dd9028) = 0
sigaction(SIGFPE, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO}, NULL, 
0x1dd9028) = 0
sigaction(SIGILL, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO}, NULL, 
0x1dd9028) = 0

I have zero experience reading straces but if I had to guess it looks like a 
function is making an invalid memory call. 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building from Source Fails with mcs: Command not found (Mono-devel-list Digest, Vol 121, Issue 19) (Mono-devel-list Digest, Vol 121, Issue 20)

2015-05-22 Thread Cyd Haselton


On May 22, 2015 8:35:15 AM CDT, Dan Liew d...@su-root.co.uk wrote:
On 22 May 2015 at 14:21, Cyd Haselton chasel...@gmail.com wrote:


 On May 22, 2015 7:34:16 AM CDT, Jo Shields direct...@apebox.org
wrote:


On 22/05/15 01:16, cyd wrote:
 Let me back up a few steps before I start troublehooting this.

 Does the monolite build of mono 4.0 support ARM...specifically
ARMv7?
 If
 so, are there any modifications I need to make before running 'make
 make
 install?'

Monolite is CPU-agnostic. It's just bytecode. Mono 4 supports ARMv7,
so
the question is what instructions are triggering SIGILL
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 Running 'strace -v -o mono.log make check', then 'cat mono.log | grep
-B 12 SIGILL' yields:

 mprotect(0x40085000, 4096, PROT_READ)   = 0
 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY})
= 0
 gettid()= 10243
 syscall_983045(0x40086f24, 0xffb8, 0, 0x40086f24, 0x40087154, 0,
0xbeaec0d0, 0xf0005, 0x4008715c, 0xbe2ed000, 0, 0, 0, 0xbeaec070,
0x4007e254, 0x4007eaa4, 0x6010, 0x40086f24, 0, 0, 0xc764, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0) = 0
 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0,
0) = 0x40089000madvise(0x40089000, 8192, 0xc /* MADV_??? */) = -1
EINVAL (Invalid argument)
 sigaltstack({ss_sp=0x40089000, ss_flags=0, ss_size=8192}, NULL) = 0
 sigaction(SIGABRT, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGBUS, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGFPE, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0
 sigaction(SIGILL, {0x40076a71, [], SA_STACK|SA_RESTART|SA_SIGINFO},
NULL, 0x1dd9028) = 0

 I have zero experience reading straces but if I had to guess it looks
like a function is making an invalid memory call.

Isn't the sigaction there setting up the signal handler for SIGILL? If
so this is probably the wrong part to be looking at. I'm slightly
confused by the sigaction written here because it's taking four
arguments but sigaction only takes three (I'm not great at reading the
output of strace either).


Any chance the four arg sigaction is causing the problem?

Another way to debug this is run the program under gdb and make sure
you set it up to intercept SIGILL. When gdb catches SIGILL you can
walk through the stack and also examine the assembly to see if
anything looks suspect to you.

Unfortunately I don't have a working gdb on this device.  If absolutely 
necessary I could port it then come back to the mono build, but I'd prefer 
other options (if available).  

I do have a working addr2line and a logcat app, if that helps...?

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Build Mono WITHOUT bash?

2015-05-17 Thread Cyd Haselton
Well that's unfortunate.  This is my primary build environment.

I'll see if I can port a full version of bash to this environment.

On May 17, 2015 8:20:39 AM CDT, Miguel de Icaza mig...@xamarin.com wrote:
It is unlikely.

Your best bet is to cross compile.

On Sun, May 17, 2015 at 6:24 AM, cyd chasel...@gmail.com wrote:

 Is there a version of the mono source that can be built without bash?

 I'm building mono on an Android device in the KBOX environment, which
has
 the busybox version of bash.  It does not support arrays so when
running
 make it fails when running ./doltlibtool (at line 4, args=())or
 ./doltcompile (line 3, args=($@)).

 Thanks!



 --
 View this message in context:

http://mono.1490590.n4.nabble.com/Build-Mono-WITHOUT-bash-tp4665954.html
 Sent from the Mono - Dev mailing list archive at Nabble.com.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list