Problems building revision 82

I just updated to r82 and had some issues. I removed my IronRuby folder
and
started over and the problems stayed the same.

I am running on windows 2k3 with vs.net 2k5 and 2k8 loaded.

The rake --trace details for gen and compile are below.

I also couldn’t build in vs.net. Below the rake output is the warning
window
from vs.net. It looks like none of the projects can find mscorlib or
system.
I did change the build config to ExternalDebug.

Please let me know if there is something I missed, or anything else I
can
provide or do to help.

Thanks

Aaron

C:\IronRuby>rake gen --trace
(in C:/IronRuby)
** Invoke gen (first_time)
** Execute gen
rake aborted!
cannot find build in ProjectContext
./context.rb:195:in get_mapping' ./context.rb:205:in get_source_dir’
./context.rb:382:in build_path' C:/IronRuby/rakefile:682 ./context.rb:499:in instance_eval’
./context.rb:499:in source_context' C:/IronRuby/rakefile:681 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in call’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in invoke_task’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in standard_exception_handling’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
c:/ruby/bin/rake:16:in `load’
c:/ruby/bin/rake:16

C:\IronRuby>rake compile --trace
(in C:/IronRuby)
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
** Invoke clean_build (first_time)
** Invoke happy
** Execute clean_build
rake aborted!
cannot find build in ProjectContext
./context.rb:195:in get_mapping' ./context.rb:205:in get_source_dir’
./context.rb:382:in build_path' C:/IronRuby/rakefile:533 ./context.rb:499:in instance_eval’
./context.rb:499:in source_context' C:/IronRuby/rakefile:532 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in call’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
invoke_prerequisites' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in send' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
invoke_prerequisites' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in invoke_task’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in standard_exception_handling’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
c:/ruby/bin/rake:16:in `load’
c:/ruby/bin/rake:16

C:\IronRuby>

Warning 1 The referenced component ‘Microsoft.Scripting.Core’
could
not be found.
Warning 2 The referenced component ‘Microsoft.Scripting.Core’
could
not be found.
Warning 3 The referenced component ‘Ruby (Ruby\Ruby)’ could not be
found.
Warning 4 The referenced component ‘Microsoft.Scripting.Core’
could
not be found.
Warning 5 The referenced component ‘Ruby (Languages\Ruby\Ruby)’
could
not be found.
Warning 6 The referenced component ‘Microsoft.Scripting.Core’
could
not be found.
Warning 7 The referenced component ‘Ruby (Languages\Ruby\Ruby)’
could
not be found.
Warning 8 The referenced component ‘Microsoft.Scripting.Core’
could
not be found.
Warning 9 The referenced component ‘IronRuby.Libraries’ could not
be
found.
Warning 10 The referenced component ‘Ruby (Languages\Ruby\Ruby)’
could
not be found.
Warning 11 The referenced component ‘mscorlib’ could not be found.

Warning 12 The referenced component ‘System’ could not be found.
Warning 13 The referenced component ‘mscorlib’ could not be found.

Warning 14 The referenced component ‘System’ could not be found.
Warning 15 The referenced component ‘mscorlib’ could not be found.

Warning 16 The referenced component ‘System’ could not be found.

Thanks - good news and bad news.

Good news is that you can fix this problem by changing SVN_ROOT in
context.rb to c:\ironruby.

Bad news (for me) is that I think I got some assumptions wrong in the
Rakefile. I’ll get a fix out ASAP.

-John

From: [email protected]
[mailto:[email protected]] On Behalf Of Aaron Junod
Sent: Friday, March 21, 2008 4:16 AM
To: [email protected]
Subject: [Ironruby-core] Problems building revision 82

I just updated to r82 and had some issues. I removed my IronRuby folder
and started over and the problems stayed the same.

I am running on windows 2k3 with vs.nethttp://vs.net 2k5 and 2k8
loaded.

The rake --trace details for gen and compile are below.

I also couldn’t build in vs.nethttp://vs.net. Below the rake output is
the warning window from vs.nethttp://vs.net. It looks like none of the
projects can find mscorlib or system. I did change the build config to
ExternalDebug.

Please let me know if there is something I missed, or anything else I
can provide or do to help.

Thanks

Aaron

C:\IronRuby>rake gen --trace
(in C:/IronRuby)
** Invoke gen (first_time)
** Execute gen
rake aborted!
cannot find build in ProjectContext
./context.rb:195:in get_mapping' ./context.rb:205:in get_source_dir’
./context.rb:382:in build_path' C:/IronRuby/rakefile:682 ./context.rb:499:in instance_eval’
./context.rb:499:in source_context' C:/IronRuby/rakefile:681 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in call’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in invoke_task’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in standard_exception_handling’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
c:/ruby/bin/rake:16:in `load’
c:/ruby/bin/rake:16

C:\IronRuby>rake compile --trace
(in C:/IronRuby)
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
** Invoke clean_build (first_time)
** Invoke happy
** Execute clean_build
rake aborted!
cannot find build in ProjectContext
./context.rb:195:in get_mapping' ./context.rb:205:in get_source_dir’
./context.rb:382:in build_path' C:/IronRuby/rakefile:533 ./context.rb:499:in instance_eval’
./context.rb:499:in source_context' C:/IronRuby/rakefile:532 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in call’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in execute' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
invoke_prerequisites' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in send' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
invoke_prerequisites' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
synchronize' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in invoke_with_call_chain’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in invoke' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in invoke_task’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in each’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in standard_exception_handling’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
top_level' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in run’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
c:/ruby/bin/rake:16:in `load’
c:/ruby/bin/rake:16

C:\IronRuby>

Warning 1 The referenced component ‘Microsoft.Scripting.Core’
could not be found.
Warning 2 The referenced component ‘Microsoft.Scripting.Core’
could not be found.
Warning 3 The referenced component ‘Ruby (Ruby\Ruby)’ could not be
found.
Warning 4 The referenced component ‘Microsoft.Scripting.Core’
could not be found.
Warning 5 The referenced component ‘Ruby (Languages\Ruby\Ruby)’
could not be found.
Warning 6 The referenced component ‘Microsoft.Scripting.Core’
could not be found.
Warning 7 The referenced component ‘Ruby (Languages\Ruby\Ruby)’
could not be found.
Warning 8 The referenced component ‘Microsoft.Scripting.Core’
could not be found.
Warning 9 The referenced component ‘IronRuby.Libraries’ could not
be found.
Warning 10 The referenced component ‘Ruby (Languages\Ruby\Ruby)’
could not be found.
Warning 11 The referenced component ‘mscorlib’ could not be found.
Warning 12 The referenced component ‘System’ could not be found.
Warning 13 The referenced component ‘mscorlib’ could not be found.
Warning 14 The referenced component ‘System’ could not be found.
Warning 15 The referenced component ‘mscorlib’ could not be found.
Warning 16 The referenced component ‘System’ could not be found.

R84 should fix this now. Can you verify?

Thanks,
-John

Works now from rake, but still can’t compile in vs.net with
ExternalDebug. I
tried upgrading the sln to 2k8 as well, still no go. Of much less
concern to
me though :slight_smile:

Thanks

Aaron

On Fri, Mar 21, 2008 at 10:23 AM, John L. (DLR) [email protected]

John :

I changed the SVN_ROOT in context.rb (very first line) and still get the
same stack trace from rake gen --trace and rake compile --trace.
Anything
else I can try?

Also of note, when I opened the solution I got warnings about source
control
bindings. I don’t remember getting that with the last version I opened
in
vs.net, but could be mistaken.

Thanks so much!

Aaron

Not related to building, but rake spec - - dox is breaking as well
(first
thing I do after I build :slight_smile:

Here is the output.

C:\IronRuby>rake spec - - dox > output.txt
:0:in _stub_##9004': undefined local variable or method<=>’ for
1.8.6:ClrString (NoMethodError)
from :0:in method_missing' from :0:instub##9438
from c:\IronRuby\src\IronRuby.Libraries\Protocols.cs:478:in
Compare' from c:\IronRuby\src\IronRuby.Libraries\Builtins\RangeOps.cs:209:inCaseEquals’
from :0:in #block' from :0:instub##9428
from
c:\IronRuby\src\IronRuby.Libraries\Builtins\Enumerable.cs:80:in
<TrueForItems>b__0' from :0:instub##9427
from
c:\IronRuby\src\IronRuby.Libraries\Extensions\IListOps.cs:766:in Each' from :0:instub##8876
from
c:\IronRuby\src\IronRuby.Libraries\Builtins\Enumerable.cs:78:in
TrueForItems' from c:\IronRuby\src\IronRuby.Libraries\Builtins\Enumerable.cs:73:inTrueForAny’
from :0:in _stub_##9426' from :0:inguard’
from :0:in version' from :0:in#block
from :0:in platform' from :0:in#block
from :0:in _stub_##9363' from :0:indescribe’
from :0:in _stub_##8947' from :0:indescribe’
from :0:in main' from :0:inInitialize##9379
from
c:\IronRuby\src\IronRuby.Libraries\Builtins\Kernel.cs:266:in
`Load’

    from :0:in `_stub_##8933'
    from Snippets:0:in `#block'
    from :0:in `_stub_##8298'
    from

c:\IronRuby\src\IronRuby.Libraries\Extensions\IListOps.cs:766:in Each' from :0:instub##104
from Snippets:0:in run_specs' from :0:instub##109
from Snippets:0:in #block' from :0:instub##115
from c:\IronRuby\src\IronRuby.Libraries\Builtins\Dir.cs:88:in
ChangeDirectory' from :0:instub##107
from Snippets:0:in #block' from :0:instub##8288
from
c:\IronRuby\src\IronRuby.Libraries\Extensions\IListOps.cs:766:in Each' from Snippets:0:inmain’
from Snippets:0:in `Initialize’
C:\IronRuby>rake spec - - dox > output.txt

Sounds good, yeah I saw your commit comment AFTER I sent the email :slight_smile:

If I get a chance I’ll try to dig into the spec failure and give more
details later today or tomorrow. Sounds like fun.

Aaron

On Fri, Mar 21, 2008 at 10:56 AM, John L. (DLR) [email protected]

VS builds are still broken since I don’t transform project files yet
using the new logic.

Rake spec is broken somewhere due to our code changes recently. We’re
not running specs in our check-in suite (we should), so this is a
regression.

-John