Package: src:node-groove Version: 2.5.0-4 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-arch dh build-arch --with nodejs dh_update_autotools_config -a debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' node-gyp configure build gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@8.11.2 | linux | x64 gyp info spawn /usr/bin/python2 gyp info spawn args [ '/usr/share/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', [... snipped ...] ../src/encoder.cc:339:39: warning: 'void node::FatalException(const v8::TryCatch&)' is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations] node::FatalException(try_catch); ^ In file included from /usr/include/nodejs/src/node_buffer.h:25, from ../src/encoder.cc:1: /usr/include/nodejs/src/node.h:338:29: note: declared here inline void FatalException(const v8::TryCatch& try_catch) { ^~~~~~~~~~~~~~ /usr/include/nodejs/src/node.h:87:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ ../src/encoder.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE GNEncoder::Detach(Nan::NAN_METHOD_ARGS_TYPE)': ../src/encoder.cc:367:31: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type] (uv_after_work_cb)DetachAfter); ^~~~~~~~~~~ In file included from /usr/include/nodejs/src/node.h:63, from /usr/include/nodejs/src/node_buffer.h:25, from ../src/encoder.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]': /usr/include/nodejs/src/node_object_wrap.h:85:78: required from here /usr/include/nodejs/deps/v8/include/v8.h:9253:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]': /usr/include/nan_object_wrap.h:66:61: required from here /usr/include/nodejs/deps/v8/include/v8.h:9253:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] SOLINK_MODULE(target) Release/obj.target/groove.node /usr/bin/ld: cannot find -lnode collect2: error: ld returned 1 exit status make[2]: *** [groove.target.mk:141: Release/obj.target/groove.node] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:262:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.9.0-8-amd64 gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "configure" "build" gyp ERR! cwd /<<PKGBUILDDIR>> gyp ERR! node -v v8.11.2 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:11: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- The build was made in my autobuilder with "dpkg-buildpackage -B" but it also fails here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-groove.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.