Project

General

Profile

Actions

Bug #65457

open

mgr/dashboard: ninja fails on `src/pybind/mgr/dashboard/frontend/dist`

Added by taki zhao 18 days ago. Updated 18 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After I install deps, execute `./do_cmake.sh`, cd `bulid` and `ninja`.

It fails on dashboard frontend.

There is related errors. Ceph's version is v17.2.4.

```cpp
[758/2060] dashboard frontend is being created
FAILED: src/pybind/mgr/dashboard/frontend/dist
cd /root/zzl/ceph_dev/src/pybind/mgr/dashboard/frontend && . /root/zzl/ceph_dev/build/src/pybind/mgr/dashboard/frontend/node-env/bin/activate && DASHBOARD_FRONTEND_LANGS="" npm run build:localize -- --output-path /root/zzl/ceph_dev/build/src/pybind/mgr/dashboard/frontend/dist --progress=false && deactivate

build:localize /root/zzl/ceph_dev/src/pybind/mgr/dashboard/frontend
node cd --env --pre && ng build --localize "--output-path" "/root/zzl/ceph_dev/build/src/pybind/mgr/dashboard/frontend/dist" "--progress=false"

[cd.js] './angular.json' was copied to './angular.backup.json'
[cd.js] Preparing build of EN.
[cd.js] 'src/environments/environment.tpl.ts' was copied to 'src/environments/environment.ts'
[cd.js] 'src/environments/environment.tpl.ts' was copied to 'src/environments/environment.prod.ts'
[cd.js] Writing to ./angular.json
[cd.js] Placeholders were replace in 'src/environments/environment.ts'
[cd.js] Placeholders were replace in 'src/environments/environment.prod.ts'

Compiling @angular/core : es2015 as esm2015

Compiling @angular/common : es2015 as esm2015

Compiling @angular/platform-browser : es2015 as esm2015

Compiling @angular/platform-browser-dynamic : es2015 as esm2015

Compiling @angular/common/http : es2015 as esm2015

Compiling @angular/animations : es2015 as esm2015

Compiling @angular/animations/browser : es2015 as esm2015

Compiling @angular/platform-browser/animations : es2015 as esm2015

Compiling ngx-toastr : es2015 as esm2015

Compiling @angular/router : es2015 as esm2015

Compiling @swimlane/ngx-datatable : es2015 as esm2015

Compiling @angular/forms : es2015 as esm2015

Compiling @ng-bootstrap/ng-bootstrap : es2015 as esm2015

Compiling @circlon/angular-tree-component : es2015 as esm2015

Compiling ng-block-ui : es2015 as esm2015

Compiling ng-click-outside : module as esm5

Compiling ng2-charts : es2015 as esm2015

Compiling simplebar-angular : es2015 as esm2015

Compiling ngx-pipe-function : es2015 as esm2015
/bin/sh:行 1: 511804 Segment falut (核心已转储)DASHBOARD_FRONTEND_LANGS="" npm run build:localize -- --output-path /root/zzl/ceph_dev/build/src/pybind/mgr/dashboard/frontend/dist --progress=false

Actions #1

Updated by taki zhao 18 days ago

Arch is arm. I don’t know if nodejs needs to adjust to the arm architecture.

Actions #2

Updated by taki zhao 18 days ago

Sorry for the Chinese words.

核心已转储 should be core dump.

Actions

Also available in: Atom PDF