Project

General

Profile

Actions

Bug #19275

closed

Bundled gems extensions are not installed with 3.2.0 release tarball

Added by xtkoba (Tee KOBAYASHI) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 3.2.0 (2022-12-25 revision a528908271) [aarch64-linux-android]
[ruby-core:111477]

Description

Bundled gems extensions are not installed with 3.2.0 release tarball when cross building for aarch64-linux-android target.

Possibly related to #19271.

Excerpt from build log:

2022-12-28T12:39:39.5065133Z linking shared-object rbs_extension.so
2022-12-28T12:39:39.5317220Z           Successfully remade target file '../../../../../.bundle/extensions/aarch64-linux-android/3.2.0/rbs-2.8.2/rbs_extension.so'.
[...]
2022-12-28T12:40:06.9333744Z rm -rf .bundle/extensions/aarch64-linux-android/

Seems like bundled gems extensions are built but removed afterwards.

The workaround we took is to patch common.mk so that outdate-bundled-gems is not triggered:

--- a/common.mk
+++ b/common.mk
@@ -1375,7 +1375,6 @@
 
 refresh-gems: update-bundled_gems prepare-gems
 prepare-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=extract-gems)
-prepare-gems: $(DOT_WAIT) $(HAVE_BASERUBY:yes=outdate-bundled-gems)
 extract-gems: $(HAVE_BASERUBY:yes=update-gems)
 
 update-gems$(gnumake:yes=-sequential): PHONY

Full build log is attached.


Files

build.log.xz (245 KB) build.log.xz Full build log xtkoba (Tee KOBAYASHI), 12/28/2022 01:01 PM

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #19271: irb ignores rbs and debugClosedhsbt (Hiroshi SHIBATA)Actions
Related to Ruby master - Bug #19340: Ruby master 'make install' not installing rbs gemClosedhsbt (Hiroshi SHIBATA)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0