# Build problems (mono, gmcs from svn)

**URL:** <https://www.ruby-forum.com/t/build-problems-mono-gmcs-from-svn/136833>\
**Category:** IronRuby\
**Created:** [May 6, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/build-problems-mono-gmcs-from-svn/136833 "2008-05-06T18:28:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![C.JSAdams-Collier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Post date:** [May 6, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/build-problems-mono-gmcs-from-svn/136833/1 "2008-05-06T18:28:32Z")

</div>

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'.  
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](http://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‘.  
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

---

<div class="post-metadata">

**Author:** ![C.JSAdams-Collier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Post date:** [May 6, 2008, 6:53pm UTC](https://www.ruby-forum.com/t/build-problems-mono-gmcs-from-svn/136833/2 "2008-05-06T18:53:19Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![C.JSAdams-Collier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Post date:** [May 6, 2008, 11:19pm UTC](https://www.ruby-forum.com/t/build-problems-mono-gmcs-from-svn/136833/3 "2008-05-06T23:19:29Z")

</div>

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. [Access Denied](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.

---

<div class="post-metadata">

**Author:** ![C.JSAdams-Collier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Post date:** [May 7, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/build-problems-mono-gmcs-from-svn/136833/4 "2008-05-07T22:14:16Z")

</div>

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/ChangeLog)  
[http://anonsvn.mono-project.com/source/trunk/mcs/tests/gtest-395.cs](http://anonsvn.mono-project.com/source/trunk/mcs/tests/gtest-395.cs)

Cheers,

C.J.
