Project

General

Profile

Actions

Feature #17417

closed

[packaging] Build arm64 packages and publish them

Added by Ward Vandewege about 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

Outstanding problems:

  • The therubyracer gem we use (0.12.3, latest) in the api server depends on libv8 (~> 3.16.14.15) which is a version so old it only compiles on x86. Newer versions of libv8 compile on aarch64 too. We should migrate to `mini_racer` apparently. We were able to remove therubyracer without replacing it, merged in 892bc7d2dd548812f6dc6f7a407fcca43713b71e on main.
  • The npm-rails gem (used in WB1) is causing problems when doing a native compilation on arm64:
NODE_ENV=production /arvados/apps/workbench/node_modules/.bin/browserify  /arvados/apps/workbench/tmp/npm-rails/bundle.js > /arvados/apps/workbench/vendor/assets/javascripts/npm-rails/production/npm-dependencies.js
*** stack smashing detected ***: terminated
/jenkins/run-build-packages.sh: line 420:  1098 Aborted                 (core dumped) ARVADOS_CONFIG=none RAILS_ENV=production RAILS_GROUPS=assets bin/rake assets:precompile > "$STDOUT_IF_DEBUG" 
ERROR: Asset precompilation failed
ERROR: build packages on arvados/build:debian11 failed with exit status 1

Subtasks 3 (0 open3 closed)

Task #18602: Review 17417-switch-to-mini_racerResolvedWard Vandewege12/23/2021Actions
Task #18603: review 17417-fix-wb1ResolvedWard Vandewege12/29/2021Actions
Task #18608: review 17417-add-arm64ResolvedLucas Di Pentima12/23/2021Actions
Actions

Also available in: Atom PDF