Project

General

Profile

Actions

Bug #12725

open

Trying to use ./miniruby before it exists

Added by duerst (Martin Dürst) over 7 years ago. Updated 7 months ago.

Status:
Assigned
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-09-05 trunk 56071) [x86_64-cygwin]
[ruby-core:77153]

Files

bug12725.txt (6.08 KB) bug12725.txt duerst (Martin Dürst), 09/05/2016 05:14 AM

Updated by duerst (Martin Dürst) over 7 years ago

  • File bug12725.txt bug12725.txt added
  • Subject changed from Trying to to Trying to use ./miniruby before it exists
  • Assignee set to nobu (Nobuyoshi Nakada)
  • ruby -v set to ruby 2.4.0dev (2016-09-05 trunk 56071) [x86_64-cygwin]

When trying to compile ruby from a fresh checkout, with the Unicode version changed to 9.0.0, I get the following error:

./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

./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.

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.

I'm attaching a configuration summary and the full make output.

I apologize for having pressed the submit button erroneously when I barely started writing this bug report.

Actions #2

Updated by shyouhei (Shyouhei Urabe) almost 7 years ago

  • Status changed from Open to Assigned

Updated by jeremyevans0 (Jeremy Evans) 7 months ago

@duerst (Martin Dürst) Have you seen this issue reoccur since it was initially posted? If not, do you think this can be closed?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0