Project

General

Profile

Actions

Bug #17191

closed

3.0.0-preview1 fails to install using BSD make

Added by jeremyevans0 (Jeremy Evans) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 3.0.0preview1 (2020-09-25 master 0096d2b895) [x86_64-openbsd]
[ruby-core:100163]

Description

On OpenBSD (which doesn't use GNU make by default), ./configure and make work correctly for 3.0.0-preview1, but make install fails with:

Downloading bundled gem files...
executable host ruby is required. use --with-baseruby option.

This issue can be worked around by making this change in common.mk, but I'm sure it breaks other cases:

@@ -1296,7 +1296,7 @@ update-config_files: PHONY
            config.guess config.sub

 refresh-gems: update-bundled_gems prepare-gems
-prepare-gems: update-gems extract-gems
+prepare-gems: extract-gems

 update-gems$(gnumake:yes=-nongnumake): PHONY
        $(ECHO) Downloading bundled gem files...

There's obviously no need to update gems when installing 3.0.0-preview1 from the tarball as the gems are already included in the tarball.

I think this may be caused by 88f4ebac83a77f933e9da099eabdf05004767de9, and I don't think it affects GNU make. It works correctly in earlier Ruby versions.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0