[Pkg-javascript-devel] Bug#788696: node-iconv: call of overloaded ‘New?=(long unsigned int&)=?UTF-8?Q?’ is ambiguous

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Jun 14 10:57:13 UTC 2015


Package: node-iconv
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

The package fails to build, possibly due to v8 changes(?):

In file included from ../../../../usr/lib/nodejs/nan/nan.h:82:0,
                 from ../src/binding.cc:18:
/usr/include/nan_new.h: In instantiation of ‘typename NanIntern::Factory<T>::return_t NanNew(A0) [with T = v8::Integer; A0 = long unsigned int; typename NanIntern::Factory<T>::return_t = v8::Local<v8::Integer>]’:
.../src/binding.cc:123:46:   required from here
/usr/include/nan_new.h:208:41: error: call of overloaded ‘New(long unsigned int&)’ is ambiguous
   return NanIntern::Factory<T>::New(arg0);
                                         ^
/usr/include/nan_new.h:208:41: note: candidates are:
In file included from /usr/include/nan_new.h:193:0,
                 from ../../../../usr/lib/nodejs/nan/nan.h:82,
                 from ../src/binding.cc:18:
/usr/include/nan_implementation_pre_12_inl.h:126:1: note: static NanIntern::IntegerFactory<T>::return_t NanIntern::IntegerFactory<T>::New(int32_t) [with T = v8::Integer; NanIntern::IntegerFactory<T>::return_t = v8::Local<v8::Integer>; int32_t = int]
 IntegerFactory<T>::New(int32_t value) {
 ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:82:0,
                 from ../src/binding.cc:18:
/usr/include/nan_new.h:111:26: note: static NanIntern::IntegerFactory<T>::return_t NanIntern::IntegerFactory<T>::New(uint32_t) [with T = v8::Integer; NanIntern::IntegerFactory<T>::return_t = v8::Local<v8::Integer>; uint32_t = unsigned int]
   static inline return_t New(uint32_t value);
                          ^
iconv.target.mk:94: recipe for target 'Release/obj.target/iconv/src/binding.o' failed
make[2]: *** [Release/obj.target/iconv/src/binding.o] Error 1

A full build log can be seen on the Reproducible Builds builder, for now:
https://reproducible.debian.net/rb-pkg/unstable/amd64/node-iconv.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-20-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-javascript-devel mailing list