Project

General

Profile

Bug #23619

v13.0.2 tries to build dashboard on arm64

Added by Tang Jin almost 6 years ago. Updated almost 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
General
Target version:
% Done:

0%

Source:
Community (user)
Tags:
13.0.2
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

here is the main part of error log

archiving submodules...done
concatenating archives into single archive...done
moving archive to ceph-13.0.2.tar...done
including src/.git_version, ceph.spec
ceph-13.0.2/src/.git_version
ceph-13.0.2/ceph.spec
ceph-13.0.2/alpine/APKBUILD
npm WARN lifecycle ~preinstall: cannot run in wd %s %s (wd=%s) node installArchSpecificPackage /home/jintang/ceph/src/pybind/mgr/dashboard_v2/frontend/node_modules/.staging/node-f2054e9b
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.2 (node_modules/watchpack/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.2 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm ERR! Linux 4.14.15-1.hxt.aarch64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.12.3
npm ERR! npm v3.10.10
npm ERR! path /home/jintang/ceph/src/pybind/mgr/dashboard_v2/frontend/node_modules/node/bin/node
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/home/jintang/ceph/src/pybind/mgr/dashboard_v2/frontend/node_modules/node/bin/node'
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/jintang/ceph/src/pybind/mgr/dashboard_v2/frontend/node_modules/node/bin/node'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! /home/jintang/ceph/src/pybind/mgr/dashboard_v2/frontend/npm-debug.log
error: File /home/jintang/ceph/ceph-13.0.2.tar.bz2: No such file or directory

History

#1 Updated by Tang Jin almost 6 years ago

my OS is centos7

#2 Updated by Tang Jin almost 6 years ago

run ./make-srpm.sh will print these error log

#3 Updated by Tang Jin almost 6 years ago

I change the node path ,and update node version to v8.9.0-linux-arm64 and v9.11.1-linux-arm64, it can't help yet.

including src/.git_version, ceph.spec
ceph-13.0.2/src/.git_version
ceph-13.0.2/ceph.spec
ceph-13.0.2/alpine/APKBUILD

preinstall /home/jintang/ceph/src/pybind/mgr/dashboard_v2/frontend/node_modules/node
node installArchSpecificPackage

Unhandled rejection Error: EACCES: permission denied, open '/root/.npm/_cacache/tmp/484779d5'

忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖?
npm update check failed ?
? Try running with sudo or get access ?
? to the local update config store via ?
?sudo chown -R $USER:$(id -gn $USER) /root/.config ?
忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖忖?
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/npm/issues>
internal/modules/cjs/loader.js:550
throw err;
^

Error: Cannot find module 'node-linux-arm64/package.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
at Function.resolve (internal/modules/cjs/helpers.js:18:19)
at ChildProcess.<anonymous> (/home/jintang/ceph/src/pybind/mgr/dashboard_v2/frontend/node_modules/node-bin-setup/index.js:18:27)
at ChildProcess.emit (events.js:180:13)
at maybeClose (internal/child_process.js:936:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! preinstall: `node installArchSpecificPackage`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-04-10T03_23_39_693Z-debug.log
error: File /home/jintang/ceph/ceph-13.0.2.tar.bz2: No such file or directory

#4 Updated by Tang Jin almost 6 years ago

in ceph.spec, in its default option it disables mgr dashboard v2 feature, how to skip mgr dashboard v2 in this make-srpm.sh??

#5 Updated by John Spray almost 6 years ago

  • Project changed from Ceph to mgr
  • Subject changed from the latest version v13.0.2 can't compiled successfully in my arm64 machine but version v13.0.0 is OK to v13.0.2 tries to build dashboard on arm64
  • Category changed from build to 132
  • Release deleted (luminous)

The CMake logic is supposed to skip building the dashboard on arm64, so something's going wrong with that.

#6 Updated by Lenz Grimmer over 5 years ago

  • Status changed from New to Need More Info

Is this still an issue with the official 13.2.0 release?

#7 Updated by Lenz Grimmer over 5 years ago

  • Status changed from Need More Info to Can't reproduce

There has been no feedback for three weeks. I assume this has been resolved in the meanwhile. Please re-open, if this is still an issue.

#8 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General

Also available in: Atom PDF