From: "hsbt (Hiroshi SHIBATA) via ruby-core" <ruby-core@...> Date: 2025-01-10T11:13:27+00:00 Subject: [ruby-core:120597] [Ruby master Bug#21023] Unintentional ruby/spec capi extension build twice Issue #21023 has been updated by hsbt (Hiroshi SHIBATA). ``` ��� make -v GNU Make 4.4.1 Built for aarch64-apple-darwin23.0.0 ``` I used gnu-make provided by homebrew. ---------------------------------------- Bug #21023: Unintentional ruby/spec capi extension build twice https://bugs.ruby-lang.org/issues/21023#change-111425 * Author: hsbt (Hiroshi SHIBATA) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- I faced `building spec/ruby/optional/capi/ext/` build twice sometimes like: ``` ��� make -j revision.h updated generating arm64-darwin24-fake.rb arm64-darwin24-fake.rb updated rbconfig.rb unchanged generating encdb.h generating enc.mk creating verconf.h verconf.h updated compiling loadpath.c encdb.h unchanged making srcs under enc generating transdb.h linking static-library libruby.3.5-static.a transdb.h unchanged linking shared-library libruby.3.5.dylib generating makefiles ext/configure-ext.mk building spec/ruby/optional/capi/ext/array_spec.bundle building spec/ruby/optional/capi/ext/bignum_spec.bundle building spec/ruby/optional/capi/ext/basic_object_spec.bundle building spec/ruby/optional/capi/ext/binding_spec.bundle building spec/ruby/optional/capi/ext/boolean_spec.bundle building spec/ruby/optional/capi/ext/class_id_under_autoload_spec.bundle building spec/ruby/optional/capi/ext/class_spec.bundle building spec/ruby/optional/capi/ext/class_under_autoload_spec.bundle building spec/ruby/optional/capi/ext/data_spec.bundle building spec/ruby/optional/capi/ext/complex_spec.bundle building spec/ruby/optional/capi/ext/constants_spec.bundle building spec/ruby/optional/capi/ext/debug_spec.bundle building spec/ruby/optional/capi/ext/encoding_spec.bundle building spec/ruby/optional/capi/ext/enumerator_spec.bundle building spec/ruby/optional/capi/ext/fiber_spec.bundle building spec/ruby/optional/capi/ext/file_spec.bundle building spec/ruby/optional/capi/ext/exception_spec.bundle building spec/ruby/optional/capi/ext/fixnum_spec.bundle building spec/ruby/optional/capi/ext/float_spec.bundle building spec/ruby/optional/capi/ext/gc_spec.bundle building spec/ruby/optional/capi/ext/globals_spec.bundle building spec/ruby/optional/capi/ext/hash_spec.bundle building spec/ruby/optional/capi/ext/io_spec.bundle building spec/ruby/optional/capi/ext/numeric_spec.bundle building spec/ruby/optional/capi/ext/integer_spec.bundle building spec/ruby/optional/capi/ext/kernel_spec.bundle building spec/ruby/optional/capi/ext/module_spec.bundle building spec/ruby/optional/capi/ext/marshal_spec.bundle building spec/ruby/optional/capi/ext/module_under_autoload_spec.bundle building spec/ruby/optional/capi/ext/language_spec.bundle building spec/ruby/optional/capi/ext/mutex_spec.bundle building spec/ruby/optional/capi/ext/symbol_spec.bundle building spec/ruby/optional/capi/ext/time_spec.bundle building spec/ruby/optional/capi/ext/string_spec.bundle building spec/ruby/optional/capi/ext/proc_spec.bundle building spec/ruby/optional/capi/ext/thread_spec.bundle building spec/ruby/optional/capi/ext/object_spec.bundle building spec/ruby/optional/capi/ext/rbasic_spec.bundle building spec/ruby/optional/capi/ext/range_spec.bundle building spec/ruby/optional/capi/ext/rational_spec.bundle building spec/ruby/optional/capi/ext/util_spec.bundle building spec/ruby/optional/capi/ext/st_spec.bundle building spec/ruby/optional/capi/ext/tracepoint_spec.bundle building spec/ruby/optional/capi/ext/regexp_spec.bundle building spec/ruby/optional/capi/ext/struct_spec.bundle building spec/ruby/optional/capi/ext/typed_data_spec.bundle making enc making trans ext/configure-ext.mk updated making encs generating makefile exts.mk exts.mk unchanged compiling version.c linking miniruby ln -sf ../../rbconfig.rb .ext/arm64-darwin24/rbconfig.rb builtin_binary.inc updated ae4db3fa410991261f4203ac62ff7aa8eb3959967203d43e69af30c1ea1423fe builtin_binary.inc compiling builtin.c linking static-library libruby.3.5-static.a linking shared-library libruby.3.5.dylib building spec/ruby/optional/capi/ext/array_spec.bundle building spec/ruby/optional/capi/ext/basic_object_spec.bundle building spec/ruby/optional/capi/ext/bignum_spec.bundle building spec/ruby/optional/capi/ext/binding_spec.bundle building spec/ruby/optional/capi/ext/boolean_spec.bundle building spec/ruby/optional/capi/ext/class_spec.bundle building spec/ruby/optional/capi/ext/class_under_autoload_spec.bundle building spec/ruby/optional/capi/ext/class_id_under_autoload_spec.bundle building spec/ruby/optional/capi/ext/complex_spec.bundle building spec/ruby/optional/capi/ext/constants_spec.bundle building spec/ruby/optional/capi/ext/debug_spec.bundle building spec/ruby/optional/capi/ext/data_spec.bundle building spec/ruby/optional/capi/ext/encoding_spec.bundle building spec/ruby/optional/capi/ext/enumerator_spec.bundle building spec/ruby/optional/capi/ext/exception_spec.bundle building spec/ruby/optional/capi/ext/fiber_spec.bundle building spec/ruby/optional/capi/ext/fixnum_spec.bundle building spec/ruby/optional/capi/ext/file_spec.bundle building spec/ruby/optional/capi/ext/gc_spec.bundle building spec/ruby/optional/capi/ext/float_spec.bundle building spec/ruby/optional/capi/ext/hash_spec.bundle building spec/ruby/optional/capi/ext/integer_spec.bundle building spec/ruby/optional/capi/ext/globals_spec.bundle building spec/ruby/optional/capi/ext/language_spec.bundle building spec/ruby/optional/capi/ext/io_spec.bundle building spec/ruby/optional/capi/ext/kernel_spec.bundle building spec/ruby/optional/capi/ext/marshal_spec.bundle building spec/ruby/optional/capi/ext/module_spec.bundle building spec/ruby/optional/capi/ext/module_under_autoload_spec.bundle building spec/ruby/optional/capi/ext/mutex_spec.bundle building spec/ruby/optional/capi/ext/numeric_spec.bundle building spec/ruby/optional/capi/ext/object_spec.bundle building spec/ruby/optional/capi/ext/proc_spec.bundle building spec/ruby/optional/capi/ext/range_spec.bundle building spec/ruby/optional/capi/ext/regexp_spec.bundle building spec/ruby/optional/capi/ext/rational_spec.bundle building spec/ruby/optional/capi/ext/string_spec.bundle building spec/ruby/optional/capi/ext/rbasic_spec.bundle building spec/ruby/optional/capi/ext/struct_spec.bundle building spec/ruby/optional/capi/ext/tracepoint_spec.bundle building spec/ruby/optional/capi/ext/st_spec.bundle building spec/ruby/optional/capi/ext/symbol_spec.bundle building spec/ruby/optional/capi/ext/thread_spec.bundle building spec/ruby/optional/capi/ext/time_spec.bundle building spec/ruby/optional/capi/ext/util_spec.bundle building spec/ruby/optional/capi/ext/typed_data_spec.bundle linking ruby ``` @nobu said "It's triggered with `linking shared-library libruby.3.5.dylib`". It seems unintentional behavior. we should avoid that. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/