Problems Compiling IronRuby w/ Mono

I’ve got the following build errors trying to compile IronRuby trunk w/
Mono 1.9 on OSX.

Build output:

(in /opt/src/mono/ironruby/trunk)
Read in 49 resources from
‘/opt/src/mono/ironruby/trunk/src/microsoft.scripting.core/Resources.resx’
Writing resource file… Done.
Read in 17 resources from
‘/opt/src/mono/ironruby/trunk/src/microsoft.scripting.core/math/MathResources.resx’
Writing resource file… Done.
./Tuple.cs(212,21): warning CS0219: The variable argCnt' is assigned but its value is never used ./actions/DynamicSite.Generated.cs(54,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,Tret>' ./actions/DynamicSite.Generated.cs(128,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,Tret>' ./actions/DynamicSite.Generated.cs(202,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,Tret>' ./actions/DynamicSite.Generated.cs(276,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,Tret>' ./actions/DynamicSite.Generated.cs(350,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,Tret>' ./actions/DynamicSite.Generated.cs(424,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,Tret>' ./actions/DynamicSite.Generated.cs(498,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,T3,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,T3,Tret>' ./actions/DynamicSite.Generated.cs(572,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,T3,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,T3,Tret>' ./actions/DynamicSite.Generated.cs(646,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,T3,T4,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,T3,T4,Tret>' ./actions/DynamicSite.Generated.cs(720,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,T3,T4,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,T3,T4,Tret>' ./actions/DynamicSite.Generated.cs(794,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,T3,T4,T5,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,T3,T4,T5,Tret>' ./actions/DynamicSite.Generated.cs(868,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,T3,T4,T5,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,T3,T4,T5,Tret>' ./actions/DynamicSite.Generated.cs(942,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.BigDynamicSite<T0,Tret>’ to
Microsoft.Scripting.Actions.BigDynamicSiteTarget<T0,Tret>' ./actions/DynamicSite.Generated.cs(1016,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.BigFastDynamicSite<T0,Tret>’ to
`Microsoft.Scripting.Actions.BigFastDynamicSiteTarget<T0,Tret>’
Compilation failed: 14 error(s), 1 warnings
rake aborted!
Command failed with status (1): [gmcs
/out:"/opt/src/mono/ironruby/trunk/bu…]
/opt/src/mono/ironruby/trunk/rakefile:123
(See full trace by running task with --trace)

Mono:
Mono JIT compiler version 1.9 (tarball)
Copyright © 2002-2007 Novell, Inc and Contributors.
www.mono-project.com
TLS: normal
GC: Included Boehm (with typed GC)
SIGSEGV: normal
Notification: Thread + polling
Architecture: x86
Disabled: none

MONO_PATH = /opt/local/
MONO_DISABLE_SHM = 1

Anyone have any ideas what’s up?

On Fri, 04 Apr 2008 08:43:22 -0600, Ch Ze [email protected] wrote:

Anyone have any ideas what’s up?

I run into similar problems last week, though it was related to an
ambigous reference to System.Action and
Microsoft.Scripting.Utils.Action. The fix for this was going in and
manually expanding each reference in the code base. This doesn’t seem
to be related, but it seems worth pointing out regardless.

I haven’t tested this on Linux/Mono in recent weeks. Let me try that
now and see if the same problem is encountered. Will report back the
results shortly.


/M:D

M. David P.
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected] | [email protected] | Mobile: (206) 418-9027
Web: http://amp.fm/ | http://www.oreillynet.com/pub/au/2354

On Fri, 04 Apr 2008 10:56:16 -0600, M. David P.
[email protected] wrote:

Let me try that now and see if the same problem is encountered. Will report back the results shortly.

Yep, same issue as your seeing,

[[email protected] ironruby]$ mono -V
Mono JIT compiler version 1.9 (tarball)
Copyright © 2002-2007 Novell, Inc and Contributors.
www.mono-project.com
TLS: __thread
GC: none
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
[[email protected] ironruby]$ rake compile mono=1
(in /mnt/home/mdavid/projects/ironruby)
Read in 49 resources from
‘/mnt/home/mdavid/projects/ironruby/src/microsoft.scripting.core/Resources.resx’
Writing resource file… Done.
Read in 17 resources from
‘/mnt/home/mdavid/projects/ironruby/src/microsoft.scripting.core/math/MathResources.resx’
Writing resource file… Done.
./Tuple.cs(212,21): warning CS0219: The variable argCnt' is assigned but its value is never used ./actions/DynamicSite.Generated.cs(54,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,Tret>' ./actions/DynamicSite.Generated.cs(128,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,Tret>' ./actions/DynamicSite.Generated.cs(202,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,Tret>' ./actions/DynamicSite.Generated.cs(276,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,Tret>' ./actions/DynamicSite.Generated.cs(350,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,Tret>' ./actions/DynamicSite.Generated.cs(424,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,Tret>' ./actions/DynamicSite.Generated.cs(498,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,T3,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,T3,Tret>' ./actions/DynamicSite.Generated.cs(572,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,T3,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,T3,Tret>' ./actions/DynamicSite.Generated.cs(646,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,T3,T4,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,T3,T4,Tret>' ./actions/DynamicSite.Generated.cs(720,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,T3,T4,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,T3,T4,Tret>' ./actions/DynamicSite.Generated.cs(794,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.DynamicSite<T0,T1,T2,T3,T4,T5,Tret>’ to
Microsoft.Scripting.Actions.DynamicSiteTarget<T0,T1,T2,T3,T4,T5,Tret>' ./actions/DynamicSite.Generated.cs(868,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.FastDynamicSite<T0,T1,T2,T3,T4,T5,Tret>’ to
Microsoft.Scripting.Actions.FastDynamicSiteTarget<T0,T1,T2,T3,T4,T5,Tret>' ./actions/DynamicSite.Generated.cs(942,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.BigDynamicSite<T0,Tret>’ to
Microsoft.Scripting.Actions.BigDynamicSiteTarget<T0,Tret>' ./actions/DynamicSite.Generated.cs(1016,13): error CS0029: Cannot implicitly convert typeMicrosoft.Scripting.Actions.BigFastDynamicSite<T0,Tret>’ to
`Microsoft.Scripting.Actions.BigFastDynamicSiteTarget<T0,Tret>’
Compilation failed: 14 error(s), 1 warnings
rake aborted!
Command failed with status (1): [gmcs
/out:"/mnt/home/mdavid/projects/ironr…]
/mnt/home/mdavid/projects/ironruby/Rakefile:123
(See full trace by running task with --trace)


/M:D

M. David P.
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected] | [email protected] | Mobile: (206) 418-9027
Web: http://amp.fm/ | http://www.oreillynet.com/pub/au/2354

On Fri, 04 Apr 2008 12:27:51 -0600, M. David P.
[email protected] wrote:

Yep, same issue as your seeing,

Forgot to include,

[[email protected] ironruby]$ uname -a
Linux domU-12-31-39-00-44-51 2.6.16.33-xenU #2 SMP Wed Aug 15 17:27:36
SAST 2007 x86_64 GNU/Linux


/M:D

M. David P.
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected] | [email protected] | Mobile: (206) 418-9027
Web: http://amp.fm/ | http://www.oreillynet.com/pub/au/2354

On Fri, 04 Apr 2008 12:36:27 -0600, John L. (DLR) [email protected]
wrote:

FYI - I’ve pinged Miguel about this. Hope to get an answer soon.

Thanks John! Let me know if he wants/needs me to enter a bug into
bugzilla.


/M:D

M. David P.
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected] | [email protected] | Mobile: (206) 418-9027
Web: http://amp.fm/ | http://www.oreillynet.com/pub/au/2354

FYI - I’ve pinged Miguel about this. Hope to get an answer soon.

Thanks,
-John

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