https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112016-09-05T05:14:50ZRuby Issue Tracking SystemRuby master - Bug #12725: Trying to use ./miniruby before it existshttps://bugs.ruby-lang.org/issues/12725?journal_id=603712016-09-05T05:14:50Zduerst (Martin Dürst)duerst@it.aoyama.ac.jp
<ul><li><strong>File</strong> <a href="/attachments/6130">bug12725.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6130/bug12725.txt">bug12725.txt</a> added</li><li><strong>Subject</strong> changed from <i>Trying to</i> to <i>Trying to use ./miniruby before it exists</i></li><li><strong>Assignee</strong> set to <i>nobu (Nobuyoshi Nakada)</i></li><li><strong>ruby -v</strong> set to <i>ruby 2.4.0dev (2016-09-05 trunk 56071) [x86_64-cygwin]</i></li></ul><p>When trying to compile ruby from a fresh checkout, with the Unicode version changed to 9.0.0, I get the following error:</p>
<pre><code>./miniruby.exe -I./lib -I. -I.ext/common ./tool/enc-unicode.rb --header ./enc/unicode/data/9.0.0 > enc/unicode/9.0.0/name2ctype.h
/bin/sh: ./miniruby.exe: No such file or directory
make[1]: *** [uncommon.mk:1110: enc/unicode/9.0.0/name2ctype.h] Error 127
make[1]: Leaving directory '/cygdrive/c/Data/ruby_test9'
make: *** [uncommon.mk:1104: enc/unicode/9.0.0/name2ctype.h] Error 2
</code></pre>
<p>./miniruby.exe is not yet available, but there is an attempt to use it. I think the solution is to either use base ruby here, or to delay the production of the files derived from Unicode data files to a later stage.</p>
<p>I do not get this error from a preexisting checkout, obviously because ./miniruby already exists. But this problem should also affect continuous integration, unless it is for some reason cygwin-specific.</p>
<p>I'm attaching a configuration summary and the full make output.</p>
<p>I apologize for having pressed the submit button erroneously when I barely started writing this bug report.</p> Ruby master - Bug #12725: Trying to use ./miniruby before it existshttps://bugs.ruby-lang.org/issues/12725?journal_id=645492017-04-28T13:45:42Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li></ul> Ruby master - Bug #12725: Trying to use ./miniruby before it existshttps://bugs.ruby-lang.org/issues/12725?journal_id=1042142023-08-22T22:33:48Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul></ul><p><a class="user active user-mention" href="https://bugs.ruby-lang.org/users/50">@duerst (Martin Dürst)</a> Have you seen this issue reoccur since it was initially posted? If not, do you think this can be closed?</p>