Guest User

Untitled

a guest
Mar 21st, 2023
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 270.60 KB | None | 0 0
  1. [2023-03-21 12:11:43] __rvm_make
  2. __rvm_make ()
  3. {
  4. \make "$@" || return $?
  5. }
  6. current path: /usr/share/rvm/src/ruby-3.0.2
  7. PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/usr/share/rvm/bin
  8. command(2): __rvm_make -j20
  9. ++ make -j20
  10. BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false
  11. CC = gcc
  12. LD = ld
  13. LDSHARED = gcc -shared
  14. CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -std=gnu99 -fPIC
  15. XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/12.1.0
  16. CPPFLAGS =
  17. DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.3.0 -fstack-protector-strong
  18. SOLIBS = -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm
  19. LANG = en_US.UTF-8
  20. LC_ALL =
  21. LC_CTYPE =
  22. MFLAGS = -j20 --jobserver-auth=4,5
  23. gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0
  24. Copyright (C) 2022 Free Software Foundation, Inc.
  25. This is free software; see the source for copying conditions. There is NO
  26. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  27.  
  28. compiling ./main.c
  29. compiling dmydln.c
  30. compiling miniinit.c
  31. compiling dmyext.c
  32. making dummy probes.h
  33. compiling ast.c
  34. compiling bignum.c
  35. compiling class.c
  36. compiling compar.c
  37. compiling compile.c
  38. compiling complex.c
  39. compiling cont.c
  40. compiling debug.c
  41. compiling debug_counter.c
  42. compiling dir.c
  43. compiling dln_find.c
  44. compiling encoding.c
  45. compiling enum.c
  46. compiling enumerator.c
  47. compiling error.c
  48. compiling eval.c
  49. compiling file.c
  50. compiling gc.c
  51. compiling hash.c
  52. compiling inits.c
  53. compiling io.c
  54. compiling iseq.c
  55. compiling load.c
  56. compiling marshal.c
  57. compiling math.c
  58. cont.c: In function ‘cont_restore_0.constprop’:
  59. cont.c:1412:28: warning: ‘*sp’ may be used uninitialized [-Wmaybe-uninitialized]
  60. 1412 | space[0] = *sp;
  61. | ^~~
  62. compiling memory_view.c
  63. making mjit_config.h
  64. compiling mjit_compile.c
  65. At top level:
  66. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  67. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  68. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  69. compiling node.c
  70. compiling numeric.c
  71. compiling object.c
  72. compiling pack.c
  73. compiling parse.c
  74. compiling proc.c
  75. compiling process.c
  76. compiling ractor.c
  77. compiling random.c
  78. In function ‘add_adjust_info’,
  79. inlined from ‘iseq_set_sequence’ at compile.c:2452:8,
  80. inlined from ‘iseq_setup’ at compile.c:1477:10:
  81. compile.c:2212:39: warning: array subscript 2147483647 is outside array bounds of ‘struct iseq_insn_info_entry[2147483647]’ [-Warray-bounds]
  82. 2212 | insns_info[insns_info_index-1].line_no != adjust->line_no) {
  83. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
  84. In file included from ./include/ruby/internal/assume.h:29,
  85. from ./include/ruby/backward/2/assume.h:24,
  86. from ./include/ruby/defines.h:72,
  87. from ./include/ruby/ruby.h:23,
  88. from ./include/ruby/encoding.h:15,
  89. from encindex.h:14,
  90. from compile.c:19:
  91. In function ‘iseq_set_sequence’,
  92. inlined from ‘iseq_setup’ at compile.c:1477:10:
  93. ./include/ruby/internal/memory.h:105:49: note: at offset 17179869176 into object of size [0, 17179869176] allocated by ‘ruby_xmalloc2’
  94. 105 | #define RB_ALLOC_N(type,n) RBIMPL_CAST((type *)ruby_xmalloc2((n), sizeof(type)))
  95. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  96. ./include/ruby/internal/cast.h:33:29: note: in definition of macro ‘RBIMPL_CAST’
  97. 33 | # define RBIMPL_CAST(expr) (expr)
  98. | ^~~~
  99. ./include/ruby/internal/memory.h:133:20: note: in expansion of macro ‘RB_ALLOC_N’
  100. 133 | #define ALLOC_N RB_ALLOC_N
  101. | ^~~~~~~~~~
  102. compile.c:2311:18: note: in expansion of macro ‘ALLOC_N’
  103. 2311 | insns_info = ALLOC_N(struct iseq_insn_info_entry, insn_num);
  104. | ^~~~~~~
  105. compiling range.c
  106. compiling rational.c
  107. compiling re.c
  108. compiling regcomp.c
  109. compiling regenc.c
  110. compiling regerror.c
  111. compiling regexec.c
  112. compiling regparse.c
  113. compiling regsyntax.c
  114. compiling ruby.c
  115. compiling scheduler.c
  116. compiling signal.c
  117. compiling sprintf.c
  118. compiling st.c
  119. compiling strftime.c
  120. compiling string.c
  121. strftime.c: In function ‘rb_strftime_with_timespec’:
  122. strftime.c:392:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
  123. 392 | if (vtm->wday < 0 || vtm->wday > 6)
  124. | ^
  125. strftime.c:403:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
  126. 403 | if (vtm->wday < 0 || vtm->wday > 6)
  127. | ^
  128. compiling struct.c
  129. compiling symbol.c
  130. compiling thread.c
  131. compiling time.c
  132. compiling transcode.c
  133. compiling transient_heap.c
  134. compiling util.c
  135. regexec.c: In function ‘onig_search_gpos’:
  136. regexec.c:4492:9: warning: ‘msa.best_s’ may be used uninitialized [-Wmaybe-uninitialized]
  137. 4492 | s = msa.best_s;
  138. | ~~^~~~~~~~~~~~
  139. regexec.c:4162:16: note: ‘msa’ declared here
  140. 4162 | OnigMatchArg msa;
  141. | ^~~
  142. At top level:
  143. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  144. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  145. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  146. compiling variable.c
  147. compiling vm.c
  148. compiling vm_backtrace.c
  149. compiling vm_dump.c
  150. compiling vm_sync.c
  151. compiling vm_trace.c
  152. At top level:
  153. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  154. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  155. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  156. compiling ./missing/setproctitle.c
  157. compiling ./missing/strlcat.c
  158. compiling ./missing/strlcpy.c
  159. compiling addr2line.c
  160. compiling dmyenc.c
  161. compiling dln.c
  162. compiling localeinit.c
  163. vm.c: In function ‘check_machine_stack_size’:
  164. vm.c:2740:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
  165. 2740 | if (size < PTHREAD_STACK_MIN) {
  166. | ^
  167. compiling array.c
  168. config.status: creating ruby-runner.h
  169. compiling mjit.c
  170. ./revision.h unchanged
  171. assembling coroutine/amd64/Context.S
  172. compiling enc/ascii.c
  173. compiling enc/us_ascii.c
  174. compiling enc/unicode.c
  175. compiling enc/utf_8.c
  176. compiling enc/trans/newline.c
  177. compiling version.c
  178. In function ‘hrtime_update_expire’,
  179. inlined from ‘rb_sigwait_sleep’ at thread_pthread.c:2063:24:
  180. thread.c:1476:20: warning: ‘end’ may be used uninitialized [-Wmaybe-uninitialized]
  181. 1476 | *timeout = end - now;
  182. | ~~~~^~~~~
  183. In file included from thread.c:362:
  184. thread_pthread.c: In function ‘rb_sigwait_sleep’:
  185. thread_pthread.c:2039:41: note: ‘end’ was declared here
  186. 2039 | rb_hrtime_t to = RB_HRTIME_MAX, end;
  187. | ^~~
  188. At top level:
  189. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  190. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  191. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  192. At top level:
  193. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  194. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  195. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  196. At top level:
  197. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  198. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  199. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  200. linking miniruby
  201. generating encdb.h
  202. generating x86_64-linux-fake.rb
  203. encdb.h updated
  204. builtin_binary.inc updated
  205. compiling builtin.c
  206. x86_64-linux-fake.rb updated
  207. ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
  208. rbconfig.rb updated
  209. generating enc.mk
  210. creating verconf.h
  211. building rb_mjit_header.h
  212. ./miniruby -I./lib -I. -I.ext/common ./tool/mjit_tabs.rb "" \
  213. gcc -E -DMJIT_HEADER -P -dD -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -std=gnu99 -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/12.1.0 ./vm.c -o rb_mjit_header.h.new
  214. verconf.h updated
  215. compiling loadpath.c
  216. rb_mjit_header.h updated
  217. building .ext/include/x86_64-linux/rb_mjit_min_header-3.0.2.h
  218. ./miniruby -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "gcc -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -std=gnu99 -fPIC " rb_mjit_header.h .ext/include/x86_64-linux/rb_mjit_min_header-3.0.2.h
  219. linking static-library libruby-static.a
  220. making srcs under enc
  221. make[1]: Entering directory '/usr/share/rvm/src/ruby-3.0.2'
  222. make[1]: Nothing to be done for 'srcs'.
  223. make[1]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2'
  224. generating transdb.h
  225. transdb.h updated
  226. linking shared-library libruby.so.3.0.2
  227. transform_mjit_header: making external definition static inline: rb_vm_lvar_exposed, Init_vm_stack_canary, rb_vm_opt_cfunc_p, rb_find_defined_class_by_owner, rb_vm_rewrite_cref, rb_vm_block_ep_update, rb_vm_cref_new_toplevel, rb_vm_frame_block_handler, rb_vm_cframe_keyword_p, rb_vm_ep_local_ep
  228. transform_mjit_header: making declaration static inline: rb_vm_lvar_exposed, Init_vm_stack_canary, rb_vm_rewrite_cref, rb_vm_frame_block_handler, rb_vm_block_ep_update, rb_vm_ep_local_ep
  229. transform_mjit_header: SKIPPED to transform: getlogin_r, pread64, pread, read, bsearch, fread_unlocked, fgets_unlocked, fread, fgets, vdprintf, dprintf, vfprintf, vprintf, printf, fprintf, getline, putchar_unlocked, putc_unlocked, fputc_unlocked, putchar, getchar_unlocked, getc_unlocked, fgetc_unlocked, getchar
  230. ln -sf ../../../.ext/include/x86_64-linux/rb_mjit_min_header-3.0.2.h include/ruby-3.0.0/x86_64-linux/rb_mjit_min_header-3.0.2.h
  231. making mjit_build_dir.so
  232. generating makefiles ext/configure-ext.mk
  233. making enc
  234. making trans
  235. linking ruby
  236. make[1]: Entering directory '/usr/share/rvm/src/ruby-3.0.2'
  237. compiling ./enc/trans/transdb.c
  238. make[1]: Entering directory '/usr/share/rvm/src/ruby-3.0.2'
  239. compiling ./enc/encdb.c
  240. compiling ./enc/big5.c
  241. compiling ./enc/cesu_8.c
  242. compiling ./enc/cp949.c
  243. compiling ./enc/trans/big5.c
  244. compiling ./enc/emacs_mule.c
  245. compiling ./enc/trans/cesu_8.c
  246. compiling ./enc/trans/chinese.c
  247. compiling ./enc/euc_jp.c
  248. compiling ./enc/euc_kr.c
  249. compiling ./enc/trans/ebcdic.c
  250. compiling ./enc/euc_tw.c
  251. compiling ./enc/trans/emoji.c
  252. compiling ./enc/gb2312.c
  253. compiling ./enc/gb18030.c
  254. compiling ./enc/gbk.c
  255. compiling ./enc/trans/emoji_iso2022_kddi.c
  256. ext/configure-ext.mk updated
  257. compiling ./enc/trans/emoji_sjis_docomo.c
  258. compiling ./enc/trans/emoji_sjis_kddi.c
  259. compiling ./enc/trans/emoji_sjis_softbank.c
  260. compiling ./enc/iso_8859_1.c
  261. compiling ./enc/iso_8859_2.c
  262. compiling ./enc/iso_8859_3.c
  263. compiling ./enc/iso_8859_4.c
  264. compiling ./enc/iso_8859_5.c
  265. compiling ./enc/iso_8859_6.c
  266. compiling ./enc/trans/escape.c
  267. compiling ./enc/iso_8859_7.c
  268. compiling ./enc/iso_8859_8.c
  269. compiling ./enc/trans/gb18030.c
  270. compiling ./enc/iso_8859_9.c
  271. compiling ./enc/iso_8859_10.c
  272. compiling ./enc/trans/gbk.c
  273. compiling ./enc/iso_8859_11.c
  274. compiling ./enc/iso_8859_13.c
  275. compiling ./enc/iso_8859_14.c
  276. compiling ./enc/iso_8859_15.c
  277. compiling ./enc/iso_8859_16.c
  278. compiling ./enc/trans/iso2022.c
  279. compiling ./enc/koi8_r.c
  280. compiling ./enc/trans/japanese.c
  281. compiling ./enc/koi8_u.c
  282. compiling ./enc/shift_jis.c
  283. compiling ./enc/utf_16be.c
  284. compiling ./enc/utf_16le.c
  285. compiling ./enc/utf_32be.c
  286. compiling ./enc/utf_32le.c
  287. compiling ./enc/windows_31j.c
  288. compiling ./enc/windows_1250.c
  289. compiling ./enc/windows_1251.c
  290. compiling ./enc/trans/japanese_euc.c
  291. compiling ./enc/windows_1252.c
  292. compiling ./enc/trans/japanese_sjis.c
  293. compiling ./enc/trans/korean.c
  294. compiling ./enc/windows_1253.c
  295. make[1]: Entering directory '/usr/share/rvm/src/ruby-3.0.2'
  296. compiling ./enc/windows_1254.c
  297. compiling ./enc/windows_1257.c
  298. linking encoding encdb.so
  299. linking encoding big5.so
  300. compiling ./enc/trans/single_byte.c
  301. linking encoding cesu_8.so
  302. linking encoding emacs_mule.so
  303. linking encoding cp949.so
  304. configuring -test-/RUBY_ALIGNOF
  305. compiling ./enc/trans/utf8_mac.c
  306. linking encoding euc_jp.so
  307. linking encoding euc_kr.so
  308. linking encoding euc_tw.so
  309. linking encoding gb2312.so
  310. compiling ./enc/trans/utf_16_32.c
  311. configuring bigdecimal
  312. configuring cgi/escape
  313. linking encoding gb18030.so
  314. linking encoding gbk.so
  315. linking encoding iso_8859_1.so
  316. linking encoding iso_8859_2.so
  317. linking encoding iso_8859_3.so
  318. linking encoding iso_8859_4.so
  319. configuring continuation
  320. linking encoding iso_8859_5.so
  321. configuring coverage
  322. linking encoding iso_8859_6.so
  323. linking encoding iso_8859_7.so
  324. configuring date
  325. linking encoding iso_8859_8.so
  326. configuring dbm
  327. linking encoding iso_8859_9.so
  328. linking encoding iso_8859_10.so
  329. linking transcoder transdb.so
  330. configuring fiber
  331. configuring fcntl
  332. configuring etc
  333. linking encoding iso_8859_11.so
  334. linking transcoder cesu_8.so
  335. linking encoding iso_8859_13.so
  336. linking encoding iso_8859_14.so
  337. configuring digest
  338. configuring fiddle
  339. configuring digest/bubblebabble
  340. linking encoding iso_8859_15.so
  341. configuring digest/md5
  342. configuring gdbm
  343. linking encoding iso_8859_16.so
  344. linking transcoder chinese.so
  345. linking transcoder ebcdic.so
  346. linking encoding koi8_r.so
  347. linking transcoder emoji.so
  348. configuring -test-/arith_seq/extract
  349. linking transcoder emoji_iso2022_kddi.so
  350. linking encoding koi8_u.so
  351. linking transcoder emoji_sjis_docomo.so
  352. configuring -test-/array/resize
  353. configuring -test-/bignum
  354. linking transcoder emoji_sjis_kddi.so
  355. configuring io/console
  356. configuring -test-/bug-14834
  357. configuring -test-/bug-3571
  358. linking encoding shift_jis.so
  359. linking transcoder emoji_sjis_softbank.so
  360. configuring -test-/bug-5832
  361. linking encoding utf_16be.so
  362. configuring -test-/bug_reporter
  363. configuring -test-/class
  364. configuring -test-/cxxanyargs
  365. linking transcoder escape.so
  366. linking transcoder gb18030.so
  367. linking encoding utf_16le.so
  368. linking transcoder iso2022.so
  369. linking encoding utf_32be.so
  370. linking transcoder japanese.so
  371. configuring -test-/debug
  372. linking encoding utf_32le.so
  373. linking transcoder single_byte.so
  374. configuring -test-/dln/empty
  375. configuring -test-/enumerator_kw
  376. linking encoding windows_31j.so
  377. linking transcoder utf_16_32.so
  378. configuring -test-/exception
  379. configuring -test-/fatal
  380. configuring -test-/file
  381. linking encoding windows_1250.so
  382. linking encoding windows_1251.so
  383. linking encoding windows_1252.so
  384. linking encoding windows_1253.so
  385. configuring digest/rmd160
  386. linking encoding windows_1254.so
  387. linking encoding windows_1257.so
  388. configuring json
  389. linking transcoder japanese_sjis.so
  390. make[1]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2'
  391. configuring json/generator
  392. configuring json/parser
  393. linking transcoder gbk.so
  394. configuring nkf
  395. configuring monitor
  396. configuring digest/sha1
  397. configuring openssl
  398. configuring pathname
  399. configuring objspace
  400. configuring psych
  401. configuring pty
  402. configuring racc/cparse
  403. configuring rbconfig/sizeof
  404. configuring digest/sha2
  405. configuring readline
  406. linking transcoder korean.so
  407. libffi_version: 3.4.2
  408. configuring ripper
  409. configuring rubyvm
  410. configuring socket
  411. configuring stringio
  412. configuring syslog
  413. linking transcoder utf8_mac.so
  414. configuring strscan
  415. linking transcoder japanese_euc.so
  416. configuring zlib
  417. linking transcoder big5.so
  418. make[1]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2'
  419. making encs
  420. make[1]: Entering directory '/usr/share/rvm/src/ruby-3.0.2'
  421. make[1]: Nothing to be done for 'encs'.
  422. make[1]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2'
  423. configuring -test-/float
  424. configuring -test-/funcall
  425. configuring -test-/gvl/call_without_gvl
  426. configuring -test-/hash
  427. configuring -test-/integer
  428. configuring -test-/iseq_load
  429. configuring -test-/iter
  430. configuring -test-/load/dot.dot
  431. configuring -test-/load/protect
  432. configuring -test-/marshal/compat
  433. configuring -test-/marshal/internal_ivar
  434. configuring -test-/marshal/usr
  435. configuring -test-/memory_status
  436. configuring -test-/memory_view
  437. configuring -test-/method
  438. configuring -test-/notimplement
  439. configuring -test-/num2int
  440. configuring -test-/path_to_class
  441. configuring -test-/popen_deadlock
  442. configuring -test-/postponed_job
  443. configuring -test-/printf
  444. configuring -test-/proc
  445. configuring -test-/random
  446. configuring -test-/rational
  447. configuring -test-/rb_call_super_kw
  448. configuring -test-/recursion
  449. configuring -test-/regexp
  450. configuring -test-/scan_args
  451. configuring -test-/st/foreach
  452. configuring -test-/st/numhash
  453. configuring -test-/st/update
  454. configuring -test-/string
  455. configuring -test-/struct
  456. configuring -test-/symbol
  457. configuring -test-/thread_fd_close
  458. configuring -test-/time
  459. configuring -test-/tracepoint
  460. configuring -test-/typeddata
  461. configuring -test-/vm
  462. configuring -test-/wait_for_single_fd
  463. header: db.h
  464. library: db
  465. configuring io/nonblock
  466. configuring io/wait
  467. make[1]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2'
  468. generating makefile exts.mk
  469. exts.mk updated
  470. make[1]: Entering directory '/usr/share/rvm/src/ruby-3.0.2'
  471. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/RUBY_ALIGNOF'
  472. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/dln/empty'
  473. compiling c.c
  474. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/cxxanyargs'
  475. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/arith_seq/extract'
  476. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/array/resize'
  477. compiling cpp.cpp
  478. compiling empty.c
  479. compiling cxxanyargs.cpp
  480. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug-14834'
  481. compiling extract.c
  482. compiling resize.c
  483. compiling bug-14384.c
  484. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug-3571'
  485. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug-5832'
  486. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug_reporter'
  487. compiling bug.c
  488. compiling bug.c
  489. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/class'
  490. compiling bug_reporter.c
  491. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/enumerator_kw'
  492. compiling class2name.c
  493. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bignum'
  494. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/debug'
  495. compiling big2str.c
  496. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/fatal'
  497. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/exception'
  498. compiling init.c
  499. compiling rb_fatal.c
  500. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/float'
  501. compiling enumerator_kw.c
  502. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/gvl/call_without_gvl'
  503. compiling dataerror.c
  504. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/file'
  505. compiling call_without_gvl.c
  506. compiling init.c
  507. compiling fs.c
  508. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/funcall'
  509. compiling funcall.c
  510. linking shared-object -test-/dln/empty.so
  511. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/dln/empty'
  512. compiling bigzero.c
  513. linking shared-object -test-/bug_5832.so
  514. compiling nextafter.c
  515. compiling init.c
  516. compiling inspector.c
  517. compiling profile_frames.c
  518. linking shared-object -test-/bug_reporter.so
  519. linking shared-object -test-/array/resize.so
  520. linking shared-object -test-/arith_seq/extract.so
  521. linking shared-object -test-/fatal/rb_fatal.so
  522. linking shared-object -test-/bug_14834.so
  523. linking shared-object -test-/bug_3571.so
  524. linking shared-object -test-/funcall.so
  525. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug-5832'
  526. compiling enc_raise.c
  527. compiling init.c
  528. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/hash'
  529. compiling delete.c
  530. linking shared-object -test-/gvl/call_without_gvl.so
  531. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/array/resize'
  532. compiling stat.c
  533. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug_reporter'
  534. compiling init.c
  535. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/integer'
  536. compiling core_ext.c
  537. linking shared-object -test-/enumerator_kw.so
  538. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug-3571'
  539. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/fatal'
  540. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/iseq_load'
  541. compiling iseq_load.c
  542. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/arith_seq/extract'
  543. compiling init.c
  544. compiling div.c
  545. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bug-14834'
  546. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/funcall'
  547. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/iter'
  548. compiling break.c
  549. compiling init.c
  550. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/enumerator_kw'
  551. compiling yield.c
  552. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/gvl/call_without_gvl'
  553. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/load/dot.dot'
  554. compiling dot.dot.c
  555. linking shared-object -test-/class.so
  556. linking shared-object -test-/load/dot.dot.so
  557. compiling intpack.c
  558. linking shared-object -test-/debug.so
  559. linking shared-object -test-/float.so
  560. linking shared-object -test-/RUBY_ALIGNOF.so
  561. compiling mul.c
  562. compiling ensured.c
  563. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/load/dot.dot'
  564. compiling str2big.c
  565. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/load/protect'
  566. compiling protect.c
  567. linking shared-object -test-/hash.so
  568. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/class'
  569. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/marshal/compat'
  570. compiling usrcompat.c
  571. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/RUBY_ALIGNOF'
  572. compiling init.c
  573. linking shared-object -test-/file.so
  574. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/debug'
  575. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/marshal/internal_ivar'
  576. compiling internal_ivar.c
  577. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/float'
  578. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/marshal/usr'
  579. compiling my_integer.c
  580. compiling usrmarshal.c
  581. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/memory_view'
  582. compiling memory_view.c
  583. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/method'
  584. compiling arity.c
  585. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/hash'
  586. linking shared-object -test-/iter.so
  587. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/notimplement'
  588. compiling bug.c
  589. linking shared-object -test-/iseq_load.so
  590. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/num2int'
  591. compiling num2int.c
  592. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/file'
  593. compiling init.c
  594. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/iter'
  595. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/iseq_load'
  596. compiling init.c
  597. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/path_to_class'
  598. compiling path_to_class.c
  599. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/popen_deadlock'
  600. compiling infinite_loop_dlsym.c
  601. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/postponed_job'
  602. compiling postponed_job.c
  603. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/printf'
  604. compiling printf.c
  605. linking shared-object -test-/marshal/compat.so
  606. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/proc'
  607. compiling init.c
  608. linking shared-object -test-/load/protect.so
  609. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/random'
  610. compiling init.c
  611. linking shared-object -test-/bignum.so
  612. linking shared-object -test-/marshal/internal_ivar.so
  613. linking shared-object -test-/marshal/usr.so
  614. compiling receiver.c
  615. linking shared-object -test-/notimplement.so
  616. compiling super.c
  617. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/marshal/compat'
  618. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/rational'
  619. compiling rat.c
  620. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/load/protect'
  621. compiling loop.c
  622. linking shared-object -test-/method.so
  623. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/marshal/usr'
  624. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/marshal/internal_ivar'
  625. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/rb_call_super_kw'
  626. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/recursion'
  627. compiling rb_call_super_kw.c
  628. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/notimplement'
  629. compiling recursion.c
  630. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/regexp'
  631. linking shared-object -test-/path_to_class.so
  632. compiling init.c
  633. linking shared-object -test-/exception.so
  634. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/bignum'
  635. linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
  636. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/method'
  637. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/scan_args'
  638. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/st/foreach'
  639. compiling scan_args.c
  640. compiling foreach.c
  641. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/path_to_class'
  642. compiling parse_depth_limit.c
  643. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/st/numhash'
  644. compiling numhash.c
  645. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/exception'
  646. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/st/update'
  647. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/popen_deadlock'
  648. compiling update.c
  649. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/string'
  650. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/struct'
  651. compiling capacity.c
  652. compiling duplicate.c
  653. linking shared-object -test-/postponed_job.so
  654. compiling init.c
  655. linking shared-object -test-/num2int.so
  656. linking shared-object -test-/proc.so
  657. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/postponed_job'
  658. compiling len.c
  659. compiling member.c
  660. linking shared-object -test-/rb_call_super_kw.so
  661. linking shared-object -test-/recursion.so
  662. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/num2int'
  663. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/proc'
  664. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/symbol'
  665. compiling coderange.c
  666. compiling init.c
  667. linking shared-object -test-/random.so
  668. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/recursion'
  669. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/rb_call_super_kw'
  670. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/thread_fd_close'
  671. compiling thread_fd_close.c
  672. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/time'
  673. compiling init.c
  674. linking shared-object -test-/cxxanyargs.so
  675. linking shared-object -test-/regexp.so
  676. linking shared-object -test-/st/update.so
  677. linking shared-object -test-/printf.so
  678. linking shared-object -test-/memory_view.so
  679. compiling leap_second.c
  680. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/random'
  681. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/tracepoint'
  682. compiling gc_hook.c
  683. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/typeddata'
  684. linking shared-object -test-/st/foreach.so
  685. compiling typeddata.c
  686. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/regexp'
  687. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/cxxanyargs'
  688. compiling new.c
  689. compiling cstr.c
  690. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/vm'
  691. compiling at_exit.c
  692. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/st/update'
  693. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/memory_view'
  694. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/printf'
  695. compiling ellipsize.c
  696. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/wait_for_single_fd'
  697. compiling wait_for_single_fd.c
  698. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/bigdecimal'
  699. compiling bigdecimal.c
  700. compiling enc_associate.c
  701. linking shared-object -test-/struct.so
  702. linking shared-object -test-/st/numhash.so
  703. compiling type.c
  704. compiling enc_str_buf_cat.c
  705. linking shared-object -test-/integer.so
  706. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/st/foreach'
  707. compiling tracepoint.c
  708. compiling fstring.c
  709. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/st/numhash'
  710. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/struct'
  711. compiling init.c
  712. linking shared-object -test-/thread_fd_close.so
  713. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/cgi/escape'
  714. compiling escape.c
  715. bigdecimal.c: In function ‘GetVpValueWithPrec’:
  716. bigdecimal.c:249:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  717. 249 | ENTER(1);
  718. | ^~~~~
  719. In file included from ../.././include/ruby/defines.h:73,
  720. from ../.././include/ruby/ruby.h:23,
  721. from bigdecimal.h:14,
  722. from bigdecimal.c:13:
  723. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  724. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  725. | ^~~~~~
  726. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  727. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  728. | ^
  729. bigdecimal.c:249:5: note: in expansion of macro ‘ENTER’
  730. 249 | ENTER(1);
  731. | ^~~~~
  732. bigdecimal.c: In function ‘BigDecimal_prec’:
  733. bigdecimal.c:372:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  734. 372 | ENTER(1);
  735. | ^~~~~
  736. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  737. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  738. | ^~~~~~
  739. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  740. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  741. | ^
  742. bigdecimal.c:372:5: note: in expansion of macro ‘ENTER’
  743. 372 | ENTER(1);
  744. | ^~~~~
  745. bigdecimal.c: In function ‘BigDecimal_precision’:
  746. bigdecimal.c:405:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  747. 405 | ENTER(1);
  748. | ^~~~~
  749. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  750. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  751. | ^~~~~~
  752. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  753. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  754. | ^
  755. bigdecimal.c:405:5: note: in expansion of macro ‘ENTER’
  756. 405 | ENTER(1);
  757. | ^~~~~
  758. bigdecimal.c: In function ‘BigDecimal_n_significant_digits’:
  759. bigdecimal.c:456:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  760. 456 | ENTER(1);
  761. | ^~~~~
  762. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  763. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  764. | ^~~~~~
  765. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  766. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  767. | ^
  768. bigdecimal.c:456:5: note: in expansion of macro ‘ENTER’
  769. 456 | ENTER(1);
  770. | ^~~~~
  771. bigdecimal.c: In function ‘BigDecimal_hash’:
  772. bigdecimal.c:490:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  773. 490 | ENTER(1);
  774. | ^~~~~
  775. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  776. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  777. | ^~~~~~
  778. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  779. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  780. | ^
  781. bigdecimal.c:490:5: note: in expansion of macro ‘ENTER’
  782. 490 | ENTER(1);
  783. | ^~~~~
  784. bigdecimal.c: In function ‘BigDecimal_dump’:
  785. bigdecimal.c:519:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  786. 519 | ENTER(5);
  787. | ^~~~~
  788. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/integer'
  789. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  790. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  791. | ^~~~~~
  792. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  793. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  794. | ^
  795. bigdecimal.c:519:5: note: in expansion of macro ‘ENTER’
  796. 519 | ENTER(5);
  797. | ^~~~~
  798. bigdecimal.c: In function ‘BigDecimal_load’:
  799. bigdecimal.c:541:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  800. 541 | ENTER(2);
  801. | ^~~~~
  802. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  803. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  804. | ^~~~~~
  805. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  806. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  807. | ^
  808. bigdecimal.c:541:5: note: in expansion of macro ‘ENTER’
  809. 541 | ENTER(2);
  810. | ^~~~~
  811. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/continuation'
  812. compiling continuation.c
  813. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/thread_fd_close'
  814. bigdecimal.c: In function ‘BigDecimal_to_i’:
  815. bigdecimal.c:861:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  816. 861 | ENTER(5);
  817. | ^~~~~
  818. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  819. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  820. | ^~~~~~
  821. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  822. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  823. | ^
  824. bigdecimal.c:861:5: note: in expansion of macro ‘ENTER’
  825. 861 | ENTER(5);
  826. | ^~~~~
  827. bigdecimal.c: In function ‘BigDecimal_to_f’:
  828. bigdecimal.c:908:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  829. 908 | ENTER(1);
  830. | ^~~~~
  831. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  832. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  833. | ^~~~~~
  834. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  835. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  836. | ^
  837. bigdecimal.c:908:5: note: in expansion of macro ‘ENTER’
  838. 908 | ENTER(1);
  839. | ^~~~~
  840. bigdecimal.c: In function ‘BigDecimal_coerce’:
  841. bigdecimal.c:1001:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  842. 1001 | ENTER(2);
  843. | ^~~~~
  844. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  845. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  846. | ^~~~~~
  847. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  848. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  849. | ^
  850. bigdecimal.c:1001:5: note: in expansion of macro ‘ENTER’
  851. 1001 | ENTER(2);
  852. | ^~~~~
  853. bigdecimal.c: In function ‘BigDecimal_add’:
  854. bigdecimal.c:1058:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  855. 1058 | ENTER(5);
  856. | ^~~~~
  857. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  858. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  859. | ^~~~~~
  860. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  861. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  862. | ^
  863. bigdecimal.c:1058:5: note: in expansion of macro ‘ENTER’
  864. 1058 | ENTER(5);
  865. | ^~~~~
  866. bigdecimal.c: In function ‘BigDecimal_sub’:
  867. bigdecimal.c:1116:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  868. 1116 | ENTER(5);
  869. | ^~~~~
  870. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  871. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  872. | ^~~~~~
  873. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  874. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  875. | ^
  876. bigdecimal.c:1116:5: note: in expansion of macro ‘ENTER’
  877. 1116 | ENTER(5);
  878. | ^~~~~
  879. bigdecimal.c: In function ‘BigDecimalCmp’:
  880. bigdecimal.c:1157:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  881. 1157 | ENTER(5);
  882. | ^~~~~
  883. linking shared-object -test-/typeddata.so
  884. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  885. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  886. | ^~~~~~
  887. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  888. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  889. | ^
  890. bigdecimal.c:1157:5: note: in expansion of macro ‘ENTER’
  891. 1157 | ENTER(5);
  892. | ^~~~~
  893. bigdecimal.c: In function ‘BigDecimal_neg’:
  894. bigdecimal.c:1353:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  895. 1353 | ENTER(5);
  896. | ^~~~~
  897. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  898. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  899. | ^~~~~~
  900. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  901. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  902. | ^
  903. bigdecimal.c:1353:5: note: in expansion of macro ‘ENTER’
  904. 1353 | ENTER(5);
  905. | ^~~~~
  906. bigdecimal.c: In function ‘BigDecimal_mult’:
  907. bigdecimal.c:1379:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  908. 1379 | ENTER(5);
  909. | ^~~~~
  910. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/coverage'
  911. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  912. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  913. | ^~~~~~
  914. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  915. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  916. | ^
  917. bigdecimal.c:1379:5: note: in expansion of macro ‘ENTER’
  918. 1379 | ENTER(5);
  919. | ^~~~~
  920. bigdecimal.c: In function ‘BigDecimal_divide’:
  921. bigdecimal.c:1407:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  922. 1407 | ENTER(5);
  923. | ^~~~~
  924. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  925. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  926. | ^~~~~~
  927. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  928. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  929. | ^
  930. bigdecimal.c:1407:5: note: in expansion of macro ‘ENTER’
  931. 1407 | ENTER(5);
  932. | ^~~~~
  933. bigdecimal.c: In function ‘BigDecimal_div’:
  934. bigdecimal.c:1449:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  935. 1449 | ENTER(5);
  936. | ^~~~~
  937. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  938. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  939. | ^~~~~~
  940. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  941. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  942. | ^
  943. bigdecimal.c:1449:5: note: in expansion of macro ‘ENTER’
  944. 1449 | ENTER(5);
  945. | ^~~~~
  946. bigdecimal.c: In function ‘BigDecimal_DoDivmod’:
  947. bigdecimal.c:1472:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  948. 1472 | ENTER(8);
  949. | ^~~~~
  950. compiling coverage.c
  951. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  952. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  953. | ^~~~~~
  954. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  955. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  956. | ^
  957. bigdecimal.c:1472:5: note: in expansion of macro ‘ENTER’
  958. 1472 | ENTER(8);
  959. | ^~~~~
  960. bigdecimal.c: In function ‘BigDecimal_mod’:
  961. bigdecimal.c:1560:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  962. 1560 | ENTER(3);
  963. | ^~~~~
  964. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  965. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  966. | ^~~~~~
  967. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  968. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  969. | ^
  970. bigdecimal.c:1560:5: note: in expansion of macro ‘ENTER’
  971. 1560 | ENTER(3);
  972. | ^~~~~
  973. bigdecimal.c: In function ‘BigDecimal_divremain’:
  974. bigdecimal.c:1573:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  975. 1573 | ENTER(10);
  976. | ^~~~~
  977. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  978. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  979. | ^~~~~~
  980. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  981. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  982. | ^
  983. bigdecimal.c:1573:5: note: in expansion of macro ‘ENTER’
  984. 1573 | ENTER(10);
  985. | ^~~~~
  986. bigdecimal.c: In function ‘BigDecimal_divmod’:
  987. bigdecimal.c:1658:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  988. 1658 | ENTER(5);
  989. | ^~~~~
  990. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  991. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  992. | ^~~~~~
  993. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  994. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  995. | ^
  996. bigdecimal.c:1658:5: note: in expansion of macro ‘ENTER’
  997. 1658 | ENTER(5);
  998. | ^~~~~
  999. bigdecimal.c: In function ‘BigDecimal_div2’:
  1000. bigdecimal.c:1674:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1001. 1674 | ENTER(5);
  1002. | ^~~~~
  1003. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1004. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1005. | ^~~~~~
  1006. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1007. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1008. | ^
  1009. bigdecimal.c:1674:5: note: in expansion of macro ‘ENTER’
  1010. 1674 | ENTER(5);
  1011. | ^~~~~
  1012. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/date'
  1013. compiling date_core.c
  1014. bigdecimal.c: In function ‘BigDecimal_add2’:
  1015. bigdecimal.c:1754:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1016. 1754 | ENTER(2);
  1017. | ^~~~~
  1018. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1019. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1020. | ^~~~~~
  1021. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1022. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1023. | ^
  1024. bigdecimal.c:1754:5: note: in expansion of macro ‘ENTER’
  1025. 1754 | ENTER(2);
  1026. | ^~~~~
  1027. bigdecimal.c: In function ‘BigDecimal_sub2’:
  1028. bigdecimal.c:1784:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1029. 1784 | ENTER(2);
  1030. | ^~~~~
  1031. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1032. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1033. | ^~~~~~
  1034. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1035. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1036. | ^
  1037. bigdecimal.c:1784:5: note: in expansion of macro ‘ENTER’
  1038. 1784 | ENTER(2);
  1039. | ^~~~~
  1040. bigdecimal.c: In function ‘BigDecimal_mult2’:
  1041. bigdecimal.c:1802:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1042. 1802 | ENTER(2);
  1043. | ^~~~~
  1044. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1045. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1046. | ^~~~~~
  1047. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1048. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1049. | ^
  1050. bigdecimal.c:1802:5: note: in expansion of macro ‘ENTER’
  1051. 1802 | ENTER(2);
  1052. | ^~~~~
  1053. bigdecimal.c: In function ‘BigDecimal_abs’:
  1054. bigdecimal.c:1829:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1055. 1829 | ENTER(5);
  1056. | ^~~~~
  1057. linking shared-object -test-/vm/at_exit.so
  1058. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1059. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1060. | ^~~~~~
  1061. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1062. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1063. | ^
  1064. bigdecimal.c:1829:5: note: in expansion of macro ‘ENTER’
  1065. 1829 | ENTER(5);
  1066. | ^~~~~
  1067. bigdecimal.c: In function ‘BigDecimal_sqrt’:
  1068. bigdecimal.c:1851:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1069. 1851 | ENTER(5);
  1070. | ^~~~~
  1071. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1072. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1073. | ^~~~~~
  1074. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1075. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1076. | ^
  1077. bigdecimal.c:1851:5: note: in expansion of macro ‘ENTER’
  1078. 1851 | ENTER(5);
  1079. | ^~~~~
  1080. bigdecimal.c: In function ‘BigDecimal_fix’:
  1081. bigdecimal.c:1870:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1082. 1870 | ENTER(5);
  1083. | ^~~~~
  1084. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1085. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1086. | ^~~~~~
  1087. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1088. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1089. | ^
  1090. bigdecimal.c:1870:5: note: in expansion of macro ‘ENTER’
  1091. 1870 | ENTER(5);
  1092. | ^~~~~
  1093. bigdecimal.c: In function ‘BigDecimal_round’:
  1094. bigdecimal.c:1909:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1095. 1909 | ENTER(5);
  1096. | ^~~~~
  1097. installing default coverage libraries
  1098. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1099. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1100. | ^~~~~~
  1101. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1102. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1103. | ^
  1104. bigdecimal.c:1909:5: note: in expansion of macro ‘ENTER’
  1105. 1909 | ENTER(5);
  1106. | ^~~~~
  1107. bigdecimal.c: In function ‘BigDecimal_truncate’:
  1108. bigdecimal.c:1980:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1109. 1980 | ENTER(5);
  1110. | ^~~~~
  1111. compiling date_parse.c
  1112. compiling modify.c
  1113. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1114. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1115. | ^~~~~~
  1116. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1117. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1118. | ^
  1119. bigdecimal.c:1980:5: note: in expansion of macro ‘ENTER’
  1120. 1980 | ENTER(5);
  1121. | ^~~~~
  1122. bigdecimal.c: In function ‘BigDecimal_frac’:
  1123. bigdecimal.c:2009:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1124. 2009 | ENTER(5);
  1125. | ^~~~~
  1126. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1127. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1128. | ^~~~~~
  1129. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1130. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1131. | ^
  1132. bigdecimal.c:2009:5: note: in expansion of macro ‘ENTER’
  1133. 2009 | ENTER(5);
  1134. | ^~~~~
  1135. bigdecimal.c: In function ‘BigDecimal_floor’:
  1136. bigdecimal.c:2040:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1137. 2040 | ENTER(5);
  1138. | ^~~~~
  1139. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/typeddata'
  1140. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1141. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1142. | ^~~~~~
  1143. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1144. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1145. | ^
  1146. bigdecimal.c:2040:5: note: in expansion of macro ‘ENTER’
  1147. 2040 | ENTER(5);
  1148. | ^~~~~
  1149. compiling date_strftime.c
  1150. bigdecimal.c: In function ‘BigDecimal_ceil’:
  1151. bigdecimal.c:2087:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1152. 2087 | ENTER(5);
  1153. | ^~~~~
  1154. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1155. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1156. | ^~~~~~
  1157. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1158. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1159. | ^
  1160. bigdecimal.c:2087:5: note: in expansion of macro ‘ENTER’
  1161. 2087 | ENTER(5);
  1162. | ^~~~~
  1163. bigdecimal.c: In function ‘BigDecimal_to_s’:
  1164. bigdecimal.c:2146:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1165. 2146 | ENTER(5);
  1166. | ^~~~~
  1167. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1168. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1169. | ^~~~~~
  1170. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1171. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1172. | ^
  1173. bigdecimal.c:2146:5: note: in expansion of macro ‘ENTER’
  1174. 2146 | ENTER(5);
  1175. | ^~~~~
  1176. bigdecimal.c: In function ‘BigDecimal_split’:
  1177. bigdecimal.c:2241:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1178. 2241 | ENTER(5);
  1179. | ^~~~~
  1180. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1181. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1182. | ^~~~~~
  1183. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1184. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1185. | ^
  1186. bigdecimal.c:2241:5: note: in expansion of macro ‘ENTER’
  1187. 2241 | ENTER(5);
  1188. | ^~~~~
  1189. bigdecimal.c: In function ‘BigDecimal_inspect’:
  1190. bigdecimal.c:2290:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1191. 2290 | ENTER(5);
  1192. | ^~~~~
  1193. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1194. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1195. | ^~~~~~
  1196. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1197. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1198. | ^
  1199. bigdecimal.c:2290:5: note: in expansion of macro ‘ENTER’
  1200. 2290 | ENTER(5);
  1201. | ^~~~~
  1202. bigdecimal.c: In function ‘BigDecimal_power’:
  1203. bigdecimal.c:2433:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1204. 2433 | ENTER(5);
  1205. | ^~~~~
  1206. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1207. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1208. | ^~~~~~
  1209. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1210. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1211. | ^
  1212. bigdecimal.c:2433:5: note: in expansion of macro ‘ENTER’
  1213. 2433 | ENTER(5);
  1214. | ^~~~~
  1215. linking shared-object -test-/wait_for_single_fd.so
  1216. compiling date_strptime.c
  1217. linking shared-object -test-/tracepoint.so
  1218. compiling new.c
  1219. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/vm'
  1220. linking shared-object -test-/symbol.so
  1221. bigdecimal.c: In function ‘f_BigDecimal’:
  1222. bigdecimal.c:2875:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1223. 2875 | ENTER(1);
  1224. | ^~~~~
  1225. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1226. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1227. | ^~~~~~
  1228. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1229. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1230. | ^
  1231. bigdecimal.c:2875:5: note: in expansion of macro ‘ENTER’
  1232. 2875 | ENTER(1);
  1233. | ^~~~~
  1234. bigdecimal.c: In function ‘BigDecimal_s_interpret_loosely’:
  1235. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/dbm'
  1236. bigdecimal.c:2895:5: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
  1237. 2895 | ENTER(1);
  1238. | ^~~~~
  1239. bigdecimal.c:68:47: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1240. 68 | #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0
  1241. | ^~~~~~
  1242. ../.././include/ruby/backward/2/attributes.h:168:26: note: in definition of macro ‘RB_UNUSED_VAR’
  1243. 168 | #define RB_UNUSED_VAR(x) x RBIMPL_ATTR_MAYBE_UNUSED()
  1244. | ^
  1245. bigdecimal.c:2895:5: note: in expansion of macro ‘ENTER’
  1246. 2895 | ENTER(1);
  1247. | ^~~~~
  1248. compiling dbm.c
  1249. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest'
  1250. compiling digest.c
  1251. compiling nofree.c
  1252. linking shared-object continuation.so
  1253. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/tracepoint'
  1254. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/symbol'
  1255. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/etc'
  1256. compiling etc.c
  1257. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/wait_for_single_fd'
  1258. installing default date_core libraries
  1259. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/fiber'
  1260. compiling fiber.c
  1261. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/continuation'
  1262. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/fcntl'
  1263. compiling fcntl.c
  1264. compiling normalize.c
  1265. installing default digest libraries
  1266. compiling qsort.c
  1267. linking shared-object fiber.so
  1268. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/fiber'
  1269. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/fiddle'
  1270. compiling closure.c
  1271. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/gdbm'
  1272. compiling gdbm.c
  1273. linking shared-object -test-/rational.so
  1274. compiling rb_interned_str.c
  1275. compiling rb_str_dup.c
  1276. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/rational'
  1277. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/io/console'
  1278. compiling console.c
  1279. linking shared-object cgi/escape.so
  1280. linking shared-object fcntl.so
  1281. compiling conversions.c
  1282. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/cgi/escape'
  1283. installing digest libraries
  1284. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/io/nonblock'
  1285. compiling nonblock.c
  1286. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/fcntl'
  1287. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/io/wait'
  1288. compiling wait.c
  1289. compiling set_len.c
  1290. linking shared-object coverage.so
  1291. installing default bigdecimal libraries
  1292. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/json'
  1293. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/monitor'
  1294. compiling monitor.c
  1295. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/coverage'
  1296. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/nkf'
  1297. compiling nkf.c
  1298. linking shared-object -test-/time.so
  1299. linking shared-object digest.so
  1300. compiling fiddle.c
  1301. linking shared-object io/nonblock.so
  1302. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/time'
  1303. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest'
  1304. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/objspace'
  1305. compiling object_tracing.c
  1306. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/json'
  1307. linking shared-object -test-/string.so
  1308. compiling objspace.c
  1309. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/openssl'
  1310. compiling openssl_missing.c
  1311. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/io/nonblock'
  1312. installing default nkf libraries
  1313. installing default monitor libraries
  1314. compiling objspace_dump.c
  1315. linking shared-object io/wait.so
  1316. compiling function.c
  1317. linking shared-object monitor.so
  1318. linking shared-object -test-/scan_args.so
  1319. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/io/wait'
  1320. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/string'
  1321. linking shared-object etc.so
  1322. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/pathname'
  1323. compiling pathname.c
  1324. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/psych'
  1325. compiling psych.c
  1326. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/monitor'
  1327. compiling handle.c
  1328. installing default pathname libraries
  1329. installing default console libraries
  1330. compiling ossl.c
  1331. linking shared-object dbm.so
  1332. installing default objspace libraries
  1333. compiling ossl_asn1.c
  1334. compiling memory_view.c
  1335. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/-test-/scan_args'
  1336. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/etc'
  1337. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/pty'
  1338. compiling pty.c
  1339. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/racc/cparse'
  1340. compiling cparse.c
  1341. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/dbm'
  1342. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/rbconfig/sizeof'
  1343. compiling sizes.c
  1344. compiling psych_emitter.c
  1345. compiling limits.c
  1346. In file included from ossl.h:156,
  1347. from ossl.c:10:
  1348. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1349. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1350. |
  1351. In file included from ossl.h:31:
  1352. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1353. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1354. |
  1355. ossl.c: In function ‘ossl_clear_error’:
  1356. ossl.c:311:9: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1357. 311 | while ((e = ERR_get_error_line_data(&file, &line, &data, &flags))) {
  1358. | ^~~~~
  1359. In file included from ossl.h:21:
  1360. /usr/include/openssl/err.h:413:15: note: declared here
  1361. 413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
  1362. | ^~~~~~~~~~~~~~~~~~~~~~~
  1363. In file included from ossl.h:156,
  1364. from ossl_asn1.c:10:
  1365. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1366. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1367. |
  1368. In file included from ossl.h:31:
  1369. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1370. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1371. |
  1372. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/readline'
  1373. compiling readline.c
  1374. compiling pinned.c
  1375. compiling pointer.c
  1376. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/ripper'
  1377. linking shared-object gdbm.so
  1378. compiling ripper.c
  1379. compiling psych_parser.c
  1380. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/gdbm'
  1381. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/rubyvm'
  1382. installing default libraries
  1383. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/rubyvm'
  1384. installing default pty libraries
  1385. linking shared-object rbconfig/sizeof.so
  1386. linking shared-object pty.so
  1387. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/socket'
  1388. compiling init.c
  1389. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/stringio'
  1390. compiling stringio.c
  1391. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/rbconfig/sizeof'
  1392. compiling constants.c
  1393. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/pty'
  1394. linking shared-object io/console.so
  1395. At top level:
  1396. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1397. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1398. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1399. compiling ossl_bio.c
  1400. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/strscan'
  1401. compiling strscan.c
  1402. compiling ossl_bn.c
  1403. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/io/console'
  1404. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/syslog'
  1405. compiling syslog.c
  1406. In file included from init.c:11:
  1407. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  1408. 148 | char *if_indextoname(unsigned int, char *);
  1409. | ^~~~~~
  1410. In file included from rubysocket.h:103:
  1411. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  1412. 195 | char __ifname[IF_NAMESIZE]) __THROW
  1413. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  1414. linking shared-object racc/cparse.so
  1415. linking shared-object objspace.so
  1416. compiling ossl_cipher.c
  1417. In file included from constants.c:11:
  1418. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  1419. 148 | char *if_indextoname(unsigned int, char *);
  1420. | ^~~~~~
  1421. In file included from rubysocket.h:103:
  1422. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  1423. 195 | char __ifname[IF_NAMESIZE]) __THROW
  1424. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  1425. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/racc/cparse'
  1426. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/zlib'
  1427. compiling zlib.c
  1428. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/objspace'
  1429. compiling ossl_config.c
  1430. In file included from ossl.h:156,
  1431. from ossl_bn.c:11:
  1432. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1433. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1434. |
  1435. In file included from ossl.h:31:
  1436. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1437. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1438. |
  1439. compiling psych_to_ruby.c
  1440. In file included from ossl.h:156,
  1441. from ossl_bio.c:10:
  1442. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1443. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1444. |
  1445. In file included from ossl.h:31:
  1446. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1447. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1448. |
  1449. ossl_bn.c: In function ‘ossl_bn_s_pseudo_rand’:
  1450. ossl_bn.c:801:1: warning: ‘BN_pseudo_rand’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1451. 801 | BIGNUM_RAND(pseudo_rand)
  1452. | ^~~~~~~~~~~
  1453. In file included from /usr/include/openssl/asn1.h:33,
  1454. from ossl.h:22:
  1455. /usr/include/openssl/bn.h:231:5: note: declared here
  1456. 231 | int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
  1457. | ^~~~~~~~~~~~~~
  1458. ossl_bn.c: In function ‘ossl_bn_s_pseudo_rand_range’:
  1459. ossl_bn.c:834:1: warning: ‘BN_pseudo_rand_range’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1460. 834 | BIGNUM_RAND_RANGE(pseudo_rand)
  1461. | ^~~~~~~~~~~~~~~~~
  1462. /usr/include/openssl/bn.h:233:5: note: declared here
  1463. 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
  1464. | ^~~~~~~~~~~~~~~~~~~~
  1465. ossl_bn.c: In function ‘ossl_bn_is_prime’:
  1466. ossl_bn.c:1079:5: warning: ‘BN_is_prime_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1467. 1079 | switch (BN_is_prime_ex(bn, checks, ossl_bn_ctx, NULL)) {
  1468. | ^~~~~~
  1469. /usr/include/openssl/bn.h:373:5: note: declared here
  1470. 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
  1471. | ^~~~~~~~~~~~~~
  1472. ossl_bn.c: In function ‘ossl_bn_is_prime_fasttest’:
  1473. ossl_bn.c:1121:5: warning: ‘BN_is_prime_fasttest_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1474. 1121 | switch (BN_is_prime_fasttest_ex(bn, checks, ossl_bn_ctx, do_trial_division, NULL)) {
  1475. | ^~~~~~
  1476. /usr/include/openssl/bn.h:375:5: note: declared here
  1477. 375 | int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
  1478. | ^~~~~~~~~~~~~~~~~~~~~~~
  1479. In file included from ossl.h:156,
  1480. from ossl_cipher.c:10:
  1481. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1482. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1483. |
  1484. In file included from ossl.h:31:
  1485. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1486. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1487. |
  1488. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1489. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1490. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1491. In file included from ossl.h:156,
  1492. from ossl_config.c:10:
  1493. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1494. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1495. |
  1496. In file included from ossl.h:31:
  1497. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1498. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1499. |
  1500. compiling psych_yaml_tree.c
  1501. linking shared-object fiddle.so
  1502. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/bubblebabble'
  1503. compiling bubblebabble.c
  1504. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1505. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1506. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1507. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1508. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1509. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1510. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1511. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1512. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1513. linking shared-object syslog.so
  1514. installing default syslog libraries
  1515. installing default fiddle libraries
  1516. compiling ossl_digest.c
  1517. compiling ossl_engine.c
  1518. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/fiddle'
  1519. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/md5'
  1520. compiling md5init.c
  1521. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/syslog'
  1522. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/rmd160'
  1523. compiling rmd160init.c
  1524. compiling ossl_hmac.c
  1525. linking shared-object readline.so
  1526. linking shared-object digest/bubblebabble.so
  1527. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/bubblebabble'
  1528. linking shared-object psych.so
  1529. In file included from ossl.h:156,
  1530. from ossl_engine.c:10:
  1531. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1532. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1533. |
  1534. In file included from ossl.h:31:
  1535. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1536. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1537. |
  1538. ossl_engine.c: In function ‘ossl_engine_free’:
  1539. ossl_engine.c:72:5: warning: ‘ENGINE_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1540. 72 | ENGINE_free(engine);
  1541. | ^~~~~~~~~~~
  1542. In file included from ossl.h:35:
  1543. /usr/include/openssl/engine.h:493:27: note: declared here
  1544. 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
  1545. | ^~~~~~~~~~~
  1546. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/sha1'
  1547. compiling sha1init.c
  1548. In file included from ossl.h:156,
  1549. from ossl_digest.c:10:
  1550. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1551. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1552. |
  1553. In file included from ossl.h:31:
  1554. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1555. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1556. |
  1557. ossl_digest.c: In function ‘ossl_evp_get_digestbyname’:
  1558. ossl_digest.c:66:9: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1559. 66 | md = EVP_MD_CTX_md(ctx);
  1560. | ^~
  1561. In file included from /usr/include/openssl/x509.h:29,
  1562. from /usr/include/openssl/x509v3.h:25,
  1563. from ossl.h:23:
  1564. /usr/include/openssl/evp.h:555:15: note: declared here
  1565. 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
  1566. | ^~~~~~~~~~~~~
  1567. ossl_engine.c: In function ‘ossl_engine_s_load’:
  1568. ossl_engine.c:100:9: warning: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1569. 100 | ENGINE_load_builtin_engines();
  1570. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1571. /usr/include/openssl/engine.h:358:28: note: declared here
  1572. 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
  1573. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1574. ossl_engine.c: In function ‘ossl_engine_s_engines’:
  1575. ossl_engine.c:184:5: warning: ‘ENGINE_get_first’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1576. 184 | for(e = ENGINE_get_first(); e; e = ENGINE_get_next(e)){
  1577. | ^~~
  1578. /usr/include/openssl/engine.h:318:31: note: declared here
  1579. 318 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void);
  1580. | ^~~~~~~~~~~~~~~~
  1581. ossl_engine.c:184:5: warning: ‘ENGINE_get_next’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1582. 184 | for(e = ENGINE_get_first(); e; e = ENGINE_get_next(e)){
  1583. | ^~~
  1584. /usr/include/openssl/engine.h:323:31: note: declared here
  1585. 323 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_next(ENGINE *e);
  1586. | ^~~~~~~~~~~~~~~
  1587. ossl_engine.c:189:9: warning: ‘ENGINE_up_ref’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1588. 189 | ENGINE_up_ref(e);
  1589. | ^~~~~~~~~~~~~
  1590. /usr/include/openssl/engine.h:494:27: note: declared here
  1591. 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e);
  1592. | ^~~~~~~~~~~~~
  1593. ossl_engine.c: In function ‘ossl_engine_s_by_id’:
  1594. ossl_engine.c:217:5: warning: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1595. 217 | if(!(e = ENGINE_by_id(RSTRING_PTR(id))))
  1596. | ^~
  1597. /usr/include/openssl/engine.h:336:31: note: declared here
  1598. 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
  1599. | ^~~~~~~~~~~~
  1600. ossl_engine.c:221:5: warning: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1601. 221 | if(!ENGINE_init(e))
  1602. | ^~
  1603. /usr/include/openssl/engine.h:620:27: note: declared here
  1604. 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
  1605. | ^~~~~~~~~~~
  1606. ossl_engine.c:223:5: warning: ‘ENGINE_ctrl’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1607. 223 | ENGINE_ctrl(e, ENGINE_CTRL_SET_PASSWORD_CALLBACK,
  1608. | ^~~~~~~~~~~
  1609. /usr/include/openssl/engine.h:429:27: note: declared here
  1610. 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p,
  1611. | ^~~~~~~~~~~
  1612. ossl_engine.c: In function ‘ossl_engine_get_id’:
  1613. ossl_engine.c:246:5: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1614. 246 | return rb_str_new2(ENGINE_get_id(e));
  1615. | ^~~~~~
  1616. /usr/include/openssl/engine.h:552:35: note: declared here
  1617. 552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
  1618. | ^~~~~~~~~~~~~
  1619. ossl_engine.c:246:5: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1620. 246 | return rb_str_new2(ENGINE_get_id(e));
  1621. | ^~~~~~
  1622. /usr/include/openssl/engine.h:552:35: note: declared here
  1623. 552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
  1624. | ^~~~~~~~~~~~~
  1625. ossl_engine.c: In function ‘ossl_engine_get_name’:
  1626. ossl_engine.c:266:5: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1627. 266 | return rb_str_new2(ENGINE_get_name(e));
  1628. | ^~~~~~
  1629. /usr/include/openssl/engine.h:553:35: note: declared here
  1630. 553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
  1631. | ^~~~~~~~~~~~~~~
  1632. ossl_engine.c:266:5: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1633. 266 | return rb_str_new2(ENGINE_get_name(e));
  1634. | ^~~~~~
  1635. /usr/include/openssl/engine.h:553:35: note: declared here
  1636. 553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
  1637. | ^~~~~~~~~~~~~~~
  1638. ossl_engine.c: In function ‘ossl_engine_finish’:
  1639. ossl_engine.c:283:5: warning: ‘ENGINE_finish’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1640. 283 | if(!ENGINE_finish(e)) ossl_raise(eEngineError, NULL);
  1641. | ^~
  1642. /usr/include/openssl/engine.h:628:27: note: declared here
  1643. 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
  1644. | ^~~~~~~~~~~~~
  1645. ossl_engine.c: In function ‘ossl_engine_get_cipher’:
  1646. ossl_engine.c:314:5: warning: ‘ENGINE_get_cipher’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1647. 314 | ciph = ENGINE_get_cipher(e, nid);
  1648. | ^~~~
  1649. /usr/include/openssl/engine.h:582:19: note: declared here
  1650. 582 | const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid);
  1651. | ^~~~~~~~~~~~~~~~~
  1652. ossl_engine.c: In function ‘ossl_engine_get_digest’:
  1653. ossl_engine.c:346:5: warning: ‘ENGINE_get_digest’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1654. 346 | md = ENGINE_get_digest(e, nid);
  1655. | ^~
  1656. /usr/include/openssl/engine.h:584:15: note: declared here
  1657. 584 | const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid);
  1658. | ^~~~~~~~~~~~~~~~~
  1659. ossl_digest.c: In function ‘ossl_digest_reset’:
  1660. ossl_digest.c:179:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1661. 179 | if (EVP_DigestInit_ex(ctx, EVP_MD_CTX_md(ctx), NULL) != 1) {
  1662. | ^~
  1663. /usr/include/openssl/evp.h:555:15: note: declared here
  1664. 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
  1665. | ^~~~~~~~~~~~~
  1666. ossl_engine.c: In function ‘ossl_engine_load_privkey’:
  1667. ossl_engine.c:373:5: warning: ‘ENGINE_load_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1668. 373 | pkey = ENGINE_load_private_key(e, sid, NULL, sdata);
  1669. | ^~~~
  1670. /usr/include/openssl/engine.h:638:11: note: declared here
  1671. 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
  1672. | ^~~~~~~~~~~~~~~~~~~~~~~
  1673. compiling rmd160.c
  1674. ossl_engine.c: In function ‘ossl_engine_load_pubkey’:
  1675. ossl_digest.c: In function ‘ossl_digest_name’:
  1676. ossl_digest.c:262:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1677. 262 | return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
  1678. | ^~~~~~
  1679. /usr/include/openssl/evp.h:555:15: note: declared here
  1680. 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
  1681. | ^~~~~~~~~~~~~
  1682. ossl_engine.c:402:5: warning: ‘ENGINE_load_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1683. 402 | pkey = ENGINE_load_public_key(e, sid, NULL, sdata);
  1684. | ^~~~
  1685. ossl_digest.c:262:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1686. 262 | return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
  1687. | ^~~~~~
  1688. /usr/include/openssl/evp.h:555:15: note: declared here
  1689. 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
  1690. | ^~~~~~~~~~~~~
  1691. /usr/include/openssl/engine.h:641:11: note: declared here
  1692. 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id,
  1693. | ^~~~~~~~~~~~~~~~~~~~~~
  1694. ossl_engine.c: In function ‘ossl_engine_set_default’:
  1695. ossl_engine.c:431:5: warning: ‘ENGINE_set_default’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1696. 431 | ENGINE_set_default(e, f);
  1697. | ^~~~~~~~~~~~~~~~~~
  1698. /usr/include/openssl/engine.h:708:27: note: declared here
  1699. 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags);
  1700. | ^~~~~~~~~~~~~~~~~~
  1701. compiling md5.c
  1702. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/readline'
  1703. ossl_engine.c: In function ‘ossl_engine_ctrl_cmd’:
  1704. ossl_engine.c:453:5: warning: ‘ENGINE_ctrl_cmd_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1705. 453 | ret = ENGINE_ctrl_cmd_string(e, StringValueCStr(cmd),
  1706. | ^~~
  1707. /usr/include/openssl/engine.h:479:5: note: declared here
  1708. 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
  1709. | ^~~~~~~~~~~~~~~~~~~~~~
  1710. compiling sha1.c
  1711. ossl_engine.c: In function ‘ossl_engine_get_cmds’:
  1712. ossl_engine.c:487:5: warning: ‘ENGINE_get_cmd_defns’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1713. 487 | if ((defn = ENGINE_get_cmd_defns(e)) != NULL){
  1714. | ^~
  1715. /usr/include/openssl/engine.h:597:24: note: declared here
  1716. 597 | const ENGINE_CMD_DEFN *ENGINE_get_cmd_defns(const ENGINE *e);
  1717. | ^~~~~~~~~~~~~~~~~~~~
  1718. ossl_engine.c: In function ‘ossl_engine_inspect’:
  1719. ossl_engine.c:513:23: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1720. 513 | rb_obj_class(self), ENGINE_get_id(e), ENGINE_get_name(e));
  1721. | ^~~~~~~~~~~~
  1722. /usr/include/openssl/engine.h:552:35: note: declared here
  1723. 552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
  1724. | ^~~~~~~~~~~~~
  1725. ossl_engine.c:513:23: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1726. 513 | rb_obj_class(self), ENGINE_get_id(e), ENGINE_get_name(e));
  1727. | ^~~~~~~~~~~~
  1728. /usr/include/openssl/engine.h:553:35: note: declared here
  1729. 553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
  1730. | ^~~~~~~~~~~~~~~
  1731. In file included from ossl.h:156,
  1732. from ossl_hmac.c:12:
  1733. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1734. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1735. |
  1736. In file included from ossl.h:31:
  1737. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1738. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1739. |
  1740. ossl_hmac.c: In function ‘ossl_hmac_free’:
  1741. ossl_hmac.c:39:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1742. 39 | HMAC_CTX_free(ctx);
  1743. | ^~~~~~~~~~~~~
  1744. In file included from /usr/include/openssl/ssl.h:37,
  1745. from ossl.h:24:
  1746. /usr/include/openssl/hmac.h:35:28: note: declared here
  1747. 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
  1748. | ^~~~~~~~~~~~~
  1749. ossl_hmac.c: In function ‘ossl_hmac_alloc’:
  1750. ossl_hmac.c:57:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1751. 57 | ctx = HMAC_CTX_new();
  1752. | ^~~
  1753. /usr/include/openssl/hmac.h:33:33: note: declared here
  1754. 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
  1755. | ^~~~~~~~~~~~
  1756. ossl_hmac.c: In function ‘ossl_hmac_initialize’:
  1757. ossl_hmac.c:102:5: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1758. 102 | HMAC_Init_ex(ctx, RSTRING_PTR(key), RSTRING_LENINT(key),
  1759. | ^~~~~~~~~~~~
  1760. /usr/include/openssl/hmac.h:43:27: note: declared here
  1761. 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
  1762. | ^~~~~~~~~~~~
  1763. ossl_hmac.c: In function ‘ossl_hmac_copy’:
  1764. ossl_hmac.c:119:5: warning: ‘HMAC_CTX_copy’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1765. 119 | if (!HMAC_CTX_copy(ctx1, ctx2))
  1766. | ^~
  1767. /usr/include/openssl/hmac.h:49:34: note: declared here
  1768. 49 | OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
  1769. | ^~~~~~~~~~~~~
  1770. ossl_hmac.c: In function ‘ossl_hmac_update’:
  1771. ossl_hmac.c:149:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1772. 149 | HMAC_Update(ctx, (unsigned char *)RSTRING_PTR(data), RSTRING_LEN(data));
  1773. | ^~~~~~~~~~~
  1774. /usr/include/openssl/hmac.h:45:27: note: declared here
  1775. 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
  1776. | ^~~~~~~~~~~
  1777. ossl_hmac.c: In function ‘hmac_final’:
  1778. ossl_hmac.c:159:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1779. 159 | final = HMAC_CTX_new();
  1780. | ^~~~~
  1781. /usr/include/openssl/hmac.h:33:33: note: declared here
  1782. 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
  1783. | ^~~~~~~~~~~~
  1784. ossl_hmac.c:163:5: warning: ‘HMAC_CTX_copy’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1785. 163 | if (!HMAC_CTX_copy(final, ctx)) {
  1786. | ^~
  1787. /usr/include/openssl/hmac.h:49:34: note: declared here
  1788. 49 | OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
  1789. | ^~~~~~~~~~~~~
  1790. ossl_hmac.c:164:9: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1791. 164 | HMAC_CTX_free(final);
  1792. | ^~~~~~~~~~~~~
  1793. /usr/include/openssl/hmac.h:35:28: note: declared here
  1794. 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
  1795. | ^~~~~~~~~~~~~
  1796. ossl_hmac.c:168:5: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1797. 168 | HMAC_Final(final, buf, buf_len);
  1798. | ^~~~~~~~~~
  1799. /usr/include/openssl/hmac.h:47:27: note: declared here
  1800. 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
  1801. | ^~~~~~~~~~
  1802. ossl_hmac.c:169:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1803. 169 | HMAC_CTX_free(final);
  1804. | ^~~~~~~~~~~~~
  1805. /usr/include/openssl/hmac.h:35:28: note: declared here
  1806. 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
  1807. | ^~~~~~~~~~~~~
  1808. ossl_hmac.c: In function ‘ossl_hmac_reset’:
  1809. ossl_hmac.c:248:5: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  1810. 248 | HMAC_Init_ex(ctx, NULL, 0, NULL, NULL);
  1811. | ^~~~~~~~~~~~
  1812. /usr/include/openssl/hmac.h:43:27: note: declared here
  1813. 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
  1814. | ^~~~~~~~~~~~
  1815. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/psych'
  1816. compiling ossl_kdf.c
  1817. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1818. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1819. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1820. compiling ossl_ns_spki.c
  1821. linking shared-object strscan.so
  1822. compiling ossl_ocsp.c
  1823. At top level:
  1824. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1825. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1826. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1827. At top level:
  1828. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1829. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1830. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1831. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/strscan'
  1832. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/sha2'
  1833. compiling sha2init.c
  1834. linking shared-object pathname.so
  1835. At top level:
  1836. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1837. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1838. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1839. compiling basicsocket.c
  1840. linking shared-object digest/md5.so
  1841. In file included from ossl.h:156,
  1842. from ossl_ns_spki.c:10:
  1843. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1844. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1845. |
  1846. In file included from ossl.h:31:
  1847. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1848. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1849. |
  1850. In file included from ossl.h:156,
  1851. from ossl_kdf.c:5:
  1852. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1853. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1854. |
  1855. In file included from ossl.h:31:
  1856. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1857. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1858. |
  1859. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/pathname'
  1860. compiling ossl_pkcs12.c
  1861. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/json/generator'
  1862. compiling generator.c
  1863. At top level:
  1864. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1865. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1866. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1867. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/md5'
  1868. make[2]: Entering directory '/usr/share/rvm/src/ruby-3.0.2/ext/json/parser'
  1869. compiling parser.c
  1870. compiling socket.c
  1871. In file included from ossl.h:156,
  1872. from ossl_ocsp.c:11:
  1873. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1874. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1875. |
  1876. In file included from ossl.h:31:
  1877. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1878. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1879. |
  1880. compiling ossl_pkcs7.c
  1881. In file included from basicsocket.c:11:
  1882. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  1883. 148 | char *if_indextoname(unsigned int, char *);
  1884. | ^~~~~~
  1885. In file included from rubysocket.h:103:
  1886. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  1887. 195 | char __ifname[IF_NAMESIZE]) __THROW
  1888. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  1889. compiling sha2.c
  1890. linking shared-object digest/sha1.so
  1891. installing default sha2 libraries
  1892. compiling ossl_pkey.c
  1893. In file included from ossl.h:156,
  1894. from ossl_pkcs12.c:5:
  1895. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1896. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1897. |
  1898. In file included from ossl.h:31:
  1899. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1900. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1901. |
  1902. In file included from socket.c:11:
  1903. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  1904. 148 | char *if_indextoname(unsigned int, char *);
  1905. | ^~~~~~
  1906. In file included from rubysocket.h:103:
  1907. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  1908. 195 | char __ifname[IF_NAMESIZE]) __THROW
  1909. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  1910. linking shared-object digest/rmd160.so
  1911. In file included from sha2.c:40:
  1912. sha2.c:578:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
  1913. 578 | int SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
  1914. | ~~~~~~~~~~^~~~~~~~
  1915. sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
  1916. 145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
  1917. | ^
  1918. sha2.h:170:18: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’}
  1919. 170 | int SHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*);
  1920. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1921. sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
  1922. 145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
  1923. | ^
  1924. sha2.c:643:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
  1925. 643 | char *SHA256_End(SHA256_CTX* context, char buffer[]) {
  1926. | ~~~~~^~~~~~~~
  1927. sha2.h:171:31: note: previously declared as ‘char[65]’
  1928. 171 | char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]);
  1929. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1930. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1931. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1932. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1933. sha2.c:946:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
  1934. 946 | int SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
  1935. | ~~~~~~~~~~^~~~~~~~
  1936. sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
  1937. 163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
  1938. | ^
  1939. sha2.h:182:18: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
  1940. 182 | int SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
  1941. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1942. sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
  1943. 163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
  1944. | ^
  1945. sha2.c:976:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
  1946. 976 | char *SHA512_End(SHA512_CTX* context, char buffer[]) {
  1947. | ~~~~~^~~~~~~~
  1948. sha2.h:183:31: note: previously declared as ‘char[129]’
  1949. 183 | char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]);
  1950. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1951. sha2.c:1022:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
  1952. 1022 | int SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
  1953. | ~~~~~~~~~~^~~~~~~~
  1954. sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
  1955. 154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
  1956. | ^
  1957. sha2.h:176:18: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’}
  1958. 176 | int SHA384_Final(uint8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*);
  1959. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1960. sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
  1961. 154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
  1962. | ^
  1963. sha2.c:1052:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
  1964. 1052 | char *SHA384_End(SHA384_CTX* context, char buffer[]) {
  1965. | ~~~~~^~~~~~~~
  1966. sha2.h:177:31: note: previously declared as ‘char[97]’
  1967. 177 | char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]);
  1968. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1969. linking shared-object stringio.so
  1970. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/sha1'
  1971. compiling ossl_pkey_dh.c
  1972. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  1973. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  1974. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  1975. In file included from ossl.h:156,
  1976. from ossl_pkcs7.c:10:
  1977. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1978. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1979. |
  1980. In file included from ossl.h:31:
  1981. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1982. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1983. |
  1984. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/rmd160'
  1985. compiling ossl_pkey_dsa.c
  1986. compiling ossl_pkey_ec.c
  1987. compiling ossl_pkey_rsa.c
  1988. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/stringio'
  1989. compiling ossl_rand.c
  1990. In file included from ossl.h:156,
  1991. from ossl_pkey.c:10:
  1992. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  1993. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  1994. |
  1995. In file included from ossl.h:31:
  1996. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  1997. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  1998. |
  1999. In file included from ossl.h:156,
  2000. from ossl_pkey_dh.c:10:
  2001. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  2002. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  2003. |
  2004. In file included from ossl.h:31:
  2005. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  2006. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  2007. |
  2008. ossl_pkey_dh.c: In function ‘dh_instance’:
  2009. ossl_pkey_dh.c:48:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2010. 48 | if (!EVP_PKEY_assign_DH(pkey, dh)) {
  2011. | ^~
  2012. In file included from /usr/include/openssl/x509.h:29,
  2013. from /usr/include/openssl/x509v3.h:25,
  2014. from ossl.h:23:
  2015. /usr/include/openssl/evp.h:1328:5: note: declared here
  2016. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  2017. | ^~~~~~~~~~~~~~~
  2018. ossl_pkey_dh.c: In function ‘ossl_dh_new’:
  2019. ossl_pkey_dh.c:63:9: warning: ‘DH_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2020. 63 | obj = dh_instance(cDH, DH_new());
  2021. | ^~~
  2022. In file included from /usr/include/openssl/dsa.h:51,
  2023. from /usr/include/openssl/x509.h:37:
  2024. /usr/include/openssl/dh.h:199:27: note: declared here
  2025. 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
  2026. | ^~~~~~
  2027. ossl_pkey_dh.c: In function ‘dh_blocking_gen’:
  2028. ossl_pkey_dh.c:93:5: warning: ‘DH_generate_parameters_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2029. 93 | gen->result = DH_generate_parameters_ex(gen->dh, gen->size, gen->gen, gen->cb);
  2030. | ^~~
  2031. /usr/include/openssl/dh.h:212:27: note: declared here
  2032. 212 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len,
  2033. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  2034. ossl_pkey_dh.c: In function ‘dh_generate’:
  2035. ossl_pkey_dh.c:102:5: warning: ‘DH_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2036. 102 | DH *dh = DH_new();
  2037. | ^~
  2038. /usr/include/openssl/dh.h:199:27: note: declared here
  2039. 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
  2040. | ^~~~~~
  2041. ossl_pkey_dh.c:106:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2042. 106 | DH_free(dh);
  2043. | ^~~~~~~
  2044. /usr/include/openssl/dh.h:200:28: note: declared here
  2045. 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
  2046. | ^~~~~~~
  2047. ossl_pkey_dh.c:128:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2048. 128 | DH_free(dh);
  2049. | ^~~~~~~
  2050. /usr/include/openssl/dh.h:200:28: note: declared here
  2051. 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
  2052. | ^~~~~~~
  2053. ossl_pkey_dh.c:137:5: warning: ‘DH_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2054. 137 | if (!DH_generate_key(dh)) {
  2055. | ^~
  2056. /usr/include/openssl/dh.h:223:27: note: declared here
  2057. 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
  2058. | ^~~~~~~~~~~~~~~
  2059. ossl_pkey_dh.c:138:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2060. 138 | DH_free(dh);
  2061. | ^~~~~~~
  2062. /usr/include/openssl/dh.h:200:28: note: declared here
  2063. 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
  2064. | ^~~~~~~
  2065. ossl_pkey.c: In function ‘ossl_pkey_check_public_key’:
  2066. ossl_pkey.c:204:5: warning: ‘EVP_PKEY_get0’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2067. 204 | ptr = EVP_PKEY_get0((EVP_PKEY *)pkey);
  2068. | ^~~
  2069. In file included from /usr/include/openssl/x509.h:29,
  2070. from /usr/include/openssl/x509v3.h:25,
  2071. from ossl.h:23:
  2072. /usr/include/openssl/evp.h:1330:7: note: declared here
  2073. 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
  2074. | ^~~~~~~~~~~~~
  2075. ossl_pkey.c:207:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2076. 207 | RSA_get0_key(ptr, &n, &e, NULL);
  2077. | ^~~~~~~~~~~~
  2078. In file included from /usr/include/openssl/x509.h:36:
  2079. /usr/include/openssl/rsa.h:217:28: note: declared here
  2080. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  2081. | ^~~~~~~~~~~~
  2082. ossl_pkey.c:212:9: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2083. 212 | DSA_get0_key(ptr, &pubkey, NULL);
  2084. | ^~~~~~~~~~~~
  2085. In file included from /usr/include/openssl/x509.h:37:
  2086. /usr/include/openssl/dsa.h:204:28: note: declared here
  2087. 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
  2088. | ^~~~~~~~~~~~
  2089. ossl_pkey.c:217:9: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2090. 217 | DH_get0_key(ptr, &pubkey, NULL);
  2091. | ^~~~~~~~~~~
  2092. In file included from /usr/include/openssl/dsa.h:51:
  2093. /usr/include/openssl/dh.h:256:28: note: declared here
  2094. 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
  2095. | ^~~~~~~~~~~
  2096. ossl_pkey.c:223:9: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2097. 223 | if (EC_KEY_get0_public_key(ptr))
  2098. | ^~
  2099. In file included from /usr/include/openssl/x509.h:33:
  2100. /usr/include/openssl/ec.h:1062:39: note: declared here
  2101. 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
  2102. | ^~~~~~~~~~~~~~~~~~~~~~
  2103. ossl_pkey_dh.c: In function ‘ossl_dh_s_generate’:
  2104. ossl_pkey_dh.c:170:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2105. 170 | DH_free(dh);
  2106. | ^~~~~~~
  2107. /usr/include/openssl/dh.h:200:28: note: declared here
  2108. 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
  2109. | ^~~~~~~
  2110. ossl_pkey_dh.c: In function ‘ossl_dh_initialize’:
  2111. ossl_pkey_dh.c:213:7: warning: ‘DH_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2112. 213 | dh = DH_new();
  2113. | ^~
  2114. /usr/include/openssl/dh.h:199:27: note: declared here
  2115. 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
  2116. | ^~~~~~
  2117. ossl_pkey_dh.c:226:9: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2118. 226 | dh = PEM_read_bio_DHparams(in, NULL, NULL, NULL);
  2119. | ^~
  2120. In file included from /usr/include/openssl/ssl.h:36,
  2121. from ossl.h:24:
  2122. /usr/include/openssl/pem.h:469:1: note: declared here
  2123. 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
  2124. | ^~~~~~~~~~~~~~~~~~~
  2125. ossl_pkey_dh.c:229:13: warning: ‘DH_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2126. 229 | dh = d2i_DHparams_bio(in, NULL);
  2127. | ^~
  2128. /usr/include/openssl/dh.h:199:27: note: declared here
  2129. 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
  2130. | ^~~~~~
  2131. ossl_pkey_dh.c:229:13: warning: ‘d2i_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2132. 229 | dh = d2i_DHparams_bio(in, NULL);
  2133. | ^~
  2134. In file included from ossl.h:22:
  2135. /usr/include/openssl/dh.h:229:1: note: declared here
  2136. 229 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
  2137. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2138. ossl_pkey_dh.c:236:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2139. 236 | if (!EVP_PKEY_assign_DH(pkey, dh)) {
  2140. | ^~
  2141. /usr/include/openssl/evp.h:1328:5: note: declared here
  2142. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  2143. | ^~~~~~~~~~~~~~~
  2144. ossl_pkey_dh.c:237:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2145. 237 | DH_free(dh);
  2146. | ^~~~~~~
  2147. /usr/include/openssl/dh.h:200:28: note: declared here
  2148. 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
  2149. | ^~~~~~~
  2150. ossl_pkey_dh.c: In function ‘ossl_dh_initialize_copy’:
  2151. ossl_pkey_dh.c:253:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2152. 253 | GetDH(other, dh_other);
  2153. | ^~~~~
  2154. /usr/include/openssl/evp.h:1363:43: note: declared here
  2155. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2156. | ^~~~~~~~~~~~~~~~
  2157. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2158. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2159. | ^
  2160. ossl_pkey_dh.c:253:5: note: in expansion of macro ‘GetDH’
  2161. 253 | GetDH(other, dh_other);
  2162. | ^~~~~
  2163. ossl_pkey_dh.c:255:5: warning: ‘DHparams_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2164. 255 | dh = DHparams_dup(dh_other);
  2165. | ^~
  2166. /usr/include/openssl/dh.h:190:1: note: declared here
  2167. 190 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
  2168. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2169. ossl_pkey_dh.c:258:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2170. 258 | EVP_PKEY_assign_DH(pkey, dh);
  2171. | ^~~~~~~~~~~~~~~~~~
  2172. /usr/include/openssl/evp.h:1328:5: note: declared here
  2173. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  2174. | ^~~~~~~~~~~~~~~
  2175. ossl_pkey_dh.c:260:5: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2176. 260 | DH_get0_key(dh_other, &pub, &priv);
  2177. | ^~~~~~~~~~~
  2178. /usr/include/openssl/dh.h:256:28: note: declared here
  2179. 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
  2180. | ^~~~~~~~~~~
  2181. ossl_pkey_dh.c:270:9: warning: ‘DH_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2182. 270 | DH_set0_key(dh, pub2, priv2);
  2183. | ^~~~~~~~~~~
  2184. /usr/include/openssl/dh.h:258:27: note: declared here
  2185. 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
  2186. | ^~~~~~~~~~~
  2187. ossl_pkey_dh.c: In function ‘ossl_dh_is_public’:
  2188. ossl_pkey_dh.c:289:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2189. 289 | GetDH(self, dh);
  2190. | ^~~~~
  2191. /usr/include/openssl/evp.h:1363:43: note: declared here
  2192. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2193. | ^~~~~~~~~~~~~~~~
  2194. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2195. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2196. | ^
  2197. ossl_pkey_dh.c:289:5: note: in expansion of macro ‘GetDH’
  2198. 289 | GetDH(self, dh);
  2199. | ^~~~~
  2200. ossl_pkey_dh.c:290:5: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2201. 290 | DH_get0_key(dh, &bn, NULL);
  2202. | ^~~~~~~~~~~
  2203. /usr/include/openssl/dh.h:256:28: note: declared here
  2204. 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
  2205. | ^~~~~~~~~~~
  2206. ossl_pkey_dh.c: In function ‘ossl_dh_is_private’:
  2207. ossl_pkey_dh.c:308:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2208. 308 | GetDH(self, dh);
  2209. | ^~~~~
  2210. /usr/include/openssl/evp.h:1363:43: note: declared here
  2211. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2212. | ^~~~~~~~~~~~~~~~
  2213. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2214. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2215. | ^
  2216. ossl_pkey_dh.c:308:5: note: in expansion of macro ‘GetDH’
  2217. 308 | GetDH(self, dh);
  2218. | ^~~~~
  2219. ossl_pkey_dh.c:309:5: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2220. 309 | DH_get0_key(dh, NULL, &bn);
  2221. | ^~~~~~~~~~~
  2222. /usr/include/openssl/dh.h:256:28: note: declared here
  2223. 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
  2224. | ^~~~~~~~~~~
  2225. ossl_pkey_dh.c:312:5: warning: ‘DH_get0_engine’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2226. 312 | return (bn || DH_get0_engine(dh)) ? Qtrue : Qfalse;
  2227. | ^~~~~~
  2228. /usr/include/openssl/dh.h:267:31: note: declared here
  2229. 267 | OSSL_DEPRECATEDIN_3_0 ENGINE *DH_get0_engine(DH *d);
  2230. | ^~~~~~~~~~~~~~
  2231. ossl_pkey_dh.c: In function ‘ossl_dh_export’:
  2232. ossl_pkey_dh.c:335:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2233. 335 | GetDH(self, dh);
  2234. | ^~~~~
  2235. /usr/include/openssl/evp.h:1363:43: note: declared here
  2236. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2237. | ^~~~~~~~~~~~~~~~
  2238. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2239. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2240. | ^
  2241. ossl_pkey_dh.c:335:5: note: in expansion of macro ‘GetDH’
  2242. 335 | GetDH(self, dh);
  2243. | ^~~~~
  2244. ossl_pkey_dh.c:339:5: warning: ‘PEM_write_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2245. 339 | if (!PEM_write_bio_DHparams(out, dh)) {
  2246. | ^~
  2247. /usr/include/openssl/pem.h:469:1: note: declared here
  2248. 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
  2249. | ^~~~~~~~~~~~~~~~~~~
  2250. ossl_pkey_dh.c: In function ‘ossl_dh_to_der’:
  2251. ossl_pkey_dh.c:365:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2252. 365 | GetDH(self, dh);
  2253. | ^~~~~
  2254. /usr/include/openssl/evp.h:1363:43: note: declared here
  2255. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2256. | ^~~~~~~~~~~~~~~~
  2257. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2258. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2259. | ^
  2260. ossl_pkey_dh.c:365:5: note: in expansion of macro ‘GetDH’
  2261. 365 | GetDH(self, dh);
  2262. | ^~~~~
  2263. ossl_pkey_dh.c:366:5: warning: ‘i2d_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2264. 366 | if((len = i2d_DHparams(dh, NULL)) <= 0)
  2265. | ^~
  2266. /usr/include/openssl/dh.h:229:1: note: declared here
  2267. 229 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
  2268. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2269. ossl_pkey_dh.c:370:5: warning: ‘i2d_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2270. 370 | if(i2d_DHparams(dh, &p) < 0)
  2271. | ^~
  2272. /usr/include/openssl/dh.h:229:1: note: declared here
  2273. 229 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
  2274. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2275. ossl_pkey_dh.c: In function ‘ossl_dh_get_params’:
  2276. ossl_pkey_dh.c:392:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2277. 392 | GetDH(self, dh);
  2278. | ^~~~~
  2279. /usr/include/openssl/evp.h:1363:43: note: declared here
  2280. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2281. | ^~~~~~~~~~~~~~~~
  2282. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2283. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2284. | ^
  2285. ossl_pkey_dh.c:392:5: note: in expansion of macro ‘GetDH’
  2286. 392 | GetDH(self, dh);
  2287. | ^~~~~
  2288. ossl_pkey_dh.c:393:5: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2289. 393 | DH_get0_pqg(dh, &p, &q, &g);
  2290. | ^~~~~~~~~~~
  2291. /usr/include/openssl/dh.h:253:28: note: declared here
  2292. 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
  2293. | ^~~~~~~~~~~
  2294. ossl_pkey_dh.c:394:5: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2295. 394 | DH_get0_key(dh, &pub_key, &priv_key);
  2296. | ^~~~~~~~~~~
  2297. /usr/include/openssl/dh.h:256:28: note: declared here
  2298. 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
  2299. | ^~~~~~~~~~~
  2300. ossl_pkey_dh.c: In function ‘ossl_dh_to_text’:
  2301. ossl_pkey_dh.c:421:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2302. 421 | GetDH(self, dh);
  2303. | ^~~~~
  2304. /usr/include/openssl/evp.h:1363:43: note: declared here
  2305. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2306. | ^~~~~~~~~~~~~~~~
  2307. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2308. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2309. | ^
  2310. ossl_pkey_dh.c:421:5: note: in expansion of macro ‘GetDH’
  2311. 421 | GetDH(self, dh);
  2312. | ^~~~~
  2313. ossl_pkey_dh.c:425:5: warning: ‘DHparams_print’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2314. 425 | if (!DHparams_print(out, dh)) {
  2315. | ^~
  2316. /usr/include/openssl/dh.h:235:27: note: declared here
  2317. 235 | OSSL_DEPRECATEDIN_3_0 int DHparams_print(BIO *bp, const DH *x);
  2318. | ^~~~~~~~~~~~~~
  2319. ossl_pkey_dh.c: In function ‘ossl_dh_to_public_key’:
  2320. ossl_pkey_dh.c:461:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2321. 461 | GetDH(self, orig_dh);
  2322. | ^~~~~
  2323. /usr/include/openssl/evp.h:1363:43: note: declared here
  2324. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2325. | ^~~~~~~~~~~~~~~~
  2326. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2327. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2328. | ^
  2329. ossl_pkey_dh.c:461:5: note: in expansion of macro ‘GetDH’
  2330. 461 | GetDH(self, orig_dh);
  2331. | ^~~~~
  2332. ossl_pkey_dh.c:462:5: warning: ‘DHparams_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2333. 462 | dh = DHparams_dup(orig_dh); /* err check perfomed by dh_instance */
  2334. | ^~
  2335. /usr/include/openssl/dh.h:190:1: note: declared here
  2336. 190 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
  2337. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2338. ossl_pkey_dh.c:465:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2339. 465 | DH_free(dh);
  2340. | ^~~~~~~
  2341. /usr/include/openssl/dh.h:200:28: note: declared here
  2342. 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
  2343. | ^~~~~~~
  2344. ossl_pkey_dh.c: In function ‘ossl_dh_check_params’:
  2345. ossl_pkey_dh.c:486:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2346. 486 | GetDH(self, dh);
  2347. | ^~~~~
  2348. /usr/include/openssl/evp.h:1363:43: note: declared here
  2349. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2350. | ^~~~~~~~~~~~~~~~
  2351. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2352. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2353. | ^
  2354. ossl_pkey_dh.c:486:5: note: in expansion of macro ‘GetDH’
  2355. 486 | GetDH(self, dh);
  2356. | ^~~~~
  2357. ossl_pkey_dh.c:487:5: warning: ‘DH_check’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2358. 487 | if (!DH_check(dh, &codes)) {
  2359. | ^~
  2360. /usr/include/openssl/dh.h:220:27: note: declared here
  2361. 220 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes);
  2362. | ^~~~~~~~
  2363. ossl_pkey_dh.c: In function ‘ossl_dh_generate_key’:
  2364. ossl_pkey_dh.c:515:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2365. 515 | GetDH(self, dh);
  2366. | ^~~~~
  2367. /usr/include/openssl/evp.h:1363:43: note: declared here
  2368. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2369. | ^~~~~~~~~~~~~~~~
  2370. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2371. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2372. | ^
  2373. ossl_pkey_dh.c:515:5: note: in expansion of macro ‘GetDH’
  2374. 515 | GetDH(self, dh);
  2375. | ^~~~~
  2376. ossl_pkey_dh.c:516:5: warning: ‘DH_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2377. 516 | if (!DH_generate_key(dh))
  2378. | ^~
  2379. /usr/include/openssl/dh.h:223:27: note: declared here
  2380. 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
  2381. | ^~~~~~~~~~~~~~~
  2382. ossl_pkey_dh.c: In function ‘ossl_dh_compute_key’:
  2383. ossl_pkey_dh.c:540:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2384. 540 | GetDH(self, dh);
  2385. | ^~~~~
  2386. /usr/include/openssl/evp.h:1363:43: note: declared here
  2387. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2388. | ^~~~~~~~~~~~~~~~
  2389. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2390. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2391. | ^
  2392. ossl_pkey_dh.c:540:5: note: in expansion of macro ‘GetDH’
  2393. 540 | GetDH(self, dh);
  2394. | ^~~~~
  2395. ossl_pkey_dh.c:541:5: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2396. 541 | DH_get0_pqg(dh, &dh_p, NULL, NULL);
  2397. | ^~~~~~~~~~~
  2398. /usr/include/openssl/dh.h:253:28: note: declared here
  2399. 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
  2400. | ^~~~~~~~~~~
  2401. ossl_pkey_dh.c:545:5: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2402. 545 | len = DH_size(dh);
  2403. | ^~~
  2404. /usr/include/openssl/dh.h:203:27: note: declared here
  2405. 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh);
  2406. | ^~~~~~~
  2407. ossl_pkey_dh.c:547:5: warning: ‘DH_compute_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2408. 547 | if ((len = DH_compute_key((unsigned char *)RSTRING_PTR(str), pub_key, dh)) < 0) {
  2409. | ^~
  2410. /usr/include/openssl/dh.h:224:27: note: declared here
  2411. 224 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
  2412. | ^~~~~~~~~~~~~~
  2413. ossl_pkey_dh.c: In function ‘ossl_dh_get_p’:
  2414. ossl_pkey_dh.c:562:1: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2415. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2416. | ^~~~~~~~~~~~~~~~~
  2417. /usr/include/openssl/evp.h:1363:43: note: declared here
  2418. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2419. | ^~~~~~~~~~~~~~~~
  2420. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2421. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2422. | ^
  2423. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDH’
  2424. 102 | Get##_type(self, obj); \
  2425. | ^~~
  2426. ossl_pkey.h:110:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  2427. 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
  2428. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2429. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  2430. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  2431. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2432. ossl_pkey_dh.c:562:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  2433. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2434. | ^~~~~~~~~~~~~~~~~
  2435. ossl_pkey_dh.c:562:1: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2436. /usr/include/openssl/dh.h:253:28: note: declared here
  2437. 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
  2438. | ^~~~~~~~~~~
  2439. ossl_pkey_dh.c: In function ‘ossl_dh_get_q’:
  2440. ossl_pkey_dh.c:562:1: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2441. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2442. | ^~~~~~~~~~~~~~~~~
  2443. /usr/include/openssl/evp.h:1363:43: note: declared here
  2444. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2445. | ^~~~~~~~~~~~~~~~
  2446. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2447. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2448. | ^
  2449. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDH’
  2450. 102 | Get##_type(self, obj); \
  2451. | ^~~
  2452. ossl_pkey.h:112:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  2453. 112 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
  2454. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2455. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  2456. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  2457. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2458. ossl_pkey_dh.c:562:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  2459. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2460. | ^~~~~~~~~~~~~~~~~
  2461. ossl_pkey_dh.c:562:1: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2462. /usr/include/openssl/dh.h:253:28: note: declared here
  2463. 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
  2464. | ^~~~~~~~~~~
  2465. ossl_pkey_dh.c: In function ‘ossl_dh_get_g’:
  2466. ossl_pkey_dh.c:562:1: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2467. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2468. | ^~~~~~~~~~~~~~~~~
  2469. /usr/include/openssl/evp.h:1363:43: note: declared here
  2470. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2471. | ^~~~~~~~~~~~~~~~
  2472. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2473. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2474. | ^
  2475. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDH’
  2476. 102 | Get##_type(self, obj); \
  2477. | ^~~
  2478. ossl_pkey.h:114:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  2479. 114 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
  2480. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2481. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  2482. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  2483. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2484. ossl_pkey_dh.c:562:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  2485. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2486. | ^~~~~~~~~~~~~~~~~
  2487. ossl_pkey_dh.c:562:1: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2488. /usr/include/openssl/dh.h:253:28: note: declared here
  2489. 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
  2490. | ^~~~~~~~~~~
  2491. ossl_pkey_dh.c: In function ‘ossl_dh_set_pqg’:
  2492. ossl_pkey_dh.c:562:1: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2493. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2494. | ^~~~~~~~~~~~~~~~~
  2495. /usr/include/openssl/evp.h:1363:43: note: declared here
  2496. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2497. | ^~~~~~~~~~~~~~~~
  2498. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2499. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2500. | ^
  2501. ossl_pkey.h:135:9: note: in expansion of macro ‘GetDH’
  2502. 135 | Get##_type(self, obj); \
  2503. | ^~~
  2504. ossl_pkey.h:212:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_SETTER3’
  2505. 212 | OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
  2506. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2507. ossl_pkey_dh.c:562:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  2508. 562 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
  2509. | ^~~~~~~~~~~~~~~~~
  2510. ossl_pkey_dh.c:562:1: warning: ‘DH_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2511. /usr/include/openssl/dh.h:255:27: note: declared here
  2512. 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
  2513. | ^~~~~~~~~~~
  2514. ossl_pkey_dh.c: In function ‘ossl_dh_get_pub_key’:
  2515. ossl_pkey_dh.c:570:1: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2516. 570 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
  2517. | ^~~~~~~~~~~~~~~~~
  2518. /usr/include/openssl/evp.h:1363:43: note: declared here
  2519. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2520. | ^~~~~~~~~~~~~~~~
  2521. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2522. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2523. | ^
  2524. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDH’
  2525. 102 | Get##_type(self, obj); \
  2526. | ^~~
  2527. ossl_pkey.h:118:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  2528. 118 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
  2529. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2530. ossl_pkey.h:215:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER2’
  2531. 215 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
  2532. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2533. ossl_pkey_dh.c:570:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  2534. 570 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
  2535. | ^~~~~~~~~~~~~~~~~
  2536. ossl_pkey_dh.c:570:1: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2537. /usr/include/openssl/dh.h:256:28: note: declared here
  2538. 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
  2539. | ^~~~~~~~~~~
  2540. ossl_pkey_dh.c: In function ‘ossl_dh_get_priv_key’:
  2541. ossl_pkey_dh.c:570:1: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2542. 570 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
  2543. | ^~~~~~~~~~~~~~~~~
  2544. /usr/include/openssl/evp.h:1363:43: note: declared here
  2545. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2546. | ^~~~~~~~~~~~~~~~
  2547. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2548. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2549. | ^
  2550. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDH’
  2551. 102 | Get##_type(self, obj); \
  2552. | ^~~
  2553. ossl_pkey.h:120:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  2554. 120 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
  2555. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2556. ossl_pkey.h:215:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER2’
  2557. 215 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
  2558. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2559. ossl_pkey_dh.c:570:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  2560. 570 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
  2561. | ^~~~~~~~~~~~~~~~~
  2562. ossl_pkey_dh.c:570:1: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2563. /usr/include/openssl/dh.h:256:28: note: declared here
  2564. 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
  2565. | ^~~~~~~~~~~
  2566. ossl_pkey_dh.c: In function ‘ossl_dh_set_key’:
  2567. ossl_pkey_dh.c:570:1: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2568. 570 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
  2569. | ^~~~~~~~~~~~~~~~~
  2570. /usr/include/openssl/evp.h:1363:43: note: declared here
  2571. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  2572. | ^~~~~~~~~~~~~~~~
  2573. ossl_pkey_dh.c:23:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2574. 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \
  2575. | ^
  2576. ossl_pkey.h:165:9: note: in expansion of macro ‘GetDH’
  2577. 165 | Get##_type(self, obj); \
  2578. | ^~~
  2579. ossl_pkey.h:216:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_SETTER2’
  2580. 216 | OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
  2581. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2582. ossl_pkey_dh.c:570:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  2583. 570 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
  2584. | ^~~~~~~~~~~~~~~~~
  2585. ossl_pkey_dh.c:570:1: warning: ‘DH_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2586. /usr/include/openssl/dh.h:258:27: note: declared here
  2587. 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
  2588. | ^~~~~~~~~~~
  2589. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  2590. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  2591. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  2592. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  2593. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  2594. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  2595. In file included from ossl.h:156,
  2596. from ossl_pkey_dsa.c:10:
  2597. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  2598. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  2599. |
  2600. In file included from ossl.h:31:
  2601. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  2602. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  2603. |
  2604. ossl_pkey_dsa.c: In function ‘DSA_HAS_PRIVATE’:
  2605. ossl_pkey_dsa.c:30:5: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2606. 30 | DSA_get0_key(dsa, NULL, &bn);
  2607. | ^~~~~~~~~~~~
  2608. In file included from /usr/include/openssl/x509.h:37,
  2609. from /usr/include/openssl/x509v3.h:25,
  2610. from ossl.h:23:
  2611. /usr/include/openssl/dsa.h:204:28: note: declared here
  2612. 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
  2613. | ^~~~~~~~~~~~
  2614. ossl_pkey_dsa.c: In function ‘dsa_instance’:
  2615. ossl_pkey_dsa.c:62:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2616. 62 | if (!EVP_PKEY_assign_DSA(pkey, dsa)) {
  2617. | ^~
  2618. In file included from /usr/include/openssl/x509.h:29:
  2619. /usr/include/openssl/evp.h:1328:5: note: declared here
  2620. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  2621. | ^~~~~~~~~~~~~~~
  2622. ossl_pkey_dsa.c: In function ‘ossl_dsa_new’:
  2623. ossl_pkey_dsa.c:77:9: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2624. 77 | obj = dsa_instance(cDSA, DSA_new());
  2625. | ^~~
  2626. /usr/include/openssl/dsa.h:125:28: note: declared here
  2627. 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
  2628. | ^~~~~~~
  2629. ossl_pkey_dsa.c: In function ‘dsa_blocking_gen’:
  2630. ossl_pkey_dsa.c:108:5: warning: ‘DSA_generate_parameters_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2631. 108 | gen->result = DSA_generate_parameters_ex(gen->dsa, gen->size, NULL, 0,
  2632. | ^~~
  2633. /usr/include/openssl/dsa.h:167:27: note: declared here
  2634. 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
  2635. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  2636. ossl_pkey_dsa.c: In function ‘dsa_generate’:
  2637. ossl_pkey_dsa.c:118:5: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2638. 118 | DSA *dsa = DSA_new();
  2639. | ^~~
  2640. /usr/include/openssl/dsa.h:125:28: note: declared here
  2641. 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
  2642. | ^~~~~~~
  2643. ossl_pkey_dsa.c:124:9: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2644. 124 | DSA_free(dsa);
  2645. | ^~~~~~~~
  2646. /usr/include/openssl/dsa.h:127:28: note: declared here
  2647. 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
  2648. | ^~~~~~~~
  2649. ossl_pkey_dsa.c:147:9: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2650. 147 | DSA_free(dsa);
  2651. | ^~~~~~~~
  2652. /usr/include/openssl/dsa.h:127:28: note: declared here
  2653. 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
  2654. | ^~~~~~~~
  2655. ossl_pkey_dsa.c:159:5: warning: ‘DSA_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2656. 159 | if (!DSA_generate_key(dsa)) {
  2657. | ^~
  2658. /usr/include/openssl/dsa.h:174:27: note: declared here
  2659. 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
  2660. | ^~~~~~~~~~~~~~~~
  2661. ossl_pkey_dsa.c:160:9: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2662. 160 | DSA_free(dsa);
  2663. | ^~~~~~~~
  2664. /usr/include/openssl/dsa.h:127:28: note: declared here
  2665. 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
  2666. | ^~~~~~~~
  2667. ossl_pkey_dsa.c: In function ‘ossl_dsa_s_generate’:
  2668. ossl_pkey_dsa.c:185:9: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2669. 185 | DSA_free(dsa);
  2670. | ^~~~~~~~
  2671. /usr/include/openssl/dsa.h:127:28: note: declared here
  2672. 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
  2673. | ^~~~~~~~
  2674. ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
  2675. ossl_pkey_dsa.c:222:9: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2676. 222 | dsa = DSA_new();
  2677. | ^~~
  2678. /usr/include/openssl/dsa.h:125:28: note: declared here
  2679. 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
  2680. | ^~~~~~~
  2681. ossl_pkey_dsa.c:233:9: warning: ‘PEM_read_bio_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2682. 233 | dsa = PEM_read_bio_DSAPrivateKey(in, NULL, ossl_pem_passwd_cb, (void *)pass);
  2683. | ^~~
  2684. In file included from /usr/include/openssl/ssl.h:36,
  2685. from ossl.h:24:
  2686. /usr/include/openssl/pem.h:453:1: note: declared here
  2687. 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
  2688. | ^~~~~~~~~~~~~~~~~~~~~~
  2689. ossl_pkey_dsa.c:236:13: warning: ‘PEM_read_bio_DSA_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2690. 236 | dsa = PEM_read_bio_DSA_PUBKEY(in, NULL, NULL, NULL);
  2691. | ^~~
  2692. /usr/include/openssl/pem.h:454:1: note: declared here
  2693. 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA)
  2694. | ^~~~~~~~~~~~~~~~~~~
  2695. ossl_pkey_dsa.c:240:13: warning: ‘d2i_DSAPrivateKey_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2696. 240 | dsa = d2i_DSAPrivateKey_bio(in, NULL);
  2697. | ^~~
  2698. /usr/include/openssl/x509.h:627:28: note: declared here
  2699. 627 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
  2700. | ^~~~~~~~~~~~~~~~~~~~~
  2701. ossl_pkey_dsa.c:244:13: warning: ‘d2i_DSA_PUBKEY_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2702. 244 | dsa = d2i_DSA_PUBKEY_bio(in, NULL);
  2703. | ^~~
  2704. /usr/include/openssl/x509.h:625:28: note: declared here
  2705. 625 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
  2706. | ^~~~~~~~~~~~~~~~~~
  2707. ossl_pkey_dsa.c:250:13: warning: ‘d2i_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2708. 250 | dsa = PEM_read_bio_DSAPublicKey(in, NULL, NULL, NULL);
  2709. | ^~~
  2710. In file included from ossl.h:22:
  2711. /usr/include/openssl/dsa.h:148:1: note: declared here
  2712. 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
  2713. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2714. ossl_pkey_dsa.c:259:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2715. 259 | if (!EVP_PKEY_assign_DSA(pkey, dsa)) {
  2716. | ^~
  2717. /usr/include/openssl/evp.h:1328:5: note: declared here
  2718. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  2719. | ^~~~~~~~~~~~~~~
  2720. ossl_pkey_dsa.c:260:9: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2721. 260 | DSA_free(dsa);
  2722. | ^~~~~~~~
  2723. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  2724. /usr/include/openssl/dsa.h:127:28: note: declared here
  2725. 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
  2726. | ^~~~~~~~
  2727. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  2728. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  2729. ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize_copy’:
  2730. ossl_pkey_dsa.c:276:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2731. 276 | GetDSA(other, dsa);
  2732. | ^~~~~~
  2733. /usr/include/openssl/evp.h:1355:22: note: declared here
  2734. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2735. | ^~~~~~~~~~~~~~~~~
  2736. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2737. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2738. | ^
  2739. ossl_pkey_dsa.c:276:5: note: in expansion of macro ‘GetDSA’
  2740. 276 | GetDSA(other, dsa);
  2741. | ^~~~~~
  2742. ossl_pkey_dsa.c:278:5: warning: ‘i2d_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2743. 278 | dsa_new = ASN1_dup((i2d_of_void *)i2d_DSAPrivateKey, (d2i_of_void *)d2i_DSAPrivateKey, (char *)dsa);
  2744. | ^~~~~~~
  2745. /usr/include/openssl/dsa.h:150:1: note: declared here
  2746. 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
  2747. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2748. ossl_pkey_dsa.c:278:5: warning: ‘d2i_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2749. 278 | dsa_new = ASN1_dup((i2d_of_void *)i2d_DSAPrivateKey, (d2i_of_void *)d2i_DSAPrivateKey, (char *)dsa);
  2750. | ^~~~~~~
  2751. /usr/include/openssl/dsa.h:150:1: note: declared here
  2752. 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
  2753. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2754. ossl_pkey_dsa.c:282:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2755. 282 | EVP_PKEY_assign_DSA(pkey, dsa_new);
  2756. | ^~~~~~~~~~~~~~~~~~~
  2757. /usr/include/openssl/evp.h:1328:5: note: declared here
  2758. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  2759. | ^~~~~~~~~~~~~~~
  2760. ossl_pkey_dsa.c: In function ‘ossl_dsa_is_public’:
  2761. ossl_pkey_dsa.c:300:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2762. 300 | GetDSA(self, dsa);
  2763. | ^~~~~~
  2764. /usr/include/openssl/evp.h:1355:22: note: declared here
  2765. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2766. | ^~~~~~~~~~~~~~~~~
  2767. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2768. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2769. | ^
  2770. ossl_pkey_dsa.c:300:5: note: in expansion of macro ‘GetDSA’
  2771. 300 | GetDSA(self, dsa);
  2772. | ^~~~~~
  2773. ossl_pkey_dsa.c:301:5: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2774. 301 | DSA_get0_key(dsa, &bn, NULL);
  2775. | ^~~~~~~~~~~~
  2776. /usr/include/openssl/dsa.h:204:28: note: declared here
  2777. 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
  2778. | ^~~~~~~~~~~~
  2779. ossl_pkey_dsa.c: In function ‘ossl_dsa_is_private’:
  2780. ossl_pkey_dsa.c:318:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2781. 318 | GetDSA(self, dsa);
  2782. | ^~~~~~
  2783. /usr/include/openssl/evp.h:1355:22: note: declared here
  2784. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2785. | ^~~~~~~~~~~~~~~~~
  2786. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2787. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2788. | ^
  2789. ossl_pkey_dsa.c:318:5: note: in expansion of macro ‘GetDSA’
  2790. 318 | GetDSA(self, dsa);
  2791. | ^~~~~~
  2792. ossl_pkey_dsa.c: In function ‘ossl_dsa_export’:
  2793. ossl_pkey_dsa.c:348:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2794. 348 | GetDSA(self, dsa);
  2795. | ^~~~~~
  2796. /usr/include/openssl/evp.h:1355:22: note: declared here
  2797. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2798. | ^~~~~~~~~~~~~~~~~
  2799. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2800. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2801. | ^
  2802. ossl_pkey_dsa.c:348:5: note: in expansion of macro ‘GetDSA’
  2803. 348 | GetDSA(self, dsa);
  2804. | ^~~~~~
  2805. ossl_pkey_dsa.c:358:9: warning: ‘PEM_write_bio_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2806. 358 | if (!PEM_write_bio_DSAPrivateKey(out, dsa, ciph, NULL, 0,
  2807. | ^~
  2808. /usr/include/openssl/pem.h:453:1: note: declared here
  2809. 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
  2810. | ^~~~~~~~~~~~~~~~~~~~~~
  2811. ossl_pkey_dsa.c:364:9: warning: ‘PEM_write_bio_DSA_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2812. 364 | if (!PEM_write_bio_DSA_PUBKEY(out, dsa)) {
  2813. | ^~
  2814. /usr/include/openssl/pem.h:454:1: note: declared here
  2815. 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA)
  2816. | ^~~~~~~~~~~~~~~~~~~
  2817. ossl_pkey_dsa.c: In function ‘ossl_dsa_to_der’:
  2818. ossl_pkey_dsa.c:390:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2819. 390 | GetDSA(self, dsa);
  2820. | ^~~~~~
  2821. /usr/include/openssl/evp.h:1355:22: note: declared here
  2822. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2823. | ^~~~~~~~~~~~~~~~~
  2824. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2825. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2826. | ^
  2827. ossl_pkey_dsa.c:390:5: note: in expansion of macro ‘GetDSA’
  2828. 390 | GetDSA(self, dsa);
  2829. | ^~~~~~
  2830. ossl_pkey_dsa.c:392:9: warning: ‘i2d_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2831. 392 | i2d_func = (int (*)(DSA *,unsigned char **))i2d_DSAPrivateKey;
  2832. | ^~~~~~~~
  2833. /usr/include/openssl/dsa.h:150:1: note: declared here
  2834. 150 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
  2835. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2836. ossl_pkey_dsa.c:394:9: warning: ‘i2d_DSA_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2837. 394 | i2d_func = i2d_DSA_PUBKEY;
  2838. | ^~~~~~~~
  2839. /usr/include/openssl/x509.h:714:1: note: declared here
  2840. 714 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,DSA, DSA_PUBKEY)
  2841. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2842. ossl_pkey_dsa.c:394:18: warning: assignment to ‘int (*)(DSA *, unsigned char **)’ {aka ‘int (*)(struct dsa_st *, unsigned char **)’} from incompatible pointer type ‘int (*)(const DSA *, unsigned char **)’ {aka ‘int (*)(const struct dsa_st *, unsigned char **)’} [-Wincompatible-pointer-types]
  2843. 394 | i2d_func = i2d_DSA_PUBKEY;
  2844. | ^
  2845. ossl_pkey_dsa.c: In function ‘ossl_dsa_get_params’:
  2846. ossl_pkey_dsa.c:422:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2847. 422 | GetDSA(self, dsa);
  2848. | ^~~~~~
  2849. /usr/include/openssl/evp.h:1355:22: note: declared here
  2850. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2851. | ^~~~~~~~~~~~~~~~~
  2852. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2853. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2854. | ^
  2855. ossl_pkey_dsa.c:422:5: note: in expansion of macro ‘GetDSA’
  2856. 422 | GetDSA(self, dsa);
  2857. | ^~~~~~
  2858. ossl_pkey_dsa.c:423:5: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2859. 423 | DSA_get0_pqg(dsa, &p, &q, &g);
  2860. | ^~~~~~~~~~~~
  2861. /usr/include/openssl/dsa.h:201:28: note: declared here
  2862. 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
  2863. | ^~~~~~~~~~~~
  2864. ossl_pkey_dsa.c:424:5: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2865. 424 | DSA_get0_key(dsa, &pub_key, &priv_key);
  2866. | ^~~~~~~~~~~~
  2867. /usr/include/openssl/dsa.h:204:28: note: declared here
  2868. 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
  2869. | ^~~~~~~~~~~~
  2870. In file included from ossl.h:156,
  2871. from ossl_pkey_ec.c:5:
  2872. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  2873. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  2874. |
  2875. ossl_pkey_dsa.c: In function ‘ossl_dsa_to_text’:
  2876. In file included from ossl.h:31:
  2877. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  2878. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  2879. |
  2880. ossl_pkey_dsa.c:451:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2881. 451 | GetDSA(self, dsa);
  2882. | ^~~~~~
  2883. /usr/include/openssl/evp.h:1355:22: note: declared here
  2884. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2885. | ^~~~~~~~~~~~~~~~~
  2886. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2887. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2888. | ^
  2889. ossl_pkey_dsa.c:451:5: note: in expansion of macro ‘GetDSA’
  2890. 451 | GetDSA(self, dsa);
  2891. | ^~~~~~
  2892. In file included from ossl.h:156,
  2893. from ossl_pkey_rsa.c:10:
  2894. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  2895. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  2896. |
  2897. ossl_pkey_dsa.c:455:5: warning: ‘DSA_print’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2898. 455 | if (!DSA_print(out, dsa, 0)) { /* offset = 0 */
  2899. | ^~
  2900. /usr/include/openssl/dsa.h:177:27: note: declared here
  2901. 177 | OSSL_DEPRECATEDIN_3_0 int DSA_print(BIO *bp, const DSA *x, int off);
  2902. | ^~~~~~~~~
  2903. In file included from ossl.h:31:
  2904. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  2905. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  2906. |
  2907. ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’:
  2908. ossl_pkey_dsa.c:492:5: warning: ‘i2d_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2909. 492 | dsa = DSAPublicKey_dup(EVP_PKEY_get0_DSA(pkey));
  2910. | ^~~
  2911. /usr/include/openssl/dsa.h:148:1: note: declared here
  2912. 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
  2913. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2914. ossl_pkey_dsa.c:492:5: warning: ‘d2i_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2915. 492 | dsa = DSAPublicKey_dup(EVP_PKEY_get0_DSA(pkey));
  2916. | ^~~
  2917. /usr/include/openssl/dsa.h:148:1: note: declared here
  2918. 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
  2919. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2920. ossl_pkey_dsa.c:492:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2921. 492 | dsa = DSAPublicKey_dup(EVP_PKEY_get0_DSA(pkey));
  2922. | ^~~
  2923. /usr/include/openssl/evp.h:1355:22: note: declared here
  2924. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2925. | ^~~~~~~~~~~~~~~~~
  2926. ossl_pkey_dsa.c:496:9: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2927. 496 | DSA_free(dsa);
  2928. | ^~~~~~~~
  2929. /usr/include/openssl/dsa.h:127:28: note: declared here
  2930. 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
  2931. | ^~~~~~~~
  2932. ossl_pkey_ec.c: In function ‘ec_instance’:
  2933. ossl_pkey_ec.c:78:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2934. 78 | if (!EVP_PKEY_assign_EC_KEY(pkey, ec)) {
  2935. | ^~
  2936. ossl_pkey_dsa.c: In function ‘ossl_dsa_sign’:
  2937. In file included from /usr/include/openssl/x509.h:29,
  2938. from /usr/include/openssl/x509v3.h:25,
  2939. from ossl.h:23:
  2940. /usr/include/openssl/evp.h:1328:5: note: declared here
  2941. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  2942. | ^~~~~~~~~~~~~~~
  2943. ossl_pkey_dsa.c:529:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2944. 529 | GetDSA(self, dsa);
  2945. | ^~~~~~
  2946. /usr/include/openssl/evp.h:1355:22: note: declared here
  2947. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  2948. | ^~~~~~~~~~~~~~~~~
  2949. ossl_pkey_ec.c: In function ‘ossl_ec_new’:
  2950. ossl_pkey_ec.c:92:9: warning: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2951. 92 | obj = ec_instance(cEC, EC_KEY_new());
  2952. | ^~~
  2953. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  2954. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  2955. | ^
  2956. ossl_pkey_dsa.c:529:5: note: in expansion of macro ‘GetDSA’
  2957. 529 | GetDSA(self, dsa);
  2958. | ^~~~~~
  2959. In file included from /usr/include/openssl/x509.h:33:
  2960. /usr/include/openssl/ec.h:968:31: note: declared here
  2961. 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
  2962. | ^~~~~~~~~~
  2963. ossl_pkey_dsa.c:530:5: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2964. 530 | DSA_get0_pqg(dsa, NULL, &dsa_q, NULL);
  2965. | ^~~~~~~~~~~~
  2966. /usr/include/openssl/dsa.h:201:28: note: declared here
  2967. 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
  2968. | ^~~~~~~~~~~~
  2969. ossl_pkey_ec.c: In function ‘ec_key_new_from_group’:
  2970. ossl_pkey_ec.c:120:9: warning: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2971. 120 | if (!(ec = EC_KEY_new()))
  2972. | ^~
  2973. ossl_pkey_dsa.c:536:5: warning: ‘DSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2974. 536 | str = rb_str_new(0, DSA_size(dsa));
  2975. | ^~~
  2976. /usr/include/openssl/ec.h:968:31: note: declared here
  2977. 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
  2978. | ^~~~~~~~~~
  2979. /usr/include/openssl/dsa.h:130:27: note: declared here
  2980. 130 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *);
  2981. | ^~~~~~~~
  2982. ossl_pkey_ec.c:123:9: warning: ‘EC_KEY_set_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2983. 123 | if (!EC_KEY_set_group(ec, group)) {
  2984. | ^~
  2985. /usr/include/openssl/ec.h:1042:27: note: declared here
  2986. 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
  2987. | ^~~~~~~~~~~~~~~~
  2988. ossl_pkey_ec.c:124:13: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2989. 124 | EC_KEY_free(ec);
  2990. | ^~~~~~~~~~~
  2991. /usr/include/openssl/ec.h:1003:28: note: declared here
  2992. 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
  2993. | ^~~~~~~~~~~
  2994. ossl_pkey_dsa.c:536:5: warning: ‘DSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  2995. 536 | str = rb_str_new(0, DSA_size(dsa));
  2996. | ^~~
  2997. /usr/include/openssl/dsa.h:130:27: note: declared here
  2998. 130 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *);
  2999. | ^~~~~~~~
  3000. ossl_pkey_ec.c:133:9: warning: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3001. 133 | if (!(ec = EC_KEY_new_by_curve_name(nid)))
  3002. | ^~
  3003. ossl_pkey_dsa.c:537:5: warning: ‘DSA_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3004. 537 | if (!DSA_sign(0, (unsigned char *)RSTRING_PTR(data), RSTRING_LENINT(data),
  3005. | ^~
  3006. /usr/include/openssl/dsa.h:136:27: note: declared here
  3007. 136 | OSSL_DEPRECATEDIN_3_0 int DSA_sign(int type, const unsigned char *dgst,
  3008. | ^~~~~~~~
  3009. /usr/include/openssl/ec.h:998:31: note: declared here
  3010. 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
  3011. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3012. ossl_pkey_dsa.c: In function ‘ossl_dsa_verify’:
  3013. ossl_pkey_ec.c:136:9: warning: ‘EC_KEY_set_asn1_flag’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3014. 136 | EC_KEY_set_asn1_flag(ec, OPENSSL_EC_NAMED_CURVE);
  3015. | ^~~~~~~~~~~~~~~~~~~~
  3016. /usr/include/openssl/ec.h:1087:28: note: declared here
  3017. 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
  3018. | ^~~~~~~~~~~~~~~~~~~~
  3019. ossl_pkey_dsa.c:572:5: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3020. 572 | GetDSA(self, dsa);
  3021. | ^~~~~~
  3022. ossl_pkey_ec.c:137:9: warning: ‘EC_KEY_set_conv_form’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3023. 137 | EC_KEY_set_conv_form(ec, POINT_CONVERSION_UNCOMPRESSED);
  3024. | ^~~~~~~~~~~~~~~~~~~~
  3025. /usr/include/openssl/evp.h:1355:22: note: declared here
  3026. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3027. | ^~~~~~~~~~~~~~~~~
  3028. /usr/include/openssl/ec.h:1075:28: note: declared here
  3029. 1075 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey,
  3030. | ^~~~~~~~~~~~~~~~~~~~
  3031. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3032. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3033. | ^
  3034. ossl_pkey_dsa.c:572:5: note: in expansion of macro ‘GetDSA’
  3035. 572 | GetDSA(self, dsa);
  3036. | ^~~~~~
  3037. ossl_pkey_dsa.c:576:5: warning: ‘DSA_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3038. 576 | ret = DSA_verify(0, (unsigned char *)RSTRING_PTR(digest), RSTRING_LENINT(digest),
  3039. | ^~~
  3040. /usr/include/openssl/dsa.h:139:27: note: declared here
  3041. 139 | OSSL_DEPRECATEDIN_3_0 int DSA_verify(int type, const unsigned char *dgst,
  3042. | ^~~~~~~~~~
  3043. ossl_pkey_ec.c: In function ‘ossl_ec_key_s_generate’:
  3044. ossl_pkey_ec.c:160:9: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3045. 160 | EC_KEY_free(ec);
  3046. | ^~~~~~~~~~~
  3047. /usr/include/openssl/ec.h:1003:28: note: declared here
  3048. 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
  3049. | ^~~~~~~~~~~
  3050. ossl_pkey_ec.c:164:5: warning: ‘EC_KEY_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3051. 164 | if (!EC_KEY_generate_key(ec))
  3052. | ^~
  3053. ossl_pkey_dsa.c: In function ‘ossl_dsa_get_p’:
  3054. /usr/include/openssl/ec.h:1101:27: note: declared here
  3055. 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
  3056. | ^~~~~~~~~~~~~~~~~~~
  3057. ossl_pkey_rsa.c: In function ‘RSA_HAS_PRIVATE’:
  3058. ossl_pkey_dsa.c:595:1: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3059. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3060. | ^~~~~~~~~~~~~~~~~
  3061. /usr/include/openssl/evp.h:1355:22: note: declared here
  3062. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3063. | ^~~~~~~~~~~~~~~~~
  3064. ossl_pkey_rsa.c:31:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3065. 31 | RSA_get0_key(rsa, NULL, &e, &d);
  3066. | ^~~~~~~~~~~~
  3067. In file included from /usr/include/openssl/x509.h:36,
  3068. from /usr/include/openssl/x509v3.h:25,
  3069. from ossl.h:23:
  3070. /usr/include/openssl/rsa.h:217:28: note: declared here
  3071. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  3072. | ^~~~~~~~~~~~
  3073. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3074. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3075. | ^
  3076. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDSA’
  3077. 102 | Get##_type(self, obj); \
  3078. | ^~~
  3079. ossl_pkey.h:110:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  3080. 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
  3081. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3082. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  3083. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  3084. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3085. ossl_pkey_dsa.c:595:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  3086. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3087. | ^~~~~~~~~~~~~~~~~
  3088. ossl_pkey_dsa.c:595:1: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3089. /usr/include/openssl/dsa.h:201:28: note: declared here
  3090. 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
  3091. | ^~~~~~~~~~~~
  3092. ossl_pkey_dsa.c: In function ‘ossl_dsa_get_q’:
  3093. ossl_pkey_dsa.c:595:1: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3094. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3095. | ^~~~~~~~~~~~~~~~~
  3096. /usr/include/openssl/evp.h:1355:22: note: declared here
  3097. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3098. | ^~~~~~~~~~~~~~~~~
  3099. ossl_pkey_rsa.c: In function ‘rsa_instance’:
  3100. ossl_pkey_rsa.c:63:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3101. 63 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) {
  3102. | ^~
  3103. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3104. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3105. | ^
  3106. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDSA’
  3107. 102 | Get##_type(self, obj); \
  3108. | ^~~
  3109. ossl_pkey.h:112:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  3110. 112 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
  3111. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3112. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  3113. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  3114. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3115. ossl_pkey_dsa.c:595:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  3116. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3117. | ^~~~~~~~~~~~~~~~~
  3118. ossl_pkey_dsa.c:595:1: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3119. /usr/include/openssl/dsa.h:201:28: note: declared here
  3120. 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
  3121. | ^~~~~~~~~~~~
  3122. In file included from /usr/include/openssl/x509.h:29:
  3123. /usr/include/openssl/evp.h:1328:5: note: declared here
  3124. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  3125. | ^~~~~~~~~~~~~~~
  3126. ossl_pkey_dsa.c: In function ‘ossl_dsa_get_g’:
  3127. ossl_pkey_dsa.c:595:1: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3128. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3129. | ^~~~~~~~~~~~~~~~~
  3130. /usr/include/openssl/evp.h:1355:22: note: declared here
  3131. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3132. | ^~~~~~~~~~~~~~~~~
  3133. ossl_pkey_rsa.c: In function ‘ossl_rsa_new’:
  3134. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3135. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3136. | ^
  3137. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDSA’
  3138. 102 | Get##_type(self, obj); \
  3139. | ^~~
  3140. ossl_pkey.h:114:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  3141. 114 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
  3142. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3143. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  3144. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  3145. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3146. ossl_pkey_dsa.c:595:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  3147. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3148. | ^~~~~~~~~~~~~~~~~
  3149. ossl_pkey_dsa.c:595:1: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3150. ossl_pkey_rsa.c:78:9: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3151. 78 | obj = rsa_instance(cRSA, RSA_new());
  3152. | ^~~
  3153. /usr/include/openssl/dsa.h:201:28: note: declared here
  3154. 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
  3155. | ^~~~~~~~~~~~
  3156. /usr/include/openssl/rsa.h:201:28: note: declared here
  3157. 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  3158. | ^~~~~~~
  3159. ossl_pkey_dsa.c: In function ‘ossl_dsa_set_pqg’:
  3160. ossl_pkey_rsa.c: In function ‘rsa_blocking_gen’:
  3161. ossl_pkey_dsa.c:595:1: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3162. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3163. | ^~~~~~~~~~~~~~~~~
  3164. /usr/include/openssl/evp.h:1355:22: note: declared here
  3165. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3166. | ^~~~~~~~~~~~~~~~~
  3167. ossl_pkey_rsa.c:109:5: warning: ‘RSA_generate_key_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3168. 109 | gen->result = RSA_generate_key_ex(gen->rsa, gen->size, gen->e, gen->cb);
  3169. | ^~~
  3170. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3171. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3172. | ^
  3173. ossl_pkey.h:135:9: note: in expansion of macro ‘GetDSA’
  3174. 135 | Get##_type(self, obj); \
  3175. | ^~~
  3176. ossl_pkey.h:212:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_SETTER3’
  3177. 212 | OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
  3178. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3179. ossl_pkey_dsa.c:595:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  3180. 595 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
  3181. | ^~~~~~~~~~~~~~~~~
  3182. /usr/include/openssl/rsa.h:260:27: note: declared here
  3183. 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
  3184. | ^~~~~~~~~~~~~~~~~~~
  3185. ossl_pkey_rsa.c: In function ‘rsa_generate’:
  3186. ossl_pkey_dsa.c:595:1: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3187. /usr/include/openssl/dsa.h:203:27: note: declared here
  3188. 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
  3189. | ^~~~~~~~~~~~
  3190. ossl_pkey_rsa.c:119:5: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3191. 119 | RSA *rsa = RSA_new();
  3192. | ^~~
  3193. /usr/include/openssl/rsa.h:201:28: note: declared here
  3194. 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  3195. | ^~~~~~~
  3196. ossl_pkey_rsa.c:124:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3197. 124 | RSA_free(rsa);
  3198. | ^~~~~~~~
  3199. /usr/include/openssl/rsa.h:293:28: note: declared here
  3200. 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  3201. | ^~~~~~~~
  3202. ossl_pkey_dsa.c: In function ‘ossl_dsa_get_pub_key’:
  3203. ossl_pkey_dsa.c:603:1: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3204. 603 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
  3205. | ^~~~~~~~~~~~~~~~~
  3206. /usr/include/openssl/evp.h:1355:22: note: declared here
  3207. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3208. | ^~~~~~~~~~~~~~~~~
  3209. ossl_pkey_rsa.c:133:17: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3210. 133 | RSA_free(rsa);
  3211. | ^~~~~~~~
  3212. /usr/include/openssl/rsa.h:293:28: note: declared here
  3213. 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  3214. | ^~~~~~~~
  3215. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3216. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3217. | ^
  3218. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDSA’
  3219. 102 | Get##_type(self, obj); \
  3220. | ^~~
  3221. ossl_pkey.h:118:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  3222. 118 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
  3223. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3224. ossl_pkey.h:215:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER2’
  3225. 215 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
  3226. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3227. ossl_pkey_dsa.c:603:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  3228. 603 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
  3229. | ^~~~~~~~~~~~~~~~~
  3230. ossl_pkey_dsa.c:603:1: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3231. /usr/include/openssl/dsa.h:204:28: note: declared here
  3232. 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
  3233. | ^~~~~~~~~~~~
  3234. ossl_pkey_rsa.c:158:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3235. 158 | RSA_free(rsa);
  3236. | ^~~~~~~~
  3237. /usr/include/openssl/rsa.h:293:28: note: declared here
  3238. 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  3239. | ^~~~~~~~
  3240. ossl_pkey_dsa.c: In function ‘ossl_dsa_get_priv_key’:
  3241. ossl_pkey_dsa.c:603:1: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3242. 603 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
  3243. | ^~~~~~~~~~~~~~~~~
  3244. /usr/include/openssl/evp.h:1355:22: note: declared here
  3245. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3246. | ^~~~~~~~~~~~~~~~~
  3247. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3248. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3249. | ^
  3250. ossl_pkey.h:102:9: note: in expansion of macro ‘GetDSA’
  3251. 102 | Get##_type(self, obj); \
  3252. | ^~~
  3253. ossl_pkey.h:120:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  3254. 120 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
  3255. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3256. ossl_pkey.h:215:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER2’
  3257. 215 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
  3258. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3259. ossl_pkey_dsa.c:603:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  3260. 603 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
  3261. | ^~~~~~~~~~~~~~~~~
  3262. ossl_pkey_dsa.c:603:1: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3263. /usr/include/openssl/dsa.h:204:28: note: declared here
  3264. 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
  3265. | ^~~~~~~~~~~~
  3266. ossl_pkey_dsa.c: In function ‘ossl_dsa_set_key’:
  3267. ossl_pkey_dsa.c:603:1: warning: ‘EVP_PKEY_get0_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3268. 603 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
  3269. | ^~~~~~~~~~~~~~~~~
  3270. /usr/include/openssl/evp.h:1355:22: note: declared here
  3271. 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
  3272. | ^~~~~~~~~~~~~~~~~
  3273. ossl_pkey_dsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3274. 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \
  3275. | ^
  3276. ossl_pkey.h:165:9: note: in expansion of macro ‘GetDSA’
  3277. 165 | Get##_type(self, obj); \
  3278. | ^~~
  3279. ossl_pkey.h:216:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_SETTER2’
  3280. 216 | OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
  3281. | ^~~~~~~~~~~~~~~~~~~~~~~~
  3282. ossl_pkey_dsa.c:603:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  3283. 603 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
  3284. | ^~~~~~~~~~~~~~~~~
  3285. ossl_pkey_dsa.c:603:1: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3286. /usr/include/openssl/dsa.h:206:27: note: declared here
  3287. 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
  3288. | ^~~~~~~~~~~~
  3289. ossl_pkey_ec.c: In function ‘ossl_ec_key_initialize’:
  3290. ossl_pkey_ec.c:194:9: warning: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3291. 194 | if (!(ec = EC_KEY_new()))
  3292. | ^~
  3293. /usr/include/openssl/ec.h:968:31: note: declared here
  3294. 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
  3295. | ^~~~~~~~~~
  3296. ossl_pkey_ec.c:199:9: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3297. 199 | GetEC(arg, other_ec);
  3298. | ^~~~~
  3299. /usr/include/openssl/evp.h:1372:25: note: declared here
  3300. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3301. | ^~~~~~~~~~~~~~~~~~~~
  3302. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3303. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3304. | ^
  3305. ossl_pkey_ec.c:199:9: note: in expansion of macro ‘GetEC’
  3306. 199 | GetEC(arg, other_ec);
  3307. | ^~~~~
  3308. ossl_pkey_ec.c:200:9: warning: ‘EC_KEY_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3309. 200 | if (!(ec = EC_KEY_dup(other_ec)))
  3310. | ^~
  3311. /usr/include/openssl/ec.h:1016:31: note: declared here
  3312. 1016 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
  3313. | ^~~~~~~~~~
  3314. ossl_pkey_ec.c:210:9: warning: ‘PEM_read_bio_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3315. 210 | ec = PEM_read_bio_ECPrivateKey(in, NULL, ossl_pem_passwd_cb, (void *)pass);
  3316. | ^~
  3317. In file included from /usr/include/openssl/ssl.h:36,
  3318. from ossl.h:24:
  3319. /usr/include/openssl/pem.h:462:1: note: declared here
  3320. 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
  3321. | ^~~~~~~~~~~~~~~~~~~~~~
  3322. ossl_pkey_ec.c:213:13: warning: ‘PEM_read_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3323. 213 | ec = PEM_read_bio_EC_PUBKEY(in, NULL, ossl_pem_passwd_cb, (void *)pass);
  3324. | ^~
  3325. /usr/include/openssl/pem.h:463:1: note: declared here
  3326. 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
  3327. | ^~~~~~~~~~~~~~~~~~~
  3328. ossl_pkey_ec.c:217:13: warning: ‘d2i_ECPrivateKey_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3329. 217 | ec = d2i_ECPrivateKey_bio(in, NULL);
  3330. | ^~
  3331. /usr/include/openssl/x509.h:636:31: note: declared here
  3332. 636 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey);
  3333. | ^~~~~~~~~~~~~~~~~~~~
  3334. ossl_pkey_ec.c:221:13: warning: ‘d2i_EC_PUBKEY_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3335. 221 | ec = d2i_EC_PUBKEY_bio(in, NULL);
  3336. | ^~
  3337. /usr/include/openssl/x509.h:634:31: note: declared here
  3338. 634 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey);
  3339. | ^~~~~~~~~~~~~~~~~
  3340. ossl_pkey_ec.c:231:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3341. 231 | if (!EVP_PKEY_assign_EC_KEY(pkey, ec)) {
  3342. | ^~
  3343. /usr/include/openssl/evp.h:1328:5: note: declared here
  3344. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  3345. | ^~~~~~~~~~~~~~~
  3346. ossl_pkey_ec.c:232:9: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3347. 232 | EC_KEY_free(ec);
  3348. | ^~~~~~~~~~~
  3349. /usr/include/openssl/ec.h:1003:28: note: declared here
  3350. 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
  3351. | ^~~~~~~~~~~
  3352. ossl_pkey_ec.c: In function ‘ossl_ec_key_initialize_copy’:
  3353. ossl_pkey_ec.c:248:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3354. 248 | GetEC(other, ec);
  3355. | ^~~~~
  3356. /usr/include/openssl/evp.h:1372:25: note: declared here
  3357. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3358. | ^~~~~~~~~~~~~~~~~~~~
  3359. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3360. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3361. | ^
  3362. ossl_pkey_ec.c:248:5: note: in expansion of macro ‘GetEC’
  3363. 248 | GetEC(other, ec);
  3364. | ^~~~~
  3365. ossl_pkey_ec.c:250:5: warning: ‘EC_KEY_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3366. 250 | ec_new = EC_KEY_dup(ec);
  3367. | ^~~~~~
  3368. /usr/include/openssl/ec.h:1016:31: note: declared here
  3369. 1016 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
  3370. | ^~~~~~~~~~
  3371. ossl_pkey_ec.c:253:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3372. 253 | if (!EVP_PKEY_assign_EC_KEY(pkey, ec_new)) {
  3373. | ^~
  3374. /usr/include/openssl/evp.h:1328:5: note: declared here
  3375. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  3376. | ^~~~~~~~~~~~~~~
  3377. ossl_pkey_ec.c:254:9: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3378. 254 | EC_KEY_free(ec_new);
  3379. | ^~~~~~~~~~~
  3380. /usr/include/openssl/ec.h:1003:28: note: declared here
  3381. 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
  3382. | ^~~~~~~~~~~
  3383. ossl_pkey_ec.c: In function ‘ossl_ec_key_get_group’:
  3384. ossl_pkey_ec.c:274:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3385. 274 | GetEC(self, ec);
  3386. | ^~~~~
  3387. /usr/include/openssl/evp.h:1372:25: note: declared here
  3388. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3389. | ^~~~~~~~~~~~~~~~~~~~
  3390. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3391. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3392. | ^
  3393. ossl_pkey_ec.c:274:5: note: in expansion of macro ‘GetEC’
  3394. 274 | GetEC(self, ec);
  3395. | ^~~~~
  3396. ossl_pkey_ec.c:275:5: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3397. 275 | group = EC_KEY_get0_group(ec);
  3398. | ^~~~~
  3399. /usr/include/openssl/ec.h:1034:39: note: declared here
  3400. 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
  3401. | ^~~~~~~~~~~~~~~~~
  3402. ossl_pkey_ec.c: In function ‘ossl_ec_key_set_group’:
  3403. ossl_pkey_ec.c:295:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3404. 295 | GetEC(self, ec);
  3405. | ^~~~~
  3406. /usr/include/openssl/evp.h:1372:25: note: declared here
  3407. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3408. | ^~~~~~~~~~~~~~~~~~~~
  3409. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3410. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3411. | ^
  3412. ossl_pkey_ec.c:295:5: note: in expansion of macro ‘GetEC’
  3413. 295 | GetEC(self, ec);
  3414. | ^~~~~
  3415. ossl_pkey_ec.c:298:5: warning: ‘EC_KEY_set_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3416. 298 | if (EC_KEY_set_group(ec, group) != 1)
  3417. | ^~
  3418. /usr/include/openssl/ec.h:1042:27: note: declared here
  3419. 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
  3420. | ^~~~~~~~~~~~~~~~
  3421. ossl_pkey_ec.c: In function ‘ossl_ec_key_get_private_key’:
  3422. ossl_pkey_ec.c:315:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3423. 315 | GetEC(self, ec);
  3424. | ^~~~~
  3425. /usr/include/openssl/evp.h:1372:25: note: declared here
  3426. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3427. | ^~~~~~~~~~~~~~~~~~~~
  3428. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3429. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3430. | ^
  3431. ossl_pkey_ec.c:315:5: note: in expansion of macro ‘GetEC’
  3432. 315 | GetEC(self, ec);
  3433. | ^~~~~
  3434. ossl_pkey_ec.c:316:5: warning: ‘EC_KEY_get0_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3435. 316 | if ((bn = EC_KEY_get0_private_key(ec)) == NULL)
  3436. | ^~
  3437. /usr/include/openssl/ec.h:1048:37: note: declared here
  3438. 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
  3439. | ^~~~~~~~~~~~~~~~~~~~~~~
  3440. ossl_pkey_ec.c: In function ‘ossl_ec_key_set_private_key’:
  3441. ossl_pkey_ec.c:333:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3442. 333 | GetEC(self, ec);
  3443. | ^~~~~
  3444. /usr/include/openssl/evp.h:1372:25: note: declared here
  3445. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3446. | ^~~~~~~~~~~~~~~~~~~~
  3447. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3448. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3449. | ^
  3450. ossl_pkey_ec.c:333:5: note: in expansion of macro ‘GetEC’
  3451. 333 | GetEC(self, ec);
  3452. | ^~~~~
  3453. ossl_pkey_ec.c:337:5: warning: ‘EC_KEY_set_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3454. 337 | switch (EC_KEY_set_private_key(ec, bn)) {
  3455. | ^~~~~~
  3456. /usr/include/openssl/ec.h:1056:27: note: declared here
  3457. 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
  3458. | ^~~~~~~~~~~~~~~~~~~~~~
  3459. ossl_pkey_ec.c: In function ‘ossl_ec_key_get_public_key’:
  3460. ossl_pkey_ec.c:361:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3461. 361 | GetEC(self, ec);
  3462. | ^~~~~
  3463. /usr/include/openssl/evp.h:1372:25: note: declared here
  3464. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3465. | ^~~~~~~~~~~~~~~~~~~~
  3466. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3467. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3468. | ^
  3469. ossl_pkey_ec.c:361:5: note: in expansion of macro ‘GetEC’
  3470. 361 | GetEC(self, ec);
  3471. | ^~~~~
  3472. ossl_pkey_ec.c:362:5: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3473. 362 | if ((point = EC_KEY_get0_public_key(ec)) == NULL)
  3474. | ^~
  3475. /usr/include/openssl/ec.h:1062:39: note: declared here
  3476. 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
  3477. | ^~~~~~~~~~~~~~~~~~~~~~
  3478. ossl_pkey_ec.c:365:5: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3479. 365 | return ec_point_new(point, EC_KEY_get0_group(ec));
  3480. | ^~~~~~
  3481. /usr/include/openssl/ec.h:1034:39: note: declared here
  3482. 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
  3483. | ^~~~~~~~~~~~~~~~~
  3484. ossl_pkey_ec.c: In function ‘ossl_ec_key_set_public_key’:
  3485. ossl_pkey_ec.c:379:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3486. 379 | GetEC(self, ec);
  3487. | ^~~~~
  3488. /usr/include/openssl/evp.h:1372:25: note: declared here
  3489. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3490. | ^~~~~~~~~~~~~~~~~~~~
  3491. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3492. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3493. | ^
  3494. ossl_pkey_ec.c:379:5: note: in expansion of macro ‘GetEC’
  3495. 379 | GetEC(self, ec);
  3496. | ^~~~~
  3497. ossl_pkey_ec.c:383:5: warning: ‘EC_KEY_set_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3498. 383 | switch (EC_KEY_set_public_key(ec, point)) {
  3499. | ^~~~~~
  3500. /usr/include/openssl/ec.h:1070:27: note: declared here
  3501. 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
  3502. | ^~~~~~~~~~~~~~~~~~~~~
  3503. ossl_pkey_ec.c: In function ‘ossl_ec_key_is_public’:
  3504. ossl_pkey_ec.c:407:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3505. 407 | GetEC(self, ec);
  3506. | ^~~~~
  3507. /usr/include/openssl/evp.h:1372:25: note: declared here
  3508. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3509. | ^~~~~~~~~~~~~~~~~~~~
  3510. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3511. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3512. | ^
  3513. ossl_pkey_ec.c:407:5: note: in expansion of macro ‘GetEC’
  3514. 407 | GetEC(self, ec);
  3515. | ^~~~~
  3516. ossl_pkey_ec.c:409:5: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3517. 409 | return EC_KEY_get0_public_key(ec) ? Qtrue : Qfalse;
  3518. | ^~~~~~
  3519. /usr/include/openssl/ec.h:1062:39: note: declared here
  3520. 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
  3521. | ^~~~~~~~~~~~~~~~~~~~~~
  3522. ossl_pkey_rsa.c: In function ‘ossl_rsa_s_generate’:
  3523. ossl_pkey_ec.c: In function ‘ossl_ec_key_is_private’:
  3524. ossl_pkey_rsa.c:193:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3525. 193 | RSA_free(rsa);
  3526. | ^~~~~~~~
  3527. ossl_pkey_ec.c:423:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3528. 423 | GetEC(self, ec);
  3529. | ^~~~~
  3530. /usr/include/openssl/evp.h:1372:25: note: declared here
  3531. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3532. | ^~~~~~~~~~~~~~~~~~~~
  3533. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3534. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3535. | ^
  3536. ossl_pkey_ec.c:423:5: note: in expansion of macro ‘GetEC’
  3537. 423 | GetEC(self, ec);
  3538. | ^~~~~
  3539. /usr/include/openssl/rsa.h:293:28: note: declared here
  3540. 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  3541. | ^~~~~~~~
  3542. ossl_pkey_ec.c:425:5: warning: ‘EC_KEY_get0_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3543. 425 | return EC_KEY_get0_private_key(ec) ? Qtrue : Qfalse;
  3544. | ^~~~~~
  3545. /usr/include/openssl/ec.h:1048:37: note: declared here
  3546. 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
  3547. | ^~~~~~~~~~~~~~~~~~~~~~~
  3548. ossl_pkey_ec.c: In function ‘ossl_ec_key_to_string’:
  3549. ossl_pkey_ec.c:437:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3550. 437 | GetEC(self, ec);
  3551. | ^~~~~
  3552. /usr/include/openssl/evp.h:1372:25: note: declared here
  3553. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3554. | ^~~~~~~~~~~~~~~~~~~~
  3555. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3556. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3557. | ^
  3558. ossl_pkey_ec.c:437:5: note: in expansion of macro ‘GetEC’
  3559. 437 | GetEC(self, ec);
  3560. | ^~~~~
  3561. ossl_pkey_ec.c:439:5: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3562. 439 | if (EC_KEY_get0_public_key(ec) == NULL)
  3563. | ^~
  3564. /usr/include/openssl/ec.h:1062:39: note: declared here
  3565. 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
  3566. | ^~~~~~~~~~~~~~~~~~~~~~
  3567. ossl_pkey_ec.c:442:5: warning: ‘EC_KEY_check_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3568. 442 | if (EC_KEY_check_key(ec) != 1)
  3569. | ^~
  3570. /usr/include/openssl/ec.h:1107:27: note: declared here
  3571. 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key);
  3572. | ^~~~~~~~~~~~~~~~
  3573. ossl_pkey_ec.c:445:5: warning: ‘EC_KEY_get0_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3574. 445 | if (EC_KEY_get0_private_key(ec))
  3575. | ^~
  3576. /usr/include/openssl/ec.h:1048:37: note: declared here
  3577. 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
  3578. | ^~~~~~~~~~~~~~~~~~~~~~~
  3579. ossl_pkey_ec.c:459:13: warning: ‘PEM_write_bio_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3580. 459 | i = PEM_write_bio_ECPrivateKey(out, ec, cipher, NULL, 0, ossl_pem_passwd_cb, (void *)pass);
  3581. | ^
  3582. /usr/include/openssl/pem.h:462:1: note: declared here
  3583. 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
  3584. | ^~~~~~~~~~~~~~~~~~~~~~
  3585. ossl_pkey_ec.c:461:13: warning: ‘PEM_write_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3586. 461 | i = PEM_write_bio_EC_PUBKEY(out, ec);
  3587. | ^
  3588. /usr/include/openssl/pem.h:463:1: note: declared here
  3589. 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
  3590. | ^~~~~~~~~~~~~~~~~~~
  3591. ossl_pkey_ec.c:467:13: warning: ‘i2d_ECPrivateKey_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3592. 467 | i = i2d_ECPrivateKey_bio(out, ec);
  3593. | ^
  3594. /usr/include/openssl/x509.h:637:27: note: declared here
  3595. 637 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey);
  3596. | ^~~~~~~~~~~~~~~~~~~~
  3597. ossl_pkey_ec.c:469:13: warning: ‘i2d_EC_PUBKEY_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3598. 469 | i = i2d_EC_PUBKEY_bio(out, ec);
  3599. | ^
  3600. /usr/include/openssl/x509.h:635:27: note: declared here
  3601. 635 | OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey);
  3602. | ^~~~~~~~~~~~~~~~~
  3603. ossl_pkey_rsa.c: In function ‘ossl_rsa_initialize’:
  3604. ossl_pkey_rsa.c:230:9: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3605. 230 | rsa = RSA_new();
  3606. | ^~~
  3607. /usr/include/openssl/rsa.h:201:28: note: declared here
  3608. 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
  3609. | ^~~~~~~
  3610. ossl_pkey_rsa.c:240:9: warning: ‘PEM_read_bio_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3611. 240 | rsa = PEM_read_bio_RSAPrivateKey(in, NULL, ossl_pem_passwd_cb, (void *)pass);
  3612. | ^~~
  3613. ossl_pkey_ec.c: In function ‘ossl_ec_key_to_text’:
  3614. In file included from /usr/include/openssl/ssl.h:36,
  3615. from ossl.h:24:
  3616. /usr/include/openssl/pem.h:447:1: note: declared here
  3617. 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
  3618. | ^~~~~~~~~~~~~~~~~~~~~~
  3619. ossl_pkey_ec.c:528:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3620. 528 | GetEC(self, ec);
  3621. | ^~~~~
  3622. /usr/include/openssl/evp.h:1372:25: note: declared here
  3623. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3624. | ^~~~~~~~~~~~~~~~~~~~
  3625. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3626. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3627. | ^
  3628. ossl_pkey_ec.c:528:5: note: in expansion of macro ‘GetEC’
  3629. 528 | GetEC(self, ec);
  3630. | ^~~~~
  3631. ossl_pkey_ec.c:532:5: warning: ‘EC_KEY_print’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3632. 532 | if (!EC_KEY_print(out, ec, 0)) {
  3633. | ^~
  3634. /usr/include/openssl/ec.h:1260:27: note: declared here
  3635. 1260 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
  3636. | ^~~~~~~~~~~~
  3637. ossl_pkey_rsa.c:243:13: warning: ‘PEM_read_bio_RSA_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3638. 243 | rsa = PEM_read_bio_RSA_PUBKEY(in, NULL, NULL, NULL);
  3639. | ^~~
  3640. /usr/include/openssl/pem.h:449:1: note: declared here
  3641. 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
  3642. | ^~~~~~~~~~~~~~~~~~~
  3643. ossl_pkey_ec.c: In function ‘ossl_ec_key_generate_key’:
  3644. ossl_pkey_ec.c:559:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3645. 559 | GetEC(self, ec);
  3646. | ^~~~~
  3647. /usr/include/openssl/evp.h:1372:25: note: declared here
  3648. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3649. | ^~~~~~~~~~~~~~~~~~~~
  3650. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3651. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3652. | ^
  3653. ossl_pkey_ec.c:559:5: note: in expansion of macro ‘GetEC’
  3654. 559 | GetEC(self, ec);
  3655. | ^~~~~
  3656. ossl_pkey_rsa.c:247:13: warning: ‘d2i_RSAPrivateKey_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3657. 247 | rsa = d2i_RSAPrivateKey_bio(in, NULL);
  3658. | ^~~
  3659. ossl_pkey_ec.c:560:5: warning: ‘EC_KEY_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3660. 560 | if (EC_KEY_generate_key(ec) != 1)
  3661. | ^~
  3662. /usr/include/openssl/ec.h:1101:27: note: declared here
  3663. 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
  3664. | ^~~~~~~~~~~~~~~~~~~
  3665. /usr/include/openssl/x509.h:616:28: note: declared here
  3666. 616 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa);
  3667. | ^~~~~~~~~~~~~~~~~~~~~
  3668. ossl_pkey_ec.c: In function ‘ossl_ec_key_check_key’:
  3669. ossl_pkey_ec.c:578:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3670. 578 | GetEC(self, ec);
  3671. | ^~~~~
  3672. /usr/include/openssl/evp.h:1372:25: note: declared here
  3673. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3674. | ^~~~~~~~~~~~~~~~~~~~
  3675. ossl_pkey_rsa.c:251:13: warning: ‘d2i_RSA_PUBKEY_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3676. 251 | rsa = d2i_RSA_PUBKEY_bio(in, NULL);
  3677. | ^~~
  3678. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3679. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3680. | ^
  3681. ossl_pkey_ec.c:578:5: note: in expansion of macro ‘GetEC’
  3682. 578 | GetEC(self, ec);
  3683. | ^~~~~
  3684. /usr/include/openssl/x509.h:620:28: note: declared here
  3685. 620 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa);
  3686. | ^~~~~~~~~~~~~~~~~~
  3687. ossl_pkey_rsa.c:255:13: warning: ‘PEM_read_bio_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3688. 255 | rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL);
  3689. | ^~~
  3690. /usr/include/openssl/pem.h:448:1: note: declared here
  3691. 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
  3692. | ^~~~~~~~~~~~~~~~~~~
  3693. ossl_pkey_rsa.c:259:13: warning: ‘d2i_RSAPublicKey_bio’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3694. 259 | rsa = d2i_RSAPublicKey_bio(in, NULL);
  3695. | ^~~
  3696. /usr/include/openssl/x509.h:618:28: note: declared here
  3697. 618 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa);
  3698. | ^~~~~~~~~~~~~~~~~~~~
  3699. ossl_pkey_ec.c:579:5: warning: ‘EC_KEY_check_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3700. 579 | if (EC_KEY_check_key(ec) != 1)
  3701. | ^~
  3702. ossl_pkey_rsa.c:266:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3703. 266 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) {
  3704. | ^~
  3705. /usr/include/openssl/ec.h:1107:27: note: declared here
  3706. 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key);
  3707. | ^~~~~~~~~~~~~~~~
  3708. /usr/include/openssl/evp.h:1328:5: note: declared here
  3709. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  3710. | ^~~~~~~~~~~~~~~
  3711. ossl_pkey_rsa.c:267:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3712. 267 | RSA_free(rsa);
  3713. | ^~~~~~~~
  3714. /usr/include/openssl/rsa.h:293:28: note: declared here
  3715. 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  3716. | ^~~~~~~~
  3717. ossl_pkey_rsa.c: In function ‘ossl_rsa_initialize_copy’:
  3718. ossl_pkey_rsa.c:283:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3719. 283 | GetRSA(other, rsa);
  3720. | ^~~~~~
  3721. ossl_pkey_ec.c: In function ‘ossl_ec_key_dh_compute_key’:
  3722. /usr/include/openssl/evp.h:1346:22: note: declared here
  3723. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  3724. | ^~~~~~~~~~~~~~~~~
  3725. ossl_pkey_ec.c:598:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3726. 598 | GetEC(self, ec);
  3727. | ^~~~~
  3728. /usr/include/openssl/evp.h:1372:25: note: declared here
  3729. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3730. | ^~~~~~~~~~~~~~~~~~~~
  3731. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3732. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  3733. | ^
  3734. ossl_pkey_rsa.c:283:5: note: in expansion of macro ‘GetRSA’
  3735. 283 | GetRSA(other, rsa);
  3736. | ^~~~~~
  3737. ossl_pkey_rsa.c:285:5: warning: ‘i2d_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3738. 285 | rsa_new = ASN1_dup((i2d_of_void *)i2d_RSAPrivateKey, (d2i_of_void *)d2i_RSAPrivateKey, (char *)rsa);
  3739. | ^~~~~~~
  3740. In file included from ossl.h:22:
  3741. /usr/include/openssl/rsa.h:309:1: note: declared here
  3742. 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
  3743. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3744. ossl_pkey_rsa.c:285:5: warning: ‘d2i_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3745. 285 | rsa_new = ASN1_dup((i2d_of_void *)i2d_RSAPrivateKey, (d2i_of_void *)d2i_RSAPrivateKey, (char *)rsa);
  3746. | ^~~~~~~
  3747. /usr/include/openssl/rsa.h:309:1: note: declared here
  3748. 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
  3749. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3750. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3751. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3752. | ^
  3753. ossl_pkey_ec.c:598:5: note: in expansion of macro ‘GetEC’
  3754. 598 | GetEC(self, ec);
  3755. | ^~~~~
  3756. ossl_pkey_rsa.c:289:5: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3757. 289 | EVP_PKEY_assign_RSA(pkey, rsa_new);
  3758. | ^~~~~~~~~~~~~~~~~~~
  3759. /usr/include/openssl/evp.h:1328:5: note: declared here
  3760. 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
  3761. | ^~~~~~~~~~~~~~~
  3762. ossl_pkey_ec.c:605:5: warning: ‘ECDH_compute_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3763. 605 | buf_len = ECDH_compute_key(RSTRING_PTR(str), buf_len, point, ec, NULL);
  3764. | ^~~~~~~
  3765. /usr/include/openssl/ec.h:1296:27: note: declared here
  3766. 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen,
  3767. | ^~~~~~~~~~~~~~~~
  3768. ossl_pkey_rsa.c: In function ‘ossl_rsa_is_public’:
  3769. ossl_pkey_rsa.c:306:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3770. 306 | GetRSA(self, rsa);
  3771. | ^~~~~~
  3772. ossl_pkey_ec.c: In function ‘ossl_ec_key_dsa_sign_asn1’:
  3773. /usr/include/openssl/evp.h:1346:22: note: declared here
  3774. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  3775. | ^~~~~~~~~~~~~~~~~
  3776. ossl_pkey_ec.c:628:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3777. 628 | GetEC(self, ec);
  3778. | ^~~~~
  3779. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3780. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  3781. | ^
  3782. ossl_pkey_rsa.c:306:5: note: in expansion of macro ‘GetRSA’
  3783. 306 | GetRSA(self, rsa);
  3784. | ^~~~~~
  3785. /usr/include/openssl/evp.h:1372:25: note: declared here
  3786. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3787. | ^~~~~~~~~~~~~~~~~~~~
  3788. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3789. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3790. | ^
  3791. ossl_pkey_ec.c:628:5: note: in expansion of macro ‘GetEC’
  3792. 628 | GetEC(self, ec);
  3793. | ^~~~~
  3794. ossl_pkey_rsa.c: In function ‘ossl_rsa_is_private’:
  3795. ossl_pkey_ec.c:631:5: warning: ‘EC_KEY_get0_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3796. 631 | if (EC_KEY_get0_private_key(ec) == NULL)
  3797. | ^~
  3798. /usr/include/openssl/ec.h:1048:37: note: declared here
  3799. 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
  3800. | ^~~~~~~~~~~~~~~~~~~~~~~
  3801. ossl_pkey_rsa.c:325:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3802. 325 | GetRSA(self, rsa);
  3803. | ^~~~~~
  3804. /usr/include/openssl/evp.h:1346:22: note: declared here
  3805. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  3806. | ^~~~~~~~~~~~~~~~~
  3807. ossl_pkey_ec.c:634:5: warning: ‘ECDSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3808. 634 | str = rb_str_new(0, ECDSA_size(ec));
  3809. | ^~~
  3810. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3811. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  3812. | ^
  3813. ossl_pkey_rsa.c:325:5: note: in expansion of macro ‘GetRSA’
  3814. 325 | GetRSA(self, rsa);
  3815. | ^~~~~~
  3816. /usr/include/openssl/ec.h:1455:27: note: declared here
  3817. 1455 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
  3818. | ^~~~~~~~~~
  3819. ossl_pkey_ec.c:634:5: warning: ‘ECDSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3820. 634 | str = rb_str_new(0, ECDSA_size(ec));
  3821. | ^~~
  3822. /usr/include/openssl/ec.h:1455:27: note: declared here
  3823. 1455 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
  3824. | ^~~~~~~~~~
  3825. ossl_pkey_ec.c:635:5: warning: ‘ECDSA_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3826. 635 | if (ECDSA_sign(0, (unsigned char *) RSTRING_PTR(data), RSTRING_LENINT(data), (unsigned char *) RSTRING_PTR(str), &buf_len, ec) != 1)
  3827. | ^~
  3828. /usr/include/openssl/ec.h:1414:27: note: declared here
  3829. 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst,
  3830. | ^~~~~~~~~~
  3831. ossl_pkey_rsa.c: In function ‘ossl_rsa_export’:
  3832. ossl_pkey_rsa.c:349:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3833. 349 | GetRSA(self, rsa);
  3834. | ^~~~~~
  3835. /usr/include/openssl/evp.h:1346:22: note: declared here
  3836. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  3837. | ^~~~~~~~~~~~~~~~~
  3838. ossl_pkey_ec.c: In function ‘ossl_ec_key_dsa_verify_asn1’:
  3839. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3840. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  3841. | ^
  3842. ossl_pkey_rsa.c:349:5: note: in expansion of macro ‘GetRSA’
  3843. 349 | GetRSA(self, rsa);
  3844. | ^~~~~~
  3845. ossl_pkey_ec.c:652:5: warning: ‘EVP_PKEY_get0_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3846. 652 | GetEC(self, ec);
  3847. | ^~~~~
  3848. /usr/include/openssl/evp.h:1372:25: note: declared here
  3849. 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
  3850. | ^~~~~~~~~~~~~~~~~~~~
  3851. ossl_pkey_ec.c:24:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3852. 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
  3853. | ^
  3854. ossl_pkey_ec.c:652:5: note: in expansion of macro ‘GetEC’
  3855. 652 | GetEC(self, ec);
  3856. | ^~~~~
  3857. ossl_pkey_ec.c:656:5: warning: ‘ECDSA_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3858. 656 | switch (ECDSA_verify(0, (unsigned char *) RSTRING_PTR(data), RSTRING_LENINT(data), (unsigned char *) RSTRING_PTR(sig), (int)RSTRING_LEN(sig), ec)) {
  3859. | ^~~~~~
  3860. /usr/include/openssl/ec.h:1447:27: note: declared here
  3861. 1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst,
  3862. | ^~~~~~~~~~~~
  3863. ossl_pkey_ec.c: In function ‘ossl_ec_group_free’:
  3864. ossl_pkey_ec.c:673:5: warning: ‘EC_GROUP_clear_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3865. 673 | EC_GROUP_clear_free(ptr);
  3866. | ^~~~~~~~~~~~~~~~~~~
  3867. /usr/include/openssl/ec.h:176:28: note: declared here
  3868. 176 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group);
  3869. | ^~~~~~~~~~~~~~~~~~~
  3870. ossl_pkey_rsa.c:360:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3871. 360 | RSA_get0_key(rsa, &n, &e, &d);
  3872. | ^~~~~~~~~~~~
  3873. /usr/include/openssl/rsa.h:217:28: note: declared here
  3874. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  3875. | ^~~~~~~~~~~~
  3876. ossl_pkey_rsa.c:361:5: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3877. 361 | RSA_get0_factors(rsa, &p, &q);
  3878. | ^~~~~~~~~~~~~~~~
  3879. /usr/include/openssl/rsa.h:220:28: note: declared here
  3880. 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
  3881. | ^~~~~~~~~~~~~~~~
  3882. ossl_pkey_rsa.c:362:5: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3883. 362 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
  3884. | ^~~~~~~~~~~~~~~~~~~
  3885. /usr/include/openssl/rsa.h:225:28: note: declared here
  3886. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  3887. | ^~~~~~~~~~~~~~~~~~~
  3888. ossl_pkey_rsa.c:364:9: warning: ‘PEM_write_bio_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3889. 364 | if (!PEM_write_bio_RSAPrivateKey(out, rsa, ciph, NULL, 0,
  3890. | ^~
  3891. /usr/include/openssl/pem.h:447:1: note: declared here
  3892. 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
  3893. | ^~~~~~~~~~~~~~~~~~~~~~
  3894. ossl_pkey_rsa.c:370:9: warning: ‘PEM_write_bio_RSA_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3895. 370 | if (!PEM_write_bio_RSA_PUBKEY(out, rsa)) {
  3896. | ^~
  3897. /usr/include/openssl/pem.h:449:1: note: declared here
  3898. 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
  3899. | ^~~~~~~~~~~~~~~~~~~
  3900. ossl_pkey_rsa.c: In function ‘ossl_rsa_to_der’:
  3901. ossl_pkey_rsa.c:396:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3902. 396 | GetRSA(self, rsa);
  3903. | ^~~~~~
  3904. /usr/include/openssl/evp.h:1346:22: note: declared here
  3905. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  3906. | ^~~~~~~~~~~~~~~~~
  3907. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3908. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  3909. | ^
  3910. ossl_pkey_rsa.c:396:5: note: in expansion of macro ‘GetRSA’
  3911. 396 | GetRSA(self, rsa);
  3912. | ^~~~~~
  3913. ossl_pkey_rsa.c:397:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3914. 397 | RSA_get0_key(rsa, &n, &e, &d);
  3915. | ^~~~~~~~~~~~
  3916. /usr/include/openssl/rsa.h:217:28: note: declared here
  3917. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  3918. | ^~~~~~~~~~~~
  3919. ossl_pkey_rsa.c:398:5: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3920. 398 | RSA_get0_factors(rsa, &p, &q);
  3921. | ^~~~~~~~~~~~~~~~
  3922. /usr/include/openssl/rsa.h:220:28: note: declared here
  3923. 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
  3924. | ^~~~~~~~~~~~~~~~
  3925. ossl_pkey_rsa.c:399:5: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3926. 399 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
  3927. | ^~~~~~~~~~~~~~~~~~~
  3928. /usr/include/openssl/rsa.h:225:28: note: declared here
  3929. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  3930. | ^~~~~~~~~~~~~~~~~~~
  3931. ossl_pkey_rsa.c:401:9: warning: ‘i2d_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3932. 401 | i2d_func = i2d_RSAPrivateKey;
  3933. | ^~~~~~~~
  3934. /usr/include/openssl/rsa.h:309:1: note: declared here
  3935. 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
  3936. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3937. ossl_pkey_rsa.c:403:9: warning: ‘i2d_RSA_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3938. 403 | i2d_func = (int (*)(const RSA *, unsigned char **))i2d_RSA_PUBKEY;
  3939. | ^~~~~~~~
  3940. /usr/include/openssl/x509.h:710:1: note: declared here
  3941. 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY)
  3942. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3943. ossl_pkey_rsa.c: In function ‘ossl_rsa_public_encrypt’:
  3944. ossl_pkey_rsa.c:431:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3945. 431 | GetRSA(self, rsa);
  3946. | ^~~~~~
  3947. /usr/include/openssl/evp.h:1346:22: note: declared here
  3948. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  3949. | ^~~~~~~~~~~~~~~~~
  3950. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  3951. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  3952. | ^
  3953. ossl_pkey_rsa.c:431:5: note: in expansion of macro ‘GetRSA’
  3954. 431 | GetRSA(self, rsa);
  3955. | ^~~~~~
  3956. ossl_pkey_rsa.c:432:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3957. 432 | RSA_get0_key(rsa, &rsa_n, NULL, NULL);
  3958. | ^~~~~~~~~~~~
  3959. /usr/include/openssl/rsa.h:217:28: note: declared here
  3960. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  3961. | ^~~~~~~~~~~~
  3962. ossl_pkey_ec.c: In function ‘ossl_ec_group_initialize’:
  3963. ossl_pkey_ec.c:742:17: warning: ‘EC_GFp_simple_method’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3964. 742 | method = EC_GFp_simple_method();
  3965. | ^~~~~~
  3966. /usr/include/openssl/ec.h:121:40: note: declared here
  3967. 121 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_simple_method(void);
  3968. | ^~~~~~~~~~~~~~~~~~~~
  3969. ossl_pkey_ec.c:744:17: warning: ‘EC_GFp_mont_method’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3970. 744 | method = EC_GFp_mont_method();
  3971. | ^~~~~~
  3972. /usr/include/openssl/ec.h:126:40: note: declared here
  3973. 126 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_mont_method(void);
  3974. | ^~~~~~~~~~~~~~~~~~
  3975. ossl_pkey_ec.c:746:17: warning: ‘EC_GFp_nist_method’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3976. 746 | method = EC_GFp_nist_method();
  3977. | ^~~~~~
  3978. /usr/include/openssl/ec.h:131:40: note: declared here
  3979. 131 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_nist_method(void);
  3980. | ^~~~~~~~~~~~~~~~~~
  3981. ossl_pkey_ec.c:749:17: warning: ‘EC_GF2m_simple_method’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3982. 749 | method = EC_GF2m_simple_method();
  3983. | ^~~~~~
  3984. /usr/include/openssl/ec.h:158:40: note: declared here
  3985. 158 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GF2m_simple_method(void);
  3986. | ^~~~~~~~~~~~~~~~~~~~~
  3987. ossl_pkey_ec.c:754:17: warning: ‘EC_GROUP_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3988. 754 | if ((group = EC_GROUP_new(method)) == NULL)
  3989. | ^~
  3990. /usr/include/openssl/ec.h:171:33: note: declared here
  3991. 171 | OSSL_DEPRECATEDIN_3_0 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
  3992. | ^~~~~~~~~~~~
  3993. ossl_pkey_ec.c:768:13: warning: ‘PEM_read_bio_ECPKParameters’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  3994. 768 | group = PEM_read_bio_ECPKParameters(in, NULL, NULL, NULL);
  3995. | ^~~~~
  3996. /usr/include/openssl/pem.h:461:1: note: declared here
  3997. 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
  3998. | ^~~~~~~~~~~~~~~~~~~
  3999. ossl_pkey_ec.c: In function ‘ossl_ec_group_to_string’:
  4000. ossl_pkey_ec.c:1215:9: warning: ‘PEM_write_bio_ECPKParameters’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4001. 1215 | i = PEM_write_bio_ECPKParameters(out, group);
  4002. | ^
  4003. /usr/include/openssl/pem.h:461:1: note: declared here
  4004. 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
  4005. | ^~~~~~~~~~~~~~~~~~~
  4006. ossl_pkey_ec.c: In function ‘ossl_ec_group_to_text’:
  4007. ossl_pkey_ec.c:1273:5: warning: ‘ECPKParameters_print’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4008. 1273 | if (!ECPKParameters_print(out, group, 0)) {
  4009. | ^~
  4010. /usr/include/openssl/ec.h:926:27: note: declared here
  4011. 926 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x,
  4012. | ^~~~~~~~~~~~~~~~~~~~
  4013. ossl_pkey_rsa.c:438:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4014. 438 | str = rb_str_new(0, RSA_size(rsa));
  4015. | ^~~
  4016. /usr/include/openssl/rsa.h:204:27: note: declared here
  4017. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4018. | ^~~~~~~~
  4019. ossl_pkey_rsa.c:438:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4020. 438 | str = rb_str_new(0, RSA_size(rsa));
  4021. | ^~~
  4022. /usr/include/openssl/rsa.h:204:27: note: declared here
  4023. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4024. | ^~~~~~~~
  4025. ossl_pkey_rsa.c:439:5: warning: ‘RSA_public_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4026. 439 | buf_len = RSA_public_encrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
  4027. | ^~~~~~~
  4028. /usr/include/openssl/rsa.h:282:5: note: declared here
  4029. 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
  4030. | ^~~~~~~~~~~~~~~~~~
  4031. compiling ossl_ssl.c
  4032. ossl_pkey_rsa.c: In function ‘ossl_rsa_public_decrypt’:
  4033. ossl_pkey_rsa.c:463:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4034. 463 | GetRSA(self, rsa);
  4035. | ^~~~~~
  4036. /usr/include/openssl/evp.h:1346:22: note: declared here
  4037. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4038. | ^~~~~~~~~~~~~~~~~
  4039. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4040. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4041. | ^
  4042. ossl_pkey_rsa.c:463:5: note: in expansion of macro ‘GetRSA’
  4043. 463 | GetRSA(self, rsa);
  4044. | ^~~~~~
  4045. ossl_pkey_rsa.c:464:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4046. 464 | RSA_get0_key(rsa, &rsa_n, NULL, NULL);
  4047. | ^~~~~~~~~~~~
  4048. /usr/include/openssl/rsa.h:217:28: note: declared here
  4049. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  4050. | ^~~~~~~~~~~~
  4051. In file included from ossl.h:156,
  4052. from ossl_rand.c:10:
  4053. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  4054. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  4055. |
  4056. In file included from ossl.h:31:
  4057. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  4058. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  4059. |
  4060. ossl_pkey_rsa.c:470:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4061. 470 | str = rb_str_new(0, RSA_size(rsa));
  4062. | ^~~
  4063. /usr/include/openssl/rsa.h:204:27: note: declared here
  4064. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4065. | ^~~~~~~~
  4066. ossl_pkey_rsa.c:470:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4067. 470 | str = rb_str_new(0, RSA_size(rsa));
  4068. | ^~~
  4069. /usr/include/openssl/rsa.h:204:27: note: declared here
  4070. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4071. | ^~~~~~~~
  4072. ossl_pkey_rsa.c:471:5: warning: ‘RSA_public_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4073. 471 | buf_len = RSA_public_decrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
  4074. | ^~~~~~~
  4075. /usr/include/openssl/rsa.h:288:5: note: declared here
  4076. 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
  4077. | ^~~~~~~~~~~~~~~~~~
  4078. ossl_pkey_rsa.c: In function ‘ossl_rsa_private_encrypt’:
  4079. ossl_pkey_rsa.c:495:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4080. 495 | GetRSA(self, rsa);
  4081. | ^~~~~~
  4082. /usr/include/openssl/evp.h:1346:22: note: declared here
  4083. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4084. | ^~~~~~~~~~~~~~~~~
  4085. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4086. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4087. | ^
  4088. ossl_pkey_rsa.c:495:5: note: in expansion of macro ‘GetRSA’
  4089. 495 | GetRSA(self, rsa);
  4090. | ^~~~~~
  4091. ossl_pkey_rsa.c:496:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4092. 496 | RSA_get0_key(rsa, &rsa_n, NULL, NULL);
  4093. | ^~~~~~~~~~~~
  4094. /usr/include/openssl/rsa.h:217:28: note: declared here
  4095. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  4096. | ^~~~~~~~~~~~
  4097. ossl_pkey_ec.c: In function ‘ossl_ec_point_initialize’:
  4098. ossl_pkey_ec.c:1360:13: warning: ‘EC_POINT_bn2point’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4099. 1360 | point = EC_POINT_bn2point(group, GetBNPtr(arg2), NULL, ossl_bn_ctx);
  4100. | ^~~~~
  4101. /usr/include/openssl/ec.h:774:33: note: declared here
  4102. 774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *,
  4103. | ^~~~~~~~~~~~~~~~~
  4104. ossl_pkey_ec.c: In function ‘ossl_ec_point_make_affine’:
  4105. ossl_pkey_ec.c:1487:5: warning: ‘EC_POINT_make_affine’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4106. 1487 | if (EC_POINT_make_affine(group, point, ossl_bn_ctx) != 1)
  4107. | ^~
  4108. /usr/include/openssl/ec.h:844:27: note: declared here
  4109. 844 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_make_affine(const EC_GROUP *group,
  4110. | ^~~~~~~~~~~~~~~~~~~~
  4111. ossl_pkey_rsa.c:504:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4112. 504 | str = rb_str_new(0, RSA_size(rsa));
  4113. | ^~~
  4114. /usr/include/openssl/rsa.h:204:27: note: declared here
  4115. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4116. | ^~~~~~~~
  4117. ossl_pkey_rsa.c:504:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4118. 504 | str = rb_str_new(0, RSA_size(rsa));
  4119. | ^~~
  4120. /usr/include/openssl/rsa.h:204:27: note: declared here
  4121. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4122. | ^~~~~~~~
  4123. ossl_pkey_rsa.c:505:5: warning: ‘RSA_private_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4124. 505 | buf_len = RSA_private_encrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
  4125. | ^~~~~~~
  4126. /usr/include/openssl/rsa.h:285:5: note: declared here
  4127. 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
  4128. | ^~~~~~~~~~~~~~~~~~~
  4129. ossl_pkey_rsa.c: In function ‘ossl_rsa_private_decrypt’:
  4130. ossl_pkey_rsa.c:529:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4131. 529 | GetRSA(self, rsa);
  4132. | ^~~~~~
  4133. /usr/include/openssl/evp.h:1346:22: note: declared here
  4134. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4135. | ^~~~~~~~~~~~~~~~~
  4136. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4137. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4138. | ^
  4139. ossl_pkey_rsa.c:529:5: note: in expansion of macro ‘GetRSA’
  4140. 529 | GetRSA(self, rsa);
  4141. | ^~~~~~
  4142. ossl_pkey_rsa.c:530:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4143. 530 | RSA_get0_key(rsa, &rsa_n, NULL, NULL);
  4144. | ^~~~~~~~~~~~
  4145. /usr/include/openssl/rsa.h:217:28: note: declared here
  4146. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  4147. | ^~~~~~~~~~~~
  4148. checking ../.././parse.y and ../.././ext/ripper/eventids2.c
  4149. ossl_pkey_rsa.c:538:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4150. 538 | str = rb_str_new(0, RSA_size(rsa));
  4151. | ^~~
  4152. /usr/include/openssl/rsa.h:204:27: note: declared here
  4153. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4154. | ^~~~~~~~
  4155. ossl_pkey_rsa.c:538:5: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4156. 538 | str = rb_str_new(0, RSA_size(rsa));
  4157. | ^~~
  4158. /usr/include/openssl/rsa.h:204:27: note: declared here
  4159. 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
  4160. | ^~~~~~~~
  4161. ossl_pkey_rsa.c:539:5: warning: ‘RSA_private_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4162. 539 | buf_len = RSA_private_decrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
  4163. | ^~~~~~~
  4164. /usr/include/openssl/rsa.h:291:5: note: declared here
  4165. 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
  4166. | ^~~~~~~~~~~~~~~~~~~
  4167. ossl_pkey_ec.c: In function ‘ossl_ec_point_mul’:
  4168. ossl_pkey_ec.c:1665:9: warning: ‘EC_POINTs_mul’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4169. 1665 | if (EC_POINTs_mul(group, point_result, bn_g, num, points, bignums, ossl_bn_ctx) != 1) {
  4170. | ^~
  4171. /usr/include/openssl/ec.h:859:27: note: declared here
  4172. 859 | OSSL_DEPRECATEDIN_3_0 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r,
  4173. | ^~~~~~~~~~~~~
  4174. compiling ipsocket.c
  4175. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_params’:
  4176. ossl_pkey_rsa.c:755:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4177. 755 | GetRSA(self, rsa);
  4178. | ^~~~~~
  4179. /usr/include/openssl/evp.h:1346:22: note: declared here
  4180. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4181. | ^~~~~~~~~~~~~~~~~
  4182. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4183. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4184. | ^
  4185. ossl_pkey_rsa.c:755:5: note: in expansion of macro ‘GetRSA’
  4186. 755 | GetRSA(self, rsa);
  4187. | ^~~~~~
  4188. ossl_pkey_rsa.c:756:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4189. 756 | RSA_get0_key(rsa, &n, &e, &d);
  4190. | ^~~~~~~~~~~~
  4191. /usr/include/openssl/rsa.h:217:28: note: declared here
  4192. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  4193. | ^~~~~~~~~~~~
  4194. ossl_pkey_rsa.c:757:5: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4195. 757 | RSA_get0_factors(rsa, &p, &q);
  4196. | ^~~~~~~~~~~~~~~~
  4197. /usr/include/openssl/rsa.h:220:28: note: declared here
  4198. 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
  4199. | ^~~~~~~~~~~~~~~~
  4200. ossl_pkey_rsa.c:758:5: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4201. 758 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
  4202. | ^~~~~~~~~~~~~~~~~~~
  4203. /usr/include/openssl/rsa.h:225:28: note: declared here
  4204. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  4205. | ^~~~~~~~~~~~~~~~~~~
  4206. ossl_pkey_rsa.c: In function ‘ossl_rsa_to_text’:
  4207. ossl_pkey_rsa.c:790:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4208. 790 | GetRSA(self, rsa);
  4209. | ^~~~~~
  4210. /usr/include/openssl/evp.h:1346:22: note: declared here
  4211. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4212. | ^~~~~~~~~~~~~~~~~
  4213. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4214. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4215. | ^
  4216. ossl_pkey_rsa.c:790:5: note: in expansion of macro ‘GetRSA’
  4217. 790 | GetRSA(self, rsa);
  4218. | ^~~~~~
  4219. ossl_pkey_rsa.c:794:5: warning: ‘RSA_print’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4220. 794 | if (!RSA_print(out, rsa, 0)) { /* offset = 0 */
  4221. | ^~
  4222. /usr/include/openssl/rsa.h:342:27: note: declared here
  4223. 342 | OSSL_DEPRECATEDIN_3_0 int RSA_print(BIO *bp, const RSA *r, int offset);
  4224. | ^~~~~~~~~
  4225. ossl_pkey_rsa.c: In function ‘ossl_rsa_to_public_key’:
  4226. ossl_pkey_rsa.c:818:5: warning: ‘RSAPublicKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4227. 818 | rsa = RSAPublicKey_dup(EVP_PKEY_get0_RSA(pkey));
  4228. | ^~~
  4229. /usr/include/openssl/rsa.h:448:1: note: declared here
  4230. 448 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey)
  4231. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4232. ossl_pkey_rsa.c:818:5: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4233. 818 | rsa = RSAPublicKey_dup(EVP_PKEY_get0_RSA(pkey));
  4234. | ^~~
  4235. /usr/include/openssl/evp.h:1346:22: note: declared here
  4236. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4237. | ^~~~~~~~~~~~~~~~~
  4238. ossl_pkey_rsa.c:821:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4239. 821 | RSA_free(rsa);
  4240. | ^~~~~~~~
  4241. /usr/include/openssl/rsa.h:293:28: note: declared here
  4242. 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
  4243. | ^~~~~~~~
  4244. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_n’:
  4245. ossl_pkey_rsa.c:862:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4246. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4247. | ^~~~~~~~~~~~~~~~~
  4248. /usr/include/openssl/evp.h:1346:22: note: declared here
  4249. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4250. | ^~~~~~~~~~~~~~~~~
  4251. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4252. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4253. | ^
  4254. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4255. 102 | Get##_type(self, obj); \
  4256. | ^~~
  4257. ossl_pkey.h:110:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4258. 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
  4259. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4260. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  4261. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  4262. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4263. ossl_pkey_rsa.c:862:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4264. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4265. | ^~~~~~~~~~~~~~~~~
  4266. ossl_pkey_rsa.c:862:1: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4267. /usr/include/openssl/rsa.h:217:28: note: declared here
  4268. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  4269. | ^~~~~~~~~~~~
  4270. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_e’:
  4271. ossl_pkey_rsa.c:862:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4272. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4273. | ^~~~~~~~~~~~~~~~~
  4274. /usr/include/openssl/evp.h:1346:22: note: declared here
  4275. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4276. | ^~~~~~~~~~~~~~~~~
  4277. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4278. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4279. | ^
  4280. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4281. 102 | Get##_type(self, obj); \
  4282. | ^~~
  4283. ossl_pkey.h:112:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4284. 112 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
  4285. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4286. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  4287. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  4288. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4289. ossl_pkey_rsa.c:862:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4290. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4291. | ^~~~~~~~~~~~~~~~~
  4292. ossl_pkey_rsa.c:862:1: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4293. /usr/include/openssl/rsa.h:217:28: note: declared here
  4294. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  4295. | ^~~~~~~~~~~~
  4296. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_d’:
  4297. ossl_pkey_rsa.c:862:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4298. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4299. | ^~~~~~~~~~~~~~~~~
  4300. /usr/include/openssl/evp.h:1346:22: note: declared here
  4301. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4302. | ^~~~~~~~~~~~~~~~~
  4303. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4304. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4305. | ^
  4306. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4307. 102 | Get##_type(self, obj); \
  4308. | ^~~
  4309. ossl_pkey.h:114:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4310. 114 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
  4311. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4312. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  4313. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  4314. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4315. ossl_pkey_rsa.c:862:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4316. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4317. | ^~~~~~~~~~~~~~~~~
  4318. ossl_pkey_rsa.c:862:1: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4319. /usr/include/openssl/rsa.h:217:28: note: declared here
  4320. 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
  4321. | ^~~~~~~~~~~~
  4322. ossl_pkey_rsa.c: In function ‘ossl_rsa_set_key’:
  4323. ossl_pkey_rsa.c:862:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4324. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4325. | ^~~~~~~~~~~~~~~~~
  4326. /usr/include/openssl/evp.h:1346:22: note: declared here
  4327. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4328. | ^~~~~~~~~~~~~~~~~
  4329. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4330. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4331. | ^
  4332. ossl_pkey.h:135:9: note: in expansion of macro ‘GetRSA’
  4333. 135 | Get##_type(self, obj); \
  4334. | ^~~
  4335. ossl_pkey.h:212:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_SETTER3’
  4336. 212 | OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
  4337. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4338. ossl_pkey_rsa.c:862:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4339. 862 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
  4340. | ^~~~~~~~~~~~~~~~~
  4341. ossl_pkey_rsa.c:862:1: warning: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4342. /usr/include/openssl/rsa.h:207:27: note: declared here
  4343. 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
  4344. | ^~~~~~~~~~~~
  4345. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_p’:
  4346. ossl_pkey_rsa.c:870:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4347. 870 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
  4348. | ^~~~~~~~~~~~~~~~~
  4349. /usr/include/openssl/evp.h:1346:22: note: declared here
  4350. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4351. | ^~~~~~~~~~~~~~~~~
  4352. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4353. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4354. | ^
  4355. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4356. 102 | Get##_type(self, obj); \
  4357. | ^~~
  4358. ossl_pkey.h:118:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4359. 118 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
  4360. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4361. ossl_pkey.h:215:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER2’
  4362. 215 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
  4363. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4364. ossl_pkey_rsa.c:870:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  4365. 870 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
  4366. | ^~~~~~~~~~~~~~~~~
  4367. ossl_pkey_rsa.c:870:1: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4368. /usr/include/openssl/rsa.h:220:28: note: declared here
  4369. 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
  4370. | ^~~~~~~~~~~~~~~~
  4371. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_q’:
  4372. ossl_pkey_rsa.c:870:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4373. 870 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
  4374. | ^~~~~~~~~~~~~~~~~
  4375. /usr/include/openssl/evp.h:1346:22: note: declared here
  4376. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4377. | ^~~~~~~~~~~~~~~~~
  4378. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4379. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4380. | ^
  4381. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4382. 102 | Get##_type(self, obj); \
  4383. | ^~~
  4384. ossl_pkey.h:120:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4385. 120 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
  4386. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4387. ossl_pkey.h:215:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER2’
  4388. 215 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
  4389. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4390. ossl_pkey_rsa.c:870:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  4391. 870 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
  4392. | ^~~~~~~~~~~~~~~~~
  4393. ossl_pkey_rsa.c:870:1: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4394. /usr/include/openssl/rsa.h:220:28: note: declared here
  4395. 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
  4396. | ^~~~~~~~~~~~~~~~
  4397. ossl_pkey_rsa.c: In function ‘ossl_rsa_set_factors’:
  4398. ossl_pkey_rsa.c:870:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4399. 870 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
  4400. | ^~~~~~~~~~~~~~~~~
  4401. /usr/include/openssl/evp.h:1346:22: note: declared here
  4402. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4403. | ^~~~~~~~~~~~~~~~~
  4404. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4405. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4406. | ^
  4407. ossl_pkey.h:165:9: note: in expansion of macro ‘GetRSA’
  4408. 165 | Get##_type(self, obj); \
  4409. | ^~~
  4410. ossl_pkey.h:216:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_SETTER2’
  4411. 216 | OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
  4412. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4413. ossl_pkey_rsa.c:870:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF2’
  4414. 870 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
  4415. | ^~~~~~~~~~~~~~~~~
  4416. ossl_pkey_rsa.c:870:1: warning: ‘RSA_set0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4417. /usr/include/openssl/rsa.h:208:27: note: declared here
  4418. 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
  4419. | ^~~~~~~~~~~~~~~~
  4420. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_dmp1’:
  4421. ossl_pkey_rsa.c:880:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4422. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4423. | ^~~~~~~~~~~~~~~~~
  4424. /usr/include/openssl/evp.h:1346:22: note: declared here
  4425. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4426. | ^~~~~~~~~~~~~~~~~
  4427. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4428. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4429. | ^
  4430. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4431. 102 | Get##_type(self, obj); \
  4432. | ^~~
  4433. ossl_pkey.h:110:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4434. 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
  4435. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4436. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  4437. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  4438. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4439. ossl_pkey_rsa.c:880:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4440. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4441. | ^~~~~~~~~~~~~~~~~
  4442. ossl_pkey_rsa.c:880:1: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4443. /usr/include/openssl/rsa.h:225:28: note: declared here
  4444. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  4445. | ^~~~~~~~~~~~~~~~~~~
  4446. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_dmq1’:
  4447. ossl_pkey_rsa.c:880:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4448. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4449. | ^~~~~~~~~~~~~~~~~
  4450. /usr/include/openssl/evp.h:1346:22: note: declared here
  4451. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4452. | ^~~~~~~~~~~~~~~~~
  4453. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4454. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4455. | ^
  4456. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4457. 102 | Get##_type(self, obj); \
  4458. | ^~~
  4459. ossl_pkey.h:112:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4460. 112 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
  4461. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4462. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  4463. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  4464. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4465. ossl_pkey_rsa.c:880:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4466. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4467. | ^~~~~~~~~~~~~~~~~
  4468. ossl_pkey_rsa.c:880:1: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4469. /usr/include/openssl/rsa.h:225:28: note: declared here
  4470. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  4471. | ^~~~~~~~~~~~~~~~~~~
  4472. ossl_pkey_rsa.c: In function ‘ossl_rsa_get_iqmp’:
  4473. ossl_pkey_rsa.c:880:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4474. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4475. | ^~~~~~~~~~~~~~~~~
  4476. /usr/include/openssl/evp.h:1346:22: note: declared here
  4477. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4478. | ^~~~~~~~~~~~~~~~~
  4479. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4480. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4481. | ^
  4482. ossl_pkey.h:102:9: note: in expansion of macro ‘GetRSA’
  4483. 102 | Get##_type(self, obj); \
  4484. | ^~~
  4485. ossl_pkey.h:114:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER0’
  4486. 114 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
  4487. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4488. ossl_pkey.h:211:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_GETTER3’
  4489. 211 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
  4490. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4491. ossl_pkey_rsa.c:880:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4492. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4493. | ^~~~~~~~~~~~~~~~~
  4494. ossl_pkey_rsa.c:880:1: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4495. /usr/include/openssl/rsa.h:225:28: note: declared here
  4496. 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
  4497. | ^~~~~~~~~~~~~~~~~~~
  4498. ossl_pkey_rsa.c: In function ‘ossl_rsa_set_crt_params’:
  4499. ossl_pkey_rsa.c:880:1: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4500. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4501. | ^~~~~~~~~~~~~~~~~
  4502. /usr/include/openssl/evp.h:1346:22: note: declared here
  4503. 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
  4504. | ^~~~~~~~~~~~~~~~~
  4505. ossl_pkey_rsa.c:23:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4506. 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \
  4507. | ^
  4508. ossl_pkey.h:135:9: note: in expansion of macro ‘GetRSA’
  4509. 135 | Get##_type(self, obj); \
  4510. | ^~~
  4511. ossl_pkey.h:212:9: note: in expansion of macro ‘OSSL_PKEY_BN_DEF_SETTER3’
  4512. 212 | OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
  4513. | ^~~~~~~~~~~~~~~~~~~~~~~~
  4514. ossl_pkey_rsa.c:880:1: note: in expansion of macro ‘OSSL_PKEY_BN_DEF3’
  4515. 880 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
  4516. | ^~~~~~~~~~~~~~~~~
  4517. ossl_pkey_rsa.c:880:1: warning: ‘RSA_set0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4518. /usr/include/openssl/rsa.h:209:27: note: declared here
  4519. 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
  4520. | ^~~~~~~~~~~~~~~~~~~
  4521. ossl_pkey_rsa.c: In function ‘Init_ossl_rsa’:
  4522. ossl_pkey_rsa.c:885:58: error: ‘RSA_SSLV23_PADDING’ undeclared (first use in this function); did you mean ‘RSA_NO_PADDING’?
  4523. 885 | #define DefRSAConst(x) rb_define_const(cRSA, #x, INT2NUM(RSA_##x))
  4524. | ^~~~
  4525. ossl_pkey_rsa.c:950:5: note: in expansion of macro ‘DefRSAConst’
  4526. 950 | DefRSAConst(SSLV23_PADDING);
  4527. | ^~~~~~~~~~~
  4528. ossl_pkey_rsa.c:885:58: note: each undeclared identifier is reported only once for each function it appears in
  4529. 885 | #define DefRSAConst(x) rb_define_const(cRSA, #x, INT2NUM(RSA_##x))
  4530. | ^~~~
  4531. ossl_pkey_rsa.c:950:5: note: in expansion of macro ‘DefRSAConst’
  4532. 950 | DefRSAConst(SSLV23_PADDING);
  4533. | ^~~~~~~~~~~
  4534. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4535. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4536. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4537. installing default ripper libraries
  4538. compiling tcpsocket.c
  4539. At top level:
  4540. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4541. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4542. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4543. make[2]: *** [Makefile:327: ossl_pkey_rsa.o] Error 1
  4544. make[2]: *** Waiting for unfinished jobs....
  4545. compiling tcpserver.c
  4546. In file included from ipsocket.c:11:
  4547. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4548. 148 | char *if_indextoname(unsigned int, char *);
  4549. | ^~~~~~
  4550. In file included from rubysocket.h:103:
  4551. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4552. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4553. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4554. At top level:
  4555. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4556. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4557. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4558. compiling sockssocket.c
  4559. In file included from ossl.h:156,
  4560. from ossl_ssl.c:12:
  4561. openssl_missing.h:239: warning: "TS_VERIFY_CTS_set_certs" redefined
  4562. 239 | # define TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts))
  4563. |
  4564. In file included from ossl.h:31:
  4565. /usr/include/openssl/ts.h:424: note: this is the location of the previous definition
  4566. 424 | # define TS_VERIFY_CTS_set_certs(ctx, cert) TS_VERIFY_CTX_set_certs(ctx,cert)
  4567. |
  4568. ossl_ssl.c: In function ‘ossl_tmp_dh_callback’:
  4569. ossl_ssl.c:288:5: warning: ‘EVP_PKEY_get0_DH’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4570. 288 | return EVP_PKEY_get0_DH(pkey);
  4571. | ^~~~~~
  4572. In file included from /usr/include/openssl/x509.h:29,
  4573. from /usr/include/openssl/x509v3.h:25,
  4574. from ossl.h:23:
  4575. /usr/include/openssl/evp.h:1363:43: note: declared here
  4576. 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
  4577. | ^~~~~~~~~~~~~~~~
  4578. ossl_ssl.c:288:12: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  4579. 288 | return EVP_PKEY_get0_DH(pkey);
  4580. | ^~~~~~~~~~~~~~~~~~~~~~
  4581. ossl_ssl.c: In function ‘ossl_sslctx_setup’:
  4582. ossl_ssl.c:797:5: warning: ‘SSL_CTX_set_tmp_dh_callback’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4583. 797 | SSL_CTX_set_tmp_dh_callback(ctx, ossl_tmp_dh_callback);
  4584. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  4585. In file included from ossl.h:24:
  4586. /usr/include/openssl/ssl.h:2227:6: note: declared here
  4587. 2227 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
  4588. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  4589. ossl_ssl.c: In function ‘ossl_sslctx_add_certificate’:
  4590. ossl_ssl.c:1286:5: warning: ‘EVP_PKEY_cmp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  4591. 1286 | if (EVP_PKEY_cmp(pub_pkey, pkey) != 1)
  4592. | ^~
  4593. /usr/include/openssl/evp.h:1418:5: note: declared here
  4594. 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
  4595. | ^~~~~~~~~~~~
  4596. compiling udpsocket.c
  4597. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4598. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4599. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4600. At top level:
  4601. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4602. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4603. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4604. In file included from tcpserver.c:11:
  4605. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4606. 148 | char *if_indextoname(unsigned int, char *);
  4607. | ^~~~~~
  4608. In file included from rubysocket.h:103:
  4609. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4610. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4611. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4612. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4613. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4614. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4615. linking shared-object digest/sha2.so
  4616. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4617. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4618. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4619. In file included from tcpsocket.c:11:
  4620. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4621. 148 | char *if_indextoname(unsigned int, char *);
  4622. | ^~~~~~
  4623. In file included from rubysocket.h:103:
  4624. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4625. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4626. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4627. In file included from sockssocket.c:11:
  4628. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4629. 148 | char *if_indextoname(unsigned int, char *);
  4630. | ^~~~~~
  4631. In file included from rubysocket.h:103:
  4632. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4633. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4634. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4635. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4636. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4637. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4638. compiling unixsocket.c
  4639. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4640. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4641. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4642. compiling unixserver.c
  4643. compiling option.c
  4644. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/digest/sha2'
  4645. compiling ancdata.c
  4646. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4647. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4648. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4649. compiling raddrinfo.c
  4650. compiling ifaddr.c
  4651. In file included from udpsocket.c:11:
  4652. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4653. 148 | char *if_indextoname(unsigned int, char *);
  4654. | ^~~~~~
  4655. In file included from rubysocket.h:103:
  4656. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4657. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4658. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4659. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4660. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4661. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4662. installing default socket libraries
  4663. linking shared-object json/ext/parser.so
  4664. At top level:
  4665. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4666. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4667. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4668. In file included from unixsocket.c:11:
  4669. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4670. 148 | char *if_indextoname(unsigned int, char *);
  4671. | ^~~~~~
  4672. In file included from rubysocket.h:103:
  4673. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4674. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4675. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4676. In file included from option.c:1:
  4677. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4678. 148 | char *if_indextoname(unsigned int, char *);
  4679. | ^~~~~~
  4680. In file included from rubysocket.h:103:
  4681. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4682. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4683. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4684. In file included from unixserver.c:11:
  4685. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4686. 148 | char *if_indextoname(unsigned int, char *);
  4687. | ^~~~~~
  4688. In file included from rubysocket.h:103:
  4689. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4690. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4691. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4692. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/json/parser'
  4693. In file included from ancdata.c:1:
  4694. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4695. 148 | char *if_indextoname(unsigned int, char *);
  4696. | ^~~~~~
  4697. In file included from rubysocket.h:103:
  4698. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4699. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4700. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4701. In file included from ifaddr.c:1:
  4702. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4703. 148 | char *if_indextoname(unsigned int, char *);
  4704. | ^~~~~~
  4705. In file included from rubysocket.h:103:
  4706. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4707. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4708. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4709. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4710. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4711. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4712. In file included from raddrinfo.c:11:
  4713. rubysocket.h:148:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
  4714. 148 | char *if_indextoname(unsigned int, char *);
  4715. | ^~~~~~
  4716. In file included from rubysocket.h:103:
  4717. /usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
  4718. 195 | char __ifname[IF_NAMESIZE]) __THROW
  4719. | ~~~~~^~~~~~~~~~~~~~~~~~~~~
  4720. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4721. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4722. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4723. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4724. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4725. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4726. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4727. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4728. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4729. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4730. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4731. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4732. linking shared-object nkf.so
  4733. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/nkf'
  4734. At top level:
  4735. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4736. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4737. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4738. At top level:
  4739. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4740. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4741. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4742. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4743. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4744. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4745. linking shared-object json/ext/generator.so
  4746. linking shared-object bigdecimal.so
  4747. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/json/generator'
  4748. linking shared-object zlib.so
  4749. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/bigdecimal'
  4750. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/zlib'
  4751. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4752. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4753. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4754. At top level:
  4755. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4756. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4757. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4758. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/openssl'
  4759. make[1]: *** [exts.mk:260: ext/openssl/all] Error 2
  4760. make[1]: *** Waiting for unfinished jobs....
  4761. cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
  4762. cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
  4763. cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  4764. linking shared-object socket.so
  4765. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/socket'
  4766. linking shared-object date_core.so
  4767. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/date'
  4768. linking shared-object ripper.so
  4769. make[2]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2/ext/ripper'
  4770. make[1]: Leaving directory '/usr/share/rvm/src/ruby-3.0.2'
  4771. make: *** [uncommon.mk:300: build-ext] Error 2
  4772. ++ return 2
Add Comment
Please, Sign In to add comment