Advertisement
foadsf

Untitled

Jan 23rd, 2024
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.06 KB | None | 0 0
  1. Fetching gem metadata from https://rubygems.org/.
  2. Fetching gem metadata from https://rubygems.org/............
  3. Resolving dependencies...
  4. Resolving dependencies...
  5. Installing ffi 1.9.25 with native extensions
  6. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  7.  
  8. current directory:
  9. C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c
  10. C:/Ruby32-x64/bin/ruby.exe extconf.rb
  11. checking for ffi.h... no
  12. checking for ffi.h in /usr/local/include,/usr/include/ffi... no
  13. checking for shlwapi.h... yes
  14. checking for ruby/thread.h... yes
  15. checking for rb_thread_blocking_region()... no
  16. checking for rb_thread_call_with_gvl()... yes
  17. checking for rb_thread_call_without_gvl()... yes
  18. creating extconf.h
  19. creating Makefile
  20.  
  21. current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c
  22. make DESTDIR\= sitearchdir\=./.gem.20240123-19732-kt2x95
  23. sitelibdir\=./.gem.20240123-19732-kt2x95 clean
  24.  
  25. current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c
  26. make DESTDIR\= sitearchdir\=./.gem.20240123-19732-kt2x95
  27. sitelibdir\=./.gem.20240123-19732-kt2x95
  28. generating ffi_c-x64-mingw-ucrt.def
  29. Configuring libffi
  30. make -C
  31. "/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt"
  32. make[1]: Entering directory
  33. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
  34. make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-Wall -fexceptions' 'CXXFLAGS=-g -O2'
  35. 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c'
  36. 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_PROGRAM=/usr/bin/install -c'
  37. 'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' 'LDFLAGS=' 'LIBCFLAGS='
  38. 'LIBCFLAGS_FOR_TARGET=' 'MAKE=make' 'MAKEINFO=/bin/sh
  39. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/missing
  40. makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh'
  41. 'exec_prefix=/ucrt64' 'infodir=/ucrt64/share/info' 'libdir=/ucrt64/lib'
  42. 'mandir=/ucrt64/share/man' 'prefix=/ucrt64' 'AR=ar' 'AS=as'
  43. 'CC=x86_64-w64-mingw32-gcc' 'CXX=x86_64-w64-mingw32-g++'
  44. 'LD=C:/Ruby32-x64/msys64/ucrt64/x86_64-w64-mingw32/bin/ld.exe'
  45. 'NM=/ucrt64/bin/nm -B' 'RANLIB=ranlib' 'DESTDIR=' all-recursive
  46. make[2]: Entering directory
  47. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
  48. Making all in include
  49. make[3]: Entering directory
  50. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/include'
  51. make[3]: Nothing to be done for 'all'.
  52. make[3]: Leaving directory
  53. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/include'
  54. Making all in testsuite
  55. make[3]: Entering directory
  56. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/testsuite'
  57. make[3]: Nothing to be done for 'all'.
  58. make[3]: Leaving directory
  59. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/testsuite'
  60. Making all in man
  61. make[3]: Entering directory
  62. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/man'
  63. make[3]: Nothing to be done for 'all'.
  64. make[3]: Leaving directory
  65. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt/man'
  66. make[3]: Entering directory
  67. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
  68. /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
  69. -DHAVE_CONFIG_H -I.
  70. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  71. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  72. -Iinclude
  73. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  74. -fexceptions -c -o src/prep_cif.lo
  75. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c
  76. libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  77. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  78. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  79. -Iinclude
  80. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  81. -fexceptions -c
  82. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c
  83. -DDLL_EXPORT -DPIC -o src/.libs/prep_cif.o
  84. /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
  85. -DHAVE_CONFIG_H -I.
  86. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  87. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  88. -Iinclude
  89. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  90. -fexceptions -c -o src/types.lo
  91. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c
  92. libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  93. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  94. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  95. -Iinclude
  96. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  97. -fexceptions -c
  98. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c
  99. -DDLL_EXPORT -DPIC -o src/.libs/types.o
  100. /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
  101. -DHAVE_CONFIG_H -I.
  102. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  103. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  104. -Iinclude
  105. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  106. -fexceptions -c -o src/raw_api.lo
  107. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c
  108. libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  109. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  110. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  111. -Iinclude
  112. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  113. -fexceptions -c
  114. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c
  115. -DDLL_EXPORT -DPIC -o src/.libs/raw_api.o
  116. /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
  117. -DHAVE_CONFIG_H -I.
  118. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  119. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  120. -Iinclude
  121. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  122. -fexceptions -c -o src/java_raw_api.lo
  123. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c
  124. libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  125. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  126. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  127. -Iinclude
  128. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  129. -fexceptions -c
  130. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c
  131. -DDLL_EXPORT -DPIC -o src/.libs/java_raw_api.o
  132. /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
  133. -DHAVE_CONFIG_H -I.
  134. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  135. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  136. -Iinclude
  137. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  138. -fexceptions -c -o src/closures.lo
  139. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c
  140. libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  141. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  142. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  143. -Iinclude
  144. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  145. -fexceptions -c
  146. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c
  147. -DDLL_EXPORT -DPIC -o src/.libs/closures.o
  148. /bin/sh ./libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc
  149. -DHAVE_CONFIG_H -I.
  150. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  151. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  152. -Iinclude
  153. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  154. -fexceptions -c -o src/x86/ffiw64.lo
  155. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffiw64.c
  156. libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  157. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  158. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  159. -Iinclude
  160. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  161. -fexceptions -c
  162. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffiw64.c
  163. -DDLL_EXPORT -DPIC -o src/x86/.libs/ffiw64.o
  164. /bin/sh ./libtool --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  165. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  166. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  167. -Iinclude
  168. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -I.
  169. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  170. -Iinclude
  171. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -c -o
  172. src/x86/win64.lo
  173. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64.S
  174. libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  175. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  176. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  177. -Iinclude
  178. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -I.
  179. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  180. -Iinclude
  181. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -c
  182. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64.S
  183. -DDLL_EXPORT -DPIC -o src/x86/.libs/win64.o
  184. x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
  185. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I.
  186. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include
  187. -Iinclude
  188. -I/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall
  189. -fexceptions -DX86_WIN64 -E -x assembler-with-cpp -o libffi.map
  190. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.map.in
  191. /bin/sh ./libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall
  192. -fexceptions -o libffi_convenience.la src/prep_cif.lo src/types.lo
  193. src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffiw64.lo
  194. src/x86/win64.lo
  195. libtool: link: rm -fr .libs/libffi_convenience.a(D)
  196. libtool: link: ar cru .libs/libffi_convenience.a src/.libs/prep_cif.o
  197. src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o
  198. src/.libs/closures.o src/x86/.libs/ffiw64.o src/x86/.libs/win64.o
  199. C:\Ruby32-x64\msys64\ucrt64\bin\ar.exe: `u' modifier ignored since `D' is the
  200. default (see `U')
  201. libtool: link: ranlib .libs/libffi_convenience.a
  202. libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && cp -pR
  203. "../libffi_convenience.la" "libffi_convenience.la" )
  204. /bin/sh ./libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall
  205. -fexceptions -no-undefined -version-info `grep -v '^#'
  206. /c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libtool-version`
  207. -Wl,--version-script,libffi.map -no-undefined -bindir "/ucrt64/bin" -o
  208. libffi.la -rpath /ucrt64/lib/../lib src/prep_cif.lo src/types.lo src/raw_api.lo
  209. src/java_raw_api.lo src/closures.lo src/x86/ffiw64.lo src/x86/win64.lo
  210. libtool: link: x86_64-w64-mingw32-gcc -shared src/.libs/prep_cif.o
  211. src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o
  212. src/.libs/closures.o src/x86/.libs/ffiw64.o src/x86/.libs/win64.o
  213. -Wl,--version-script -Wl,libffi.map -o .libs/libffi-7.dll
  214. -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libffi.dll.a
  215. libtool: link: ( cd ".libs" && rm -f "libffi.la" && cp -pR "../libffi.la"
  216. "libffi.la" )
  217. make[3]: Leaving directory
  218. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
  219. make[2]: Leaving directory
  220. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
  221. make[1]: Leaving directory
  222. '/c/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x64-mingw-ucrt'
  223. compiling AbstractMemory.c
  224. AbstractMemory.c: In function 'memory_get_string':
  225. AbstractMemory.c:420:12: warning: implicit declaration of function
  226. 'rb_tainted_str_new'; did you mean 'rb_utf8_str_new'?
  227. [-Wimplicit-function-declaration]
  228. 420 | return rb_tainted_str_new((char *) ptr->address + off,
  229. | ^~~~~~~~~~~~~~~~~~
  230. | rb_utf8_str_new
  231. AbstractMemory.c: In function 'memory_get_array_of_string':
  232. AbstractMemory.c:456:58: warning: implicit declaration of function
  233. 'rb_tainted_str_new2'; did you mean 'rb_utf8_str_new'?
  234. [-Wimplicit-function-declaration]
  235. 456 | rb_ary_push(retVal, (strptr == NULL ? Qnil :
  236. rb_tainted_str_new2(strptr)));
  237. |
  238. ^~~~~~~~~~~~~~~~~~~
  239. | rb_utf8_str_new
  240. AbstractMemory.c: In function 'memory_put_bytes':
  241. AbstractMemory.c:586:9: warning: implicit declaration of function
  242. 'rb_safe_level' [-Wimplicit-function-declaration]
  243. 586 | if (rb_safe_level() >= 1 && OBJ_TAINTED(str)) {
  244. | ^~~~~~~~~~~~~
  245. AbstractMemory.c:586:5: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness
  246. turned out to be a wrong idea. [-Wdeprecated-declarations]
  247. 586 | if (rb_safe_level() >= 1 && OBJ_TAINTED(str)) {
  248. | ^~
  249. In file included from
  250. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/core/rstring.h:30,
  251. from
  252. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29,
  253. from
  254. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic.h:24,
  255. from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:28,
  256. from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
  257. from AbstractMemory.c:43:
  258. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: declared
  259. here
  260. 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
  261. | ^~~~~~~~~~~~~~
  262. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: in
  263. definition of macro 'RB_OBJ_TAINTED'
  264. 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
  265. | ^~~~~~~~~~~~~~
  266. compiling ArrayType.c
  267. compiling Buffer.c
  268. compiling Call.c
  269. Call.c: In function 'rbffi_SetupCallParams':
  270. Call.c:303:25: warning: implicit declaration of function 'rb_safe_level'
  271. [-Wimplicit-function-declaration]
  272. 303 | if (rb_safe_level() >= 1 &&
  273. OBJ_TAINTED(argv[argidx])) {
  274. | ^~~~~~~~~~~~~
  275. Call.c:303:21: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out
  276. to be a wrong idea. [-Wdeprecated-declarations]
  277. 303 | if (rb_safe_level() >= 1 &&
  278. OBJ_TAINTED(argv[argidx])) {
  279. | ^~
  280. In file included from
  281. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/core/rstring.h:30,
  282. from
  283. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29,
  284. from
  285. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/arithmetic.h:24,
  286. from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:28,
  287. from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
  288. from Call.c:45:
  289. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: declared
  290. here
  291. 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
  292. | ^~~~~~~~~~~~~~
  293. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/fl_type.h:118:30: note: in
  294. definition of macro 'RB_OBJ_TAINTED'
  295. 118 | #define RB_OBJ_TAINTED RB_OBJ_TAINTED
  296. | ^~~~~~~~~~~~~~
  297. Call.c: In function 'rbffi_CallFunction':
  298. Call.c:412:20: warning: passing argument 1 of 'rb_rescue2' from incompatible
  299. pointer type [-Wincompatible-pointer-types]
  300. 412 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
  301. rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
  302. | ^~~~~~~~~~~~~~~~~~~~~~
  303. | |
  304. | VALUE (*)(void *) {aka long long unsigned int
  305. (*)(void *)}
  306. In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41:
  307. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:26: note: expected
  308. 'VALUE (*)(VALUE)' {aka 'long long unsigned int (*)(long long unsigned int)'}
  309. but argument is of type 'VALUE (*)(void *)' {aka 'long long unsigned int
  310. (*)(void *)'}
  311. 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
  312. (*r_proc)(VALUE, VALUE), VALUE data2, ...);
  313. | ~~~~~~~~^~~~~~~~~~~~~~
  314. Call.c:412:56: warning: passing argument 3 of 'rb_rescue2' from incompatible
  315. pointer type [-Wincompatible-pointer-types]
  316. 412 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
  317. rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
  318. |
  319. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  320. | |
  321. | VALUE (*)(void *,
  322. VALUE) {aka long long unsigned int (*)(void *, long long unsigned int)}
  323. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:63: note: expected
  324. 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
  325. int, long long unsigned int)'} but argument is of type 'VALUE (*)(void *,
  326. VALUE)' {aka 'long long unsigned int (*)(void *, long long unsigned int)'}
  327. 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
  328. (*r_proc)(VALUE, VALUE), VALUE data2, ...);
  329. |
  330. ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  331. compiling ClosurePool.c
  332. compiling DataConverter.c
  333. compiling DynamicLibrary.c
  334. DynamicLibrary.c: In function 'library_dlerror':
  335. DynamicLibrary.c:167:12: warning: implicit declaration of function
  336. 'rb_tainted_str_new2'; did you mean 'rb_utf8_str_new'?
  337. [-Wimplicit-function-declaration]
  338. 167 | return rb_tainted_str_new2(errmsg);
  339. | ^~~~~~~~~~~~~~~~~~~
  340. | rb_utf8_str_new
  341. compiling Function.c
  342. Function.c: In function 'callback_with_gvl':
  343. Function.c:740:16: warning: passing argument 1 of 'rb_rescue2' from incompatible
  344. pointer type [-Wincompatible-pointer-types]
  345. 740 | rb_rescue2(invoke_callback, (VALUE) data, save_callback_exception,
  346. (VALUE) data, rb_eException, (VALUE) 0);
  347. | ^~~~~~~~~~~~~~~
  348. | |
  349. | VALUE (*)(void *) {aka long long unsigned int (*)(void
  350. *)}
  351. In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41,
  352. from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
  353. from Function.c:49:
  354. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:26: note: expected
  355. 'VALUE (*)(VALUE)' {aka 'long long unsigned int (*)(long long unsigned int)'}
  356. but argument is of type 'VALUE (*)(void *)' {aka 'long long unsigned int
  357. (*)(void *)'}
  358. 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
  359. (*r_proc)(VALUE, VALUE), VALUE data2, ...);
  360. | ~~~~~~~~^~~~~~~~~~~~~~
  361. Function.c:740:47: warning: passing argument 3 of 'rb_rescue2' from incompatible
  362. pointer type [-Wincompatible-pointer-types]
  363. 740 | rb_rescue2(invoke_callback, (VALUE) data, save_callback_exception,
  364. (VALUE) data, rb_eException, (VALUE) 0);
  365. | ^~~~~~~~~~~~~~~~~~~~~~~
  366. | |
  367. | VALUE (*)(void *, VALUE)
  368. {aka long long unsigned int (*)(void *, long long unsigned int)}
  369. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:63: note: expected
  370. 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
  371. int, long long unsigned int)'} but argument is of type 'VALUE (*)(void *,
  372. VALUE)' {aka 'long long unsigned int (*)(void *, long long unsigned int)'}
  373. 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
  374. (*r_proc)(VALUE, VALUE), VALUE data2, ...);
  375. |
  376. ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  377. Function.c: In function 'invoke_callback':
  378. Function.c:811:62: warning: implicit declaration of function
  379. 'rb_tainted_str_new2'; did you mean 'rb_utf8_str_new'?
  380. [-Wimplicit-function-declaration]
  381. 811 | param = (*(void **) parameters[i] != NULL) ?
  382. rb_tainted_str_new2(*(char **) parameters[i]) : Qnil;
  383. |
  384. ^~~~~~~~~~~~~~~~~~~
  385. |
  386. rb_utf8_str_new
  387. Function.c: In function 'callback_prep':
  388. Function.c:951:5: warning: 'ffi_prep_closure' is deprecated: use
  389. ffi_prep_closure_loc instead [-Wdeprecated-declarations]
  390. 951 | ffiStatus = ffi_prep_closure(code, &fnInfo->ffi_cif,
  391. callback_invoke, closure);
  392. | ^~~~~~~~~
  393. In file included from Function.c:54:
  394. 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:
  395. note: declared here
  396. 332 | ffi_prep_closure (ffi_closure*,
  397. | ^~~~~~~~~~~~~~~~
  398. compiling FunctionInfo.c
  399. compiling LastError.c
  400. compiling LongDouble.c
  401. LongDouble.c: In function 'rbffi_longdouble_new':
  402. LongDouble.c:19:59: warning: passing argument 3 of 'rb_rescue' from incompatible
  403. pointer type [-Wincompatible-pointer-types]
  404. 19 | rb_cBigDecimal = rb_rescue(bigdecimal_load, Qnil,
  405. bigdecimal_failed, rb_cObject);
  406. |
  407. ^~~~~~~~~~~~~~~~~
  408. | |
  409. | VALUE
  410. (*)(VALUE) {aka long long unsigned int (*)(long long unsigned int)}
  411. In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41,
  412. from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
  413. from LongDouble.h:33,
  414. from LongDouble.c:1:
  415. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:364:62: note: expected
  416. 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
  417. int, long long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka
  418. 'long long unsigned int (*)(long long unsigned int)'}
  419. 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
  420. (*r_proc)(VALUE, VALUE), VALUE data2);
  421. |
  422. ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  423. compiling MappedType.c
  424. compiling MemoryPointer.c
  425. compiling MethodHandle.c
  426. MethodHandle.c: In function 'prep_trampoline':
  427. MethodHandle.c:151:5: warning: 'ffi_prep_closure' is deprecated: use
  428. ffi_prep_closure_loc instead [-Wdeprecated-declarations]
  429. 151 | ffiStatus = ffi_prep_closure(code, &mh_cif, attached_method_invoke,
  430. closure);
  431. | ^~~~~~~~~
  432. In file included from MethodHandle.c:53:
  433. 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:
  434. note: declared here
  435. 332 | ffi_prep_closure (ffi_closure*,
  436. | ^~~~~~~~~~~~~~~~
  437. compiling Platform.c
  438. compiling Pointer.c
  439. compiling Struct.c
  440. compiling StructByReference.c
  441. compiling StructByValue.c
  442. compiling StructLayout.c
  443. compiling Thread.c
  444. compiling Type.c
  445. compiling Types.c
  446. Types.c: In function 'rbffi_NativeValue_ToRuby':
  447. Types.c:83:47: warning: implicit declaration of function 'rb_tainted_str_new2';
  448. did you mean 'rb_utf8_str_new'? [-Wimplicit-function-declaration]
  449. 83 | return (*(void **) ptr != NULL) ? rb_tainted_str_new2(*(char
  450. **) ptr) : Qnil;
  451. | ^~~~~~~~~~~~~~~~~~~
  452. | rb_utf8_str_new
  453. compiling Variadic.c
  454. Variadic.c: In function 'variadic_invoke':
  455. Variadic.c:274:20: warning: passing argument 1 of 'rb_rescue2' from incompatible
  456. pointer type [-Wincompatible-pointer-types]
  457. 274 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
  458. rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
  459. | ^~~~~~~~~~~~~~~~~~~~~~
  460. | |
  461. | VALUE (*)(void *) {aka long long unsigned int
  462. (*)(void *)}
  463. In file included from C:/Ruby32-x64/include/ruby-3.2.0/ruby/ruby.h:41,
  464. from C:/Ruby32-x64/include/ruby-3.2.0/ruby.h:38,
  465. from Variadic.c:43:
  466. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:26: note: expected
  467. 'VALUE (*)(VALUE)' {aka 'long long unsigned int (*)(long long unsigned int)'}
  468. but argument is of type 'VALUE (*)(void *)' {aka 'long long unsigned int
  469. (*)(void *)'}
  470. 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
  471. (*r_proc)(VALUE, VALUE), VALUE data2, ...);
  472. | ~~~~~~~~^~~~~~~~~~~~~~
  473. Variadic.c:274:56: warning: passing argument 3 of 'rb_rescue2' from incompatible
  474. pointer type [-Wincompatible-pointer-types]
  475. 274 | rb_rescue2(rbffi_do_blocking_call, (VALUE) bc,
  476. rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0);
  477. |
  478. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  479. | |
  480. | VALUE (*)(void *,
  481. VALUE) {aka long long unsigned int (*)(void *, long long unsigned int)}
  482. C:/Ruby32-x64/include/ruby-3.2.0/ruby/internal/iterator.h:388:63: note: expected
  483. 'VALUE (*)(VALUE, VALUE)' {aka 'long long unsigned int (*)(long long unsigned
  484. int, long long unsigned int)'} but argument is of type 'VALUE (*)(void *,
  485. VALUE)' {aka 'long long unsigned int (*)(void *, long long unsigned int)'}
  486. 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE
  487. (*r_proc)(VALUE, VALUE), VALUE data2, ...);
  488. |
  489. ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  490. compiling ffi.c
  491. linking shared-object ffi_c.so
  492. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  493. AbstractMemory.o:AbstractMemory:(.text+0x952): undefined reference to
  494. `rb_safe_level'
  495. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  496. AbstractMemory.o:AbstractMemory:(.text+0xc25): undefined reference to
  497. `rb_tainted_str_new2'
  498. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  499. AbstractMemory.o:AbstractMemory:(.text+0xce1): undefined reference to
  500. `rb_tainted_str_new2'
  501. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  502. AbstractMemory.o:AbstractMemory:(.text+0x1e72): undefined reference to
  503. `rb_tainted_str_new'
  504. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  505. AbstractMemory.o:AbstractMemory:(.text+0x1f1a): undefined reference to
  506. `rb_tainted_str_new2'
  507. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  508. AbstractMemory.o:AbstractMemory:(.text+0x4ae1): undefined reference to
  509. `rb_tainted_str_new'
  510. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  511. AbstractMemory.o:AbstractMemory:(.text+0x5221): undefined reference to
  512. `rb_tainted_str_new'
  513. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  514. Call.o:Call.c:(.text+0x4f1): undefined reference to `rb_safe_level'
  515. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  516. DynamicLibrary.o:DynamicLibrary:(.text+0x2f5): undefined reference to
  517. `rb_tainted_str_new2'
  518. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  519. Function.o:Function.c:(.text+0x1421): undefined reference to
  520. `rb_tainted_str_new2'
  521. C:/Ruby32-x64/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
  522. Types.o:Types.c:(.text+0xea): undefined reference to `rb_tainted_str_new2'
  523. collect2.exe: error: ld returned 1 exit status
  524. make: *** [Makefile:265: ffi_c.so] Error 1
  525.  
  526. make failed, exit code 2
  527.  
  528. Gem files will remain installed in
  529. C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ffi-1.9.25 for inspection.
  530. Results logged to
  531. C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/ffi-1.9.25/gem_make.out
  532.  
  533. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:125:in `run'
  534. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in
  535. make'
  536. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `each'
  537. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `make'
  538. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:42:in
  539. `build'
  540. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:193:in
  541. `build_extension'
  542. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:227:in `block
  543. in build_extensions'
  544. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `each'
  545. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in
  546. `build_extensions'
  547. C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:852:in
  548. `build_extensions'
  549. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/rubygems_gem_installer.rb:76:in
  550. `build_extensions'
  551. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/rubygems_gem_installer.rb:28:in
  552. `install'
  553. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/source/rubygems.rb:205:in
  554. `install'
  555. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/gem_installer.rb:54:in
  556. `install'
  557. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/gem_installer.rb:16:in
  558. `install_from_spec'
  559. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/parallel_installer.rb:132:in
  560. `do_install'
  561. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/installer/parallel_installer.rb:123:in
  562. `block in worker_pool'
  563. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:62:in
  564. `apply_func'
  565. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:57:in
  566. `block in process_queue'
  567. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:54:in
  568. `loop'
  569. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:54:in
  570. `process_queue'
  571. C:/Users/FoadS/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:90:in
  572. `block (2 levels) in create_threads'
  573.  
  574. An error occurred while installing ffi (1.9.25), and Bundler cannot continue.
  575.  
  576. In Gemfile:
  577. listen was resolved to 3.8.0, which depends on
  578. rb-inotify was resolved to 0.9.10, which depends on
  579. ffi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement