Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby-head builds are broken on Windows due to "fatal error: rb_mjit_min_header-3.2.0.h: No such file or directory" #11

Open
ivoanjo opened this issue Aug 17, 2022 · 0 comments

Comments

@ivoanjo
Copy link
Owner

ivoanjo commented Aug 17, 2022

See https://github.com/ivoanjo/backtracie/runs/7888944992?check_suite_focus=true:

Run bundle exec rake
D:/rubyinstaller-head-x64/bin/ruby.exe -I. -r.rake-compiler-siteconf.rb ../../../../ext/backtracie_native_extension/extconf.rb
checking for whether -fvisibility=hidden is accepted as CFLAGS... yes
creating extconf.h
creating Makefile
make.exe
generating backtracie_native_extension-x64-mingw-ucrt.def
compiling ../../../../ext/backtracie_native_extension/backtracie.c
compiling ../../../../ext/backtracie_native_extension/backtracie_frames.c
In file included from ../../../../ext/backtracie_native_extension/backtracie_frames.c:114:
./extconf.h:3:26: fatal error: rb_mjit_min_header-3.2.0.h: No such file or directory
    3 | #define RUBY_MJIT_HEADER "rb_mjit_min_header-3.2.0.h"
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:[24](https://github.com/ivoanjo/backtracie/runs/7888944992?check_suite_focus=true#step:4:25)7: backtracie_frames.o] Error 1
rake aborted!
Command failed with status (2): [make.exe...]
D:/a/backtracie/backtracie/vendor/bundle/ruby/3.2.0+2/gems/rake-compiler-1.2.0/lib/rake/extensiontask.rb:181:in `block (2 levels) in define_compile_tasks'
D:/a/backtracie/backtracie/vendor/bundle/ruby/3.2.0+2/gems/rake-compiler-1.2.0/lib/rake/extensiontask.rb:180:in `block in define_compile_tasks'
D:/a/backtracie/backtracie/vendor/bundle/ruby/3.2.0+2/gems/rake-13.0.6/exe/rake:[27](https://github.com/ivoanjo/backtracie/runs/7888944992?check_suite_focus=true#step:4:28):in `<top (required)>'
Tasks: TOP => default => compile => compile:x64-mingw-ucrt => compile:backtracie_native_extension:x64-mingw-ucrt => copy:backtracie_native_extension:x64-mingw-ucrt:3.2.0 => tmp/x64-mingw-ucrt/backtracie_native_extension/3.2.0/backtracie_native_extension.so
(See full trace by running task with --trace)
mkdir -p tmp/x64-mingw-ucrt/backtracie_native_extension/3.2.0
cd tmp/x64-mingw-ucrt/backtracie_native_extension/3.2.0
cd -
cd tmp/x64-mingw-ucrt/backtracie_native_extension/3.2.0
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant