Project

General

Profile

Bug #18820 » ruby-build.20220607213721.9846.log

2.5.9 build failure - libweirdness (Antryg Revok), 06/08/2022 04:40 AM

 
/tmp/ruby-build.20220607213721.9846.fZCTZz ~
/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9 /tmp/ruby-build.20220607213721.9846.fZCTZz ~
checking for ruby... /usr/bin/ruby
tool/config.guess already exists
tool/config.sub already exists
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for ld... ld
checking whether the linker is GNU ld... yes
checking whether gcc -E accepts -o... yes
checking for ranlib... ranlib
checking for ar... ar
checking for ar flags... rcD
checking for as... as
checking for objdump... objdump
checking for objcopy... objcopy
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for dtrace... no
checking for dot... no
checking for doxygen... no
checking for pkg-config... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... yes
checking whether -Wl,-R. is accepted as LDFLAGS... yes
checking whether -Wl,-rpath,. is accepted as LDFLAGS... yes
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
checking whether -Wno-parentheses is accepted as CFLAGS... yes
checking whether -Wno-long-long is accepted as CFLAGS... yes
checking whether -diag-disable=175,188,2259 is accepted as CFLAGS... no
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
checking whether -Wno-tautological-compare is accepted as CFLAGS... yes
checking whether -Wno-parentheses-equality is accepted as CFLAGS... yes
checking whether -Wno-constant-logical-operand is accepted as CFLAGS... yes
checking whether -Wno-self-assign is accepted as CFLAGS... yes
checking whether -Wunused-variable is accepted as CFLAGS... yes
checking whether -Wimplicit-int is accepted as CFLAGS... yes
checking whether -Wpointer-arith is accepted as CFLAGS... yes
checking whether -Wwrite-strings is accepted as CFLAGS... yes
checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes
checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no
checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
checking whether -Wdivision-by-zero is accepted as CFLAGS... no
checking whether -Wdeprecated-declarations is accepted as CFLAGS... yes
checking whether -Wmisleading-indentation is accepted as CFLAGS... yes
checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... yes
checking whether -Wsuggest-attribute=noreturn is accepted as CFLAGS... yes
checking whether -Wsuggest-attribute=format is accepted as CFLAGS... yes
checking whether -Wimplicit-fallthrough=0 is accepted as CFLAGS... yes
checking whether -Wduplicated-cond is accepted as CFLAGS... yes
checking whether -Wrestrict is accepted as CFLAGS... yes
checking whether -Wextra-tokens is accepted as CFLAGS... no
checking whether -Wall -Wextra is accepted as CFLAGS... yes
checking whether -Qunused-arguments is accepted as CFLAGS... no
checking whether INFINITY is available without C99 option... yes
checking whether NAN is available without C99 option... yes
checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as LDFLAGS... yes
checking whether -Wl,--compress-debug-sections=zlib is accepted as LDFLAGS... yes
checking whether -std=gnu99 is accepted as CFLAGS... yes
checking whether -fno-strict-overflow is accepted as CFLAGS... yes
checking whether -ggdb3 is accepted as CFLAGS... yes
checking whether -fvisibility=hidden is accepted as CFLAGS... yes
checking whether -fno-fast-math is accepted as CFLAGS... yes
checking whether -fexcess-precision=standard is accepted as CFLAGS... yes
checking whether -fp-model precise is accepted as CFLAGS... no
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for shutdown in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking a.out.h usability... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking malloc_np.h usability... no
checking malloc_np.h presence... no
checking for malloc_np.h... no
checking net/socket.h usability... no
checking net/socket.h presence... no
checking for net/socket.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking setjmpex.h usability... no
checking setjmpex.h presence... no
checking for setjmpex.h... no
checking sys/attr.h usability... no
checking sys/attr.h presence... no
checking for sys/attr.h... no
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/id.h usability... no
checking sys/id.h presence... no
checking for sys/id.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for library containing __gmpz_init... -lgmp
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... yes
checking for inline... inline
checking for working volatile... yes
checking for typeof syntax and keyword spelling... typeof
checking for long long... yes
checking for off_t... yes
checking char bit... 8
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of __int128... 16
checking size of off_t... 8
checking size of void*... 8
checking size of float... 4
checking size of double... 8
checking size of time_t... 8
checking size of clock_t... 8
checking packed struct attribute... x __attribute__((packed))
checking whether -Wno-address-of-packed-member is accepted as CFLAGS... yes
checking for printf prefix for long long... ll
checking for pid_t... yes
checking for convertible type of pid_t... INT
checking for uid_t... yes
checking for convertible type of uid_t... UINT
checking for gid_t... yes
checking for convertible type of gid_t... UINT
checking for time_t... yes
checking for convertible type of time_t... LONG
checking for dev_t... yes
checking for convertible type of dev_t... ULONG
checking for mode_t... yes
checking for convertible type of mode_t... UINT
checking for rlim_t... yes
checking for convertible type of rlim_t... ULONG
checking for off_t... (cached) yes
checking for convertible type of off_t... LONG
checking for clockid_t... yes
checking for convertible type of clockid_t... INT
checking for prototypes... yes
checking token paste string... ansi
checking stringization... #expr
checking string literal concatenation... yes
checking for variable length prototypes and stdarg.h... yes
checking for variable length macro... yes
checking for CONSTFUNC function attribute... __attribute__ ((__const__)) x
checking for PUREFUNC function attribute... __attribute__ ((__pure__)) x
checking for NORETURN function attribute... __attribute__ ((__noreturn__)) x
checking for DEPRECATED function attribute... __attribute__ ((__deprecated__)) x
checking for DEPRECATED_BY function attribute... __attribute__ ((__deprecated__("by "#n))) x
checking for DEPRECATED_TYPE type attribute... __attribute__ ((__deprecated__ mesg)) x
checking for NOINLINE function attribute... __attribute__ ((__noinline__)) x
checking for ALWAYS_INLINE function attribute... __attribute__ ((__always_inline__)) x
checking for WARN_UNUSED_RESULT function attribute... __attribute__ ((__warn_unused_result__)) x
checking for MAYBE_UNUSED function attribute... __attribute__ ((__unused__)) x
checking for ERRORFUNC function attribute... __attribute__ ((__error__ mesg)) x
checking for WARNINGFUNC function attribute... __attribute__ ((__warning__ mesg)) x
checking for WEAK function attribute... __attribute__ ((__weak__)) x
checking for FUNC_STDCALL function attribute... x
checking for FUNC_CDECL function attribute... x
checking for FUNC_FASTCALL function attribute... x
checking for FUNC_UNOPTIMIZED function attribute... __attribute__ ((__optimize__("O0"))) x
checking for FUNC_MINIMIZED function attribute... __attribute__ ((__optimize__("-Os","-fomit-frame-pointer"))) x
checking for function alias... alias
checking for __atomic builtins... yes
checking for __sync builtins... yes
checking for __builtin_unreachable... yes
checking for exported function attribute... __attribute__ ((__visibility__("default")))
checking for function name string predefined identifier... __func__
checking if enum over int is allowed... yes
checking whether sys_nerr is declared... no
checking whether getenv is declared... yes
checking for size_t... yes
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking for printf prefix for size_t... z
checking for printf prefix for ptrdiff_t... t
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking size of struct stat.st_size... SIZEOF_OFF_T
checking size of struct stat.st_blocks... SIZEOF_OFF_T
checking size of struct stat.st_ino... SIZEOF_LONG
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimespec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_ctim... yes
checking for struct stat.st_ctimespec... no
checking for struct stat.st_ctimensec... no
checking for struct stat.st_birthtimespec... no
checking for struct timeval... yes
checking size of struct timeval.tv_sec... SIZEOF_TIME_T
checking for struct timespec... yes
checking for struct timezone... yes
checking for clockid_t... (cached) yes
checking for fd_mask... yes
checking for int8_t... yes
checking size of int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for int128_t... __int128
checking for uint128_t... unsigned __int128
checking for intptr_t... yes
checking size of intptr_t... 8
checking for uintptr_t... yes
checking size of uintptr_t... 8
checking for ssize_t... yes
checking size of ssize_t... 8
checking for stack end address... __libc_stack_end
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for dynamic size alloca... ok
checking for working memcmp... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for acosh... yes
checking for cbrt... yes
checking for crypt... yes
checking for dup2... yes
checking for erf... yes
checking for explicit_bzero... yes
checking for ffs... yes
checking for finite... yes
checking for flock... yes
checking for hypot... yes
checking for isinf... yes
checking for isnan... yes
checking for lgamma_r... yes
checking for memmove... yes
checking for nextafter... yes
checking for setproctitle... no
checking for strchr... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strstr... yes
checking for tgamma... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for signbit... yes
checking for broken memmem... no
checking for pid_t... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for __syscall... no
checking for _longjmp... yes
checking for arc4random_buf... no
checking for atan2l... yes
checking for atan2f... yes
checking for chroot... yes
checking for chsize... no
checking for clock_gettime... yes
checking for cosh... yes
checking for crypt_r... yes
checking for daemon... (cached) no
checking for dirfd... yes
checking for dl_iterate_phdr... yes
checking for dlopen... yes
checking for dladdr... yes
checking for dup... yes
checking for dup3... yes
checking for eaccess... yes
checking for endgrent... yes
checking for fchmod... yes
checking for fchown... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for fdopendir... yes
checking for fgetattrlist... no
checking for fmod... yes
checking for fstatat... yes
checking for fsync... yes
checking for ftruncate... yes
checking for ftruncate64... yes
checking for getattrlist... no
checking for getcwd... yes
checking for getgidx... no
checking for getgrnam... yes
checking for getgrnam_r... yes
checking for getgroups... yes
checking for getpgid... yes
checking for getpgrp... yes
checking for getpriority... yes
checking for getpwnam_r... yes
checking for getresgid... yes
checking for getresuid... yes
checking for getrlimit... yes
checking for getsid... yes
checking for gettimeofday... yes
checking for getuidx... no
checking for gmtime_r... yes
checking for initgroups... yes
checking for ioctl... yes
checking for isfinite... no
checking for issetugid... no
checking for killpg... yes
checking for lchmod... yes
checking for lchown... yes
checking for link... yes
checking for llabs... yes
checking for lockf... yes
checking for log2... yes
checking for lstat... yes
checking for lutimes... yes
checking for malloc_usable_size... yes
checking for malloc_size... no
checking for mblen... yes
checking for memalign... yes
checking for memset_s... no
checking for writev... yes
checking for memrchr... yes
checking for memmem... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for openat... yes
checking for pipe2... yes
checking for poll... yes
checking for posix_fadvise... yes
checking for posix_memalign... yes
checking for ppoll... yes
checking for pread... yes
checking for pwrite... yes
checking for qsort_r... yes
checking for qsort_s... no
checking for readlink... yes
checking for round... yes
checking for sched_getaffinity... yes
checking for seekdir... yes
checking for select_large_fdset... no
checking for sendfile... yes
checking for setegid... yes
checking for setenv... yes
checking for seteuid... yes
checking for setgid... yes
checking for setgroups... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setregid... yes
checking for setresgid... yes
checking for setresuid... yes
checking for setreuid... yes
checking for setrgid... no
checking for setrlimit... yes
checking for setruid... no
checking for setsid... yes
checking for setuid... yes
checking for shutdown... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigprocmask... yes
checking for sinh... yes
checking for spawnv... no
checking for symlink... yes
checking for syscall... yes
checking for sysconf... yes
checking for tanh... yes
checking for telldir... yes
checking for timegm... yes
checking for times... yes
checking for truncate... yes
checking for truncate64... yes
checking for unsetenv... yes
checking for utimensat... yes
checking for utimes... yes
checking for wait4... yes
checking for waitpid... yes
checking if getcwd allocates buffer if NULL is given... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for struct crypt_data.initialized... yes
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_popcount... yes
checking for __builtin_popcountll... yes
checking for __builtin_clz... yes
checking for __builtin_clzl... yes
checking for __builtin_clzll... yes
checking for __builtin_ctz... yes
checking for __builtin_ctzll... yes
checking for __builtin_add_overflow... yes
checking for __builtin_sub_overflow... yes
checking for __builtin_mul_overflow... yes
checking for __builtin_mul_overflow_p... yes
checking for __builtin_constant_p... yes
checking for __builtin_choose_expr... yes
checking for __builtin_choose_expr_constant_p... yes
checking for __builtin_types_compatible_p... yes
checking whether qsort_r is GNU version... yes
checking whether qsort_r is BSD version... no
checking whether atan2 handles Inf as C99... yes
checking for clock_getres... yes
checking for unsetenv returns a value... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for negative time_t for gmtime(3)... yes
checking for localtime(3) overflow correctly... yes
checking for sig_t... yes
checking whether right shift preserve sign bit... yes
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction on aarch64... -1
checking for pthread_kill in -lthr... no
checking for pthread_kill in -lpthread... yes
checking for pthread_np.h... no
checking whether pthread_t is scalar type... yes
checking for sched_yield... yes
checking for pthread_attr_setinheritsched... yes
checking for pthread_attr_get_np... no
checking for pthread_attr_getstack... yes
checking for pthread_attr_init... yes
checking for pthread_get_stackaddr_np... no
checking for pthread_get_stacksize_np... no
checking for thr_stksegment... no
checking for pthread_stackseg_np... no
checking for pthread_getthrds_np... no
checking for pthread_cond_init... yes
checking for pthread_condattr_setclock... yes
checking for pthread_condattr_init... yes
checking for pthread_sigmask... yes
checking for pthread_setname_np... yes
checking for pthread_set_name_np... no
checking for pthread_getattr_np... yes
checking arguments of pthread_setname_np... (pthread_self(), name)
checking if mcontext_t is a pointer... no
checking for getcontext... yes
checking for setcontext... yes
checking if fork works with pthread... yes
checking whether ELF binaries are produced... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking elf_abi.h usability... no
checking elf_abi.h presence... no
checking for elf_abi.h... no
checking whether OS depend dynamic link works... yes
checking for backtrace... yes
checking for broken backtrace... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for strip... strip
checking whether -Wl,--no-undefined is accepted as LDFLAGS... yes
checking whether wrapper for LD_LIBRARY_PATH is needed... no
checking whether dtrace USDT is available... no
checking for __builtin_setjmp... yes with cast ()
checking for _setjmpex as a macro or function... no
checking for _setjmp as a macro or function... yes
checking for sigsetjmp as a macro or function... no
checking for setjmp type... __builtin_setjmp
checking for prefix of external symbols... NONE
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking if make is GNU make... yes
.ext/include/aarch64-linux/ruby/config.h updated
configure: ruby library version = 2.5.0
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.5.pc
---
Configuration summary for ruby version 2.5.9

* Installation prefix: /home/agrevok/.rbenv/versions/2.5.9
* exec prefix: ${prefix}
* arch: aarch64-linux
* site arch: ${arch}
* RUBY_BASE_NAME: ruby
* enable shared: yes
* ruby lib prefix: ${libdir}/${RUBY_BASE_NAME}
* site libraries path: ${rubylibprefix}/${sitearch}
* vendor path: ${rubylibprefix}/vendor_ruby
* target OS: linux
* compiler: gcc
* with pthread: yes
* enable shared libs: yes
* dynamic library ext: so
* CFLAGS: ${optflags} ${debugflags} ${warnflags}
* LDFLAGS: -L. -L/home/agrevok/.rbenv/versions/2.5.9/lib \
-fstack-protector -rdynamic -Wl,-export-dynamic
* optflags: -O3
* debugflags: -ggdb3
* warnflags: -Wall -Wextra -Wno-unused-parameter \
-Wno-parentheses -Wno-long-long \
-Wno-missing-field-initializers \
-Wno-tautological-compare \
-Wno-parentheses-equality \
-Wno-constant-logical-operand -Wno-self-assign \
-Wunused-variable -Wimplicit-int -Wpointer-arith \
-Wwrite-strings -Wdeclaration-after-statement \
-Wimplicit-function-declaration \
-Wdeprecated-declarations \
-Wmisleading-indentation \
-Wno-packed-bitfield-compat \
-Wsuggest-attribute=noreturn \
-Wsuggest-attribute=format \
-Wimplicit-fallthrough=0 -Wduplicated-cond \
-Wrestrict
* strip command: strip -S -x
* install doc: yes
* man page type: doc

---
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -std=gnu99 -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT
CPPFLAGS = -I/home/agrevok/.rbenv/versions/2.5.9/include -I. -I.ext/include/aarch64-linux -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -L/home/agrevok/.rbenv/versions/2.5.9/lib -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.2.5 -fstack-protector
SOLIBS = -lpthread -lgmp -ldl -lcrypt -lm
LANG = C.UTF-8
LC_ALL =
LC_CTYPE =
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
making dummy probes.h
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
compiling complex.c
compiling cont.c
compiling debug.c
compiling debug_counter.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling file.c
compiling gc.c
compiling hash.c
gc.c: In function ‘make_io_zombie’:
gc.c:2162:32: warning: cast between incompatible function types from ‘int (*)(rb_io_t *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2162 | make_zombie(objspace, obj, (void (*)(void*))rb_io_fptr_finalize, fptr);
| ^
gc.c: In function ‘mark_current_machine_context’:
gc.c:4264:36: warning: expression does not compute the number of elements in this array; element type is ‘struct __jmp_buf_tag’, not ‘VALUE’ {aka ‘long unsigned int’} [-Wsizeof-array-div]
4264 | VALUE v[sizeof(rb_jmp_buf) / sizeof(VALUE)];
| ^
gc.c:4264:36: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling inits.c
compiling io.c
compiling iseq.c
compiling load.c
gc.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling proc.c
compiling process.c
compiling random.c
process.c: In function ‘handle_fork_error’:
process.c:3271:24: warning: cast between incompatible function types from ‘void (*)(int)’ to ‘VALUE (*)()’ {aka ‘long unsigned int (*)()’} [-Wcast-function-type]
3271 | rb_protect((VALUE (*)())rb_thread_sleep, 1, &state);
| ^
compiling range.c
compiling rational.c
process.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
signal.c: In function ‘ruby_signal’:
signal.c:599:31: warning: cast between incompatible function types from ‘ruby_sighandler_t’ {aka ‘void (*)(int)’} to ‘void (*)(int, siginfo_t *, void *)’ [-Wcast-function-type]
599 | sigact.sa_sigaction = (ruby_sigaction_t*)handler;
| ^
signal.c:628:19: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
628 | handler = (sighandler_t)old.sa_sigaction;
| ^
signal.c: In function ‘default_handler’:
signal.c:1101:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1101 | func = (sighandler_t)sigbus;
| ^
signal.c:1106:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1106 | func = (sighandler_t)sigsegv;
| ^
signal.c: In function ‘Init_signal’:
signal.c:1522:36: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1522 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break; \
| ^~~~
signal.c:1522:9: note: in expansion of macro ‘install_sighandler’
1522 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^~~~~~~~~~~~~~~~~~
signal.c:1525:36: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1525 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break; \
| ^~~~
signal.c:1525:9: note: in expansion of macro ‘install_sighandler’
1525 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^~~~~~~~~~~~~~~~~~
signal.c:1531:37: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1531 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break; \
| ^~~~
signal.c:1531:9: note: in expansion of macro ‘install_sighandler’
1531 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^~~~~~~~~~~~~~~~~~
signal.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling string.c
strftime.c: In function ‘rb_strftime_with_timespec’:
strftime.c:385:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
385 | if (vtm->wday < 0 || vtm->wday > 6)
| ^
strftime.c:396:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
396 | if (vtm->wday < 0 || vtm->wday > 6)
| ^
compiling struct.c
compiling symbol.c
strftime.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling thread.c
compiling time.c
thread.c: In function ‘rb_set_coverages’:
thread.c:5194:24: warning: cast between incompatible function types from ‘void (*)(VALUE, const rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, const struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5194 | rb_add_event_hook2((rb_event_hook_func_t) update_line_coverage, RUBY_EVENT_COVERAGE_LINE, Qnil, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c:5196:28: warning: cast between incompatible function types from ‘void (*)(VALUE, const rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, const struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5196 | rb_add_event_hook2((rb_event_hook_func_t) update_branch_coverage, RUBY_EVENT_COVERAGE_BRANCH, Qnil, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c:5199:28: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5199 | rb_add_event_hook2((rb_event_hook_func_t) update_method_coverage, RUBY_EVENT_CALL, me2counter, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c: In function ‘rb_reset_coverages’:
thread.c:5221:26: warning: cast between incompatible function types from ‘void (*)(VALUE, const rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, const struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5221 | rb_remove_event_hook((rb_event_hook_func_t) update_line_coverage);
| ^
thread.c:5223:30: warning: cast between incompatible function types from ‘void (*)(VALUE, const rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, const struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5223 | rb_remove_event_hook((rb_event_hook_func_t) update_branch_coverage);
| ^
thread.c:5226:30: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5226 | rb_remove_event_hook((rb_event_hook_func_t) update_method_coverage);
| ^
compiling transcode.c
thread.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling util.c
compiling variable.c
compiling version.c
compiling vm.c
compiling vm_backtrace.c
In file included from vm.c:304:
vm_eval.c: In function ‘rb_eval_string_protect’:
vm_eval.c:1472:23: warning: cast between incompatible function types from ‘VALUE (*)(const char *)’ {aka ‘long unsigned int (*)(const char *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
1472 | return rb_protect((VALUE (*)(VALUE))rb_eval_string, (VALUE)str, pstate);
| ^
vm.c: In function ‘check_machine_stack_size’:
vm.c:2245:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
2245 | if (size < PTHREAD_STACK_MIN) {
| ^
vm.c: In function ‘rb_execution_context_mark’:
vm.c:2366:55: warning: expression does not compute the number of elements in this array; element type is ‘const struct __jmp_buf_tag’, not ‘VALUE’ {aka ‘long unsigned int’} [-Wsizeof-array-div]
2366 | sizeof(ec->machine.regs) / sizeof(VALUE));
| ^
vm.c:2366:55: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling vm_dump.c
compiling vm_trace.c
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
compiling addr2line.c
compiling dmyenc.c
vm_trace.c: In function ‘exec_hooks_body’:
vm_trace.c:268:20: warning: cast between incompatible function types from ‘rb_event_hook_func_t’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} to ‘void (*)(VALUE, const rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, const struct rb_trace_arg_struct *)’} [-Wcast-function-type]
268 | (*((rb_event_hook_raw_arg_func_t)hook->func))(hook->data, trace_arg);
| ^
vm_trace.c: In function ‘rb_tracepoint_enable’:
vm_trace.c:1040:56: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1040 | rb_thread_add_event_hook2(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c:1044:28: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1044 | rb_add_event_hook2((rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c: In function ‘rb_tracepoint_disable’:
vm_trace.c:1059:68: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1059 | rb_thread_remove_event_hook_with_data(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm_trace.c:1062:40: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1062 | rb_remove_event_hook_with_data((rb_event_hook_func_t)tp_call_trace, tpval);
| ^
./revision.h unchanged
compiling dln.c
vm_trace.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling localeinit.c
compiling prelude.c
compiling array.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
enc/unicode.c: In function ‘onigenc_unicode_get_case_fold_codes_by_str’:
enc/unicode.c:557:28: warning: ‘ncs’ may be used uninitialized [-Wmaybe-uninitialized]
557 | for (i = 0; i < ncs[0]; i++) {
| ~~~^~~
enc/unicode.c:519:15: note: ‘ncs’ declared here
519 | int fn, ncs[3];
| ^~~
compiling enc/trans/newline.c
enc/unicode.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
vm.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
linking miniruby
generating encdb.h
encdb.h updated
./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb updated
generating enc.mk
creating verconf.h
verconf.h updated
compiling loadpath.c
making srcs under enc
make[1]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
generating transdb.h
linking static-library libruby-static.a
transdb.h updated
linking shared-library libruby.so.2.5.9
generating makefiles ext/configure-ext.mk
making enc
making trans
make[1]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
compiling ./enc/trans/transdb.c
make[1]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
compiling ./enc/encdb.c
compiling ./enc/trans/big5.c
ext/configure-ext.mk updated
compiling ./enc/big5.c
make[1]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
configuring rubyvm
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
compiling ./enc/trans/chinese.c
compiling ./enc/cp949.c
compiling ./enc/emacs_mule.c
compiling ./enc/euc_jp.c
compiling ./enc/trans/ebcdic.c
compiling ./enc/euc_kr.c
configuring rbconfig/sizeof
compiling ./enc/euc_tw.c
compiling ./enc/trans/emoji.c
compiling ./enc/gb2312.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/gb18030.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/iso_8859_2.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/iso_8859_3.c
compiling ./enc/iso_8859_4.c
compiling ./enc/trans/escape.c
compiling ./enc/iso_8859_5.c
compiling ./enc/trans/gb18030.c
compiling ./enc/iso_8859_6.c
compiling ./enc/trans/gbk.c
compiling ./enc/iso_8859_7.c
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
configuring -test-/hash
configuring -test-/integer
configuring -test-/iseq_load
configuring -test-/iter
compiling ./enc/trans/iso2022.c
configuring -test-/load/dot.dot
compiling ./enc/iso_8859_10.c
configuring -test-/load/protect
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring -test-/marshal/usr
configuring -test-/memory_status
configuring -test-/method
configuring -test-/notimplement
configuring -test-/num2int
configuring -test-/path_to_class
configuring -test-/popen_deadlock
configuring -test-/postponed_job
compiling ./enc/iso_8859_11.c
configuring -test-/printf
configuring -test-/proc
configuring -test-/rational
configuring -test-/recursion
compiling ./enc/trans/japanese.c
configuring -test-/regexp
configuring -test-/scan_args
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
compiling ./enc/trans/japanese_euc.c
compiling ./enc/iso_8859_13.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
configuring -test-/thread_fd_close
configuring -test-/time
configuring -test-/tracepoint
compiling ./enc/trans/japanese_sjis.c
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
configuring pty
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/trans/korean.c
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/trans/single_byte.c
compiling ./enc/utf_32be.c
compiling ./enc/trans/utf8_mac.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_31j.c
compiling ./enc/trans/utf_16_32.c
compiling ./enc/windows_1250.c
linking transcoder transdb.so
linking transcoder big5.so
linking transcoder chinese.so
compiling ./enc/windows_1251.c
linking transcoder ebcdic.so
linking transcoder emoji.so
linking transcoder emoji_iso2022_kddi.so
compiling ./enc/windows_1252.c
linking transcoder emoji_sjis_docomo.so
linking transcoder emoji_sjis_kddi.so
linking transcoder emoji_sjis_softbank.so
linking transcoder escape.so
compiling ./enc/windows_1253.c
linking transcoder gb18030.so
linking transcoder gbk.so
linking transcoder iso2022.so
compiling ./enc/windows_1254.c
linking transcoder japanese.so
linking transcoder japanese_euc.so
configuring fiber
linking transcoder japanese_sjis.so
compiling ./enc/windows_1257.c
configuring zlib
linking transcoder korean.so
linking transcoder single_byte.so
linking transcoder utf8_mac.so
linking encoding encdb.so
linking encoding big5.so
linking transcoder utf_16_32.so
make[1]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
linking encoding cp949.so
configuring gdbm
linking encoding emacs_mule.so
linking encoding euc_jp.so
linking encoding euc_kr.so
linking encoding euc_tw.so
linking encoding gb2312.so
linking encoding gb18030.so
linking encoding gbk.so
configuring continuation
linking encoding iso_8859_1.so
configuring pathname
linking encoding iso_8859_2.so
linking encoding iso_8859_3.so
linking encoding iso_8859_4.so
linking encoding iso_8859_5.so
linking encoding iso_8859_6.so
linking encoding iso_8859_7.so
linking encoding iso_8859_8.so
linking encoding iso_8859_9.so
linking encoding iso_8859_10.so
linking encoding iso_8859_11.so
configuring date
linking encoding iso_8859_13.so
configuring objspace
linking encoding iso_8859_14.so
configuring digest
configuring digest/bubblebabble
configuring digest/md5
linking encoding iso_8859_15.so
linking encoding iso_8859_16.so
linking encoding koi8_r.so
linking encoding koi8_u.so
linking encoding shift_jis.so
linking encoding utf_16be.so
linking encoding utf_16le.so
linking encoding utf_32be.so
linking encoding utf_32le.so
configuring readline
linking encoding windows_31j.so
linking encoding windows_1250.so
linking encoding windows_1251.so
linking encoding windows_1252.so
linking encoding windows_1253.so
configuring sdbm
linking encoding windows_1254.so
linking encoding windows_1257.so
make[1]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
configuring dbm
configuring json
configuring json/generator
configuring json/parser
making encs
make[1]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
make[1]: Nothing to be done for 'encs'.
make[1]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
configuring ripper
configuring etc
configuring digest/rmd160
configuring digest/sha1
configuring coverage
configuring nkf
configuring syslog
configuring digest/sha2
configuring cgi/escape
configuring psych
configuring socket
configuring fiddle
configuring stringio
configuring io/console
configuring io/nonblock
configuring openssl
configuring io/wait
configuring fcntl
configuring strscan
configuring bigdecimal
configuring racc/cparse
make[1]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
generating makefile exts.mk
exts.mk updated
make[1]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/rubyvm'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/array/resize'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bug-3571'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bignum'
compiling resize.c
compiling bug.c
compiling str2big.c
installing default libraries
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/rubyvm'
compiling init.c
linking shared-object -test-/bug_3571.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bug-5832'
compiling bug.c
linking shared-object -test-/array/resize.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bug-3571'
compiling bigzero.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/array/resize'
compiling big2str.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bug_reporter'
compiling bug_reporter.c
linking shared-object -test-/bug_5832.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/class'
compiling class2name.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bug-5832'
compiling init.c
compiling intpack.c
compiling div.c
linking shared-object -test-/class.so
linking shared-object -test-/bug_reporter.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/class'
compiling mul.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bug_reporter'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/debug'
compiling inspector.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/dln/empty'
compiling empty.c
linking shared-object -test-/dln/empty.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/dln/empty'
compiling init.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/exception'
compiling dataerror.c
compiling enc_raise.c
linking shared-object -test-/bignum.so
compiling profile_frames.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/bignum'
compiling init.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/fatal'
compiling rb_fatal.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/file'
compiling fs.c
linking shared-object -test-/fatal/rb_fatal.so
compiling ensured.c
linking shared-object -test-/debug.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/fatal'
compiling stat.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/debug'
compiling init.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/float'
compiling init.c
linking shared-object -test-/exception.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/funcall'
compiling funcall.c
linking shared-object -test-/file.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/exception'
compiling nextafter.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/gvl/call_without_gvl'
compiling call_without_gvl.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/file'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/hash'
compiling init.c
linking shared-object -test-/gvl/call_without_gvl.so
linking shared-object -test-/float.so
compiling delete.c
linking shared-object -test-/funcall.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/gvl/call_without_gvl'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/integer'
compiling init.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/funcall'
compiling core_ext.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/float'
compiling my_integer.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/iseq_load'
compiling iseq_load.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/iter'
compiling break.c
linking shared-object -test-/integer.so
linking shared-object -test-/hash.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/integer'
compiling yield.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/hash'
compiling init.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/load/dot.dot'
compiling dot.dot.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/load/protect'
compiling protect.c
linking shared-object -test-/load/dot.dot.so
linking shared-object -test-/iter.so
linking shared-object -test-/iseq_load.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/iter'
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/load/dot.dot'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/marshal/compat'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/marshal/internal_ivar'
compiling usrcompat.c
compiling internal_ivar.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/iseq_load'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/marshal/usr'
compiling usrmarshal.c
linking shared-object -test-/marshal/internal_ivar.so
linking shared-object -test-/marshal/usr.so
linking shared-object -test-/load/protect.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/marshal/internal_ivar'
linking shared-object -test-/marshal/compat.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/method'
compiling arity.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/marshal/usr'
compiling init.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/load/protect'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/notimplement'
compiling bug.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/marshal/compat'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/num2int'
compiling num2int.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/path_to_class'
compiling path_to_class.c
linking shared-object -test-/notimplement.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/notimplement'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/popen_deadlock'
compiling infinite_loop_dlsym.c
linking shared-object -test-/method.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/method'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/postponed_job'
compiling postponed_job.c
linking shared-object -test-/path_to_class.so
linking shared-object -test-/num2int.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/path_to_class'
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/num2int'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/printf'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/proc'
compiling receiver.c
compiling printf.c
linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
linking shared-object -test-/postponed_job.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/popen_deadlock'
compiling super.c
linking shared-object -test-/printf.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/rational'
compiling rat.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/postponed_job'
compiling init.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/printf'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/recursion'
compiling recursion.c
linking shared-object -test-/recursion.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/regexp'
compiling init.c
linking shared-object -test-/rational.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/recursion'
compiling parse_depth_limit.c
linking shared-object -test-/proc.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/rational'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/scan_args'
compiling scan_args.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/proc'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/st/foreach'
compiling foreach.c
linking shared-object -test-/regexp.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/st/numhash'
compiling numhash.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/regexp'
linking shared-object -test-/st/foreach.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/st/update'
compiling update.c
linking shared-object -test-/scan_args.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/st/foreach'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/string'
compiling fstring.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/scan_args'
compiling new.c
linking shared-object -test-/st/numhash.so
linking shared-object -test-/st/update.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/st/numhash'
compiling capacity.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/struct'
compiling len.c
compiling init.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/st/update'
compiling duplicate.c
compiling nofree.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/symbol'
compiling type.c
compiling member.c
compiling init.c
linking shared-object -test-/struct.so
compiling qsort.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/struct'
compiling enc_associate.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/thread_fd_close'
compiling thread_fd_close.c
linking shared-object -test-/symbol.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/time'
compiling init.c
compiling normalize.c
linking shared-object -test-/thread_fd_close.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/symbol'
compiling new.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/thread_fd_close'
compiling ellipsize.c
compiling modify.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/tracepoint'
compiling gc_hook.c
compiling tracepoint.c
linking shared-object -test-/time.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/time'
compiling enc_str_buf_cat.c
compiling init.c
linking shared-object -test-/tracepoint.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/typeddata'
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/tracepoint'
compiling typeddata.c
compiling set_len.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/vm'
compiling at_exit.c
compiling rb_str_dup.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/wait_for_single_fd'
compiling wait_for_single_fd.c
linking shared-object -test-/vm/at_exit.so
linking shared-object -test-/typeddata.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/vm'
compiling cstr.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/typeddata'
compiling coderange.c
linking shared-object -test-/wait_for_single_fd.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/rbconfig/sizeof'
compiling sizes.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/wait_for_single_fd'
compiling limits.c
linking shared-object -test-/string.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/pty'
compiling pty.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/-test-/string'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/fiber'
compiling fiber.c
linking shared-object fiber.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/fiber'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/zlib'
compiling zlib.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/continuation'
compiling continuation.c
linking shared-object rbconfig/sizeof.so
linking shared-object pty.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/rbconfig/sizeof'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/pathname'
compiling pathname.c
linking shared-object continuation.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/pty'
installing default pathname libraries
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/date'
compiling date_core.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/continuation'
zlib.c: In function ‘zstream_expand_buffer_protect’:
zlib.c:679:16: warning: cast between incompatible function types from ‘void (*)(struct zstream *)’ to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
679 | rb_protect((VALUE (*)(VALUE))zstream_expand_buffer, (VALUE)z, &state);
| ^
compiling date_parse.c
zlib.c: In function ‘zlib_gzip_ensure’:
zlib.c:4257:15: warning: cast between incompatible function types from ‘void (*)(struct gzfile *)’ to ‘VALUE (*)()’ {aka ‘long unsigned int (*)()’} [-Wcast-function-type]
4257 | rb_rescue((VALUE(*)())gz->end, arg, NULL, Qnil);
| ^
linking shared-object pathname.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/pathname'
compiling date_strftime.c
zlib.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
linking shared-object zlib.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/zlib'
compiling date_strptime.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/objspace'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest'
compiling object_tracing.c
compiling digest.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/bubblebabble'
compiling bubblebabble.c
installing default digest libraries
linking shared-object digest.so
compiling objspace.c
installing digest libraries
linking shared-object digest/bubblebabble.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest'
compiling objspace_dump.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/bubblebabble'
installing default date_core libraries
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/md5'
compiling md5init.c
compiling md5.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/rmd160'
compiling rmd160init.c
linking shared-object objspace.so
linking shared-object date_core.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/objspace'
compiling rmd160.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/date'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/sha1'
compiling sha1init.c
compiling sha1.c
linking shared-object digest/md5.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/md5'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/sha2'
compiling sha2init.c
compiling sha2.c
linking shared-object digest/sha1.so
linking shared-object digest/rmd160.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/sha1'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/readline'
compiling readline.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/rmd160'
installing default sha2 libraries
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/sdbm'
compiling _sdbm.c
compiling init.c
In file included from sha2.c:40:
sha2.c:578:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
578 | int SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
| ^
sha2.h:170:18: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’}
170 | int SHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
| ^
sha2.c:643:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
643 | char *SHA256_End(SHA256_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:171:31: note: previously declared as ‘char[65]’
171 | char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:946:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
946 | int SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
| ^
sha2.h:182:18: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
182 | int SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
| ^
sha2.c:976:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
976 | char *SHA512_End(SHA512_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:183:31: note: previously declared as ‘char[129]’
183 | char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1022:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
1022 | int SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
| ^
sha2.h:176:18: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’}
176 | int SHA384_Final(uint8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
| ^
sha2.c:1052:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
1052 | char *SHA384_End(SHA384_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:177:31: note: previously declared as ‘char[97]’
177 | char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
linking shared-object digest/sha2.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/digest/sha2'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/json'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/json/generator'
compiling generator.c
linking shared-object sdbm.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/sdbm'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/json/parser'
compiling parser.c
linking shared-object readline.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/json'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/ripper'
compiling ripper.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/readline'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/etc'
generating constant definitions
compiling etc.c
parser.rl: In function ‘unescape_unicode’:
parser.rl:50:11: warning: comparison is always false due to limited range of data type [-Wtype-limits]
50 | if (b < 0) return UNI_REPLACEMENT_CHAR;
| ^
parser.rl:53:11: warning: comparison is always false due to limited range of data type [-Wtype-limits]
53 | if (b < 0) return UNI_REPLACEMENT_CHAR;
| ^
parser.rl:56:11: warning: comparison is always false due to limited range of data type [-Wtype-limits]
56 | if (b < 0) return UNI_REPLACEMENT_CHAR;
| ^
parser.rl:59:11: warning: comparison is always false due to limited range of data type [-Wtype-limits]
59 | if (b < 0) return UNI_REPLACEMENT_CHAR;
| ^
parser.c: In function ‘JSON_parse_string’:
parser.c:1548:16: warning: comparison is always true due to limited range of data type [-Wtype-limits]
1548 | if ( 0 <= (*p) && (*p) <= 31 )
| ^~
parser.c:1578:16: warning: comparison is always true due to limited range of data type [-Wtype-limits]
1578 | if ( 0 <= (*p) && (*p) <= 31 )
| ^~
parser.rl: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
linking shared-object json/ext/generator.so
linking shared-object etc.so
linking shared-object json/ext/parser.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/json/generator'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/coverage'
compiling coverage.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/etc'
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/json/parser'
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/nkf'
compiling nkf.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/syslog'
compiling syslog.c
linking shared-object syslog.so
linking shared-object coverage.so
installing default syslog libraries
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/syslog'
installing default ripper libraries
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/cgi/escape'
compiling escape.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/coverage'
installing default nkf libraries
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/psych'
compiling psych_yaml_tree.c
linking shared-object cgi/escape.so
compiling psych_parser.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/cgi/escape'
compiling psych_emitter.c
linking shared-object nkf.so
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/socket'
compiling init.c
compiling psych_to_ruby.c
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/nkf'
compiling constants.c
compiling psych.c
In file included from constants.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from constants.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from init.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from init.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
compiling ../.././ext/psych/yaml/writer.c
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling ../.././ext/psych/yaml/reader.c
compiling basicsocket.c
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling ../.././ext/psych/yaml/scanner.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/fiddle'
compiling closure.c
In file included from basicsocket.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from basicsocket.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
closure.c: In function ‘initialize’:
closure.c:264:5: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations]
264 | result = ffi_prep_closure(pcl, cif, callback, (void *)self);
| ^~~~~~
In file included from ./fiddle.h:42,
from closure.c:1:
/usr/include/aarch64-linux-gnu/ffi.h:347:1: note: declared here
347 | ffi_prep_closure (ffi_closure*,
| ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling socket.c
closure.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling conversions.c
linking shared-object ripper.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/ripper'
compiling fiddle.c
compiling function.c
In file included from socket.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from socket.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
compiling ../.././ext/psych/yaml/parser.c
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling ../.././ext/psych/yaml/loader.c
compiling ipsocket.c
compiling handle.c
compiling pointer.c
compiling ../.././ext/psych/yaml/emitter.c
compiling ../.././ext/psych/yaml/api.c
In file included from ipsocket.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from ipsocket.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
../.././ext/psych/yaml/api.c: In function ‘yaml_document_delete’:
../.././ext/psych/yaml/api.c:1121:7: warning: variable ‘context’ set but not used [-Wunused-but-set-variable]
1121 | } context;
| ^~~~~~~
compiling tcpsocket.c
../.././ext/psych/yaml/api.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling tcpserver.c
linking shared-object fiddle.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/fiddle'
compiling sockssocket.c
In file included from tcpsocket.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from tcpsocket.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling ../.././ext/psych/yaml/dumper.c
compiling udpsocket.c
In file included from tcpserver.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from tcpserver.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/stringio'
compiling stringio.c
In file included from sockssocket.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from sockssocket.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/io/console'
compiling console.c
In file included from udpsocket.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from udpsocket.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling unixsocket.c
linking shared-object psych.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/psych'
compiling unixserver.c
linking shared-object io/console.so
linking shared-object stringio.so
In file included from unixsocket.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from unixsocket.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
installing default console libraries
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/io/console'
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/stringio'
compiling option.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/io/nonblock'
compiling nonblock.c
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/io/wait'
compiling wait.c
In file included from unixserver.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from unixserver.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
make[2]: Entering directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/openssl'
compiling openssl_missing.c
linking shared-object io/wait.so
linking shared-object io/nonblock.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/io/nonblock'
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/io/wait'
compiling ossl.c
compiling ancdata.c
In file included from option.c:1:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from option.c:1:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
compiling raddrinfo.c
In file included from ancdata.c:1:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from ancdata.c:1:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
ossl.c: In function ‘ossl_protect_x509_ary2sk’:
ossl.c:47:13: warning: cast between incompatible function types from ‘struct stack_st_X509 * (*)(VALUE)’ {aka ‘struct stack_st_X509 * (*)(long unsigned int)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
47 | (VALUE (*)(VALUE))ossl_##name##_ary2sk0, \
| ^
ossl.c:63:1: note: in expansion of macro ‘OSSL_IMPL_ARY2SK’
63 | OSSL_IMPL_ARY2SK(x509, X509, cX509Cert, DupX509CertPtr)
| ^~~~~~~~~~~~~~~~
ossl.c: In function ‘ossl_clear_error’:
ossl.c:311:9: error: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
311 | while ((e = ERR_get_error_line_data(&file, &line, &data, &flags))) {
| ^~~~~
In file included from ossl.h:21,
from ossl.c:10:
/usr/include/openssl/err.h:413:15: note: declared here
413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
ossl.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: some warnings being treated as errors
make[2]: *** [Makefile:310: ossl.o] Error 1
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/openssl'
make[1]: *** [exts.mk:256: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling ifaddr.c
installing default socket libraries
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
In file included from raddrinfo.c:11:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from raddrinfo.c:11:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from ifaddr.c:1:
rubysocket.h:112:36: warning: argument 2 of type ‘char *’ declared as a pointer [-Warray-parameter=]
112 | char *if_indextoname(unsigned int, char *);
| ^~~~~~
In file included from rubysocket.h:91,
from ifaddr.c:1:
/usr/include/net/if.h:195:35: note: previously declared as an array ‘char[16]’
195 | char __ifname[IF_NAMESIZE]) __THROW
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
linking shared-object socket.so
make[2]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9/ext/socket'
make[1]: Leaving directory '/tmp/ruby-build.20220607213721.9846.fZCTZz/ruby-2.5.9'
make: *** [uncommon.mk:240: build-ext] Error 2
(2-2/4)