Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fetching gem metadata from https://rubygems.org/.
- Fetching gem metadata from https://rubygems.org/............
- Resolving dependencies...
- Resolving dependencies...
- Installing ffi 1.9.25 with native extensions
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c
- C:/Ruby32-x64/bin/ruby.exe extconf.rb
- checking for ffi.h... no
- checking for ffi.h in /usr/local/include,/usr/include/ffi... no
- checking for shlwapi.h... yes
- checking for ruby/thread.h... yes
- checking for rb_thread_blocking_region()... no
- checking for rb_thread_call_with_gvl()... yes
- checking for rb_thread_call_without_gvl()... yes
- creating extconf.h
- creating Makefile
- current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c
- make DESTDIR\= sitearchdir\=./.gem.20240123-19732-kt2x95
- sitelibdir\=./.gem.20240123-19732-kt2x95 clean
- current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c
- make DESTDIR\= sitearchdir\=./.gem.20240123-19732-kt2x95
- sitelibdir\=./.gem.20240123-19732-kt2x95
- generating ffi_c-x64-mingw-ucrt.def
- Configuring libffi
- make -C
- "/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt"
- make[1]: Entering directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
- make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-Wall -fexceptions' 'CXXFLAGS=-g -O2'
- 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c'
- 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_PROGRAM=/usr/bin/install -c'
- 'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' 'LDFLAGS=' 'LIBCFLAGS='
- 'LIBCFLAGS_FOR_TARGET=' 'MAKE=make' 'MAKEINFO=/bin/sh
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/missing
- makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh'
- 'exec_prefix=/ucrt64' 'infodir=/ucrt64/share/info' 'libdir=/ucrt64/lib'
- 'mandir=/ucrt64/share/man' 'prefix=/ucrt64' 'AR=ar' 'AS=as'
- 'CC=x86_64-w64-mingw32-gcc' 'CXX=x86_64-w64-mingw32-g++'
- 'LD=C:/Ruby32-x64/msys64/ucrt64/x86_64-w64-mingw32/bin/ld.exe'
- 'NM=/ucrt64/bin/nm -B' 'RANLIB=ranlib' 'DESTDIR=' all-recursive
- make[2]: Entering directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
- Making all in include
- make[3]: Entering directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/include'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/include'
- Making all in testsuite
- make[3]: Entering directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/testsuite'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/testsuite'
- Making all in man
- make[3]: Entering directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/man'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/man'
- make[3]: Entering directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
- /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
- -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c -o src/prep_cif.lo
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c
- libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c
- -DDLL_EXPORT -DPIC -o src/.libs/prep_cif.o
- /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
- -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c -o src/types.lo
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c
- libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c
- -DDLL_EXPORT -DPIC -o src/.libs/types.o
- /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
- -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c -o src/raw_api.lo
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c
- libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c
- -DDLL_EXPORT -DPIC -o src/.libs/raw_api.o
- /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
- -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c -o src/java_raw_api.lo
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c
- libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c
- -DDLL_EXPORT -DPIC -o src/.libs/java_raw_api.o
- /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
- -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c -o src/closures.lo
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c
- libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c
- -DDLL_EXPORT -DPIC -o src/.libs/closures.o
- /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
- -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c -o src/x86/ffiw64.lo
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffiw64.c
- libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -c
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffiw64.c
- -DDLL_EXPORT -DPIC -o src/x86/.libs/ffiw64.o
- /bin/sh ./libtool --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -c -o
- src/x86/win64.lo
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64.S
- libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -c
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64.S
- -DDLL_EXPORT -DPIC -o src/x86/.libs/win64.o
- x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
- -Iinclude
- -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
- -fexceptions -DX86_WIN64 -E -x assembler-with-cpp -o libffi.map
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.map.in
- /bin/sh ./libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall
- -fexceptions -o libffi_convenience.la src/prep_cif.lo src/types.lo
- src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffiw64.lo
- src/x86/win64.lo
- libtool: link: rm -fr .libs/libffi_convenience.a(D)
- libtool: link: ar cru .libs/libffi_convenience.a src/.libs/prep_cif.o
- src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o
- src/.libs/closures.o src/x86/.libs/ffiw64.o src/x86/.libs/win64.o
- C:\Ruby32-x64\msys64\ucrt64\bin\ar.exe: `u' modifier ignored since `D' is the
- default (see `U')
- libtool: link: ranlib .libs/libffi_convenience.a
- libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && cp -pR
- "../libffi_convenience.la" "libffi_convenience.la" )
- /bin/sh ./libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall
- -fexceptions -no-undefined -version-info `grep -v '^#'
- /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libtool-version`
- -Wl,--version-script,libffi.map -no-undefined -bindir "/ucrt64/bin" -o
- libffi.la -rpath /ucrt64/lib/../lib src/prep_cif.lo src/types.lo src/raw_api.lo
- src/java_raw_api.lo src/closures.lo src/x86/ffiw64.lo src/x86/win64.lo
- libtool: link: x86_64-w64-mingw32-gcc -shared src/.libs/prep_cif.o
- src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o
- src/.libs/closures.o src/x86/.libs/ffiw64.o src/x86/.libs/win64.o
- -Wl,--version-script -Wl,libffi.map -o .libs/libffi-7.dll
- -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libffi.dll.a
- libtool: link: ( cd ".libs" && rm -f "libffi.la" && cp -pR "../libffi.la"
- "libffi.la" )
- make[3]: Leaving directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
- make[2]: Leaving directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
- make[1]: Leaving directory
- '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
- compiling AbstractMemory.c
- AbstractMemory.c: In function 'memory_get_string':
- AbstractMemory.c:420:12: warning: implicit declaration of function
- 'rb_tainted_str_new'; did you mean 'rb_utf8_str_new'?
- [-Wimplicit-function-declaration]
- 420 | return rb_tainted_str_new((char *) ptr->address + off,
- | ^~~~~~~~~~~~~~~~~~
- | rb_utf8_str_new
- AbstractMemory.c: In function 'memory_get_array_of_string':
- AbstractMemory.c:456:58: warning: implicit declaration of function
- 'rb_tainted_str_new2'; did you mean 'rb_utf8_str_new'?
- [-Wimplicit-function-declaration]
- 456 | rb_ary_push(retVal, (strptr == NULL ? Qnil :
- rb_tainted_str_new2(strptr)));
- |
- ^~~~~~~~~~~~~~~~~~~
- | rb_utf8_str_new
- AbstractMemory.c: In function 'memory_put_bytes':
- AbstractMemory.c:586:9: warning: implicit declaration of function
- 'rb_safe_level' [-Wimplicit-function-declaration]
- 586 | if (rb_safe_level() >= 1 && OBJ_TAINTED(str)) {
- | ^~~~~~~~~~~~~
- AbstractMemory.c:586:5: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness
- turned out to be a wrong idea. [-Wdeprecated-declarations]
- 586 | if (rb_safe_level() >= 1 && OBJ_TAINTED(str)) {
- | ^~
- In file included from
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/core/rstring.h:30,
- from
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29,
- from
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic.h:24,
- from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:28,
- from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
- from AbstractMemory.c:43:
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: declared
- here
- 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
- | ^~~~~~~~~~~~~~
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: in
- definition of macro 'RB_OBJ_TAINTED'
- 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
- | ^~~~~~~~~~~~~~
- compiling ArrayType.c
- compiling Buffer.c
- compiling Call.c
- Call.c: In function 'rbffi_SetupCallParams':
- Call.c:303:25: warning: implicit declaration of function 'rb_safe_level'
- [-Wimplicit-function-declaration]
- 303 | if (rb_safe_level() >= 1 &&
- OBJ_TAINTED(argv[argidx])) {
- | ^~~~~~~~~~~~~
- Call.c:303:21: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out
- to be a wrong idea. [-Wdeprecated-declarations]
- 303 | if (rb_safe_level() >= 1 &&
- OBJ_TAINTED(argv[argidx])) {
- | ^~
- In file included from
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/core/rstring.h:30,
- from
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29,
- from
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic.h:24,
- from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:28,
- from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
- from Call.c:45:
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: declared
- here
- 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
- | ^~~~~~~~~~~~~~
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: in
- definition of macro 'RB_OBJ_TAINTED'
- 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
- | ^~~~~~~~~~~~~~
- Call.c: In function 'rbffi_CallFunction':
- Call.c:412:20: warning: passing argument 1 of 'rb_rescue2' from incompatible
- pointer type [-Wincompatible-pointer-types]
- 412 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
- rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | VALUE (*)(void *) {aka long long unsigned int
- (*)(void *)}
- In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41:
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:26: note: expected
- 'VALUE (*)(VALUE)' {aka 'long long unsigned int (*)(long long unsigned int)'}
- but argument is of type 'VALUE (*)(void *)' {aka 'long long unsigned int
- (*)(void *)'}
- 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
- (*r_proc)(VALUE, VALUE), VALUE data2, ...);
- | ~~~~~~~~^~~~~~~~~~~~~~
- Call.c:412:56: warning: passing argument 3 of 'rb_rescue2' from incompatible
- pointer type [-Wincompatible-pointer-types]
- 412 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
- rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
- |
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | VALUE (*)(void *,
- VALUE) {aka long long unsigned int (*)(void *, long long unsigned int)}
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:63: note: expected
- 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
- int, long long unsigned int)'} but argument is of type 'VALUE (*)(void *,
- VALUE)' {aka 'long long unsigned int (*)(void *, long long unsigned int)'}
- 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
- (*r_proc)(VALUE, VALUE), VALUE data2, ...);
- |
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- compiling ClosurePool.c
- compiling DataConverter.c
- compiling DynamicLibrary.c
- DynamicLibrary.c: In function 'library_dlerror':
- DynamicLibrary.c:167:12: warning: implicit declaration of function
- 'rb_tainted_str_new2'; did you mean 'rb_utf8_str_new'?
- [-Wimplicit-function-declaration]
- 167 | return rb_tainted_str_new2(errmsg);
- | ^~~~~~~~~~~~~~~~~~~
- | rb_utf8_str_new
- compiling Function.c
- Function.c: In function 'callback_with_gvl':
- Function.c:740:16: warning: passing argument 1 of 'rb_rescue2' from incompatible
- pointer type [-Wincompatible-pointer-types]
- 740 | rb_rescue2(invoke_callback, (VALUE) data, save_callback_exception,
- (VALUE) data, rb_eException, (VALUE) 0);
- | ^~~~~~~~~~~~~~~
- | |
- | VALUE (*)(void *) {aka long long unsigned int (*)(void
- *)}
- In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41,
- from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
- from Function.c:49:
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:26: note: expected
- 'VALUE (*)(VALUE)' {aka 'long long unsigned int (*)(long long unsigned int)'}
- but argument is of type 'VALUE (*)(void *)' {aka 'long long unsigned int
- (*)(void *)'}
- 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
- (*r_proc)(VALUE, VALUE), VALUE data2, ...);
- | ~~~~~~~~^~~~~~~~~~~~~~
- Function.c:740:47: warning: passing argument 3 of 'rb_rescue2' from incompatible
- pointer type [-Wincompatible-pointer-types]
- 740 | rb_rescue2(invoke_callback, (VALUE) data, save_callback_exception,
- (VALUE) data, rb_eException, (VALUE) 0);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- | |
- | VALUE (*)(void *, VALUE)
- {aka long long unsigned int (*)(void *, long long unsigned int)}
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:63: note: expected
- 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
- int, long long unsigned int)'} but argument is of type 'VALUE (*)(void *,
- VALUE)' {aka 'long long unsigned int (*)(void *, long long unsigned int)'}
- 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
- (*r_proc)(VALUE, VALUE), VALUE data2, ...);
- |
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- Function.c: In function 'invoke_callback':
- Function.c:811:62: warning: implicit declaration of function
- 'rb_tainted_str_new2'; did you mean 'rb_utf8_str_new'?
- [-Wimplicit-function-declaration]
- 811 | param = (*(void **) parameters[i] != NULL) ?
- rb_tainted_str_new2(*(char **) parameters[i]) : Qnil;
- |
- ^~~~~~~~~~~~~~~~~~~
- |
- rb_utf8_str_new
- Function.c: In function 'callback_prep':
- Function.c:951:5: warning: 'ffi_prep_closure' is deprecated: use
- ffi_prep_closure_loc instead [-Wdeprecated-declarations]
- 951 | ffiStatus = ffi_prep_closure(code, &fnInfo->ffi_cif,
- callback_invoke, closure);
- | ^~~~~~~~~
- In file included from Function.c:54:
- C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/include/ffi.h:332:1:
- note: declared here
- 332 | ffi_prep_closure (ffi_closure*,
- | ^~~~~~~~~~~~~~~~
- compiling FunctionInfo.c
- compiling LastError.c
- compiling LongDouble.c
- LongDouble.c: In function 'rbffi_longdouble_new':
- LongDouble.c:19:59: warning: passing argument 3 of 'rb_rescue' from incompatible
- pointer type [-Wincompatible-pointer-types]
- 19 | rb_cBigDecimal = rb_rescue(bigdecimal_load, Qnil,
- bigdecimal_failed, rb_cObject);
- |
- ^~~~~~~~~~~~~~~~~
- | |
- | VALUE
- (*)(VALUE) {aka long long unsigned int (*)(long long unsigned int)}
- In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41,
- from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
- from LongDouble.h:33,
- from LongDouble.c:1:
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:364:62: note: expected
- 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
- int, long long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka
- 'long long unsigned int (*)(long long unsigned int)'}
- 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
- (*r_proc)(VALUE, VALUE), VALUE data2);
- |
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- compiling MappedType.c
- compiling MemoryPointer.c
- compiling MethodHandle.c
- MethodHandle.c: In function 'prep_trampoline':
- MethodHandle.c:151:5: warning: 'ffi_prep_closure' is deprecated: use
- ffi_prep_closure_loc instead [-Wdeprecated-declarations]
- 151 | ffiStatus = ffi_prep_closure(code, &mh_cif, attached_method_invoke,
- closure);
- | ^~~~~~~~~
- In file included from MethodHandle.c:53:
- C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/include/ffi.h:332:1:
- note: declared here
- 332 | ffi_prep_closure (ffi_closure*,
- | ^~~~~~~~~~~~~~~~
- compiling Platform.c
- compiling Pointer.c
- compiling Struct.c
- compiling StructByReference.c
- compiling StructByValue.c
- compiling StructLayout.c
- compiling Thread.c
- compiling Type.c
- compiling Types.c
- Types.c: In function 'rbffi_NativeValue_ToRuby':
- Types.c:83:47: warning: implicit declaration of function 'rb_tainted_str_new2';
- did you mean 'rb_utf8_str_new'? [-Wimplicit-function-declaration]
- 83 | return (*(void **) ptr != NULL) ? rb_tainted_str_new2(*(char
- **) ptr) : Qnil;
- | ^~~~~~~~~~~~~~~~~~~
- | rb_utf8_str_new
- compiling Variadic.c
- Variadic.c: In function 'variadic_invoke':
- Variadic.c:274:20: warning: passing argument 1 of 'rb_rescue2' from incompatible
- pointer type [-Wincompatible-pointer-types]
- 274 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
- rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | VALUE (*)(void *) {aka long long unsigned int
- (*)(void *)}
- In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41,
- from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
- from Variadic.c:43:
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:26: note: expected
- 'VALUE (*)(VALUE)' {aka 'long long unsigned int (*)(long long unsigned int)'}
- but argument is of type 'VALUE (*)(void *)' {aka 'long long unsigned int
- (*)(void *)'}
- 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
- (*r_proc)(VALUE, VALUE), VALUE data2, ...);
- | ~~~~~~~~^~~~~~~~~~~~~~
- Variadic.c:274:56: warning: passing argument 3 of 'rb_rescue2' from incompatible
- pointer type [-Wincompatible-pointer-types]
- 274 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
- rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
- |
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | VALUE (*)(void *,
- VALUE) {aka long long unsigned int (*)(void *, long long unsigned int)}
- C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:63: note: expected
- 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
- int, long long unsigned int)'} but argument is of type 'VALUE (*)(void *,
- VALUE)' {aka 'long long unsigned int (*)(void *, long long unsigned int)'}
- 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
- (*r_proc)(VALUE, VALUE), VALUE data2, ...);
- |
- ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- compiling ffi.c
- linking shared-object ffi_c.so
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- AbstractMemory.o:AbstractMemory:(.text+0x952): undefined reference to
- `rb_safe_level'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- AbstractMemory.o:AbstractMemory:(.text+0xc25): undefined reference to
- `rb_tainted_str_new2'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- AbstractMemory.o:AbstractMemory:(.text+0xce1): undefined reference to
- `rb_tainted_str_new2'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- AbstractMemory.o:AbstractMemory:(.text+0x1e72): undefined reference to
- `rb_tainted_str_new'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- AbstractMemory.o:AbstractMemory:(.text+0x1f1a): undefined reference to
- `rb_tainted_str_new2'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- AbstractMemory.o:AbstractMemory:(.text+0x4ae1): undefined reference to
- `rb_tainted_str_new'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- AbstractMemory.o:AbstractMemory:(.text+0x5221): undefined reference to
- `rb_tainted_str_new'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- Call.o:Call.c:(.text+0x4f1): undefined reference to `rb_safe_level'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- DynamicLibrary.o:DynamicLibrary:(.text+0x2f5): undefined reference to
- `rb_tainted_str_new2'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- Function.o:Function.c:(.text+0x1421): undefined reference to
- `rb_tainted_str_new2'
- C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
- Types.o:Types.c:(.text+0xea): undefined reference to `rb_tainted_str_new2'
- collect2.exe: error: ld returned 1 exit status
- make: *** [Makefile:265: ffi_c.so] Error 1
- make failed, exit code 2
- Gem files will remain installed in
- C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25 for inspection.
- Results logged to
- C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/ffi-1.9.25/gem_make.out
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:125:in `run'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in
- make'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `each'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `make'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:42:in
- `build'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:193:in
- `build_extension'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:227:in `block
- in build_extensions'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `each'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in
- `build_extensions'
- C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:852:in
- `build_extensions'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/rubygems_gem_installer.rb:76:in
- `build_extensions'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/rubygems_gem_installer.rb:28:in
- `install'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/source/rubygems.rb:205:in
- `install'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/gem_installer.rb:54:in
- `install'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/gem_installer.rb:16:in
- `install_from_spec'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/parallel_installer.rb:132:in
- `do_install'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/parallel_installer.rb:123:in
- `block in worker_pool'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:62:in
- `apply_func'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:57:in
- `block in process_queue'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:54:in
- `loop'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:54:in
- `process_queue'
- C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:90:in
- `block (2 levels) in create_threads'
- An error occurred while installing ffi (1.9.25), and Bundler cannot continue.
- In Gemfile:
- listen was resolved to 3.8.0, which depends on
- rb-inotify was resolved to 0.9.10, which depends on
- ffi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement