Bug#919192: node-opencv: FTBFS in sid (no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [3])')

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#919192: node-opencv: FTBFS in sid (no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [3])')

Santiago Vila-2
Package: src:node-opencv
Version: 6.0.0-2
Severity: serious
Tags: ftbfs

Hello Mattia.

I tried to build this package in sid but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --with nodejs
   dh_update_autotools_config -a
   dh_autoreconf -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find /<<PKGBUILDDIR>> -name '*.xml' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.html' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.gyp' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.md' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.png' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.jpg' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.h' -exec chmod a-x {} \;
chmod a-x examples/make-example-files.sh

[... snipped ...]

../src/Matrix.cc:2633:69: warning: 'v8::Local<v8::Object> v8::Value::ToObject() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
   Matrix *other = Nan::ObjectWrap::Unwrap<Matrix>(info[0]->ToObject());
                                                                     ^
In file included from ../src/OpenCV.h:14,
                 from ../src/Contours.h:1,
                 from ../src/Matrix.cc:1:
/usr/include/nodejs/deps/v8/include/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
/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:9502: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:9502: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]
make[2]: *** [opencv.target.mk:122: Release/obj.target/opencv/src/Matrix.o] 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 ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "build" "--module=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64/opencv.node" "--module_name=opencv" "--module_path=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64" "--napi_version=3" "--node_abi_napi=napi"
gyp ERR! cwd /<<PKGBUILDDIR>>
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp build --module=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64/opencv.node --module_name=opencv --module_path=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64 --napi_version=3 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/lib/nodejs/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:962:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
node-pre-gyp ERR! System Linux 4.9.0-8-amd64
node-pre-gyp ERR! command "/usr/bin/node" "/usr/bin/node-pre-gyp" "build"
node-pre-gyp ERR! cwd /<<PKGBUILDDIR>>
node-pre-gyp ERR! node -v v10.15.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.2
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp build --module=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64/opencv.node --module_name=opencv --module_path=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64 --napi_version=3 --node_abi_napi=napi' (1)
make[1]: *** [debian/rules:26: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

This is just how the build ends and maybe not the most relevant part, so I've
put the full build log here:

https://people.debian.org/~sanvila/build-logs/node-opencv/

A very similar error happens here in the official buildds:

https://buildd.debian.org/status/package.php?p=node%2dopencv

I guess the time elapsed between it was uploaded and it was accepted
by ftpmaster has something to do with this.

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.

Reply | Threaded
Open this post in threaded view
|

Bug#919192: Bug #919192 in node-opencv marked as pending

Ying-Chun Liu (PaulLiu)-3
Control: tag -1 pending

Hello,

Bug #919192 in node-opencv reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-opencv/commit/1dc7bad3ac35ea9cafce6219ce10c74dbd3c7695

------------------------------------------------------------------------
Import Debian changes 6.0.0+git20180416.cfc96ba0-1

node-opencv (6.0.0+git20180416.cfc96ba0-1) unstable; urgency=low

  * Use upstream git repo.
    - Support node 10 (Closes: #919192)
------------------------------------------------------------------------

(this message was generated automatically)
--
Greetings

https://bugs.debian.org/919192

Reply | Threaded
Open this post in threaded view
|

Processed: Bug #919192 in node-opencv marked as pending

Debian Bug Tracking System
In reply to this post by Santiago Vila-2
Processing control commands:

> tag -1 pending
Bug #919192 [src:node-opencv] node-opencv: FTBFS in sid (no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [3])')
Added tag(s) pending.

--
919192: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919192
Debian Bug Tracking System
Contact [hidden email] with problems

Reply | Threaded
Open this post in threaded view
|

Bug#919192: marked as done (node-opencv: FTBFS in sid (no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [3])'))

Debian Bug Tracking System
In reply to this post by Santiago Vila-2
Your message dated Wed, 16 Jan 2019 21:20:11 +0000
with message-id <[hidden email]>
and subject line Bug#919192: fixed in node-opencv 6.0.0+git20180416.cfc96ba0-1
has caused the Debian Bug report #919192,
regarding node-opencv: FTBFS in sid (no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [3])')
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [hidden email]
immediately.)


--
919192: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919192
Debian Bug Tracking System
Contact [hidden email] with problems

Package: src:node-opencv
Version: 6.0.0-2
Severity: serious
Tags: ftbfs

Hello Mattia.

I tried to build this package in sid but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --with nodejs
   dh_update_autotools_config -a
   dh_autoreconf -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find /<<PKGBUILDDIR>> -name '*.xml' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.html' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.gyp' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.md' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.png' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.jpg' -exec chmod a-x {} \;
find /<<PKGBUILDDIR>> -name '*.h' -exec chmod a-x {} \;
chmod a-x examples/make-example-files.sh

[... snipped ...]

../src/Matrix.cc:2633:69: warning: 'v8::Local<v8::Object> v8::Value::ToObject() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
   Matrix *other = Nan::ObjectWrap::Unwrap<Matrix>(info[0]->ToObject());
                                                                     ^
In file included from ../src/OpenCV.h:14,
                 from ../src/Contours.h:1,
                 from ../src/Matrix.cc:1:
/usr/include/nodejs/deps/v8/include/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
/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:9502: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:9502: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]
make[2]: *** [opencv.target.mk:122: Release/obj.target/opencv/src/Matrix.o] 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 ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Linux 4.9.0-8-amd64
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "build" "--module=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64/opencv.node" "--module_name=opencv" "--module_path=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64" "--napi_version=3" "--node_abi_napi=napi"
gyp ERR! cwd /<<PKGBUILDDIR>>
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp build --module=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64/opencv.node --module_name=opencv --module_path=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64 --napi_version=3 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/lib/nodejs/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:962:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
node-pre-gyp ERR! System Linux 4.9.0-8-amd64
node-pre-gyp ERR! command "/usr/bin/node" "/usr/bin/node-pre-gyp" "build"
node-pre-gyp ERR! cwd /<<PKGBUILDDIR>>
node-pre-gyp ERR! node -v v10.15.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.2
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp build --module=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64/opencv.node --module_name=opencv --module_path=/<<PKGBUILDDIR>>/build/opencv/v6.0.0/Release/node-v64-linux-x64 --napi_version=3 --node_abi_napi=napi' (1)
make[1]: *** [debian/rules:26: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

This is just how the build ends and maybe not the most relevant part, so I've
put the full build log here:

https://people.debian.org/~sanvila/build-logs/node-opencv/

A very similar error happens here in the official buildds:

https://buildd.debian.org/status/package.php?p=node%2dopencv

I guess the time elapsed between it was uploaded and it was accepted
by ftpmaster has something to do with this.

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.

Source: node-opencv
Source-Version: 6.0.0+git20180416.cfc96ba0-1

We believe that the bug you reported is fixed in the latest version of
node-opencv, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ying-Chun Liu (PaulLiu) <[hidden email]> (supplier of updated node-opencv package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 17 Jan 2019 04:33:36 +0800
Source: node-opencv
Binary: node-opencv
Architecture: source amd64
Version: 6.0.0+git20180416.cfc96ba0-1
Distribution: unstable
Urgency: low
Maintainer: Debian Javascript Maintainers <[hidden email]>
Changed-By: Ying-Chun Liu (PaulLiu) <[hidden email]>
Description:
 node-opencv - OpenCV Bindings for node.js
Closes: 919192
Changes:
 node-opencv (6.0.0+git20180416.cfc96ba0-1) unstable; urgency=low
 .
   * Use upstream git repo.
     - Support node 10 (Closes: #919192)
Checksums-Sha1:
 1a313f109abc4af8d47ce13f3c56342961ece42b 2303 node-opencv_6.0.0+git20180416.cfc96ba0-1.dsc
 ff86e3e08a9bbaf81b21b82bdee521ef5ba2b0b6 6232937 node-opencv_6.0.0+git20180416.cfc96ba0.orig.tar.gz
 fd95dbb2a6ee0842b8fe3eadc43f3110f6d0b05b 5496 node-opencv_6.0.0+git20180416.cfc96ba0-1.debian.tar.xz
 ad6290161802405df095b97ad646c24d9e393a29 3898652 node-opencv-dbgsym_6.0.0+git20180416.cfc96ba0-1_amd64.deb
 e89e7aa6aea943736a549347c5f9899fdb538613 26118 node-opencv_6.0.0+git20180416.cfc96ba0-1_amd64.buildinfo
 e83ab2d3884029fbf1b70dc2d12b85abaecedd91 9476556 node-opencv_6.0.0+git20180416.cfc96ba0-1_amd64.deb
Checksums-Sha256:
 95d1bdb82e6dcb3ebbd51c7c4e7a2950513deb4c29346650afbdd6fbace323f4 2303 node-opencv_6.0.0+git20180416.cfc96ba0-1.dsc
 d33a974d433163c4f8f67947d5404c052b90d490f455f98529f1b789b488b3f0 6232937 node-opencv_6.0.0+git20180416.cfc96ba0.orig.tar.gz
 b72d98539821ec595528d7ea9e3e8a19ef9e97d0a08bbe64eaff925b52545896 5496 node-opencv_6.0.0+git20180416.cfc96ba0-1.debian.tar.xz
 a06f4d43a6b008bbed18097f1f3a0d79371ff62daa72ab25093fbc630abdd9a6 3898652 node-opencv-dbgsym_6.0.0+git20180416.cfc96ba0-1_amd64.deb
 377304a0cbc52588861fe4f6fca96e76e63e2a91c9db409c540547b631614547 26118 node-opencv_6.0.0+git20180416.cfc96ba0-1_amd64.buildinfo
 7c3e24eb371323ec6c023b344c8d06239f968577c2ee237dff8dfa7f994860fb 9476556 node-opencv_6.0.0+git20180416.cfc96ba0-1_amd64.deb
Files:
 99f11392b73c3fbdeafb06694b4082a2 2303 javascript optional node-opencv_6.0.0+git20180416.cfc96ba0-1.dsc
 ecb94039dc0e3a6a300947426382403a 6232937 javascript optional node-opencv_6.0.0+git20180416.cfc96ba0.orig.tar.gz
 fc705d8ea04631f151506678c80e4a39 5496 javascript optional node-opencv_6.0.0+git20180416.cfc96ba0-1.debian.tar.xz
 7e9bbf5448492d9d0b5a049fbcea1d48 3898652 debug optional node-opencv-dbgsym_6.0.0+git20180416.cfc96ba0-1_amd64.deb
 09f9c4adb73d6279f3723b5f405fa640 26118 javascript optional node-opencv_6.0.0+git20180416.cfc96ba0-1_amd64.buildinfo
 6985fd03429297d0858c9b101a967ce8 9476556 javascript optional node-opencv_6.0.0+git20180416.cfc96ba0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEo2h49GQQhoFgDLZIRBc/oT0FiIgFAlw/mXYTHHBhdWxsaXVA
ZGViaWFuLm9yZwAKCRBEFz+hPQWIiJZrD/4mNa41N4ZmEnGvWpU1XR04awYq+2Bb
Kq3alx4fGbuthshHVDCJQJU7kQrE2wqKxQbJydj6p+Azs5zNsgN93fdJqyeJJ+/+
pCQ67QSOX+8QRF3pX4FtI3vqHaKTEpSmqWYGPmgHnlb8pE71FiyMQ0HIhBO47k7j
SIpELYTrxrCFGG9fMuPqioIzVMhl16G5Pjej4hiNnh8hRXFsf3nCIup9dSSuh/6g
RDKyNkP4AY3Vt4EW0rtubjavE8Y/fUdVq8k7BQ0JYnyDWPq1aiXqWgT7Z5aIUaQC
PkbdyPcGMVn7t17DwRgLfkce8bBvObbbrZ35VnuMfdyYJlT+43KjwHynReIvHcSk
VZYC8AP/jvf7pZC0HOWEqhEMUIawYyXTsrjCfin0XwQhlodB4XMFD6ZY749UTs7j
0aCW9DOL2BkFuo/L2IQfUqBWoC2qTNzrYuQxcgApy+j/1ht9HQNutX/8StjZMEWS
LfiIss7NvWy/f6LRgAH+fccQhZbGWXfmbEwaNTQK7HkL0jpvJBf2PLmGygdciMJG
JRbXtTzyfa8Is+693dkEgZt3pvlsq5PGwfAwZASg0VHaCMPxjC2trnwthArKJ0Qg
fYalLO0vdHkTVss+3ySutSDKyRL4KnrSOsL5BhMgo2DR9sxtt2Ztsp81U7YKL0lc
UYguMp5l7zfRnQ==
=XOEb
-----END PGP SIGNATURE-----