[ruby-core:105006] [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:
"nobu (Nobuyoshi Nakada)" <noreply@...>
Date:
2021-08-19 10:08:09 UTC
List:
ruby-core #105006
Issue #18118 has been updated by nobu (Nobuyoshi Nakada).
Backport changed from 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN to 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONTNEED
Status changed from Open to Closed
Fixed by commit:05485868cbd1e7a59063d5b4be2ee2313ac9fa25.
----------------------------------------
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#change-93406
* Author: Javalitterboy (bo gong)
* Status: Closed
* Priority: Normal
* ruby -v: ruby 2.5.8p224 (2020-03-31 revision 67882) [x64-mingw32]
* Backport: 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONTNEED
----------------------------------------
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>