[ruby-core:104986] [Ruby master Bug#18118] Error compiling ruby 2.7.0: pure_parser.rb:25:in `gets': Can't do inplace edit without backup (fatal)
From:
"Javalitterboy (bo gong)" <noreply@...>
Date:
2021-08-19 04:26:01 UTC
List:
ruby-core #104986
Issue #18118 has been reported by Javalitterboy (bo gong).
----------------------------------------
Bug #18118: Error compiling ruby 2.7.0: pure_parser.rb:25:in `gets': Can't do inplace edit without backup (fatal)
https://bugs.ruby-lang.org/issues/18118
* Author: Javalitterboy (bo gong)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.5.8p224 (2020-03-31 revision 67882) [x64-mingw32]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
I get an error when compiling ruby from https://github.com/ruby/ruby
### Environment
VS2015 x64 x86 compatible tool command prompt
ruby 2.5.0
```
E:\ruby>win32\configure.bat
Creating verconf.mk
Creating Makefile.new
"type `nmake' to make ruby."
E:\ruby>namke
```
### Short description of error
```
Traceback (most recent call last):
2: from ./tool/pure_parser.rb:25:in `<main>'
1: from ./tool/pure_parser.rb:25:in `gets'
./tool/pure_parser.rb:25:in `gets': Can't do inplace edit without backup (fatal)
NMAKE : fatal error U1077: “C:\RUBY25~1\bin\ruby.exe”: 返回代码“0x1”
```
---Files--------------------------------
Makefile (1.21 KB)
verconf.mk (65 Bytes)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>