ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:77153] [Ruby trunk Bug#12725] Trying to
       [not found] <redmine.issue-12725.20160905050423@ruby-lang.org>
@ 2016-09-05  5:04 ` duerst
  2016-09-05  5:14 ` [ruby-core:77154] [Ruby trunk Bug#12725] Trying to use ./miniruby before it exists duerst
  1 sibling, 0 replies; 2+ messages in thread
From: duerst @ 2016-09-05  5:04 UTC (permalink / raw
  To: ruby-core

Issue #12725 has been reported by Martin Dürst.

----------------------------------------
Bug #12725: Trying to
https://bugs.ruby-lang.org/issues/12725

* Author: Martin Dürst
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:77154] [Ruby trunk Bug#12725] Trying to use ./miniruby before it exists
       [not found] <redmine.issue-12725.20160905050423@ruby-lang.org>
  2016-09-05  5:04 ` [ruby-core:77153] [Ruby trunk Bug#12725] Trying to duerst
@ 2016-09-05  5:14 ` duerst
  1 sibling, 0 replies; 2+ messages in thread
From: duerst @ 2016-09-05  5:14 UTC (permalink / raw
  To: ruby-core

Issue #12725 has been updated by Martin Dürst.

File bug12725.txt added
Subject changed from Trying to to Trying to use ./miniruby before it exists
Assignee set to 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.

----------------------------------------
Bug #12725: Trying to use ./miniruby before it exists
https://bugs.ruby-lang.org/issues/12725#change-60371

* Author: Martin Dürst
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.4.0dev (2016-09-05 trunk 56071) [x86_64-cygwin]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------


---Files--------------------------------
bug12725.txt (6.08 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-05  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-12725.20160905050423@ruby-lang.org>
2016-09-05  5:04 ` [ruby-core:77153] [Ruby trunk Bug#12725] Trying to duerst
2016-09-05  5:14 ` [ruby-core:77154] [Ruby trunk Bug#12725] Trying to use ./miniruby before it exists duerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).