Build problems (mono, gmcs from svn)

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 parameterT’ in the
generic type or method Microsoft.Scripting.Actions.RuleBuilder<T>'. ./actions/comdispatch/comtypelibdesc.cs(141,9): error CS0452: The typeT’ must be a reference type in order to use it as type parameter T' in the generic type or methodMicrosoft.Scripting.Actions.RuleBuilder’.
Compilation failed: 2 error(s), 0 warnings

Cheers,

C.J.

[email protected]:/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 © 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 parameterT’ in the
generic type or method Microsoft.Scripting.Actions.RuleBuilder<T>'. ./actions/comdispatch/comtypelibdesc.cs(141,9): error CS0452: The typeT’ must be a reference type in order to use it as type parameter T' in the generic type or methodMicrosoft.Scripting.Actions.RuleBuilder’.
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:incall’
/usr/lib/ruby/1.8/rake.rb:906:in sh' /usr/lib/ruby/1.8/rake.rb:985:insh’
./context.rb:183:in exec' ./context.rb:447:incompile’
./context.rb:432:in chdir' ./context.rb:432:incompile’
/usr/src/svn/rubyforge.org/ironruby/trunk/Rakefile:137
./context.rb:578:in instance_eval' ./context.rb:578:insource_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:inexecute’
/usr/lib/ruby/1.8/rake.rb:541:in each' /usr/lib/ruby/1.8/rake.rb:541:inexecute’
/usr/lib/ruby/1.8/rake.rb:508:in invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:501:insynchronize’
/usr/lib/ruby/1.8/rake.rb:501:in invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:518:ininvoke_prerequisites’
/usr/lib/ruby/1.8/rake.rb:1183:in each' /usr/lib/ruby/1.8/rake.rb:1183:insend’
/usr/lib/ruby/1.8/rake.rb:1183:in each' /usr/lib/ruby/1.8/rake.rb:515:ininvoke_prerequisites’
/usr/lib/ruby/1.8/rake.rb:507:in invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:501:insynchronize’
/usr/lib/ruby/1.8/rake.rb:501:in invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:494:ininvoke’
/usr/lib/ruby/1.8/rake.rb:1931:in invoke_task' /usr/lib/ruby/1.8/rake.rb:1909:intop_level’
/usr/lib/ruby/1.8/rake.rb:1909:in each' /usr/lib/ruby/1.8/rake.rb:1909:intop_level’
/usr/lib/ruby/1.8/rake.rb:1948:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:intop_level’
/usr/lib/ruby/1.8/rake.rb:1881:in run' /usr/lib/ruby/1.8/rake.rb:1948:instandard_exception_handling’
/usr/lib/ruby/1.8/rake.rb:1878:in `run’
/usr/bin/rake:28

C.J. Adams-Collier:

`Microsoft.Scripting.Actions.RuleBuilder’.
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 :slight_smile:

Thanks,
-John

On Tue, 2008-05-06 at 09:51 -0700, John L. (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 :slight_smile:

Thanks,
-John

Cheers,

C.J.

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs