I had committed this but now backed it out as it's breaking build of devel/electron
[1132/32676] ACTION //electron:electron_version_args(//build/toolchain/openbsd:clang_x64) FAILED: gen/electron/electron_version.args python ../../electron/build/npm-run.py --silent generate-version-json -- /usr/obj/ports/electron-8.2.0/chromium-80.0.3987.158/out/Release/gen/electron/electron_version.args NPM script 'generate-version-json' failed with code '243': [1133/32676] CXX obj/device/base/base/features.o [1134/32676] ACTION //electron:build_electron_definitions(//build/toolchain/openbsd:clang_x64) FAILED: gen/electron/tsc/typings/electron.d.ts python ../../electron/build/npm-run.py --silent gn-typescript-definitions -- /usr/obj/ports/electron-8.2.0/chromium-80.0.3987.158/out/Release/gen/electron/tsc/typings/electron.d.ts NPM script 'gn-typescript-definitions' failed with code '243': It happens relatively early in the electron build so doesn't take hours to repeat but there's no output at all from the command (including without --silent) so hard to figure out what's going on To replicate after a failed build by running npm directly i.e. avoiding the Python wrapper, it's like this: cd /pobj/electron-8.2.0/chromium-80.0.3987.158/out/Release doas -u _pbuild npm run --prefix ../../electron gn-typescript-definitions -- /pobj/electron-8.2.0/chromium-80.0.3987.158/out/Release/gen/electron/tsc/typings/electron.d.ts
