$ docker build -t ruby-arch . --platform=linux/amd64 [+] Building 362.6s (9/9) FINISHED docker:desktop-linux => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 332B 0.0s => [internal] load metadata for docker.io/library/archlinux:latest 0.3s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [1/6] FROM docker.io/library/archlinux:latest@sha256:8fe9851fcd8bd23ea0e6bfa99483d8778e40b45e0fd7bb8188c94cbdd8c25a38 0.0s => => resolve docker.io/library/archlinux:latest@sha256:8fe9851fcd8bd23ea0e6bfa99483d8778e40b45e0fd7bb8188c94cbdd8c25a38 0.0s => CACHED [2/6] RUN pacman -Syu --noconfirm 0.0s => [3/6] RUN pacman -S --noconfirm curl base-devel libffi zlib openssl readline libyaml 24.4s => [4/6] RUN curl -O https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.6.tar.gz 1.2s => [5/6] RUN tar -xvzf ruby-3.4.6.tar.gz 1.1s => ERROR [6/6] RUN cd ruby-3.4.6 && ./configure && make -j && make install 335.5s ------ > [6/6] RUN cd ruby-3.4.6 && ./configure && make -j && make install: 0.765 checking for ruby... false 0.888 checking build system type... x86_64-pc-linux-gnu 1.452 checking host system type... x86_64-pc-linux-gnu 1.452 checking target system type... x86_64-pc-linux-gnu 1.475 checking for gcc... gcc 1.497 checking for ld... ld 1.518 checking for gcc-ar... gcc-ar 1.540 checking for g++... g++ 1.561 checking for gcc-nm... gcc-nm 1.583 checking for gcc-ranlib... gcc-ranlib 1.583 checking for gcc... (cached) gcc 1.886 checking whether the C compiler works... yes 2.223 checking for C compiler default output file name... a.out 2.236 checking for suffix of executables... 2.573 checking whether we are cross compiling... no 2.951 checking for suffix of object files... o 3.232 checking whether the compiler supports GNU C... yes 3.493 checking whether gcc accepts -g... yes 3.765 checking for gcc option to enable C11 features... none needed 4.867 checking whether the compiler supports GNU C++... yes 5.179 checking whether g++ accepts -g... yes 5.478 checking for g++ option to enable C++11 features... none needed 6.376 checking how to run the C preprocessor... gcc -E 6.977 checking for gas... no 6.977 checking for as... as 6.977 checking for gobjcopy... no 6.977 checking for objcopy... objcopy 6.977 checking for gobjdump... no 6.977 checking for objdump... objdump 6.978 checking for gstrip... no 6.978 checking for strip... strip 7.034 checking for stdio.h... yes 7.240 checking for stdlib.h... yes 7.447 checking for string.h... yes 7.655 checking for inttypes.h... yes 7.866 checking for stdint.h... yes 8.078 checking for strings.h... yes 8.289 checking for sys/stat.h... yes 8.497 checking for sys/types.h... yes 8.709 checking for unistd.h... yes 8.920 checking for wchar.h... yes 9.133 checking for minix/config.h... no 9.383 checking for vfork.h... no 9.632 checking whether it is safe to define __EXTENSIONS__... yes 9.923 checking whether _XOPEN_SOURCE should be defined... no 10.50 checking whether the linker is GNU ld... yes 10.54 checking whether gcc -E accepts -o... yes 10.74 checking for gcc-ar flags... rcD 10.78 checking whether ln -s works... yes 10.78 checking whether make sets $(MAKE)... yes 10.87 checking for a BSD-compatible install... /usr/bin/install -c 10.96 checking for a race-free mkdir -p... /usr/sbin/mkdir -p 10.98 checking for dtrace... no 10.98 checking for dot... no 10.98 checking for doxygen... no 10.98 checking for pkg-config... pkg-config 10.99 checking whether it is Android... no 11.26 checking for cd using physical directory... cd -P 11.35 checking whether CFLAGS is valid... yes 11.62 checking whether LDFLAGS is valid... yes 12.01 checking whether ELF binaries are produced... yes 12.40 checking whether -Wl,-rpath,. is accepted as LDFLAGS... yes 12.75 checking whether -fdeclspec is accepted as LDFLAGS... no 12.89 checking whether -fdeclspec is accepted as CXXFLAGS... no 13.06 checking whether -Wextra-tokens is accepted as CFLAGS... no 13.21 checking whether -Wdeprecated-declarations is accepted as CFLAGS... yes 13.50 checking whether -Wdivision-by-zero is accepted as CFLAGS... no 13.66 checking whether -Wdiv-by-zero is accepted as CFLAGS... yes 13.94 checking whether -Wduplicated-cond is accepted as CFLAGS... yes 14.23 checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes 14.51 checking whether -Wimplicit-int is accepted as CFLAGS... yes 14.80 checking whether -Wpointer-arith is accepted as CFLAGS... yes 15.08 checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no 15.25 checking whether -Wwrite-strings is accepted as CFLAGS... yes 15.53 checking whether -Wold-style-definition is accepted as CFLAGS... yes 15.82 checking whether -Wimplicit-fallthrough=0 is accepted as CFLAGS... yes 16.11 checking whether -Wmissing-noreturn is accepted as CFLAGS... yes 16.40 checking whether -Wno-cast-function-type is accepted as CFLAGS... yes 16.68 checking whether -Wno-constant-logical-operand is accepted as CFLAGS... yes 16.96 checking whether -Wno-long-long is accepted as CFLAGS... yes 17.25 checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes 17.54 checking whether -Wno-overlength-strings is accepted as CFLAGS... yes 17.82 checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... yes 18.11 checking whether -Wno-parentheses-equality is accepted as CFLAGS... yes 18.40 checking whether -Wno-self-assign is accepted as CFLAGS... yes 18.68 checking whether -Wno-tautological-compare is accepted as CFLAGS... yes 18.97 checking whether -Wno-unused-parameter is accepted as CFLAGS... yes 19.26 checking whether -Wno-unused-value is accepted as CFLAGS... yes 19.54 checking whether -Wsuggest-attribute=format is accepted as CFLAGS... yes 19.83 checking whether -Wsuggest-attribute=noreturn is accepted as CFLAGS... yes 20.12 checking whether -Wunused-variable is accepted as CFLAGS... yes 20.40 checking whether -diag-disable=175,188,1684,2259,2312 is accepted as CFLAGS... no 20.76 checking whether -Wmisleading-indentation is accepted as CFLAGS... yes 21.03 checking whether -Wundef is accepted as CFLAGS... yes 21.29 checking whether -Wall -Wextra is accepted as CFLAGS... yes 21.55 checking whether -Qunused-arguments is accepted as CFLAGS... no 21.91 checking whether -O3 -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes 22.30 checking whether -fstack-protector-strong is accepted as CFLAGS... yes 22.57 checking whether -fstack-protector-strong is accepted as LDFLAGS... yes 22.93 checking for -fstack-protector... -fstack-protector-strong 22.93 checking whether -Wl,--compress-debug-sections=zlib is accepted as LDFLAGS... yes 23.28 checking whether -fno-strict-overflow is accepted as CFLAGS... yes 23.55 checking whether -ggdb3 is accepted as LDFLAGS... yes 23.92 checking whether -fvisibility=hidden is accepted as CFLAGS... yes 24.19 checking whether -fno-fast-math is accepted as CFLAGS... yes 24.46 checking whether -fexcess-precision=standard is accepted as CFLAGS... yes 24.72 checking whether -fp-model precise is accepted as CFLAGS... no 24.85 checking whether compiler has statement and declarations in expressions... yes 25.23 checking for pthread.h... yes 25.53 checking for pthread_create in -lthr... no 26.10 checking for pthread_create in -lpthread... yes 26.61 checking for pthread_np.h... no 26.85 checking thread model... pthread 26.85 checking whether CXXFLAGS is valid... yes 27.17 checking for crypt in -lcrypt... yes 27.68 checking for dlopen in -ldl... yes 28.19 checking for shutdown in -lsocket... no 28.76 checking for dirent.h that defines DIR... yes 29.19 checking for library containing opendir... none required 29.72 checking for _Bool... yes 30.46 checking for stdbool.h that conforms to C99... no 30.72 checking for sys/wait.h that is POSIX.1 compatible... yes 31.24 checking for afunix.h... no 31.44 checking for atomic.h... no 31.73 checking for copyfile.h... no 32.01 checking for direct.h... no 32.30 checking for grp.h... yes 32.58 checking for fcntl.h... yes 32.85 checking for float.h... yes 33.12 checking for ieeefp.h... no 33.41 checking for intrinsics.h... no 33.70 checking for langinfo.h... yes 33.97 checking for limits.h... yes 34.25 checking for locale.h... yes 34.52 checking for malloc.h... yes 34.80 checking for malloc/malloc.h... no 35.08 checking for malloc_np.h... no 35.37 checking for net/socket.h... no 35.65 checking for process.h... no 35.94 checking for pwd.h... yes 36.21 checking for sanitizer/asan_interface.h... yes 36.48 checking for sanitizer/msan_interface.h... no 36.77 checking for setjmpex.h... no 37.05 checking for stdalign.h... yes 37.33 checking for stdio.h... (cached) yes 37.33 checking for sys/attr.h... no 37.61 checking for sys/eventfd.h... yes 37.89 checking for sys/fcntl.h... yes 38.16 checking for sys/file.h... yes 38.44 checking for sys/id.h... no 38.72 checking for sys/ioctl.h... yes 39.00 checking for sys/mkdev.h... no 39.29 checking for sys/param.h... yes 39.57 checking for sys/prctl.h... yes 39.84 checking for sys/random.h... yes 40.11 checking for sys/resource.h... yes 40.38 checking for sys/select.h... yes 40.65 checking for sys/sendfile.h... yes 40.92 checking for sys/socket.h... yes 41.21 checking for sys/syscall.h... yes 41.48 checking for sys/sysmacros.h... yes 41.76 checking for sys/time.h... yes 42.04 checking for sys/times.h... yes 42.31 checking for sys/uio.h... yes 42.58 checking for sys/utime.h... no 42.87 checking for syscall.h... yes 43.15 checking for time.h... yes 43.42 checking for ucontext.h... yes 43.69 checking for utime.h... yes 43.96 checking for sys/epoll.h... yes 44.24 checking for sys/event.h... no 44.53 checking for stdckdint.h... yes 44.80 checking for stdatomic.h... yes 45.08 checking for x86intrin.h... yes 45.86 checking for x86intrin.h when defined(__x86_64__)... yes 46.82 checking for gmp.h... yes 47.19 checking for library containing __gmpz_init... -lgmp 48.33 checking for special C compiler options needed for large files... no 48.33 checking for _FILE_OFFSET_BITS value needed for large files... no 48.79 checking whether byte ordering is bigendian... no 49.73 checking for an ANSI C-conforming const... yes 50.17 checking whether char is unsigned... no 50.62 checking for inline... inline 50.82 checking for working volatile... yes 51.29 checking for typeof syntax and keyword spelling... typeof 51.68 checking for C/C++ restrict keyword... __restrict__ 52.16 checking for long long... yes 52.94 checking for off_t... yes 53.76 checking char bit... 8 54.44 checking size of int... 4 55.13 checking size of short... 2 55.82 checking size of long... 8 56.51 checking size of long long... 8 57.23 checking size of __int64... 0 57.50 checking size of __int128... 16 58.22 checking size of off_t... 8 58.93 checking size of void*... 8 59.65 checking size of float... 4 60.41 checking size of double... 8 61.10 checking size of time_t... 8 61.84 checking size of clock_t... 8 62.54 checking word size... 8 63.16 checking packed struct attribute... x __attribute__((packed)) 63.92 checking whether -Wno-address-of-packed-member is accepted as CFLAGS... yes 64.31 checking for printf prefix for long long... ll 64.77 checking for pid_t... yes 65.52 checking for convertible type of pid_t... INT 67.18 checking for uid_t... yes 67.91 checking for convertible type of uid_t... UINT 69.80 checking for gid_t... yes 70.56 checking for convertible type of gid_t... UINT 72.40 checking for time_t... yes 73.05 checking for convertible type of time_t... LONG 74.24 checking for dev_t... yes 75.02 checking for convertible type of dev_t... ULONG 76.63 checking for mode_t... yes 77.30 checking for convertible type of mode_t... UINT 78.92 checking for rlim_t... yes 79.58 checking for convertible type of rlim_t... ULONG 80.94 checking for off_t... (cached) yes 80.94 checking for convertible type of off_t... LONG 82.34 checking for clockid_t... yes 83.02 checking for convertible type of clockid_t... INT 84.54 checking for variable length macro... yes 84.96 checking if _Alignof() works... yes 85.37 checking for CONSTFUNC function attribute... __attribute__ ((__const__)) x 85.73 checking for PUREFUNC function attribute... __attribute__ ((__pure__)) x 86.10 checking for NORETURN function attribute... __attribute__ ((__noreturn__)) x 86.47 checking for DEPRECATED function attribute... __attribute__ ((__deprecated__)) x 86.84 checking for DEPRECATED_BY function attribute... __attribute__ ((__deprecated__("by "#n))) x 87.21 checking for NOINLINE function attribute... __attribute__ ((__noinline__)) x 87.59 checking for ALWAYS_INLINE function attribute... __attribute__ ((__always_inline__)) x 87.96 checking for NO_SANITIZE function attribute... __attribute__ ((__no_sanitize__(san))) x 88.35 checking for NO_SANITIZE_ADDRESS function attribute... __attribute__ ((__no_sanitize_address__)) x 88.71 checking for NO_ADDRESS_SAFETY_ANALYSIS function attribute... __attribute__ ((__no_address_safety_analysis__)) x 89.13 checking for WARN_UNUSED_RESULT function attribute... __attribute__ ((__warn_unused_result__)) x 89.50 checking for MAYBE_UNUSED function attribute... __attribute__ ((__unused__)) x 89.86 checking for ERRORFUNC function attribute... __attribute__ ((__error__ mesg)) x 90.23 checking for WARNINGFUNC function attribute... __attribute__ ((__warning__ mesg)) x 90.61 checking for WEAK function attribute... __attribute__ ((__weak__)) x 90.97 checking for __attribute__((__deprecated__(msg))) in C++... yes 91.26 checking for std::nullptr_t... yes 91.59 checking for FUNC_STDCALL function attribute... x 93.07 checking for FUNC_CDECL function attribute... x 94.55 checking for FUNC_FASTCALL function attribute... x 96.02 checking for FUNC_UNOPTIMIZED function attribute... __attribute__ ((__optimize__("O0"))) x 96.38 checking for FUNC_MINIMIZED function attribute... __attribute__ ((__optimize__("-Os","-fomit-frame-pointer"))) x 96.75 checking for function alias... alias 97.21 checking for __atomic builtins... yes 97.72 checking for __sync builtins... yes 98.23 checking for __builtin_unreachable... yes 98.74 checking for __assume... no 98.99 checking for exported function attribute... __attribute__ ((__visibility__("default"))) 99.58 checking for RUBY_FUNC_NONNULL function attribute... __attribute__ ((__nonnull__(n))) x 99.94 checking for function name string predefined identifier... __func__ 100.5 checking if enum over int is allowed... yes 100.9 checking for gcc options needed to detect all undeclared functions... none needed 101.5 checking whether sys_nerr is declared... no 101.9 checking whether getenv is declared... yes 102.3 checking for size_t... yes 103.5 checking size of size_t... 8 104.2 checking size of ptrdiff_t... 8 104.8 checking size of dev_t... 8 105.5 checking for printf prefix for size_t... z 106.0 checking for printf prefix for ptrdiff_t... t 106.4 checking for struct stat.st_blksize... yes 106.9 checking for struct stat.st_blocks... yes 107.4 checking for struct stat.st_rdev... yes 107.8 checking size of struct stat.st_size... SIZEOF_OFF_T 108.3 checking size of struct stat.st_blocks... SIZEOF_OFF_T 108.7 checking size of struct stat.st_ino... SIZEOF_LONG 109.1 checking size of struct stat.st_dev... SIZEOF_DEV_T 109.5 checking size of struct stat.st_rdev... SIZEOF_DEV_T 109.9 checking for struct stat.st_atim... yes 110.7 checking for struct stat.st_atimespec... no 111.3 checking for struct stat.st_atimensec... no 111.9 checking for struct stat.st_mtim... yes 112.6 checking for struct stat.st_mtimespec... no 113.2 checking for struct stat.st_mtimensec... no 113.8 checking for struct stat.st_ctim... yes 114.5 checking for struct stat.st_ctimespec... no 115.1 checking for struct stat.st_ctimensec... no 115.7 checking for struct stat.st_birthtimespec... no 116.3 checking for struct statx.stx_btime... yes 117.1 checking for struct timeval... yes 117.7 checking size of struct timeval.tv_sec... SIZEOF_TIME_T 118.1 checking for struct timespec... yes 118.8 checking for struct timezone... yes 119.4 checking for fd_mask... yes 120.2 checking for int8_t... yes 120.6 checking size of int8_t... 1 121.3 checking for uint8_t... yes 121.8 checking size of uint8_t... 1 122.4 checking for int16_t... yes 122.9 checking size of int16_t... 2 123.6 checking for uint16_t... yes 124.0 checking size of uint16_t... 2 124.7 checking for int32_t... yes 125.1 checking size of int32_t... 4 125.8 checking for uint32_t... yes 126.3 checking size of uint32_t... 4 127.0 checking for int64_t... yes 127.4 checking size of int64_t... 8 128.1 checking for uint64_t... yes 128.5 checking size of uint64_t... 8 129.2 checking for int128_t... __int128 129.5 checking for uint128_t... unsigned __int128 129.9 checking for intptr_t... yes 130.3 checking size of intptr_t... 8 131.0 checking for uintptr_t... yes 131.5 checking size of uintptr_t... 8 132.1 checking for printf prefix for intptr_t... NONE 133.3 checking for ssize_t... yes 133.7 checking size of ssize_t... 8 134.4 checking for printf prefix for int64_t... NONE 135.2 checking for stack end address... __libc_stack_end 135.7 checking for grep that handles long lines and -e... /usr/sbin/grep 135.7 checking for egrep... /usr/sbin/grep -E 135.8 checking for uid_t in sys/types.h... (cached) yes 135.8 checking type of array argument to getgroups... gid_t 136.5 checking for working alloca.h... yes 137.0 checking for alloca... yes 137.0 checking for dynamic size alloca... ok 137.5 checking for working memcmp... yes 138.3 checking for dup... yes 138.8 checking for dup2... yes 139.3 checking for acosh... yes 139.9 checking for cbrt... yes 140.5 checking for crypt... yes 141.0 checking for erf... yes 141.6 checking for explicit_bzero... yes 142.1 checking for ffs... yes 142.7 checking for flock... yes 143.2 checking for hypot... yes 143.8 checking for lgamma_r... yes 144.3 checking for memmove... yes 144.9 checking for nan... yes 145.5 checking for nextafter... yes 146.1 checking for setproctitle... no 146.7 checking for strchr... yes 147.2 checking for strerror... yes 147.7 checking for strlcat... yes 148.3 checking for strlcpy... yes 148.8 checking for strstr... yes 149.4 checking for tgamma... yes 150.0 checking for sys/pstat.h... no 150.2 checking for pid_t... (cached) yes 150.2 checking for fork... yes 150.8 checking for vfork... yes 151.3 checking for working fork... yes 151.9 checking for working vfork... (cached) yes 151.9 checking for __syscall... no 152.5 checking for _longjmp... yes 153.0 checking for arc4random_buf... yes 153.6 checking for atan2l... yes 154.1 checking for atan2f... yes 154.7 checking whether atomic_signal_fence is declared... yes 155.1 checking for chmod... yes 155.7 checking for chown... yes 156.2 checking for chroot... yes 156.7 checking for chsize... no 157.3 checking for clock_gettime... yes 157.8 checking for copy_file_range... yes 158.4 checking for cosh... yes 159.0 checking for crypt_r... yes 159.5 checking for daemon... (cached) no 159.5 checking for dirfd... yes 160.0 checking for dl_iterate_phdr... yes 160.6 checking for dlopen... yes 161.1 checking for dladdr... yes 161.6 checking for dup3... yes 162.2 checking for eaccess... yes 162.7 checking for endgrent... yes 163.2 checking for eventfd... yes 163.7 checking for execl... yes 164.3 checking for execle... yes 164.9 checking for execv... yes 165.5 checking for execve... yes 166.1 checking for explicit_memset... no 166.7 checking for fcopyfile... no 167.3 checking for fchdir... yes 167.8 checking for fchmod... yes 168.3 checking for fchown... yes 168.8 checking for fcntl... yes 169.4 checking for fdatasync... yes 169.9 checking for fdopendir... yes 170.4 checking for fgetattrlist... no 171.0 checking for fmod... yes 171.6 checking for fstatat... yes 172.1 checking for fsync... yes 172.6 checking for ftruncate... yes 173.2 checking for ftruncate64... yes 173.7 checking for getattrlist... no 174.3 checking for getcwd... yes 174.8 checking for getegid... yes 175.3 checking for getentropy... yes 175.9 checking for geteuid... yes 176.4 checking for getgid... yes 176.9 checking for getgidx... no 177.5 checking for getgrnam... yes 178.0 checking for getgrnam_r... yes 178.5 checking for getgroups... yes 179.1 checking for getlogin... yes 179.6 checking for getlogin_r... yes 180.1 checking for getpgid... yes 180.6 checking for getpgrp... yes 181.2 checking for getppid... yes 181.7 checking for getpriority... yes 182.2 checking for getpwnam... yes 182.7 checking for getpwnam_r... yes 183.2 checking for getpwuid... yes 183.8 checking for getpwuid_r... yes 184.3 checking for getrandom... yes 184.8 checking for getresgid... yes 185.3 checking for getresuid... yes 185.9 checking for getrlimit... yes 186.4 checking for getsid... yes 186.9 checking for gettimeofday... yes 187.4 checking for getuid... yes 187.9 checking for getuidx... no 188.5 checking for gmtime_r... yes 189.1 checking for initgroups... yes 189.6 checking for ioctl... yes 190.1 checking for isfinite... no 190.7 checking for issetugid... no 191.3 checking for kill... yes 191.8 checking for killpg... yes 192.3 checking for lchmod... yes 192.9 checking for lchown... yes 193.4 checking for link... yes 193.9 checking for llabs... yes 194.5 checking for lockf... yes 195.0 checking for log2... yes 195.6 checking for lstat... yes 196.1 checking for lutimes... yes 196.6 checking for malloc_usable_size... yes 197.2 checking for malloc_size... no 197.8 checking for malloc_trim... yes 198.3 checking for mblen... yes 198.8 checking for memalign... yes 199.3 checking for memset_s... no 199.9 checking for writev... yes 200.4 checking for memrchr... yes 201.0 checking for memmem... yes 201.5 checking for mkfifo... yes 202.0 checking for mknod... yes 202.5 checking for mktime... yes 203.1 checking for mmap... yes 203.6 checking for mremap... yes 204.1 checking for openat... yes 204.6 checking for pclose... yes 205.1 checking for pipe... yes 205.7 checking for pipe2... yes 206.2 checking for poll... yes 206.7 checking for popen... yes 207.2 checking for posix_fadvise... yes 207.8 checking for posix_madvise... yes 208.3 checking for posix_memalign... yes 208.9 checking for ppoll... yes 209.4 checking for pread... yes 209.9 checking for pwrite... yes 210.4 checking for qsort_r... yes 211.0 checking for qsort_s... no 211.5 checking for readlink... yes 212.1 checking for realpath... yes 212.6 checking for round... yes 213.2 checking for sched_getaffinity... yes 213.7 checking for seekdir... yes 214.2 checking for select_large_fdset... no 214.8 checking for sendfile... yes 215.3 checking for setegid... yes 215.8 checking for setenv... yes 216.4 checking for seteuid... yes 216.9 checking for setgid... yes 217.4 checking for setgroups... yes 217.9 checking for setpgid... yes 218.5 checking for setpgrp... yes 219.0 checking for setregid... yes 219.5 checking for setresgid... yes 220.0 checking for setresuid... yes 220.6 checking for setreuid... yes 221.1 checking for setrgid... no 221.7 checking for setrlimit... yes 222.2 checking for setruid... no 222.8 checking for setsid... yes 223.3 checking for setuid... yes 223.8 checking for shutdown... yes 224.3 checking for sigaction... yes 224.9 checking for sigaltstack... yes 225.4 checking for sigprocmask... yes 225.9 checking for sinh... yes 226.5 checking for snprintf... yes 227.1 checking for spawnv... no 227.7 checking for symlink... yes 228.2 checking for syscall... yes 228.7 checking for sysconf... yes 229.2 checking for system... yes 229.8 checking for tanh... yes 230.3 checking for telldir... yes 230.9 checking for timegm... yes 231.4 checking for times... yes 231.9 checking for truncate... yes 232.4 checking for truncate64... yes 233.0 checking for tzset... yes 233.5 checking for umask... yes 234.0 checking for unsetenv... yes 234.5 checking for utimensat... yes 235.1 checking for utimes... yes 235.6 checking for wait4... yes 236.1 checking for waitpid... yes 236.6 checking for __cospi... no 237.2 checking for __sinpi... no 237.8 checking for statx... yes 238.3 checking if getcwd allocates buffer if NULL is given... yes 239.0 checking for crypt.h... yes 239.3 checking for struct crypt_data.initialized... yes 239.7 checking for __builtin_alloca_with_align... yes 240.1 checking for __builtin_assume_aligned... yes 240.6 checking for __builtin_bswap16... yes 241.1 checking for __builtin_bswap32... yes 241.6 checking for __builtin_bswap64... yes 242.0 checking for __builtin_popcount... yes 242.5 checking for __builtin_popcountll... yes 243.0 checking for __builtin_clz... yes 243.5 checking for __builtin_clzl... yes 243.9 checking for __builtin_clzll... yes 244.4 checking for __builtin_ctz... yes 244.9 checking for __builtin_ctzll... yes 245.4 checking for __builtin_constant_p... yes 245.8 checking for __builtin_choose_expr... yes 246.3 checking for __builtin_choose_expr_constant_p... yes 246.8 checking for __builtin_types_compatible_p... yes 247.2 checking for __builtin_trap... yes 247.7 checking for __builtin_expect... yes 248.2 checking for __builtin_add_overflow... yes 248.6 checking for __builtin_add_overflow_p... yes 249.1 checking for __builtin_add_overflow with long long arguments... yes 249.6 checking for __builtin_sub_overflow... yes 250.1 checking for __builtin_sub_overflow_p... yes 250.5 checking for __builtin_sub_overflow with long long arguments... yes 251.0 checking for __builtin_mul_overflow... yes 251.5 checking for __builtin_mul_overflow_p... yes 252.0 checking for __builtin_mul_overflow with long long arguments... yes 252.4 checking whether qsort_r is GNU version... yes 252.9 checking whether qsort_r is BSD version... no 253.1 checking whether atan2 handles Inf as C99... yes 253.8 checking for clock_getres... yes 254.3 checking for timer_create in -lrt... yes 254.8 checking for timer_settime in -lrt... yes 255.3 checking for unsetenv returns a value... yes 255.8 checking whether struct tm is in sys/time.h or time.h... time.h 256.2 checking for struct tm.tm_zone... yes 256.6 checking for struct tm.tm_gmtoff... yes 257.0 checking for external int daylight... yes 257.5 checking for negative time_t for gmtime(3)... yes 258.2 checking for localtime(3) overflow correctly... yes 258.9 checking for sig_t... yes 259.6 checking whether right shift preserve sign bit... yes 260.0 checking whether _SC_CLK_TCK is supported... yes 260.4 checking stack growing direction on x86_64... -1 260.4 checking native coroutine implementation for x86_64-linux... amd64 260.4 checking whether pthread_t is scalar type... yes 260.8 checking for sched_yield... yes 261.3 checking for pthread_attr_setinheritsched... yes 261.8 checking for pthread_attr_get_np... no 262.4 checking for pthread_attr_getstack... yes 263.0 checking for pthread_attr_getguardsize... yes 263.5 checking for pthread_get_stackaddr_np... no 264.1 checking for pthread_get_stacksize_np... no 264.7 checking for thr_stksegment... no 265.3 checking for pthread_stackseg_np... no 265.9 checking for pthread_getthrds_np... no 266.5 checking for pthread_condattr_setclock... yes 267.0 checking for pthread_setname_np... yes 267.6 checking for pthread_set_name_np... no 268.2 checking for pthread_sigmask... yes 268.7 checking for pthread_getattr_np... yes 269.2 checking arguments of pthread_setname_np... (pthread_self(), name) 269.8 checking for thread-local storage specifier... _Thread_local 270.3 checking if mcontext_t is a pointer... no 270.7 checking for getcontext... yes 271.3 checking for setcontext... yes 271.8 checking if fork works with pthread... yes 273.6 checking for sys/user.h... yes 273.8 checking whether PAGE_SIZE is compile-time const... no 274.2 checking ioctl request type... unsigned long 274.7 checking for elf.h... yes 275.0 checking for elf_abi.h... no 275.3 checking for uncompress in -lz... yes 275.8 checking for mach-o/loader.h... no 276.1 checking whether OS depend dynamic link works... yes 276.1 checking for backtrace... yes 276.7 checking for broken backtrace... no 277.4 checking for valgrind/memcheck.h... no 277.8 checking for strip flags... -S -x 278.4 checking whether -fPIE is accepted as CFLAGS... yes 278.8 checking whether -pie is accepted as LDFLAGS... yes 279.3 checking whether wrapper for LD_LIBRARY_PATH is needed... no 279.3 checking whether dtrace USDT is available... no 279.3 checking for __builtin_setjmp... yes 280.0 checking for _setjmpex as a macro or function... no 280.2 checking for _setjmp as a macro or function... yes 280.7 checking for setjmp type... __builtin_setjmp 280.8 checking if building with modular GC support... no 280.8 checking for rustc... no 280.8 checking for prefix of external symbols... NONE 281.2 checking if make is GNU make... yes 281.8 .ext/include/x86_64-linux/ruby/config.h updated 282.1 configure: ruby library version = 3.4.0 282.3 configure: creating ./config.status 283.1 config.status: creating GNUmakefile 283.3 config.status: creating Makefile 283.8 --- 283.8 Configuration summary for ruby version 3.4.6 283.8 283.8 * Installation prefix: /usr/local 283.8 * exec prefix: ${prefix} 283.8 * arch: x86_64-linux 283.9 * site arch: ${arch} 283.9 * RUBY_BASE_NAME: ruby 284.0 * ruby lib prefix: ${libdir}/${RUBY_BASE_NAME} 284.0 * site libraries path: ${rubylibprefix}/${sitearch} 284.0 * vendor path: ${rubylibprefix}/vendor_ruby 284.1 * target OS: linux 284.1 * compiler: gcc 284.1 * with thread: pthread 284.2 * with coroutine: amd64 284.2 * with modular GC: no 284.2 * enable shared libs: no 284.3 * dynamic library ext: so 284.3 * CFLAGS: ${hardenflags} ${optflags} ${debugflags} \ 284.3 ${warnflags} 284.3 * LDFLAGS: -L. -fstack-protector-strong -rdynamic \ 284.4 -Wl,-export-dynamic 284.4 * DLDFLAGS: -Wl,--compress-debug-sections=zlib 284.4 * optflags: -O3 -fno-fast-math 284.5 * debugflags: -ggdb3 284.5 * warnflags: -Wall -Wextra -Wdeprecated-declarations \ 284.5 -Wdiv-by-zero -Wduplicated-cond \ 284.5 -Wimplicit-function-declaration -Wimplicit-int \ 284.5 -Wpointer-arith -Wwrite-strings \ 284.5 -Wold-style-definition -Wimplicit-fallthrough=0 \ 284.5 -Wmissing-noreturn -Wno-cast-function-type \ 284.5 -Wno-constant-logical-operand -Wno-long-long \ 284.5 -Wno-missing-field-initializers \ 284.5 -Wno-overlength-strings \ 284.5 -Wno-packed-bitfield-compat \ 284.5 -Wno-parentheses-equality -Wno-self-assign \ 284.5 -Wno-tautological-compare -Wno-unused-parameter \ 284.5 -Wno-unused-value -Wsuggest-attribute=format \ 284.5 -Wsuggest-attribute=noreturn -Wunused-variable \ 284.5 -Wmisleading-indentation -Wundef 284.5 * hardenflags: -fstack-protector-strong -U_FORTIFY_SOURCE \ 284.6 -D_FORTIFY_SOURCE=2 284.6 * strip command: strip -S -x 284.6 * install doc: rdoc 284.6 * YJIT support: no 284.7 * RJIT support: yes 284.7 * man page type: doc 284.7 284.7 --- 285.1 compiling ./main.c 285.1 compiling dmydln.c 285.1 BASERUBY = ./tool/missing-baseruby.bat 285.1 CC = gcc 285.1 LD = ld 285.1 LDSHARED = gcc -shared 285.1 CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef 285.1 XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I.ext/include -I./include -I. -I./prism -I./enc/unicode/15.0.0 -Dmodular_gc_dir= 285.1 CPPFLAGS = 285.1 DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie 285.1 SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread 285.1 LANG = C.UTF-8 285.1 LC_ALL = 285.1 LC_CTYPE = 285.1 MFLAGS = -j 285.1 RUSTC = no 285.1 YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/ruby-3.4.6/yjit/target/release/' ./yjit/src/lib.rs 285.1 compiling miniinit.c 285.1 compiling ast.c 285.1 making dummy probes.h 285.1 compiling bignum.c 285.1 compiling class.c 285.1 compiling compar.c 285.1 gcc (GCC) 15.2.1 20250813 285.1 Copyright (C) 2025 Free Software Foundation, Inc. 285.1 This is free software; see the source for copying conditions. There is NO 285.1 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 285.1 285.1 compiling compile.c 285.2 compiling debug.c 285.2 compiling cont.c 285.2 compiling debug_counter.c 285.2 compiling dln_find.c 285.2 compiling encoding.c 285.2 compiling enum.c 285.2 compiling dir.c 285.2 compiling complex.c 285.2 compiling enumerator.c 285.3 compiling file.c 285.3 compiling inits.c 285.3 compiling gc.c 285.3 compiling io_buffer.c 285.3 compiling math.c 285.3 compiling eval.c 285.3 compiling hash.c 285.3 compiling imemo.c 285.3 compiling iseq.c 285.3 compiling marshal.c 285.3 compiling error.c 285.3 compiling load.c 285.3 compiling memory_view.c 285.3 compiling node.c 285.3 compiling rjit.c 285.3 compiling rjit_c.c 285.4 compiling io.c 285.5 compiling numeric.c 285.5 compiling node_dump.c 285.5 compiling pack.c 285.5 compiling parser_st.c 285.5 compiling object.c 285.5 compiling parse.c 285.5 compiling proc.c 285.6 compiling range.c 285.6 compiling process.c 285.6 compiling random.c 285.6 compiling ractor.c 285.6 compiling rational.c 285.6 compiling regenc.c 285.6 compiling regcomp.c 285.7 compiling regexec.c 285.7 compiling re.c 285.7 compiling regerror.c 285.7 compiling regparse.c 285.7 compiling ruby.c 285.8 compiling regsyntax.c 285.8 compiling scheduler.c 285.8 compiling ruby_parser.c 285.9 compiling st.c 285.9 compiling string.c 285.9 compiling strftime.c 286.0 compiling shape.c 286.0 compiling variable.c 286.0 compiling transcode.c 286.0 compiling struct.c 286.0 compiling time.c 286.0 compiling util.c 286.0 compiling vm_backtrace.c 286.0 compiling sprintf.c 286.0 compiling symbol.c 286.1 compiling vm_sync.c 286.1 compiling version.c 286.1 compiling thread.c 286.1 compiling vm_dump.c 286.1 compiling signal.c 286.3 compiling vm.c 286.4 compiling vm_trace.c 286.5 compiling weakmap.c 286.8 compiling addr2line.c 286.8 compiling localeinit.c 286.8 compiling ./missing/setproctitle.c 287.0 compiling dmyext.c 287.0 compiling dmyenc.c 287.0 compiling array.c 287.1 compiling dln.c 287.4 compiling prism/api_node.c 287.5 compiling prism/options.c 287.6 compiling prism/node.c 287.6 compiling prism/util/pm_char.c 287.6 compiling prism/extension.c 287.6 compiling prism/diagnostic.c 287.6 compiling prism/static_literals.c 287.6 compiling prism/util/pm_constant_pool.c 287.6 compiling prism/api_pack.c 287.6 compiling prism/util/pm_strncasecmp.c 287.6 compiling prism/serialize.c 287.6 compiling prism/regexp.c 287.7 compiling prism/encoding.c 287.7 compiling prism/util/pm_memchr.c 287.8 compiling prism/util/pm_list.c 287.8 compiling prism/util/pm_newline_list.c 287.8 compiling prism/util/pm_string.c 287.8 compiling prism_init.c 287.8 compiling prism/pack.c 287.9 compiling prism/prettyprint.c 287.9 compiling prism/util/pm_strpbrk.c 287.9 compiling prism/token_type.c 288.0 compiling prism/prism.c 288.0 compiling enc/us_ascii.c 288.1 compiling enc/unicode.c 288.1 compiling enc/trans/newline.c 288.1 assembling coroutine/amd64/Context.S 288.1 compiling enc/utf_8.c 288.2 compiling prism/util/pm_integer.c 288.3 compiling prism/util/pm_buffer.c 288.3 compiling enc/ascii.c 300.8 gcc: fatal error: Killed signal terminated program cc1 301.1 compilation terminated. 301.2 gcc: fatal error: Killed signal terminated program cc1 301.2 compilation terminated. 301.5 make: *** [Makefile:489: complex.o] Error 1 301.5 In file included from ./include/ruby/internal/assume.h:29, 301.5 from ./include/ruby/backward/2/assume.h:24, 301.5 from ./include/ruby/defines.h:72, 301.5 from ./include/ruby/ruby.h:25, 301.5 from ./include/ruby/encoding.h:19, 301.5 from encindex.h:14, 301.5 from compile.c:19: 301.5 compile.c: In function ‘ibf_load_catch_table’: 301.6 make: *** Waiting for unfinished jobs.... 301.6 make: *** [Makefile:489: io.o] Error 1 301.7 compile.c:13163:39: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member] 301.7 13163 | RB_OBJ_WRITE(parent_iseq, &table->entries[i].iseq, catch_iseq); 301.7 ./include/ruby/internal/cast.h:31:29: note: in definition of macro ‘RBIMPL_CAST’ 301.7 31 | # define RBIMPL_CAST(expr) (expr) 301.7 | ^~~~ 301.7 compile.c:13163:13: note: in expansion of macro ‘RB_OBJ_WRITE’ 301.7 13163 | RB_OBJ_WRITE(parent_iseq, &table->entries[i].iseq, catch_iseq); 301.7 | ^~~~~~~~~~~~ 301.8 gcc: fatal error: Killed signal terminated program cc1 301.8 compilation terminated. 301.9 make: *** [Makefile:489: process.o] Error 1 309.6 gcc: fatal error: Killed signal terminated program cc1 309.6 compilation terminated. 309.6 make: *** [Makefile:489: vm.o] Error 1 313.7 gcc: fatal error: Killed signal terminated program cc1 313.7 compilation terminated. 313.7 make: *** [Makefile:489: string.o] Error 1 334.5 At top level: 334.5 cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics 334.5 cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics 334.5 cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics ------ Dockerfile:7 -------------------- 5 | RUN curl -O https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.6.tar.gz 6 | RUN tar -xvzf ruby-3.4.6.tar.gz 7 | >>> RUN cd ruby-3.4.6 && ./configure && make -j && make install 8 | -------------------- ERROR: failed to build: failed to solve: ResourceExhausted: process "/bin/sh -c cd ruby-3.4.6 && ./configure && make -j && make install" did not complete successfully: cannot allocate memory