Building master snap on non-amd64 failing to build node-sass
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned |
Bug Description
As of 061f2b06c947815
It turns out that in order to build the UI on non-amd64 architectures, specifically installing node-sass, it needs python2 (!).
https:/
[11/Mar/
info Visit https:/
error /build/
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /build/
Output:
Building: /build/
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/build/
gyp verb cli '/build/
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_
gyp verb cli '--libsass_
gyp verb cli '--libsass_
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@12.13.0 | linux | ppc64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/build/
gyp verb `which` failed at F (/build/
gyp verb `which` failed at E (/build/
gyp verb `which` failed at /build/
gyp verb `which` failed at /build/
gyp verb `which` failed at /build/
gyp verb `which` failed at FSReqCallback.
Related branches
- Alberto Donato (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 15 lines (+5/-0)1 file modifiedsnap/snapcraft.yaml (+5/-0)
Changed in maas: | |
status: | New → In Progress |
Changed in maas: | |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 2.8.0b1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |