+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-base-3.2.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-base-3.2.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ruby32-base-3.2.0 BASERUBY = echo executable host ruby is required. use --with-baseruby option.; false CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -fPIC XCFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-solaris2.11 -I./include -I. -I./enc/unicode/15.0.0 CPPFLAGS = -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include -D_XOPEN_SOURCE=700 DLDFLAGS = -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -Wl,-h,showflags SOLIBS = yjit/target/release/libyjit.a -lz -lrt -lrt -lsocket -ldl -lcrypt -lm -lpthread -lm -lpthread -lrt LANG = C LC_ALL = C LC_CTYPE = C MFLAGS = RUSTC = rustc YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C opt-level=3 -C overflow-checks=on '--out-dir=/home/pbulk/build/lang/ruby32-base/work/ruby-3.2.0/yjit/target/release/' ./yjit/src/lib.rs gcc (GCC) 12.2.0 Copyright (C) 2022 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 translating probes probes.d compiling array.c compiling ast.c 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 compiling inits.c compiling io.c compiling io_buffer.c compiling iseq.c compiling load.c compiling marshal.c compiling math.c compiling memory_view.c making mjit_config.h compiling mjit.c compiling mjit_c.c compiling node.c compiling numeric.c compiling object.c compiling pack.c compiling parse.c compiling proc.c compiling process.c compiling ractor.c compiling random.c compiling range.c compiling rational.c 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 scheduler.c compiling shape.c compiling signal.c compiling sprintf.c compiling st.c compiling strftime.c compiling string.c compiling struct.c compiling symbol.c compiling thread.c compiling time.c compiling transcode.c compiling transient_heap.c compiling util.c compiling variable.c compiling version.c compiling vm.c In file included from ./include/ruby/defines.h:72, from ./include/ruby/ruby.h:25, from eval_intern.h:4, from vm.c:13: vm.c: In function 'mjit_check_iseq': vm.c:393:12: warning: implicit declaration of function 'MJIT_FUNC_STATE_P' [-Wimplicit-function-declaration] 393 | ASSUME(MJIT_FUNC_STATE_P(mjit_state)); | ^~~~~~~~~~~~~~~~~ ./include/ruby/backward/2/assume.h:43:46: note: in definition of macro 'RB_LIKELY' 43 | # define RB_LIKELY(x) (__builtin_expect(!!(x), 1)) | ^ ./include/ruby/backward/2/assume.h:27:28: note: in expansion of macro 'RBIMPL_ASSUME' 27 | #define ASSUME RBIMPL_ASSUME /**< @old{RBIMPL_ASSUME} */ | ^~~~~~~~~~~~~ vm.c:393:5: note: in expansion of macro 'ASSUME' 393 | ASSUME(MJIT_FUNC_STATE_P(mjit_state)); | ^~~~~~ vm.c:394:19: error: conversion to incomplete type 394 | switch ((enum rb_mjit_func_state)mjit_state) { | ^~~~~~~~~~~~~~~~~~ vm.c:395:12: error: 'MJIT_FUNC_NOT_COMPILED' undeclared (first use in this function) 395 | case MJIT_FUNC_NOT_COMPILED: | ^~~~~~~~~~~~~~~~~~~~~~ vm.c:395:12: note: each undeclared identifier is reported only once for each function it appears in vm.c:396:34: error: 'mjit_opts' undeclared (first use in this function) 396 | if (body->total_calls == mjit_opts.call_threshold) { | ^~~~~~~~~ vm.c:397:13: warning: implicit declaration of function 'rb_mjit_add_iseq_to_process' [-Wimplicit-function-declaration] 397 | rb_mjit_add_iseq_to_process(iseq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vm.c:403:12: error: 'MJIT_FUNC_COMPILING' undeclared (first use in this function) 403 | case MJIT_FUNC_COMPILING: | ^~~~~~~~~~~~~~~~~~~ vm.c:404:12: error: 'MJIT_FUNC_FAILED' undeclared (first use in this function); did you mean 'MJIT_FUNC_EXPORTED'? 404 | case MJIT_FUNC_FAILED: | ^~~~~~~~~~~~~~~~ | MJIT_FUNC_EXPORTED vm.c: At top level: vm.c:414:1: error: redefinition of 'jit_exec' 414 | jit_exec(rb_execution_context_t *ec) | ^~~~~~~~ In file included from vm.c:31: mjit.h:129:21: note: previous definition of 'jit_exec' with type 'VALUE(rb_execution_context_t *)' {aka 'long unsigned int(struct rb_execution_context_struct *)'} 129 | static inline VALUE jit_exec(rb_execution_context_t *ec) { return Qundef; /* unreachable */ } | ^~~~~~~~ vm.c: In function 'jit_exec': vm.c:420:25: error: 'mjit_call_p' undeclared (first use in this function) 420 | if (yjit_enabled || mjit_call_p) { | ^~~~~~~~~~~ vm.c:428:5: error: unknown type name 'jit_func_t' 428 | jit_func_t func; | ^~~~~~~~~~ vm.c:439:19: warning: assignment to 'int' from 'VALUE (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)' {aka 'long unsigned int (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)'} makes integer from pointer without a cast [-Wint-conversion] 439 | if ((func = body->jit_func) == 0) { | ^ vm.c:443:46: warning: assignment to 'int' from 'VALUE (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)' {aka 'long unsigned int (*)(struct rb_execution_context_struct *, struct rb_control_frame_struct *)'} makes integer from pointer without a cast [-Wint-conversion] 443 | else if (UNLIKELY(MJIT_FUNC_STATE_P(func = body->jit_func))) { | ^ ./include/ruby/backward/2/assume.h:50:46: note: in definition of macro 'RB_UNLIKELY' 50 | # define RB_UNLIKELY(x) (__builtin_expect(!!(x), 0)) | ^ vm.c:443:14: note: in expansion of macro 'UNLIKELY' 443 | else if (UNLIKELY(MJIT_FUNC_STATE_P(func = body->jit_func))) { | ^~~~~~~~ vm.c:448:12: error: called object 'func' is not a function or function pointer 448 | return func(ec, ec->cfp); // SystemV x64 calling convention: ec -> RDI, cfp -> RSI | ^~~~ vm.c:428:16: note: declared here 428 | jit_func_t func; | ^~~~ *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/lang/ruby32-base/work/ruby-3.2.0 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ruby32-base *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/ruby32-base