https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112013-01-18T04:07:15ZRuby Issue Tracking SystemRuby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=354632013-01-18T04:07:15Zluislavena (Luis Lavena)luislavena@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li></ul> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=354642013-01-18T04:14:54Zjonforums (Jon Forums)
<ul></ul><p>I see test-all failures after reverting r38839; trying a fresh build to see if it's a red-herring.</p>
<p>Luis or Hiroshi...can you repro?</p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=354652013-01-18T05:27:58Zjonforums (Jon Forums)
<ul></ul><p>With a fresh Win7 build, reverting r38839 fixes the build, <code>make test</code> is OK, but <code>make test-all</code> stumbles over the cliff in</p>
<p>[ 7987/13078] TestProcess#test_too_long_path2</p>
<p>by exiting <code>sh</code> (msys) into cmd.exe. Oddly, typing <code>exit</code> from cmd.exe (eh??) returns you back to <code>sh</code>, gives the following failure</p>
<p>c:\projects\rubyinstaller-git\sandbox\ruby19_build><br>
c:\projects\rubyinstaller-git\sandbox\ruby19_build>exit<br>
= 474.95 s<br>
58) Failure:<br>
test_too_long_path2(TestProcess) [c:/Users/Jon/Documents/RubyDev/ruby-git/test/ruby/test_process.rb:1393]:<br>
<a href="/issues/4315">[ruby-core:34833]</a>.<br>
[Errno::ENOENT, Errno::E2BIG] expected but nothing was raised.</p>
<p>and continues running tests until finishing with</p>
<p>Finished tests in 1319.324032s, 9.9127 tests/s, 1591.9213 assertions/s.<br>
13078 tests, 2100260 assertions, 2 failures, 2 errors, 96 skips</p>
<p>ruby -v: ruby 2.0.0dev (2013-01-17 trunk 38864) [i386-mingw32]<br>
make: *** [yes-test-all] Error 4<br>
sh-3.1$</p>
<p>Here's <code>TestProcess#test_too_long_path2</code></p>
<p>def test_too_long_path2<br>
bug4315 = '<a href="/issues/4315">[ruby-core:34833]</a>'<br>
exs = [Errno::ENOENT]<br>
exs << Errno::E2BIG if defined?(Errno::E2BIG)<br>
assert_raise(*exs, bug4315) {Process.spawn('"a"|'*10_000_000)}<br>
end</p>
<p>On Arch 3.6.11 with r38839 reverted: build OK, <code>make test</code> OK, and <code>make test-all</code> completes with 4 (unrelated?) failures.</p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=354802013-01-19T05:31:28Zluislavena (Luis Lavena)luislavena@gmail.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>7</i></li></ul><p>Hello Nobu,</p>
<p>We didn't get a response about this from you.</p>
<p>Please let us know if you can solve this or that we should revert such change.</p>
<p>Thank you.</p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=354962013-01-20T17:07:50Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Priority</strong> changed from <i>7</i> to <i>5</i></li></ul><p>Hi, I know it's important, but wanna decrease its priority because it seems build finishes.</p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=354972013-01-20T20:28:21Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul></ul><p>Now I suspect msys should be cross compiling.</p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=354982013-01-20T22:24:35Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r38886.<br>
Jon, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>vpath.rb: hack for msys make</p>
<ul>
<li>tool/vpath.rb (VPath#def_options): hack for msys make, which<br>
converts a command line argument to non-msys command seems like a<br>
path list automagically. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: [mingw] r38839 breaks build (Closed)" href="https://bugs.ruby-lang.org/issues/7710">#7710</a>] <a href="/issues/7710">[ruby-core:51489]</a></li>
</ul> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=355012013-01-20T23:40:58Zluislavena (Luis Lavena)luislavena@gmail.com
<ul></ul><p>shyouhei (Shyouhei Urabe) wrote:</p>
<blockquote>
<p>Hi, I know it's important, but wanna decrease its priority because it seems build finishes.</p>
</blockquote>
<p>Urabe-san, the first build that passed was 30 minutes ago, it was broken for many builds:</p>
<p><a href="http://ci.rubyinstaller.org/view/All/builds" class="external">http://ci.rubyinstaller.org/view/All/builds</a></p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=355022013-01-20T23:41:43Zluislavena (Luis Lavena)luislavena@gmail.com
<ul></ul><p>nobu (Nobuyoshi Nakada) wrote:</p>
<blockquote>
<p>Now I suspect msys should be cross compiling.</p>
</blockquote>
<p>I don't understand this but thank you for fixing it.</p>
<p>I assume this could affect cross-compilation of Ruby? I'll try and report back.</p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=355052013-01-21T00:38:21Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul></ul><p>I meant that we should use msys-native ruby as BASERUBY instead of built miniruby, but seems msys doesn't provide its native ruby.</p> Ruby master - Bug #7710: [mingw] r38839 breaks buildhttps://bugs.ruby-lang.org/issues/7710?journal_id=355062013-01-21T02:01:57Zjonforums (Jon Forums)
<ul></ul><p>Thank you nobu-san.</p>
<a name="Win7-32bit"></a>
<h1 >Win7 32bit<a href="#Win7-32bit" class="wiki-anchor">¶</a></h1>
<p>build: PASS<br>
make test: PASS<br>
make test-all: 2 FAILS, <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: TestFile#test_utime failure (Closed)" href="https://bugs.ruby-lang.org/issues/7276">#7276</a> and <code>TestProcess#test_too_long_path2</code> (new issue) mentioned above</p>
<a name="Arch-3611-32bit"></a>
<h1 >Arch 3.6.11 32bit<a href="#Arch-3611-32bit" class="wiki-anchor">¶</a></h1>
<p>build, make test, make test-all: PASS</p>
<a name="Ubuntu-Server-1210-64bit"></a>
<h1 >Ubuntu Server 12.10 64bit<a href="#Ubuntu-Server-1210-64bit" class="wiki-anchor">¶</a></h1>
<p>build, make test, make test-all: PASS</p>
<p>I will create a new issue for <code>TestProcess#test_too_long_path2</code> later today. Odd that it's not also failing at ci.rubyinstaller.org</p>
<p>re: potentially using msys-native ruby as BASERUBY rather than build miniruby, this will not work well with the existing rubyinstaller build recipes because the msys environment is not usually persistent. Meaning, msys+mingw are typically extracted into a temp sandbox dir and only used for the build. The sandbox dir is usually deleted after each build. For example, when I build on Win7 32bit I create a 800MiB ramdisk (via imdisk) holding the temp sandbox build dir.</p>