retire.js security scan is failing in CI
Spawned from !2046 (comment 563074270)
The retire.js security scan (retire-js-dependency_scanning) is failing in CI.
make is not available in the dependency scanning jobs, https://gitlab.com/gitterHQ/webapp/-/jobs/1220514161
$ /analyzer run
[INFO] [Retire.js] [2021-04-28T20:44:48Z] ▶ GitLab Retire.js analyzer v2.11.2
[INFO] [Retire.js] [2021-04-28T20:44:48Z] ▶ Detecting project
[INFO] [Retire.js] [2021-04-28T20:44:48Z] ▶ Found project in /builds/gitterHQ/webapp
[INFO] [Retire.js] [2021-04-28T20:44:48Z] ▶ Running analyzer
[INFO] [Retire.js] [2021-04-28T20:44:48Z] ▶ Using python 2.7
[DEBU] [Retire.js] [2021-04-28T20:44:48Z] ▶ /usr/local/bin/npm config set python /usr/bin/python2.7
[INFO] [Retire.js] [2021-04-28T20:44:48Z] ▶ Installing dependencies
[DEBU] [Retire.js] [2021-04-28T20:46:01Z] ▶ /usr/local/bin/npm install
> bufferutil@4.0.3 install /builds/gitterHQ/webapp/node_modules/bufferutil
> node-gyp-build
> utf-8-validate@5.0.4 install /builds/gitterHQ/webapp/node_modules/utf-8-validate
> node-gyp-build
> cld@2.7.0 install /builds/gitterHQ/webapp/node_modules/cld
> node-gyp rebuild
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:183:21)
gyp ERR! System Linux 5.4.49+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /builds/gitterHQ/webapp/node_modules/cld
gyp ERR! node -v v14.16.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cld@2.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cld@2.7.0 install 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! /tmp/.npm/_logs/2021-04-28T20_46_01_864Z-debug.log
[DEBU] [Retire.js] [2021-04-28T20:46:48Z] ▶ /usr/local/bin/retire --outputformat jsonsimple --outputpath retire.json --exitwith 0 --insecure
ERROR: Could not find dependencies: cld, gitter-markdown-processor. You may need to run npm install
exit status 1