From: usa@...
Date: 2018-06-29T04:55:46+00:00
Subject: [ruby-core:87680] [Ruby trunk Bug#14873] Compile failure - MinGW	build as of 63768

Issue #14873 has been updated by usa (Usaku NAKAMURA).


Eric, your recent changes about process.c actually broke Windows build.
r63785 fixed a little, but test-all still reports 14904E.
I recommend to revert all commits from r63754, and restart.

----------------------------------------
Bug #14873: Compile failure - MinGW build as of 63768
https://bugs.ruby-lang.org/issues/14873#change-72700

* Author: MSP-Greg (Greg L)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0dev (2018-06-27 trunk 63758) [x64-mingw32]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
normalperson (Eric Wong),

The MinGW build (ruby-loco) on 63768 had the following error:

```
building .ext/include/x64-mingw32/rb_mjit_min_header-2.6.0.h
./miniruby.exe -I../ruby/lib -I. -I.ext/common  ../ruby/tool/transform_mjit_header.rb "x86_64-w64-mingw32-gcc " rb_mjit_header.h .ext/include/x64-mingw32/rb_mjit_min_header-2.6.0.h
../ruby/tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb updated
generating enc.mk
creating verconf.h
verconf.h updated
../ruby/tool/transform_mjit_header.rb:118:in `block in check_code!': undefined method `success?' for nil:NilClass (NoMethodError)
	from ../ruby/tool/transform_mjit_header.rb:181:in `block in with_code'
	from C:/projects/ruby-loco/src/ruby/lib/tempfile.rb:295:in `open'
	from ../ruby/tool/transform_mjit_header.rb:178:in `with_code'
	from ../ruby/tool/transform_mjit_header.rb:115:in `check_code!'
	from ../ruby/tool/transform_mjit_header.rb:210:in `<main>'
make: *** [uncommon.mk:224: .ext/include/x64-mingw32/rb_mjit_min_header-2.6.0.h] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
Command exited with code 1
```

Thanks, Greg



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