AirPal построить на Mac - PullRequest
       19

AirPal построить на Mac

0 голосов
/ 24 марта 2020

Я пытаюсь собрать airpal на ma c osx 10.14.6 и xcode 9.4.1

Я строю с использованием опции по умолчанию, где gradlew загружает соответствующие двоичные файлы.

Я сохраняю получить эту ошибку

airpal  ‹master*›./gradlew clean shadowJar
:cleanAssets UP-TO-DATE
:clean UP-TO-DATE
:nodeSetup UP-TO-DATE
:installAssets
npm WARN package.json copy-descriptor@0.1.1 No README data
npm WARN package.json core-js@1.2.7 No README data
npm WARN package.json get-value@2.0.6 No README data
npm WARN package.json object-copy@0.1.0 No README data
npm WARN package.json output-file-sync@1.1.2 No README data
npm WARN package.json setimmediate@1.0.5 No README data
npm WARN package.json static-extend@0.1.2 No README data
npm WARN package.json assert@1.3.0 assert is also the name of a node core module.
npm WARN package.json buffer@4.9.2 buffer is also the name of a node core module.
npm WARN package.json callsite@1.0.0 No repository field.
npm WARN package.json cli-table@0.0.2 No repository field.
npm WARN package.json events@1.1.1 events is also the name of a node core module.
npm WARN package.json has-binary2@1.0.3 No repository field.
npm WARN package.json indexof@0.0.1 No repository field.
npm WARN package.json object-component@0.0.3 No repository field.
npm WARN package.json punycode@1.4.1 punycode is also the name of a node core module.
npm WARN package.json querystring@0.2.0 querystring is also the name of a node core module.
npm WARN package.json string_decoder@1.1.1 string_decoder is also the name of a node core module.
npm WARN package.json url@0.11.0 url is also the name of a node core module.
npm WARN package.json util@0.10.4 util is also the name of a node core module.
npm WARN deprecated graceful-fs@2.0.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> contextify@0.1.15 install /Users/abhigup4/dev/assurance/kairos/airpal/src/main/resources/assets/node_modules/jest-cli/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild

  CXX(target) Release/obj.target/contextify/src/contextify.o
In file included from ../src/contextify.cc:3:
../../../../../../nan/nan.h:57:10: fatal error: 'algorithm' file not found
#include <algorithm>
         ^~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/abhigup4/.gradle/nodejs/node-v0.10.33-darwin-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "node" "/Users/abhigup4/.gradle/nodejs/node-v0.10.33-darwin-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/abhigup4/dev/assurance/kairos/airpal/src/main/resources/assets/node_modules/jest-cli/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR! contextify@0.1.15 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.15 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 18.7.0
npm ERR! command "/Users/abhigup4/.gradle/nodejs/node-v0.10.33-darwin-x64/bin/node" "/Users/abhigup4/.gradle/nodejs/node-v0.10.33-darwin-x64/lib/node_modules/npm/bin/npm-cli.js" "install"
npm ERR! cwd /Users/abhigup4/dev/assurance/kairos/airpal/src/main/resources/assets
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
:installAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':installAssets'.
> Process 'command '/Users/abhigup4/.gradle/nodejs/node-v0.10.33-darwin-x64/bin/node'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Известные проблемы?

Скрипт сборки не собирается с последним xcode и python3, поэтому я понизил xcode до 9.4.1 (с 10.xx) и с python до python 2.7, но не повезло.

...