Ruby Forum IronRuby > build problems (mono, gmcs from svn)

Posted by C.J. Adams-Collier (Guest)
on 06.05.2008 18:28
(Received via mailing list)
Hey all,

I'm not familiar with ruby or rake, so please forgive the n00b question.
Is IronRuby known to currently build on mono 1.9?

./actions/comdispatch/DispCallable.cs(134,9): error CS0452: The type `T'
must be a reference type in order to use it as type parameter `T' in the
generic type or method `Microsoft.Scripting.Actions.RuleBuilder<T>'.
./actions/comdispatch/comtypelibdesc.cs(141,9): error CS0452: The type 
`T' must be a reference type in order to use it as type parameter `T' in 
the generic type or method `Microsoft.Scripting.Actions.RuleBuilder<T>'.
Compilation failed: 2 error(s), 0 warnings

Cheers,

C.J.

cjcollier@karma:/usr/src/svn/rubyforge.org/ironruby/trunk$ \
grep trunk .svn/entries && \
svn up && \
rake --version && \
ruby --version && \
gmcs --version && \
mono --version && \
mono=1 rake --trace compile
svn://rubyforge.org/var/svn/ironruby/trunk
At revision 101.
rake, version 0.8.1
ruby 1.8.6 (2008-03-03 patchlevel 114) [i486-linux]
Mono C# compiler version 1.9.0.0
Mono JIT compiler version 1.9 (/trunk/ r102153)
Copyright (C) 2002-2007 Novell, Inc and Contributors. 
www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
(in /usr/src/svn/rubyforge.org/ironruby/trunk)
./context.rb:159: warning: Insecure world writable dir /opt in PATH, 
mode 040777
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
/usr/src/svn/rubyforge.org/ironruby/trunk/Rakefile:368: warning: 
Insecure world writable dir /opt in PATH, mode 040777
** Invoke clean_build (first_time)
** Invoke happy
** Execute clean_build
** Invoke compile_dlr (first_time)
** Invoke clean_build
** Execute compile_dlr
Read in 0 resources from 
'/usr/src/svn/rubyforge.org/ironruby/trunk/src/microsoft.scripting.core/Microsoft.Scripting.txt'
Writing resource file...  Done.
./actions/comdispatch/DispCallable.cs(134,9): error CS0452: The type `T' 
must be a reference type in order to use it as type parameter `T' in the 
generic type or method `Microsoft.Scripting.Actions.RuleBuilder<T>'.
./actions/comdispatch/comtypelibdesc.cs(141,9): error CS0452: The type 
`T' must be a reference type in order to use it as type parameter `T' in 
the generic type or method `Microsoft.Scripting.Actions.RuleBuilder<T>'.
Compilation failed: 2 error(s), 0 warnings
rake aborted!
Command failed with status (1): [gmcs 
/out:"/usr/src/svn/rubyforge.org/iron...]
/usr/lib/ruby/1.8/rake.rb:899:in `sh'
/usr/lib/ruby/1.8/rake.rb:906:in `call'
/usr/lib/ruby/1.8/rake.rb:906:in `sh'
/usr/lib/ruby/1.8/rake.rb:985:in `sh'
./context.rb:183:in `exec'
./context.rb:447:in `compile'
./context.rb:432:in `chdir'
./context.rb:432:in `compile'
/usr/src/svn/rubyforge.org/ironruby/trunk/Rakefile:137
./context.rb:578:in `instance_eval'
./context.rb:578:in `source_context'
/usr/src/svn/rubyforge.org/ironruby/trunk/Rakefile:135
/usr/lib/ruby/1.8/rake.rb:546:in `call'
/usr/lib/ruby/1.8/rake.rb:546:in `execute'
/usr/lib/ruby/1.8/rake.rb:541:in `each'
/usr/lib/ruby/1.8/rake.rb:541:in `execute'
/usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:518:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:1183:in `each'
/usr/lib/ruby/1.8/rake.rb:1183:in `send'
/usr/lib/ruby/1.8/rake.rb:1183:in `each'
/usr/lib/ruby/1.8/rake.rb:515:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:507:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:494:in `invoke'
/usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
/usr/lib/ruby/1.8/rake.rb:1909:in `each'
/usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1903:in `top_level'
/usr/lib/ruby/1.8/rake.rb:1881:in `run'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1878:in `run'
/usr/bin/rake:28
Posted by John Lam (IRONRUBY) (Guest)
on 06.05.2008 18:53
(Received via mailing list)
C.J. Adams-Collier:

> `Microsoft.Scripting.Actions.RuleBuilder<T>'.
> Compilation failed: 2 error(s), 0 warnings

I believe these are new bugs that our latest revision revealed in mono. 
https://bugzilla.novell.com/show_bug.cgi?id=387040

It's good to see that Tony's taken over the mantle of breaking mono :)

Thanks,
-John
Posted by C.J. Adams-Collier (Guest)
on 06.05.2008 23:19
(Received via mailing list)
On Tue, 2008-05-06 at 09:51 -0700, John Lam (IRONRUBY) wrote:
> C.J. Adams-Collier:
> 

> I believe these are new bugs that our latest revision revealed in mono. https://bugzilla.novell.com/show_bug.cgi?id=387040

Thanks, John.  I'll ping Marek and see if he can help me fix this.  If
nothing else, I'll add the test from that bug to the regression suite.

> It's good to see that Tony's taken over the mantle of breaking mono :)
> 
> Thanks,
> -John

Cheers,

C.J.
Posted by C.J. Adams-Collier (Guest)
on 07.05.2008 22:14
(Received via mailing list)
Failing test case submitted to mono svn.  It should show up in anonsvn
in the next 30 or so.

http://anonsvn.mono-project.com/source/trunk/mcs/tests/ChangeLog
http://anonsvn.mono-project.com/source/trunk/mcs/tests/gtest-395.cs

Cheers,

C.J.