ruby-debug / debase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to install debase on Windows 10: is the new version for ruby-3.2.2 not releasing yet?

xsinbh opened this issue · comments

System: Windows 10

Installing info:

C:\Users\XIAOSHUN>gem install debase
Using rubygems directory: C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR:  Error installing debase:
        ERROR: Failed to build gem native extension.

    current directory: C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-0.2.4.1/ext
D:/Programs/Ruby32-x64/bin/ruby.exe extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
**************************************************************************
No source for ruby-3.2.2-p53 (revision e51014f9c05aa65cbf203442d37fef7c12390015) provided with
debase-ruby_core_source gem. Falling back to ruby-3.2.0-p0.
**************************************************************************
checking for vm_core.h... yes
checking for iseq.h... yes
checking for version.h... yes
checking for vm_core.h... yes
checking for vm_insnhelper.h... no
Makefile creation failed
*************************************************************

  NOTE: If your headers were not found, try passing
        --with-ruby-include=PATH_TO_HEADERS

*************************************************************

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=D:/Programs/Ruby32-x64/bin/$(RUBY_BASE_NAME)
        --with-ruby-dir
        --without-ruby-dir
        --with-ruby-include
        --without-ruby-include=${ruby-dir}/include
        --with-ruby-lib
        --without-ruby-lib=${ruby-dir}/lib
        --with-vm_core-dir
        --without-vm_core-dir
        --with-vm_core-include
        --without-vm_core-include=${vm_core-dir}/include
        --with-vm_core-lib
        --without-vm_core-lib=${vm_core-dir}/lib
        --with-iseq-dir
        --without-iseq-dir
        --with-iseq-include
        --without-iseq-include=${iseq-dir}/include
        --with-iseq-lib
        --without-iseq-lib=${iseq-dir}/lib
        --with-version-dir
        --without-version-dir
        --with-version-include
        --without-version-include=${version-dir}/include
        --with-version-lib
        --without-version-lib=${version-dir}/lib
        --with-vm_insnhelper-dir
        --without-vm_insnhelper-dir
        --with-vm_insnhelper-include
        --without-vm_insnhelper-include=${vm_insnhelper-dir}/include
        --with-vm_insnhelper-lib
        --without-vm_insnhelper-lib=${vm_insnhelper-dir}/lib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/extensions/x64-mingw-ucrt/3.2.0/debase-0.2.4.1/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-0.2.4.1 for inspection.
Results logged to C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/extensions/x64-mingw-ucrt/3.2.0/debase-0.2.4.1/gem_make.out

mkmf.log

have_header: checking for vm_core.h... -------------------- no

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -o conftest.exe -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -O3 -fno-fast-math -fstack-protector-strong conftest.c  -L. -LD:/Programs/Ruby32-x64/lib -L. -pipe -s -fstack-protector-strong -Wl,--no-as-needed  -m64   -lx64-ucrt-ruby320  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
conftest.c:5:10: fatal error: vm_core.h: No such file or directory
    5 | #include <vm_core.h>
      |          ^~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <vm_core.h>
/* end */

--------------------

have_header: checking for vm_core.h... -------------------- no

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby-3.2.2-p53 -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
conftest.c:5:10: fatal error: vm_core.h: No such file or directory
    5 | #include <vm_core.h>
      |          ^~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <vm_core.h>
/* end */

--------------------

have_header: checking for vm_core.h... -------------------- yes

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -IC:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0 -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <vm_core.h>
/* end */

--------------------

have_header: checking for iseq.h... -------------------- yes

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -IC:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0 -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
In file included from C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/method.h:15,
                 from C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_core.h:97,
                 from C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/iseq.h:14,
                 from conftest.c:5:
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/internal/imemo.h: In function 'MEMO_V1_SET':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/internal/imemo.h:233:5: warning: implicit declaration of function 'RB_OBJ_WRITE'; did you mean 'RB_OBJ_WRITTEN'? [-Wimplicit-function-declaration]
  233 |     RB_OBJ_WRITE(m, &m->v1, v);
      |     ^~~~~~~~~~~~
      |     RB_OBJ_WRITTEN
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <iseq.h>
/* end */

--------------------

have_header: checking for version.h... -------------------- yes

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -IC:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0 -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <version.h>
/* end */

--------------------

have_header: checking for vm_core.h... -------------------- yes

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -IC:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0 -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <vm_core.h>
/* end */

--------------------

have_header: checking for vm_insnhelper.h... -------------------- no

PATH=".;D:/Programs/Ruby32-x64/lib;D:\Programs\Ruby32-x64\bin;D:\Programs\Ruby32-x64\msys64\ucrt64\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;D:\Programs\Ruby32-x64\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32\HWAudioDriverLibs;D:\Programs\Java-jre\bin;D:\Programs\Java-jre\jre\bin;D:\Programs\VMware Workstation 16 Player\bin\;D:\Programs\OpenSSH-Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\XIAOSHUN\AppData\Roaming\shortcuts;D:\Programs\Git\cmd;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;D:\Programs\Python;D:\Programs\NetSarang\Xshell 7\;D:\Programs\NetSarang\Xftp 7\;D:\Programs\Python\Python311;D:\Programs\Python\Python311\Scripts;D:\Programs\Microsoft VS Code\bin;D:\Programs\mingw64\bin;C:\Program Files\dotnet\;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;D:\Programs\opencv\opencv\build\x64\vc15\bin;D:\Programs\Ruby32-x64\msys64\usr\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%CLion%;%USERPROFILE%\.dotnet\tools;D:\Programs\Anaconda;D:\Programs\Anaconda\Scripts;D:\Programs\Anaconda\Library\bin;D:\Programs\Anaconda\Library\usr\bin;D:\Programs\Anaconda\Library\mingw-w64\bin;" "gcc -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/x64-mingw-ucrt -ID:/Programs/Ruby32-x64/include/ruby-3.2.0/ruby/backward -ID:/Programs/Ruby32-x64/include/ruby-3.2.0 -I. -IC:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0 -O3 -fno-fast-math -fstack-protector-strong -m64  -c conftest.c"
In file included from conftest.c:5:
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:17:13: error: unknown type name 'rb_serial_t'
   17 | RUBY_EXTERN rb_serial_t ruby_vm_constant_cache_invalidations;
      |             ^~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:18:13: error: unknown type name 'rb_serial_t'
   18 | RUBY_EXTERN rb_serial_t ruby_vm_constant_cache_misses;
      |             ^~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:19:13: error: unknown type name 'rb_serial_t'
   19 | RUBY_EXTERN rb_serial_t ruby_vm_global_cvar_state;
      |             ^~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:128:48: error: unknown type name 'vm_call_handler'; did you mean '_purecall_handler'?
  128 | CC_SET_FASTPATH(const struct rb_callcache *cc, vm_call_handler func, bool enabled)
      |                                                ^~~~~~~~~~~~~~~
      |                                                _purecall_handler
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:188:33: error: unknown type name 'rb_control_frame_t'
  188 | THROW_DATA_NEW(VALUE val, const rb_control_frame_t *cf, int st)
      |                                 ^~~~~~~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_NEW':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:190:57: warning: implicit declaration of function 'rb_imemo_new'; did you mean 'rb_time_new'? [-Wimplicit-function-declaration]
  190 |     struct vm_throw_data *obj = (struct vm_throw_data *)rb_imemo_new(imemo_throw_data, val, (VALUE)cf, 0, 0);
      |                                                         ^~~~~~~~~~~~
      |                                                         rb_time_new
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:190:70: error: 'imemo_throw_data' undeclared (first use in this function); did you mean 'vm_throw_data'?
  190 |     struct vm_throw_data *obj = (struct vm_throw_data *)rb_imemo_new(imemo_throw_data, val, (VALUE)cf, 0, 0);
      |                                                                      ^~~~~~~~~~~~~~~~
      |                                                                      vm_throw_data
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:190:70: note: each undeclared identifier is reported only once for each function it appears in
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:191:8: error: invalid use of undefined type 'struct vm_throw_data'
  191 |     obj->throw_state = st;
      |        ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_VAL':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:198:5: warning: implicit declaration of function 'VM_ASSERT'; did you mean 'C_ASSERT'? [-Wimplicit-function-declaration]
  198 |     VM_ASSERT(THROW_DATA_P(obj));
      |     ^~~~~~~~~
      |     C_ASSERT
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:198:15: warning: implicit declaration of function 'THROW_DATA_P'; did you mean 'THROW_DATA_VAL'? [-Wimplicit-function-declaration]
  198 |     VM_ASSERT(THROW_DATA_P(obj));
      |               ^~~~~~~~~~~~
      |               THROW_DATA_VAL
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:199:15: error: invalid use of undefined type 'const struct vm_throw_data'
  199 |     return obj->throw_obj;
      |               ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: At top level:
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:202:21: error: unknown type name 'rb_control_frame_t'
  202 | static inline const rb_control_frame_t *
      |                     ^~~~~~~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_CATCH_FRAME':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:206:15: error: invalid use of undefined type 'const struct vm_throw_data'
  206 |     return obj->catch_frame;
      |               ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_STATE':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:213:15: error: invalid use of undefined type 'const struct vm_throw_data'
  213 |     return obj->throw_state;
      |               ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_CONSUMED_P':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:220:15: error: invalid use of undefined type 'const struct vm_throw_data'
  220 |     return obj->flags & THROW_DATA_CONSUMED;
      |               ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:220:25: error: 'THROW_DATA_CONSUMED' undeclared (first use in this function); did you mean 'THROW_DATA_CONSUMED_P'?
  220 |     return obj->flags & THROW_DATA_CONSUMED;
      |                         ^~~~~~~~~~~~~~~~~~~
      |                         THROW_DATA_CONSUMED_P
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: At top level:
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:224:61: error: unknown type name 'rb_control_frame_t'
  224 | THROW_DATA_CATCH_FRAME_SET(struct vm_throw_data *obj, const rb_control_frame_t *cfp)
      |                                                             ^~~~~~~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_CATCH_FRAME_SET':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:227:8: error: invalid use of undefined type 'struct vm_throw_data'
  227 |     obj->catch_frame = cfp;
      |        ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_STATE_SET':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:234:8: error: invalid use of undefined type 'struct vm_throw_data'
  234 |     obj->throw_state = st;
      |        ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'THROW_DATA_CONSUMED_SET':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:241:34: error: 'TAG_BREAK' undeclared (first use in this function); did you mean 'EV_BREAK'?
  241 |         THROW_DATA_STATE(obj) == TAG_BREAK) {
      |                                  ^~~~~~~~~
      |                                  EV_BREAK
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:242:12: error: invalid use of undefined type 'struct vm_throw_data'
  242 |         obj->flags |= THROW_DATA_CONSUMED;
      |            ^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:242:23: error: 'THROW_DATA_CONSUMED' undeclared (first use in this function); did you mean 'THROW_DATA_CONSUMED_P'?
  242 |         obj->flags |= THROW_DATA_CONSUMED;
      |                       ^~~~~~~~~~~~~~~~~~~
      |                       THROW_DATA_CONSUMED_P
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: At top level:
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:253:62: warning: 'struct rb_callcache' declared inside parameter list will not be visible outside of this definition or declaration
  253 | vm_call_cacheable(const struct rb_callinfo *ci, const struct rb_callcache *cc)
      |                                                              ^~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:253:32: warning: 'struct rb_callinfo' declared inside parameter list will not be visible outside of this definition or declaration
  253 | vm_call_cacheable(const struct rb_callinfo *ci, const struct rb_callcache *cc)
      |                                ^~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'vm_call_cacheable':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:255:13: warning: implicit declaration of function 'vm_ci_flag' [-Wimplicit-function-declaration]
  255 |     return (vm_ci_flag(ci) & VM_CALL_FCALL) ||
      |             ^~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:255:30: error: 'VM_CALL_FCALL' undeclared (first use in this function)
  255 |     return (vm_ci_flag(ci) & VM_CALL_FCALL) ||
      |                              ^~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:256:9: warning: implicit declaration of function 'METHOD_ENTRY_VISI' [-Wimplicit-function-declaration]
  256 |         METHOD_ENTRY_VISI(vm_cc_cme(cc)) != METHOD_VISI_PROTECTED;
      |         ^~~~~~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:256:27: warning: implicit declaration of function 'vm_cc_cme' [-Wimplicit-function-declaration]
  256 |         METHOD_ENTRY_VISI(vm_cc_cme(cc)) != METHOD_VISI_PROTECTED;
      |                           ^~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:256:45: error: 'METHOD_VISI_PROTECTED' undeclared (first use in this function)
  256 |         METHOD_ENTRY_VISI(vm_cc_cme(cc)) != METHOD_VISI_PROTECTED;
      |                                             ^~~~~~~~~~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: At top level:
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:261:71: warning: 'struct rb_callcache' declared inside parameter list will not be visible outside of this definition or declaration
  261 | vm_call_iseq_optimizable_p(const struct rb_callinfo *ci, const struct rb_callcache *cc)
      |                                                                       ^~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:261:41: warning: 'struct rb_callinfo' declared inside parameter list will not be visible outside of this definition or declaration
  261 | vm_call_iseq_optimizable_p(const struct rb_callinfo *ci, const struct rb_callcache *cc)
      |                                         ^~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h: In function 'vm_call_iseq_optimizable_p':
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:246:54: error: 'VM_CALL_ARGS_SPLAT' undeclared (first use in this function)
  246 | #define IS_ARGS_SPLAT(ci)          (vm_ci_flag(ci) & VM_CALL_ARGS_SPLAT)
      |                                                      ^~~~~~~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:246:54: note: in definition of macro 'IS_ARGS_SPLAT'
  246 | #define IS_ARGS_SPLAT(ci)          (vm_ci_flag(ci) & VM_CALL_ARGS_SPLAT)
      |                                                      ^~~~~~~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:247:54: error: 'VM_CALL_KWARG' undeclared (first use in this function)
  247 | #define IS_ARGS_KEYWORD(ci)        (vm_ci_flag(ci) & VM_CALL_KWARG)
      |                                                      ^~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:247:54: note: in definition of macro 'IS_ARGS_KEYWORD'
  247 | #define IS_ARGS_KEYWORD(ci)        (vm_ci_flag(ci) & VM_CALL_KWARG)
      |                                                      ^~~~~~~~~~~~~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:263:76: warning: passing argument 1 of 'vm_call_cacheable' from incompatible pointer type [-Wincompatible-pointer-types]
  263 |     return !IS_ARGS_SPLAT(ci) && !IS_ARGS_KEYWORD(ci) && vm_call_cacheable(ci, cc);
      |                                                                            ^~
      |                                                                            |
      |                                                                            const struct rb_callinfo *
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:253:45: note: expected 'const struct rb_callinfo *' but argument is of type 'const struct rb_callinfo *'
  253 | vm_call_cacheable(const struct rb_callinfo *ci, const struct rb_callcache *cc)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:263:80: warning: passing argument 2 of 'vm_call_cacheable' from incompatible pointer type [-Wincompatible-pointer-types]
  263 |     return !IS_ARGS_SPLAT(ci) && !IS_ARGS_KEYWORD(ci) && vm_call_cacheable(ci, cc);
      |                                                                                ^~
      |                                                                                |
      |                                                                                const struct rb_callcache *
C:/Users/XIAOSHUN/.local/share/gem/ruby/3.2.0/gems/debase-ruby_core_source-3.2.2/lib/debase/ruby_core_source/ruby-3.2.0-p0/vm_insnhelper.h:253:76: note: expected 'const struct rb_callcache *' but argument is of type 'const struct rb_callcache *'
  253 | vm_call_cacheable(const struct rb_callinfo *ci, const struct rb_callcache *cc)
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <vm_insnhelper.h>
/* end */

--------------------

gem list --local

C:\Users\XIAOSHUN>gem list --local

*** LOCAL GEMS ***

abbrev (default: 0.1.1)
base64 (default: 0.1.1)
benchmark (default: 0.2.1)
bigdecimal (3.1.4, default: 3.1.3)
bundle (0.0.1)
bundler (2.4.19, default: 2.4.10)
cgi (0.3.6)
csv (3.2.7, default: 3.2.6)
date (3.3.3)
debase (0.2.5.beta2)
debase-ruby_core_source (3.2.2)
debug (1.7.1)
delegate (default: 0.3.0)
did_you_mean (default: 1.6.3)
digest (default: 3.1.1)
drb (default: 2.1.1)
english (default: 0.7.2)
erb (4.0.3, default: 4.0.2)
error_highlight (default: 0.5.1)
etc (default: 1.4.2)
fcntl (default: 1.0.2)
fiddle (default: 1.1.1)
fileutils (1.7.1, default: 1.7.0)
find (default: 0.1.1)
forwardable (default: 1.3.3)
getoptlong (default: 0.2.0)
io-console (0.6.0)
io-nonblock (default: 0.2.0)
io-wait (default: 0.3.0)
ipaddr (default: 1.2.5)
irb (default: 1.6.2)
json (default: 2.6.3)
logger (default: 1.5.3)
matrix (0.4.2)
minitest (5.20.0, 5.16.3)
mutex_m (default: 0.1.2)
net-ftp (0.2.0)
net-http (default: 0.3.2)
net-imap (0.3.7, 0.3.4)
net-pop (0.1.2)
net-protocol (0.2.1)
net-smtp (0.4.0, 0.3.3)
nkf (0.1.3, default: 0.1.2)
observer (default: 0.1.1)
open-uri (default: 0.3.0)
open3 (default: 0.1.2)
openssl (default: 3.1.0)
optparse (default: 0.3.1)
ostruct (default: 0.5.5)
pathname (default: 0.2.1)
power_assert (2.0.3)
pp (default: 0.4.0)
prettyprint (default: 0.1.1)
prime (0.1.2)
pstore (default: 0.1.2)
psych (default: 5.0.1)
racc (1.7.1, default: 1.6.2)
rake (13.0.6)
rbs (3.2.1, 2.8.2)
rdoc (default: 6.5.0)
readline (default: 0.0.3)
reline (0.3.8, default: 0.3.2)
resolv (default: 0.2.2)
resolv-replace (default: 0.1.1)
rexml (3.2.6, 3.2.5)
rinda (default: 0.1.1)
rss (0.3.0, 0.2.9)
ruby-debug-ide (0.7.3)
ruby2_keywords (default: 0.0.5)
rubygems-update (3.4.19)
securerandom (default: 0.2.2)
set (default: 1.0.3)
shellwords (default: 0.1.0)
singleton (default: 0.1.1)
stringio (3.0.8, default: 3.0.4)
strscan (3.0.6, default: 3.0.5)
syntax_suggest (1.1.0, default: 1.0.2)
tempfile (default: 0.1.3)
test-unit (3.6.1, 3.5.7)
time (default: 0.2.2)
timeout (0.4.0, default: 0.3.1)
tmpdir (default: 0.1.3)
tsort (default: 0.1.1)
typeprof (0.21.8, 0.21.3)
un (default: 0.2.1)
uri (0.12.2, default: 0.12.1)
weakref (default: 0.1.2)
win32ole (default: 1.8.9)
yaml (default: 0.2.1)
zlib (default: 3.0.0)

gem -v

3.4.10

im having this same issue

I'm running into this issue as well.

Opened oneclick/rubyinstaller2#358 with the ruby installer in case issue lies there.

Tried specifying the path where the 'missing' vm_insnhelper.h file is with --with-ruby-include=header_path as suggested but it's still not found when building the gem.

PS D:\Users\Brad\Documents\src\debase-issue> gem install debase -- --with-ruby-include="C:\Ruby32-x64\lib\ruby\gems\3.2.0\gems\debase-ruby_core_source-3.2.2\lib\debase\ruby_core_source\ruby-3.2.0-p0"
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions with: '--with-ruby-include=C:\Ruby32-x64\lib\ruby\gems\3.2.0\gems\debase-ruby_core_source-3.2.2\lib\debase\ruby_core_source\ruby-3.2.0-p0'
This could take a while...
ERROR:  Error installing debase:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/debase-0.2.4.1/ext
C:/Ruby32-x64/bin/ruby.exe extconf.rb --with-ruby-include\=C:\\Ruby32-x64\\lib\\ruby\\gems\\3.2.0\\gems\\debase-ruby_core_source-3.2.2\\lib\\debase\\ruby_core_source\\ruby-3.2.0-p0
checking for vm_core.h... yes
checking for iseq.h... yes
checking for version.h... yes
checking for vm_core.h... yes
checking for vm_insnhelper.h... no
checking for vm_core.h... no
**************************************************************************
No source for ruby-3.2.2-p53 (revision e51014f9c05aa65cbf203442d37fef7c12390015) provided with
debase-ruby_core_source gem. Falling back to ruby-3.2.0-p0.
**************************************************************************
checking for vm_core.h... yes
checking for iseq.h... yes
checking for version.h... yes
checking for vm_core.h... yes
checking for vm_insnhelper.h... no
Makefile creation failed
*************************************************************

  NOTE: If your headers were not found, try passing
        --with-ruby-include=PATH_TO_HEADERS

*************************************************************

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/Ruby32-x64/bin/$(RUBY_BASE_NAME)
        --with-ruby-dir
        --without-ruby-dir
        --with-ruby-include=${ruby-dir}/include
        --with-ruby-lib
        --without-ruby-lib=${ruby-dir}/lib
        --with-vm_core-dir
        --without-vm_core-dir
        --with-vm_core-include
        --without-vm_core-include=${vm_core-dir}/include
        --with-vm_core-lib
        --without-vm_core-lib=${vm_core-dir}/lib
        --with-iseq-dir
        --without-iseq-dir
        --with-iseq-include
        --with-iseq-lib
        --without-iseq-lib=${iseq-dir}/lib
        --with-version-dir
        --without-version-dir
        --with-version-include
        --without-version-include=${version-dir}/include
        --with-version-lib
        --without-version-lib=${version-dir}/lib
        --with-vm_insnhelper-dir
        --without-vm_insnhelper-dir
        --with-vm_insnhelper-include
        --without-vm_insnhelper-include=${vm_insnhelper-dir}/include
        --with-vm_insnhelper-lib
        --without-vm_insnhelper-lib=${vm_insnhelper-dir}/lib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/debase-0.2.4.1/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/debase-0.2.4.1 for inspection.
Results logged to C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/debase-0.2.4.1/gem_make.out