Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Created October 13, 2019 21:08
Show Gist options
  • Save freeman42x/c72492b46f2c86b909c2830f5ac87a68 to your computer and use it in GitHub Desktop.
Save freeman42x/c72492b46f2c86b909c2830f5ac87a68 to your computer and use it in GitHub Desktop.
nixos upgrade to 19.09
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:26,
from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/fibers.cc: In static member function 'static uni::FunctionType Fiber::New(const Arguments&)':
../src/fibers.cc:433:99: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Handle<v8::Value> [1])'
return uni::Return(uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction()->NewInstance(1, argv), args);
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3993:44: note: candidate: 'v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const'
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3993:44: note: candidate expects 3 arguments, 2 provided
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3996:44: note: candidate: 'v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const'
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3996:44: note: candidate expects 1 argument, 2 provided
../src/fibers.cc:433:106: error: return-statement with a value, in function returning 'uni::FunctionType' {aka 'void'} [-fpermissive]
return uni::Return(uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction()->NewInstance(1, argv), args);
^
../src/fibers.cc: In static member function 'static void Fiber::RunFiber(void**)':
../src/fibers.cc:621:14: error: no matching function for call to 'v8::TryCatch::TryCatch()'
TryCatch try_catch;
^~~~~~~~~
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:8536:12: note: candidate: 'v8::TryCatch::TryCatch(v8::Isolate*)'
explicit TryCatch(Isolate* isolate);
^~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:8536:12: note: candidate expects 1 argument, 0 provided
../src/fibers.cc:628:66: warning: 'static v8::Local<v8::Script> v8::Script::Compile(v8::Local<v8::String>, v8::ScriptOrigin*)' is deprecated: Use maybe version [-Wdeprecated-declarations]
Script::Compile(uni::NewLatin1String(that.isolate, "void 0;"));
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:26,
from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:1256:38: note: declared here
Local<Script> Compile(Local<String> source,
^~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/fibers.cc:628:66: warning: 'static v8::Local<v8::Script> v8::Script::Compile(v8::Local<v8::String>, v8::ScriptOrigin*)' is deprecated: Use maybe version [-Wdeprecated-declarations]
Script::Compile(uni::NewLatin1String(that.isolate, "void 0;"));
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:26,
from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:1256:38: note: declared here
Local<Script> Compile(Local<String> source,
^~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/fibers.cc:643:66: warning: 'v8::Local<v8::Value> v8::TryCatch::StackTrace() const' is deprecated: Use maybe version. [-Wdeprecated-declarations]
uni::Reset(that.isolate, fatal_stack, try_catch.StackTrace());
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:26,
from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:8593:52: note: declared here
V8_DEPRECATED("Use maybe version.", Local<Value> StackTrace() const);
^~~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/fibers.cc: In static member function 'static void Fiber::SetPoolSize(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&)':
../src/fibers.cc:741:43: error: no matching function for call to 'v8::Value::ToNumber()'
Coroutine::pool_size = value->ToNumber()->Value();
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:2425:44: note: candidate: 'v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const'
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:2425:44: note: candidate expects 1 argument, 0 provided
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:26,
from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:2442:31: note: candidate: 'v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const'
Local<Number> ToNumber(Isolate* isolate) const);
^~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:2442:31: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/fibers.cc: In static member function 'static void Fiber::Init(v8::Handle<v8::Object>)':
../src/fibers.cc:793:72: error: no matching function for call to 'v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&))'
fn->SetAccessor(uni::NewLatin1Symbol(isolate, "current"), GetCurrent);
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3348:37: note: candidate: 'v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)'
V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(
^~~~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3348:37: note: candidate expects 8 arguments, 2 provided
../src/fibers.cc:794:87: error: no matching function for call to 'v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&), void (&)(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&))'
fn->SetAccessor(uni::NewLatin1Symbol(isolate, "poolSize"), GetPoolSize, SetPoolSize);
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3348:37: note: candidate: 'v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)'
V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(
^~~~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3348:37: note: no known conversion for argument 2 from 'uni::FunctionType(v8::Local<v8::String>, const GetterCallbackInfo&)' {aka 'void(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)'} to 'v8::Local<v8::Name>'
../src/fibers.cc:795:84: error: no matching function for call to 'v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&))'
fn->SetAccessor(uni::NewLatin1Symbol(isolate, "fibersCreated"), GetFibersCreated);
^
In file included from /nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:63,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3348:37: note: candidate: 'v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)'
V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(
^~~~~~~~~~~
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/deps/v8/include/v8.h:3348:37: note: candidate expects 8 arguments, 2 provided
In file included from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
../src/fibers.cc: At global scope:
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Handle<v8::Object>)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/nix/store/9xhmj7mkccaa7w2pkq5927xdp0i2jx7d-node-sources/src/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/fibers.cc:829:1: note: in expansion of macro 'NODE_MODULE'
NODE_MODULE(fibers, init)
^~~~~~~~~~~
make: *** [fibers.target.mk:108: Release/obj.target/fibers/src/fibers.o] Error 1
make: Leaving directory '/nix/store/h1ir0zz2ql2z623y5px1z1yk3ln9h8zm-node-azure-cli-0.10.20/lib/node_modules/azure-cli/node_modules/fibers/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/nix/store/az7ba381fqnscaddhsahnqv0rds2ikmk-nodejs-10.16.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.75
gyp ERR! command "/nix/store/az7ba381fqnscaddhsahnqv0rds2ikmk-nodejs-10.16.0/bin/node" "/nix/store/az7ba381fqnscaddhsahnqv0rds2ikmk-nodejs-10.16.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /nix/store/h1ir0zz2ql2z623y5px1z1yk3ln9h8zm-node-azure-cli-0.10.20/lib/node_modules/azure-cli/node_modules/fibers
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
Alpine users please run: `sudo apk add python make g++`
Installing library in /nix/store/0ih7cp7i3j4v96sxvfm1xc3ibm36amlq-reflection-2.1.5/lib/ghc-8.6.4/x86_64-linux-ghc-8.6.4/reflection-2.1.5-HeLTvLkSujB7YL3q3L06c
sh: nodejs: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! fibers@1.0.15 install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the fibers@1.0.15 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[6 of 7] Compiling Data.HashPSQ.Internal ( src/Data/HashPSQ/Internal.hs, dist/build/Data/HashPSQ/Internal.p_o )
npm ERR! A complete log of this run can be found in:
npm ERR! /build/.npm/_logs/2019-10-13T21_07_18_992Z-debug.log
builder for '/nix/store/7lb1phyrf62scp1v0950f47vm51cl1l4-node-azure-cli-0.10.20.drv' failed with exit code 1
cannot build derivation '/nix/store/gicpi5id5z1qsaws8f5ifnvdppqnckw9-system-path.drv': 1 dependencies couldn't be built
building '/nix/store/z3nvsdh34i72aj17rz926r51vya1pfrz-udev-rules.drv'...
building '/nix/store/h68z8gihj17q39fxq8gkb2qmb4wgx37k-unit-ModemManager.service.drv'...
building '/nix/store/v1va40n2rawnv2w4hvf94cwcqjnpzphp-unit-NetworkManager-dispatcher.service.drv'...
building '/nix/store/zzwj4a0ylpzdvpn0mxnb3adv9kym7jv4-unit-NetworkManager-wait-online.service.drv'...
building '/nix/store/smfb14swnm6x5wg1az4xdib8d2plb3zv-unit-alsa-store.service.drv'...
building '/nix/store/9yry4bmmxlp437w2jb19xz47r3b8r1kx-unit-audit.service.drv'...
building '/nix/store/5ql95ranxlzv5qii2c9r14g0ad6xm25k-unit-bluetooth.service.drv'...
building '/nix/store/m0a2sxsrq3m8mj29lkvwqfn8x8i22f10-unit-console-getty.service-disabled.drv'...
building '/nix/store/hf4cxmd0miwvrggwmb4x6wz2dk9ywra2-unit-container-getty-.service.drv'...
building '/nix/store/dk3rz780xvpx84v3rv61cwdw3qqjh201-unit-cpufreq.service.drv'...
building '/nix/store/hn8a5xsx7jsb89qrdl04bpva8vgpasmf-unit-dbus.socket.drv'...
building '/nix/store/pidn71yyz90333dxrawlvpnspxcr7rcc-unit-firewall.service.drv'...
cannot build derivation '/nix/store/pc6l2hzyxh43576736p0ify4kh8b1cqy-nixos-system-nixos-19.09.789.7952807791d.drv': 1 dependencies couldn't be built
error: build of '/nix/store/pc6l2hzyxh43576736p0ify4kh8b1cqy-nixos-system-nixos-19.09.789.7952807791d.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment