From: "yasuhirokimura (Yasuhiro KIMURA)" Date: 2022-11-12T08:02:41+00:00 Subject: [ruby-core:110722] [Ruby master Bug#19127] Build of 3.2.0-preview3 fails unless Ruby is already installed Issue #19127 has been reported by yasuhirokimura (Yasuhiro KIMURA). ---------------------------------------- Bug #19127: Build of 3.2.0-preview3 fails unless Ruby is already installed https://bugs.ruby-lang.org/issues/19127 * Author: yasuhirokimura (Yasuhiro KIMURA) * Status: Open * Priority: Normal * ruby -v: 3.2.0-preview3 * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- # Steps to reproduce process 1. Make clean install of operating system. 2. Install tools and libraries necessary to build Ruby with release archive files (C Compiler, make, libyaml, etc). Keep in mind any version of Ruby isn't installed. 3. Download `ruby-3.2.0-preview3.tar.xz`. 4. `tar xfpvJ ruby-3.2.0-preview3.tar.xz` 5. `cd ruby-3.2.0-preview3` 6. `./configure` 7. `make` # Exptected result Step 7 finishes successfully. # What really happens It fails as following. ``` 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 executable host ruby is required. use --with-baseruby option. make: *** [uncommon.mk:1232: .revision.time] Error 1 ``` # Conditions Confirmed with following environments. * Debian 11.5 amd64 * FreeBSD 13.1-RELEASE amd64 -- https://bugs.ruby-lang.org/ Unsubscribe: