ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "jeremyevans0 (Jeremy Evans)" <noreply@ruby-lang.org>
To: ruby-core@neon.ruby-lang.org
Subject: [ruby-core:110723] [Ruby master Bug#19127] Build of 3.2.0-preview3 fails unless Ruby is already installed
Date: Sat, 12 Nov 2022 08:15:39 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-100060.20221112081539.13545@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-19127.20221112080241.13545@ruby-lang.org

Issue #19127 has been updated by jeremyevans0 (Jeremy Evans).


This also happens on OpenBSD.  I tested with a current OpenBSD snapshot and reproduced, but I assume it also happens on supported OpenBSD releases (7.1 and 7.2).

With OpenBSD make, the error is:

```
*** Error 1 in /usr/obj/ports/ruby-3.2.0-preview3/ruby-3.2.0-preview3 (Makefile:1958 './.revision.time')
```

----------------------------------------
Bug #19127: Build of 3.2.0-preview3 fails unless Ruby is already installed
https://bugs.ruby-lang.org/issues/19127#change-100060

* 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/

  reply	other threads:[~2022-11-12  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12  8:02 [ruby-core:110722] [Ruby master Bug#19127] Build of 3.2.0-preview3 fails unless Ruby is already installed yasuhirokimura (Yasuhiro KIMURA)
2022-11-12  8:15 ` jeremyevans0 (Jeremy Evans) [this message]
2022-11-14  3:20 ` [ruby-core:110742] " nobu (Nobuyoshi Nakada)
2022-11-14  6:42 ` [ruby-core:110744] " k0kubun (Takashi Kokubun)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-100060.20221112081539.13545@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    --cc=ruby-core@neon.ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).