Guest User

Untitled

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