Skip to content

Instantly share code, notes, and snippets.

@jnugh
Created January 24, 2016 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnugh/11beff96de81a456d429 to your computer and use it in GitHub Desktop.
Save jnugh/11beff96de81a456d429 to your computer and use it in GitHub Desktop.
rootjs gyp rebuild
❯ /home/jonas/Dev/rootjs/node_modules/.bin/node-gyp configure build rootjs --verbose
gyp info it worked if it ends with ok
gyp verb cli [ '/home/jonas/.nvm/versions/node/v5.4.1/bin/node',
gyp verb cli '/home/jonas/Dev/rootjs/node_modules/.bin/node-gyp',
gyp verb cli 'configure',
gyp verb cli 'build',
gyp verb cli 'rootjs',
gyp verb cli '--verbose' ]
gyp info using node-gyp@3.2.1
gyp info using node@5.4.1 | linux | x64
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.10\n"
gyp verb get node dir no --target version specified, falling back to host node version: 5.4.1
gyp verb command install [ '5.4.1' ]
gyp verb install input version string "5.4.1"
gyp verb install installing version: 5.4.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 5.4.1
gyp verb build dir attempting to create "build" dir: /home/jonas/Dev/rootjs/build
gyp verb build dir "build" dir needed to be created? /home/jonas/Dev/rootjs/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /home/jonas/Dev/rootjs/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/jonas/Dev/rootjs/config.gypi
gyp verb common.gypi checking for gypi file: /home/jonas/Dev/rootjs/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/jonas/Dev/rootjs/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/jonas/Dev/rootjs/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/jonas/Dev/rootjs/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/jonas/.node-gyp/5.4.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/jonas/.node-gyp/5.4.1',
gyp info spawn args '-Dnode_gyp_dir=/home/jonas/Dev/rootjs/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/jonas/Dev/rootjs',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build [ 'rootjs' ]
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /home/jonas/.node-gyp/5.4.1
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'rootjs', 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/jonas/Dev/rootjs/build'
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/FunctionProxy.o.d.raw -c -o Release/obj.target/rootjs/src/FunctionProxy.o ../src/FunctionProxy.cc
../src/FunctionProxy.cc: In member function ‘RootJS::ObjectProxy RootJS::FunctionProxy::call(RootJS::ObjectProxy*) const’:
../src/FunctionProxy.cc:107:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../src/FunctionProxy.cc: In static member function ‘static bool RootJS::FunctionProxy::processCall(TFunction*, void*, void*, void*)’:
../src/FunctionProxy.cc:112:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../src/FunctionProxy.cc: In static member function ‘static void* RootJS::FunctionProxy::callConstructor(TFunction*, TClassRef, void*)’:
../src/FunctionProxy.cc:117:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../src/FunctionProxy.cc: In static member function ‘static void* RootJS::FunctionProxy::callObject(TFunction*, void*, void*, TClassRef)’:
../src/FunctionProxy.cc:127:2: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../src/FunctionProxy.cc: In static member function ‘static CallFunc_t* RootJS::FunctionProxy::getCallFunc(TFunction*)’:
../src/FunctionProxy.cc:29:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/NodeHandler.o.d.raw -c -o Release/obj.target/rootjs/src/NodeHandler.o ../src/NodeHandler.cc
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/Proxy.o.d.raw -c -o Release/obj.target/rootjs/src/Proxy.o ../src/Proxy.cc
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/ObjectProxyFactory.o.d.raw -c -o Release/obj.target/rootjs/src/ObjectProxyFactory.o ../src/ObjectProxyFactory.cc
../src/ObjectProxyFactory.cc: In static member function ‘static RootJS::ObjectProxy* RootJS::ObjectProxyFactory::createObjectProxy(const TDataMember&, TClassRef, RootJS::ObjectProxy&)’:
../src/ObjectProxyFactory.cc:72:67: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
void *object = (void*)(holder.getAddress() + type.GetOffsetCint());
^
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/ObjectProxy.o.d.raw -c -o Release/obj.target/rootjs/src/ObjectProxy.o ../src/ObjectProxy.cc
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/PrimitiveProxy.o.d.raw -c -o Release/obj.target/rootjs/src/PrimitiveProxy.o ../src/PrimitiveProxy.cc
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/NumberProxy.o.d.raw -c -o Release/obj.target/rootjs/src/NumberProxy.o ../src/NumberProxy.cc
../src/NumberProxy.cc: In member function ‘Double_t RootJS::NumberProxy::castToDouble(void*)’:
../src/NumberProxy.cc:29:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/FunctionProxyFactory.o.d.raw -c -o Release/obj.target/rootjs/src/FunctionProxyFactory.o ../src/FunctionProxyFactory.cc
g++ '-DNODE_GYP_MODULE_NAME=rootjs' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/jonas/.node-gyp/5.4.1/include/node -I/home/jonas/.node-gyp/5.4.1/src -I/home/jonas/.node-gyp/5.4.1/deps/uv/include -I/home/jonas/.node-gyp/5.4.1/deps/v8/include -I/home/jonas/Dev/rootjs/rootinstall/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-exceptions -std=gnu++0x -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/home/jonas/Dev/rootjs/rootinstall/include -MMD -MF ./Release/.deps/Release/obj.target/rootjs/src/CallbackHandler.o.d.raw -c -o Release/obj.target/rootjs/src/CallbackHandler.o ../src/CallbackHandler.cc
g++ -shared -pthread -rdynamic -m64 -Wl,-soname=rootjs.node -o Release/obj.target/rootjs.node -Wl,--start-group Release/obj.target/rootjs/src/FunctionProxy.o Release/obj.target/rootjs/src/NodeHandler.o Release/obj.target/rootjs/src/Proxy.o Release/obj.target/rootjs/src/ObjectProxyFactory.o Release/obj.target/rootjs/src/ObjectProxy.o Release/obj.target/rootjs/src/PrimitiveProxy.o Release/obj.target/rootjs/src/NumberProxy.o Release/obj.target/rootjs/src/FunctionProxyFactory.o Release/obj.target/rootjs/src/CallbackHandler.o -Wl,--end-group -L/home/jonas/Dev/rootjs/rootinstall/lib -lGui -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic
rm -rf "Release/rootjs.node" && cp -af "Release/obj.target/rootjs.node" "Release/rootjs.node"
make: Leaving directory '/home/jonas/Dev/rootjs/build'
gyp info ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment