# Logfile created on 2025-04-16 09:51:12 +0000 by logger.rb/v1.5.3
#<BuildRuby:0x00007faa734cfde0 @REPOSITORY="https://github.com/ruby/ruby.git", @REPOSITORY_TYPE=:git, @git_branch=nil, @git_worktree=nil, @svn_revision=nil, @SRC_DIR="/tmp/ruby/src", @BUILD_DIR="/tmp/ruby/build", @INSTALL_DIR="/tmp/ruby/install", @TARGET_NAME="trunk_clang_18", @TARGET_SRC_DIR="/tmp/ruby/src/trunk_clang_18", @TARGET_BUILD_DIR="/tmp/ruby/build/trunk_clang_18", @TARGET_INSTALL_DIR="/tmp/ruby/install/trunk_clang_18", @configure_opts=["CC=clang-18"], @build_opts="-j4", @btest_opts="-j4", @test_opts="TESTS='-j4'", @spec_opts="-j", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=10800, @logfile="/home/ko1/ruby/logs/brlog.trunk_clang_18.20250416-095112", @ruby_env=[["RUBY_DEBUG", "ci"]], @make="make", @logger=#<Logger:0x00007faa734f1e68 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007faa734f1bc0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007faa7340a9c8 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/home/ko1/ruby/logs/brlog.trunk_clang_18.20250416-095112", @dev=#<File:/home/ko1/ruby/logs/brlog.trunk_clang_18.20250416-095112>, @binmode=false, @mon_data=#<Monitor:0x00007faa734f1760>, @mon_data_owner_object_id=860>>>
$$$[beg] make update-download -j4
tool/config.guess already exists
tool/config.sub already exists
$$$[end] "make update-download -j4" exit with 0.
$$$[beg] make update-src      -j4
From https://github.com/ruby/ruby
   d842554..bbf8735  master     -> origin/master
Updating d842554..bbf8735
Fast-forward
 enum.c            |  13 +++
 include/ruby/io.h | 257 ++++++++++++++++++++++++++++++------------------------
 internal/io.h     |   2 +-
 io.c              |  89 ++++++++++---------
 4 files changed, 201 insertions(+), 160 deletions(-)
Latest commit hash = bbf873521a
$$$[end] "make update-src      -j4" exit with 0.
$$$[beg] make after-update    -j4
generating /tmp/ruby/src/trunk_clang_18/ext/ripper/eventids2table.c
make[1]: Entering directory '/tmp/ruby/src/trunk_clang_18/ext/ripper'
make[1]: Nothing to be done for 'src'.
make[1]: Leaving directory '/tmp/ruby/src/trunk_clang_18/ext/ripper'
/tmp/ruby/src/trunk_clang_18/revision.h updated
generating x86_64-linux-fake.rb
x86_64-linux-fake.rb updated
generating enc.mk
making srcs under enc
make[1]: Entering directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby/build/trunk_clang_18'
$$$[end] "make after-update    -j4" exit with 0.
$$$[beg] make miniruby -j4
	BASERUBY = /usr/bin/ruby --disable=gems
	CC = clang-18
	LD = ld
	LDSHARED = clang-18 -shared
	CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef  
	XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_clang_18/include -I/tmp/ruby/src/trunk_clang_18 -I/tmp/ruby/src/trunk_clang_18/prism -I/tmp/ruby/src/trunk_clang_18/enc/unicode/15.1.0   -Dmodular_gc_dir=
	CPPFLAGS =   
	DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie  
	SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread 
	LANG = C.UTF-8
	LC_ALL = 
	LC_CTYPE = 
	MFLAGS = -j4 --jobserver-auth=4,5
	RUSTC = rustc
	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=/tmp/ruby/build/trunk_clang_18/yjit/target/release/' /tmp/ruby/src/trunk_clang_18/yjit/src/lib.rs
Ubuntu clang version 18.1.3 (1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
compiling /tmp/ruby/src/trunk_clang_18/compile.c
compiling /tmp/ruby/src/trunk_clang_18/debug.c
compiling /tmp/ruby/src/trunk_clang_18/dir.c
compiling /tmp/ruby/src/trunk_clang_18/enum.c
compiling /tmp/ruby/src/trunk_clang_18/error.c
compiling /tmp/ruby/src/trunk_clang_18/eval.c
compiling /tmp/ruby/src/trunk_clang_18/file.c
compiling /tmp/ruby/src/trunk_clang_18/gc.c
compiling /tmp/ruby/src/trunk_clang_18/io.c
compiling /tmp/ruby/src/trunk_clang_18/io_buffer.c
compiling /tmp/ruby/src/trunk_clang_18/iseq.c
compiling /tmp/ruby/src/trunk_clang_18/marshal.c
compiling parse.c
compiling /tmp/ruby/src/trunk_clang_18/process.c
compiling /tmp/ruby/src/trunk_clang_18/ruby.c
compiling /tmp/ruby/src/trunk_clang_18/scheduler.c
compiling /tmp/ruby/src/trunk_clang_18/thread.c
compiling /tmp/ruby/src/trunk_clang_18/version.c
linking miniruby
$$$[end] "make miniruby -j4" exit with 0.
$$$[beg] make ruby -j4
	BASERUBY = /usr/bin/ruby --disable=gems
	CC = clang-18
	LD = ld
	LDSHARED = clang-18 -shared
	CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef  
	XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_clang_18/include -I/tmp/ruby/src/trunk_clang_18 -I/tmp/ruby/src/trunk_clang_18/prism -I/tmp/ruby/src/trunk_clang_18/enc/unicode/15.1.0   -Dmodular_gc_dir=
	CPPFLAGS =   
	DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie  
	SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread 
	LANG = C.UTF-8
	LC_ALL = 
	LC_CTYPE = 
	MFLAGS = -j4 --jobserver-auth=4,5
	RUSTC = rustc
	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=/tmp/ruby/build/trunk_clang_18/yjit/target/release/' /tmp/ruby/src/trunk_clang_18/yjit/src/lib.rs
Ubuntu clang version 18.1.3 (1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
builtin_binary.inc updated
1092d1a331c3be9c2b03728f93d002c1a71e7a20599d18ac60891c3d2023937e  builtin_binary.inc
compiling /tmp/ruby/src/trunk_clang_18/builtin.c
linking static-library libruby-static.a
linking ruby
$$$[end] "make ruby -j4" exit with 0.
$$$[beg] make all -j4
	BASERUBY = /usr/bin/ruby --disable=gems
	CC = clang-18
	LD = ld
	LDSHARED = clang-18 -shared
	CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef  
	XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk_clang_18/include -I/tmp/ruby/src/trunk_clang_18 -I/tmp/ruby/src/trunk_clang_18/prism -I/tmp/ruby/src/trunk_clang_18/enc/unicode/15.1.0   -Dmodular_gc_dir=
	CPPFLAGS =   
	DLDFLAGS = -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie  
	SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread 
	LANG = C.UTF-8
	LC_ALL = 
	LC_CTYPE = 
	MFLAGS = -j4 --jobserver-auth=4,5
	RUSTC = rustc
	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=/tmp/ruby/build/trunk_clang_18/yjit/target/release/' /tmp/ruby/src/trunk_clang_18/yjit/src/lib.rs
Ubuntu clang version 18.1.3 (1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
generating encdb.h
generating enc.mk
encdb.h unchanged
making srcs under enc
making enc
make[1]: Entering directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Nothing to be done for 'enc'.
make[1]: Leaving directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Entering directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby/build/trunk_clang_18'
generating transdb.h
transdb.h unchanged
generating makefiles ext/configure-ext.mk
making trans
ext/configure-ext.mk updated
make[1]: Entering directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Entering directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Nothing to be done for 'trans'.
make[1]: Leaving directory '/tmp/ruby/build/trunk_clang_18'
making encs
make[1]: Entering directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Nothing to be done for 'encs'.
make[1]: Leaving directory '/tmp/ruby/build/trunk_clang_18'
make[1]: Leaving directory '/tmp/ruby/build/trunk_clang_18'
generating makefile exts.mk
exts.mk unchanged
make[1]: Entering directory '/tmp/ruby/build/trunk_clang_18'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/-test-/file'
compiling /tmp/ruby/src/trunk_clang_18/ext/-test-/file/fs.c
compiling /tmp/ruby/src/trunk_clang_18/ext/-test-/file/newline_conv.c
compiling /tmp/ruby/src/trunk_clang_18/ext/-test-/file/stat.c
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/-test-/wait'
compiling /tmp/ruby/src/trunk_clang_18/ext/-test-/wait/wait.c
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/coverage'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/date'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/coverage'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/date'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/digest'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/etc'
compiling /tmp/ruby/src/trunk_clang_18/ext/etc/etc.c
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/digest'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/io/console'
compiling /tmp/ruby/src/trunk_clang_18/ext/io/console/console.c
linking shared-object -test-/file.so
linking shared-object -test-/wait.so
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/-test-/file'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/io/nonblock'
compiling /tmp/ruby/src/trunk_clang_18/ext/io/nonblock/nonblock.c
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/-test-/wait'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/io/wait'
compiling /tmp/ruby/src/trunk_clang_18/ext/io/wait/wait.c
linking shared-object etc.so
linking shared-object io/nonblock.so
linking shared-object io/console.so
linking shared-object io/wait.so
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/io/nonblock'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/json'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/etc'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/monitor'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/io/console'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/monitor'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/objspace'
compiling /tmp/ruby/src/trunk_clang_18/ext/objspace/objspace.c
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/json'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/pathname'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/pathname'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/openssl'
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl.c
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/psych'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/io/wait'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/psych'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/pty'
compiling /tmp/ruby/src/trunk_clang_18/ext/pty/pty.c
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/ripper'
compiling /tmp/ruby/src/trunk_clang_18/ext/ripper/ripper.c
linking shared-object pty.so
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/pty'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/rubyvm'
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/rubyvm'
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_asn1.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_bio.c
compiling /tmp/ruby/src/trunk_clang_18/ext/objspace/objspace_dump.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_bn.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_cipher.c
linking shared-object objspace.so
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/objspace'
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/socket'
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/init.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/constants.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_config.c
make[2]: Entering directory '/tmp/ruby/build/trunk_clang_18/ext/stringio'
compiling /tmp/ruby/src/trunk_clang_18/ext/stringio/stringio.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_digest.c
/tmp/ruby/src/trunk_clang_18/ext/stringio/stringio.c:39:13: error: typedef redefinition with different types ('int' vs 'enum rb_io_mode')
   39 | typedef int rb_io_mode_t;
      |             ^
/tmp/ruby/src/trunk_clang_18/include/ruby/io.h:275:25: note: previous definition is here
  275 | typedef enum rb_io_mode rb_io_mode_t;
      |                         ^
1 error generated.
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/basicsocket.c
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/stringio'
make[2]: *** [Makefile:257: stringio.o] Error 1
make[1]: *** [exts.mk:317: ext/stringio/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/socket.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_engine.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/ipsocket.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/tcpsocket.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_hmac.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/tcpserver.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/sockssocket.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_kdf.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/udpsocket.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/unixsocket.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/unixserver.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_ns_spki.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/option.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/ancdata.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_ocsp.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/raddrinfo.c
compiling /tmp/ruby/src/trunk_clang_18/ext/socket/ifaddr.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_pkcs12.c
linking shared-object ripper.so
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_pkcs7.c
linking shared-object socket.so
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/socket'
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_pkey.c
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/ripper'
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_pkey_dh.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_pkey_dsa.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_pkey_ec.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_pkey_rsa.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_provider.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_rand.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_ssl.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_ssl_session.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_ts.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509attr.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509cert.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509crl.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509ext.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509name.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509req.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509revoked.c
compiling /tmp/ruby/src/trunk_clang_18/ext/openssl/ossl_x509store.c
linking shared-object openssl.so
make[2]: Leaving directory '/tmp/ruby/build/trunk_clang_18/ext/openssl'
make[1]: Leaving directory '/tmp/ruby/build/trunk_clang_18'
make: *** [uncommon.mk:403: build-ext] Error 2
$$$[end] "make all -j4" exit with 512.
raw logfile