Actions
Bug #13611
closedMinGW spec/rubyspec/optional/capi compile/link issues
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-05-29 trunk 58958) [x64-mingw32]
Description
For the last two weeks, I have been successfully running make test-spec
in MinGW builds. Over this past weekend, there were several changes to the build system for the spec/rubyspec/optional/capi tests.
I built ruby 2.5.0dev (2017-05-29 trunk 58958) [x64-mingw32]
, and had the following errors:
Console output:
E:\GitHub\ruby-loco\src\build-x86_64>make.exe -ij1 "MSPECOPT=-fs" test-spec
$ E:/GitHub/ruby-loco/src/build-x86_64/miniruby -IE:/GitHub/ruby-loco/src/ruby/lib E:/GitHub/ruby-loco/src/ruby/tool/runruby.rb --archdir=E:/GitHub/ruby-loco/src/build-x8
6_64 --extout=.ext -- E:/GitHub/ruby-loco/src/ruby/spec/mspec/bin/mspec-run -B ../ruby/spec/default.mspec -fs
x86_64-w64-mingw32-gcc: error: $(DEFFILE): No such file or directory
-- above line repeated 26 times
Log file - 35 similar errors ('E:/GitHub/ruby-loco/src/ruby/' removed from all file listings to shorten):
4)
An exception occurred during: loading spec/rubyspec/optional/capi/array_spec.rb ERROR
RuntimeError: Unable to link "spec/rubyspec/optional/capi/ext/array_spec.c"
spec/rubyspec/optional/capi/spec_helper.rb:104:in `compile_extension'
spec/rubyspec/optional/capi/spec_helper.rb:146:in `load_extension'
spec/rubyspec/optional/capi/array_spec.rb:3:in `<top (required)>'
Otherwise, build and test-all are as expected, running mspec from install/pkg directory (and without optional/capi) ran fine, etc.
Actions
Like0
Like0Like0Like0