Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inital GitHub Actions #15467

Merged
merged 3 commits into from Nov 22, 2019
Merged

Inital GitHub Actions #15467

merged 3 commits into from Nov 22, 2019

Conversation

XVilka
Copy link
Contributor

@XVilka XVilka commented Nov 15, 2019

@XVilka
Copy link
Contributor Author

XVilka commented Nov 20, 2019

@radare - how to fix this JavaScript error (NodeJS 12.x):

> syspipe@0.1.5 install /Users/runner/runners/2.160.2/work/radare2/radare2/radare2-regressions/new/node_modules/syspipe
> node-gyp rebuild

  CXX(target) Release/obj.target/syspipe/pipe.o
../pipe.cc:35:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
   obj->Set(Nan::New<String>("read").ToLocalChecked(), Nan::New<Integer>(desc[0]));
        ^
/Users/runner/Library/Caches/node-gyp/12.13.0/include/node/v8.h:3402:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/runner/Library/Caches/node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
../pipe.cc:36:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
   obj->Set(Nan::New<String>("write").ToLocalChecked(), Nan::New<Integer>(desc[1]));
../pipe.cc:35:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
   obj->Set(Nan::New<String>("read").ToLocalChecked(), Nan::New<Integer>(desc[0]));
        ^
/Users/runner/Library/Caches/node-gyp/12.13.0/include/node/v8.h:3402:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/runner/Library/Caches/node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
../pipe.cc:36:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations]
   obj->Set(Nan::New<String>("write").ToLocalChecked(), Nan::New<Integer>(desc[1]));
        ^
/Users/runner/Library/Caches/node-gyp/12.13.0/include/node/v8.h:3402:3: note: 'Set' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version",
  ^
/Users/runner/Library/Caches/node-gyp/12.13.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
../pipe.cc:40:6: error: variable has incomplete type 'void'
void init(Handle<Object> exports) {
     ^
../pipe.cc:40:11: error: use of undeclared identifier 'Handle'
void init(Handle<Object> exports) {
          ^
../pipe.cc:40:18: error: 'Object' does not refer to a value
void init(Handle<Object> exports) {
                 ^
make[3]: *** [Release/obj.target/syspipe/pipe.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/Cellar/node@12/12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.0.0
gyp ERR! command "/usr/local/Cellar/node@12/12.13.0/bin/node" "/usr/local/Cellar/node@12/12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/runner/runners/2.160.2/work/radare2/radare2/radare2-regressions/new/node_modules/syspipe
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN radare2-regressions@0.1.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: syspipe@0.1.5 (node_modules/syspipe):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: syspipe@0.1.5 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

@XVilka XVilka merged commit dce959d into master Nov 22, 2019
@XVilka XVilka deleted the gh-actions branch November 22, 2019 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants