Source: node-expat
Version: 2.3.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

node-expat fails to build from source in unstable/amd64:

  [..]

  gyp info using node-gyp@3.0.3
  gyp info using node@0.10.38 | linux | x64
  make[1]: Entering directory '/tmp/buildd/node-expat-2.3.1/build'
    g++ '-DNODE_GYP_MODULE_NAME=node_expat' '-D_LARGEFILE_SOURCE'
    '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION'
    -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src
    -I/usr/include/nodejs/deps/uv/include
    -I/usr/include/nodejs/deps/v8/include
    -I../../../../usr/lib/nodejs/nan  -fPIC -Wall -Wextra
    -Wno-unused-parameter -pthread -m64 -O2 -fno-strict-aliasing
    -fno-tree-vrp -fno-omit-frame-pointer -fno-rtti -fno-exceptions -MMD
    -MF ./Release/.deps/Release/obj.target/node_expat/node-expat.o.d.raw
    -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
    -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -c -o
    Release/obj.target/node_expat/node-expat.o ../node-expat.cc
  gyp info spawn make
  gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  ../node-expat.cc: In static member function 'static void
  Parser::Initialize(v8::Handle<v8::Object>)':
  ../node-expat.cc:13:14: error: 'NanScope' was not declared in this
  scope
       NanScope();
                ^
  ../node-expat.cc:14:33: error: 'NanNew' was not declared in this scope
       Local<FunctionTemplate> t = NanNew<FunctionTemplate>(New);
                                   ^
  ../node-expat.cc:14:56: error: expected primary-expression before '>'
  token
       Local<FunctionTemplate> t = NanNew<FunctionTemplate>(New);
                                                          ^
  ../node-expat.cc:18:48: error: no matching function for call to
  'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [6],
  Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
       NODE_SET_PROTOTYPE_METHOD(t, "parse", Parse);

  [..]

The full build log is attached or can be viewed here:

    
https://reproducible.debian.net/logs/unstable/amd64/node-expat_2.3.1-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Sat Sep 19 11:36:25 GMT+12 2015
I: pbuilder-time-stamp: 1442705785
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: cdbs, devscripts, debhelper, dh-buildinfo, nodejs-dev, node-gyp, 
pkg-config, libexpat-dev, node-vows, node-iconv, nodejs, node-bindings, node-nan
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20254 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on cdbs; however:
  Package cdbs is not installed.
 pbuilder-satisfydepends-dummy depends on devscripts; however:
  Package devscripts is not installed.
 pbuilder-satisfydepends-dummy depends on dh-buildinfo; however:
  Package dh-buildinfo is not installed.
 pbuilder-satisfydepends-dummy depends on nodejs-dev; however:
  Package nodejs-dev is not installed.
 pbuilder-satisfydepends-dummy depends on node-gyp; however:
  Package node-gyp is not installed.
 pbuilder-satisfydepends-dummy depends on pkg-config; however:
  Package pkg-config is not installed.
 pbuilder-satisfydepends-dummy depends on libexpat-dev; however:
  Package libexpat-dev is not installed.
 pbuilder-satisfydepends-dummy depends on node-vows; however:
  Package node-vows is not installed.
 pbuilder-satisfydepends-dummy depends on node-iconv; however:
  Package node-iconv is not installed.
 pbuilder-satisfydepen
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version 
(0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version 
(0.invalid.0)
The following NEW packages will be installed:
  ca-certificates{a} cdbs{a} devscripts{a} dh-buildinfo{a} dh-python{a} 
  gyp{a} libc-ares-dev{a} libc-ares2{a} libexpat1{a} libexpat1-dev{a} 
  libjs-inherits{a} libjs-node-uuid{a} libmpdec2{a} libpython-stdlib{a} 
  libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} 
  libpython3.4-minimal{a} libpython3.4-stdlib{a} libssl-dev{a} 
  libssl1.0.0{a} libv8-3.14-dev{a} libv8-3.14.5{a} mime-support{a} 
  node-abbrev{a} node-ansi{a} node-async{a} node-bindings{a} 
  node-block-stream{a} node-combined-stream{a} node-cookie-jar{a} 
  node-delayed-stream{a} node-diff{a} node-eyes{a} node-forever-agent{a} 
  node-form-data{a} node-fstream{a} node-glob{a} node-graceful-fs{a} 
  node-gyp{a} node-iconv{a} node-inherits{a} node-json-stringify-safe{a} 
  node-lru-cache{a} node-mime{a} node-minimatch{a} node-mkdirp{a} 
  node-nan{a} node-node-uuid{a} node-nopt{a} node-npmlog{a} node-once{a} 
  node-osenv{a} node-qs{a} node-request{a} node-rimraf{a} node-semver{a} 
  node-sigmund{a} node-tar{a} node-tunnel-agent{a} node-vows{a} 
  node-which{a} nodejs{a} nodejs-dev{a} openssl{a} pkg-config{a} python{a} 
  python-minimal{a} python-pkg-resources{a} python2.7{a} 
  python2.7-minimal{a} python3{a} python3-minimal{a} python3.4{a} 
  python3.4-minimal{a} zlib1g-dev{a} 
0 packages upgraded, 76 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.9 MB of archives. After unpacking 68.8 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal 
amd64 2.7.10-4 [380 kB]
Get: 2 http://reproducible.alioth.debian.org/debian/ ./ cdbs 
0.4.130.0~reproducible3 [76.9 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64 
2.7.10-4 [1310 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64 
2.7.9-1 [40.3 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.59 
[36.4 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 2.1.0-7 
[80.0 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 
1.0.2d-1 [1274 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64 
2.7.10-4 [1791 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-4 
[259 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64 
2.7.9-1 [19.5 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1 
[151 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 
[85.7 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal 
amd64 3.4.3-8 [495 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib 
amd64 3.4.3-8 [2057 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 
3.4.3-8 [1401 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 
3.4.3-4 [34.7 kB]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-8 
[219 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 
3.4.3-4 [18.1 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150826 
[71.5 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 
[21.1 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main libc-ares2 amd64 
1.10.0-2 [76.7 kB]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main openssl amd64 1.0.2d-1 
[695 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main ca-certificates all 
20150426 [208 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main devscripts amd64 2.15.8 
[908 kB]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main dh-buildinfo all 0.11 
[18.3 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main python-pkg-resources all 
18.3.1-2 [99.4 kB]
Get: 27 http://ftp.de.debian.org/debian/ unstable/main gyp all 
0.1+20150913git1f374df9-1 [266 kB]
Get: 28 http://ftp.de.debian.org/debian/ unstable/main libexpat1-dev amd64 
2.1.0-7 [126 kB]
Get: 29 http://ftp.de.debian.org/debian/ unstable/main libjs-node-uuid all 
1.4.0-1 [12.6 kB]
Get: 30 http://ftp.de.debian.org/debian/ unstable/main zlib1g-dev amd64 
1:1.2.8.dfsg-2+b1 [206 kB]
Get: 31 http://ftp.de.debian.org/debian/ unstable/main libssl-dev amd64 
1.0.2d-1 [1530 kB]
Get: 32 http://ftp.de.debian.org/debian/ unstable/main libv8-3.14.5 amd64 
3.14.5.8-10 [1254 kB]
Get: 33 http://ftp.de.debian.org/debian/ unstable/main libv8-3.14-dev amd64 
3.14.5.8-10 [109 kB]
Get: 34 http://ftp.de.debian.org/debian/ unstable/main nodejs amd64 
0.10.38~dfsg-1 [660 kB]
Get: 35 http://ftp.de.debian.org/debian/ unstable/main node-async all 0.8.0-1 
[24.6 kB]
Get: 36 http://ftp.de.debian.org/debian/ unstable/main node-diff all 
1.4.0~dfsg-1 [14.8 kB]
Get: 37 http://ftp.de.debian.org/debian/ unstable/main node-eyes all 0.1.8-1 
[9602 B]
Get: 38 http://ftp.de.debian.org/debian/ unstable/main node-node-uuid all 
1.4.0-1 [9194 B]
Get: 39 http://ftp.de.debian.org/debian/ unstable/main node-lru-cache all 
2.3.1-1 [5344 B]
Get: 40 http://ftp.de.debian.org/debian/ unstable/main node-sigmund all 1.0.0-1 
[3750 B]
Get: 41 http://ftp.de.debian.org/debian/ unstable/main node-minimatch all 
1.0.0-1 [13.9 kB]
Get: 42 http://ftp.de.debian.org/debian/ unstable/main libjs-inherits all 
2.0.1-3 [2682 B]
Get: 43 http://ftp.de.debian.org/debian/ unstable/main node-inherits all 
2.0.1-3 [3568 B]
Get: 44 http://ftp.de.debian.org/debian/ unstable/main node-once all 1.1.1-1 
[2552 B]
Get: 45 http://ftp.de.debian.org/debian/ unstable/main node-glob all 4.0.5-1 
[13.1 kB]
Get: 46 http://ftp.de.debian.org/debian/ unstable/main node-vows all 0.8.1-2 
[52.5 kB]
Get: 47 http://ftp.de.debian.org/debian/ unstable/main pkg-config amd64 0.28-1 
[57.5 kB]
Get: 48 http://ftp.de.debian.org/debian/ unstable/main libc-ares-dev amd64 
1.10.0-2 [148 kB]
Get: 49 http://ftp.de.debian.org/debian/ unstable/main node-abbrev all 1.0.5-2 
[3540 B]
Get: 50 http://ftp.de.debian.org/debian/ unstable/main node-ansi all 0.3.0-2 
[8608 B]
Get: 51 http://ftp.de.debian.org/debian/ unstable/main node-bindings all 
1.2.1-1 [5376 B]
Get: 52 http://ftp.de.debian.org/debian/ unstable/main node-block-stream all 
0.0.7-1 [4550 B]
Get: 53 http://ftp.de.debian.org/debian/ unstable/main node-delayed-stream all 
0.0.5-1 [4482 B]
Get: 54 http://ftp.de.debian.org/debian/ unstable/main node-combined-stream all 
0.0.5-1 [4918 B]
Get: 55 http://ftp.de.debian.org/debian/ unstable/main node-cookie-jar all 
0.3.1-1 [3570 B]
Get: 56 http://ftp.de.debian.org/debian/ unstable/main node-forever-agent all 
0.5.1-1 [3066 B]
Get: 57 http://ftp.de.debian.org/debian/ unstable/main node-mime all 1.3.4-1 
[11.8 kB]
Get: 58 http://ftp.de.debian.org/debian/ unstable/main node-form-data all 
0.1.0-1 [6084 B]
Get: 59 http://ftp.de.debian.org/debian/ unstable/main node-rimraf all 2.2.8-1 
[5668 B]
Get: 60 http://ftp.de.debian.org/debian/ unstable/main node-mkdirp all 0.5.0-1 
[4634 B]
Get: 61 http://ftp.de.debian.org/debian/ unstable/main node-graceful-fs all 
3.0.2-1 [7070 B]
Get: 62 http://ftp.de.debian.org/debian/ unstable/main node-fstream all 
0.1.24-1 [17.5 kB]
Get: 63 http://ftp.de.debian.org/debian/ unstable/main nodejs-dev amd64 
0.10.38~dfsg-1 [270 kB]
Get: 64 http://ftp.de.debian.org/debian/ unstable/main node-nopt all 3.0.1-1 
[9484 B]
Get: 65 http://ftp.de.debian.org/debian/ unstable/main node-npmlog all 0.0.4-1 
[5516 B]
Get: 66 http://ftp.de.debian.org/debian/ unstable/main node-osenv all 0.1.0-1 
[3734 B]
Get: 67 http://ftp.de.debian.org/debian/ unstable/main node-tunnel-agent all 
0.3.1-1 [3840 B]
Get: 68 http://ftp.de.debian.org/debian/ unstable/main node-json-stringify-safe 
all 5.0.0-1 [3356 B]
Get: 69 http://ftp.de.debian.org/debian/ unstable/main node-qs all 2.2.4-1 
[8474 B]
Get: 70 http://ftp.de.debian.org/debian/ unstable/main node-request all 
2.26.1-1 [15.7 kB]
Get: 71 http://ftp.de.debian.org/debian/ unstable/main node-semver all 2.1.0-2 
[14.9 kB]
Get: 72 http://ftp.de.debian.org/debian/ unstable/main node-tar all 1.0.3-2 
[17.4 kB]
Get: 73 http://ftp.de.debian.org/debian/ unstable/main node-which all 1.0.5-2 
[3610 B]
Get: 74 http://ftp.de.debian.org/debian/ unstable/main node-gyp all 3.0.3-1 
[24.2 kB]
Get: 75 http://ftp.de.debian.org/debian/ unstable/main node-iconv amd64 
2.1.10-1 [11.1 kB]
Get: 76 http://ftp.de.debian.org/debian/ unstable/main node-nan all 2.0.9-1 
[41.1 kB]
Fetched 16.9 MB in 1s (12.6 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20254 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-4_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-4) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-4_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-4) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-4_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-4) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-4_amd64.deb ...
Unpacking python2.7 (2.7.10-4) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-4) ...
Setting up python2.7-minimal (2.7.10-4) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21056 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-8) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-8) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-8) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ...
Unpacking python3-minimal (3.4.3-4) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-8_amd64.deb ...
Unpacking python3.4 (3.4.3-8) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150826_all.deb ...
Unpacking dh-python (2.20150826) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-8) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up python3.4-minimal (3.4.3-8) ...
Setting up python3-minimal (3.4.3-4) ...
Processing triggers for libc-bin (2.19-20) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22014 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4_amd64.deb ...
Unpacking python3 (3.4.3-4) ...
Selecting previously unselected package libc-ares2:amd64.
Preparing to unpack .../libc-ares2_1.10.0-2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.10.0-2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.2d-1_amd64.deb ...
Unpacking openssl (1.0.2d-1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20150426_all.deb ...
Unpacking ca-certificates (20150426) ...
Selecting previously unselected package cdbs.
Preparing to unpack .../cdbs_0.4.130.0~reproducible3_all.deb ...
Unpacking cdbs (0.4.130.0~reproducible3) ...
Selecting previously unselected package devscripts.
Preparing to unpack .../devscripts_2.15.8_amd64.deb ...
Unpacking devscripts (2.15.8) ...
Selecting previously unselected package dh-buildinfo.
Preparing to unpack .../dh-buildinfo_0.11_all.deb ...
Unpacking dh-buildinfo (0.11) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_18.3.1-2_all.deb ...
Unpacking python-pkg-resources (18.3.1-2) ...
Selecting previously unselected package gyp.
Preparing to unpack .../gyp_0.1+20150913git1f374df9-1_all.deb ...
Unpacking gyp (0.1+20150913git1f374df9-1) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../libexpat1-dev_2.1.0-7_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-7) ...
Selecting previously unselected package libjs-node-uuid.
Preparing to unpack .../libjs-node-uuid_1.4.0-1_all.deb ...
Unpacking libjs-node-uuid (1.4.0-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.0.2d-1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.2d-1) ...
Selecting previously unselected package libv8-3.14.5.
Preparing to unpack .../libv8-3.14.5_3.14.5.8-10_amd64.deb ...
Unpacking libv8-3.14.5 (3.14.5.8-10) ...
Selecting previously unselected package libv8-3.14-dev.
Preparing to unpack .../libv8-3.14-dev_3.14.5.8-10_amd64.deb ...
Unpacking libv8-3.14-dev (3.14.5.8-10) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_0.10.38~dfsg-1_amd64.deb ...
Unpacking nodejs (0.10.38~dfsg-1) ...
Selecting previously unselected package node-async.
Preparing to unpack .../node-async_0.8.0-1_all.deb ...
Unpacking node-async (0.8.0-1) ...
Selecting previously unselected package node-diff.
Preparing to unpack .../node-diff_1.4.0~dfsg-1_all.deb ...
Unpacking node-diff (1.4.0~dfsg-1) ...
Selecting previously unselected package node-eyes.
Preparing to unpack .../node-eyes_0.1.8-1_all.deb ...
Unpacking node-eyes (0.1.8-1) ...
Selecting previously unselected package node-node-uuid.
Preparing to unpack .../node-node-uuid_1.4.0-1_all.deb ...
Unpacking node-node-uuid (1.4.0-1) ...
Selecting previously unselected package node-lru-cache.
Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ...
Unpacking node-lru-cache (2.3.1-1) ...
Selecting previously unselected package node-sigmund.
Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ...
Unpacking node-sigmund (1.0.0-1) ...
Selecting previously unselected package node-minimatch.
Preparing to unpack .../node-minimatch_1.0.0-1_all.deb ...
Unpacking node-minimatch (1.0.0-1) ...
Selecting previously unselected package libjs-inherits.
Preparing to unpack .../libjs-inherits_2.0.1-3_all.deb ...
Unpacking libjs-inherits (2.0.1-3) ...
Selecting previously unselected package node-inherits.
Preparing to unpack .../node-inherits_2.0.1-3_all.deb ...
Unpacking node-inherits (2.0.1-3) ...
Selecting previously unselected package node-once.
Preparing to unpack .../node-once_1.1.1-1_all.deb ...
Unpacking node-once (1.1.1-1) ...
Selecting previously unselected package node-glob.
Preparing to unpack .../node-glob_4.0.5-1_all.deb ...
Unpacking node-glob (4.0.5-1) ...
Selecting previously unselected package node-vows.
Preparing to unpack .../node-vows_0.8.1-2_all.deb ...
Unpacking node-vows (0.8.1-2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.28-1_amd64.deb ...
Unpacking pkg-config (0.28-1) ...
Selecting previously unselected package libc-ares-dev:amd64.
Preparing to unpack .../libc-ares-dev_1.10.0-2_amd64.deb ...
Unpacking libc-ares-dev:amd64 (1.10.0-2) ...
Selecting previously unselected package node-abbrev.
Preparing to unpack .../node-abbrev_1.0.5-2_all.deb ...
Unpacking node-abbrev (1.0.5-2) ...
Selecting previously unselected package node-ansi.
Preparing to unpack .../node-ansi_0.3.0-2_all.deb ...
Unpacking node-ansi (0.3.0-2) ...
Selecting previously unselected package node-bindings.
Preparing to unpack .../node-bindings_1.2.1-1_all.deb ...
Unpacking node-bindings (1.2.1-1) ...
Selecting previously unselected package node-block-stream.
Preparing to unpack .../node-block-stream_0.0.7-1_all.deb ...
Unpacking node-block-stream (0.0.7-1) ...
Selecting previously unselected package node-delayed-stream.
Preparing to unpack .../node-delayed-stream_0.0.5-1_all.deb ...
Unpacking node-delayed-stream (0.0.5-1) ...
Selecting previously unselected package node-combined-stream.
Preparing to unpack .../node-combined-stream_0.0.5-1_all.deb ...
Unpacking node-combined-stream (0.0.5-1) ...
Selecting previously unselected package node-cookie-jar.
Preparing to unpack .../node-cookie-jar_0.3.1-1_all.deb ...
Unpacking node-cookie-jar (0.3.1-1) ...
Selecting previously unselected package node-forever-agent.
Preparing to unpack .../node-forever-agent_0.5.1-1_all.deb ...
Unpacking node-forever-agent (0.5.1-1) ...
Selecting previously unselected package node-mime.
Preparing to unpack .../node-mime_1.3.4-1_all.deb ...
Unpacking node-mime (1.3.4-1) ...
Selecting previously unselected package node-form-data.
Preparing to unpack .../node-form-data_0.1.0-1_all.deb ...
Unpacking node-form-data (0.1.0-1) ...
Selecting previously unselected package node-rimraf.
Preparing to unpack .../node-rimraf_2.2.8-1_all.deb ...
Unpacking node-rimraf (2.2.8-1) ...
Selecting previously unselected package node-mkdirp.
Preparing to unpack .../node-mkdirp_0.5.0-1_all.deb ...
Unpacking node-mkdirp (0.5.0-1) ...
Selecting previously unselected package node-graceful-fs.
Preparing to unpack .../node-graceful-fs_3.0.2-1_all.deb ...
Unpacking node-graceful-fs (3.0.2-1) ...
Selecting previously unselected package node-fstream.
Preparing to unpack .../node-fstream_0.1.24-1_all.deb ...
Unpacking node-fstream (0.1.24-1) ...
Selecting previously unselected package nodejs-dev.
Preparing to unpack .../nodejs-dev_0.10.38~dfsg-1_amd64.deb ...
Unpacking nodejs-dev (0.10.38~dfsg-1) ...
Selecting previously unselected package node-nopt.
Preparing to unpack .../node-nopt_3.0.1-1_all.deb ...
Unpacking node-nopt (3.0.1-1) ...
Selecting previously unselected package node-npmlog.
Preparing to unpack .../node-npmlog_0.0.4-1_all.deb ...
Unpacking node-npmlog (0.0.4-1) ...
Selecting previously unselected package node-osenv.
Preparing to unpack .../node-osenv_0.1.0-1_all.deb ...
Unpacking node-osenv (0.1.0-1) ...
Selecting previously unselected package node-tunnel-agent.
Preparing to unpack .../node-tunnel-agent_0.3.1-1_all.deb ...
Unpacking node-tunnel-agent (0.3.1-1) ...
Selecting previously unselected package node-json-stringify-safe.
Preparing to unpack .../node-json-stringify-safe_5.0.0-1_all.deb ...
Unpacking node-json-stringify-safe (5.0.0-1) ...
Selecting previously unselected package node-qs.
Preparing to unpack .../node-qs_2.2.4-1_all.deb ...
Unpacking node-qs (2.2.4-1) ...
Selecting previously unselected package node-request.
Preparing to unpack .../node-request_2.26.1-1_all.deb ...
Unpacking node-request (2.26.1-1) ...
Selecting previously unselected package node-semver.
Preparing to unpack .../node-semver_2.1.0-2_all.deb ...
Unpacking node-semver (2.1.0-2) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../node-tar_1.0.3-2_all.deb ...
Unpacking node-tar (1.0.3-2) ...
Selecting previously unselected package node-which.
Preparing to unpack .../node-which_1.0.5-2_all.deb ...
Unpacking node-which (1.0.5-2) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../node-gyp_3.0.3-1_all.deb ...
Unpacking node-gyp (3.0.3-1) ...
Selecting previously unselected package node-iconv.
Preparing to unpack .../node-iconv_2.1.10-1_amd64.deb ...
Unpacking node-iconv (2.1.10-1) ...
Selecting previously unselected package node-nan.
Preparing to unpack .../node-nan_2.0.9-1_all.deb ...
Unpacking node-nan (2.0.9-1) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up mime-support (3.59) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-4) ...
Setting up python2.7 (2.7.10-4) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-8) ...
Setting up python3.4 (3.4.3-8) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
Setting up libc-ares2:amd64 (1.10.0-2) ...
Setting up openssl (1.0.2d-1) ...
Setting up ca-certificates (20150426) ...
Setting up cdbs (0.4.130.0~reproducible3) ...
Setting up dh-buildinfo (0.11) ...
Setting up python-pkg-resources (18.3.1-2) ...
Setting up gyp (0.1+20150913git1f374df9-1) ...
Setting up libexpat1-dev:amd64 (2.1.0-7) ...
Setting up libjs-node-uuid (1.4.0-1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Setting up libssl-dev:amd64 (1.0.2d-1) ...
Setting up libv8-3.14.5 (3.14.5.8-10) ...
Setting up libv8-3.14-dev (3.14.5.8-10) ...
Setting up nodejs (0.10.38~dfsg-1) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto 
mode
Setting up node-async (0.8.0-1) ...
Setting up node-diff (1.4.0~dfsg-1) ...
Setting up node-eyes (0.1.8-1) ...
Setting up node-node-uuid (1.4.0-1) ...
Setting up node-lru-cache (2.3.1-1) ...
Setting up node-sigmund (1.0.0-1) ...
Setting up node-minimatch (1.0.0-1) ...
Setting up libjs-inherits (2.0.1-3) ...
Setting up node-inherits (2.0.1-3) ...
Setting up node-once (1.1.1-1) ...
Setting up node-glob (4.0.5-1) ...
Setting up node-vows (0.8.1-2) ...
Setting up pkg-config (0.28-1) ...
Setting up libc-ares-dev:amd64 (1.10.0-2) ...
Setting up node-abbrev (1.0.5-2) ...
Setting up node-ansi (0.3.0-2) ...
Setting up node-bindings (1.2.1-1) ...
Setting up node-block-stream (0.0.7-1) ...
Setting up node-delayed-stream (0.0.5-1) ...
Setting up node-combined-stream (0.0.5-1) ...
Setting up node-cookie-jar (0.3.1-1) ...
Setting up node-forever-agent (0.5.1-1) ...
Setting up node-mime (1.3.4-1) ...
Setting up node-form-data (0.1.0-1) ...
Setting up node-rimraf (2.2.8-1) ...
Setting up node-mkdirp (0.5.0-1) ...
Setting up node-graceful-fs (3.0.2-1) ...
Setting up node-fstream (0.1.24-1) ...
Setting up nodejs-dev (0.10.38~dfsg-1) ...
Setting up node-nopt (3.0.1-1) ...
Setting up node-npmlog (0.0.4-1) ...
Setting up node-osenv (0.1.0-1) ...
Setting up node-tunnel-agent (0.3.1-1) ...
Setting up node-json-stringify-safe (5.0.0-1) ...
Setting up node-qs (2.2.4-1) ...
Setting up node-request (2.26.1-1) ...
Setting up node-semver (2.1.0-2) ...
Setting up node-tar (1.0.3-2) ...
Setting up node-which (1.0.5-2) ...
Setting up node-gyp (3.0.3-1) ...
Setting up node-iconv (2.1.10-1) ...
Setting up node-nan (2.0.9-1) ...
Setting up python3 (3.4.3-4) ...
Setting up devscripts (2.15.8) ...
Setting up dh-python (2.20150826) ...
Processing triggers for libc-bin (2.19-20) ...
Processing triggers for ca-certificates (20150426) ...
Updating certificates in /etc/ssl/certs...
180 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [node-expat_2.3.1-1.dsc]
I: copying [./node-expat_2.3.1.orig.tar.gz]
I: copying [./node-expat_2.3.1-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue May 19 09:13:25 2015 GMT+12 using RSA key ID C1A00121
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./node-expat_2.3.1-1.dsc
dpkg-source: info: extracting node-expat in node-expat-2.3.1
dpkg-source: info: unpacking node-expat_2.3.1.orig.tar.gz
dpkg-source: info: unpacking node-expat_2.3.1-1.debian.tar.xz
dpkg-source: info: applying 1001_relax_test_timing_tolerance.patch
dpkg-source: info: applying 2001_nodejs_not_node.patch
dpkg-source: info: applying 2002_system_shared_linking.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package node-expat
dpkg-buildpackage: source version 2.3.1-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Jonas Smedegaard <d...@jones.dk>
 dpkg-source --before-build node-expat-2.3.1
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
test -x debian/rules
for i in ./deps/libexpat/conftools/config.guess 
./deps/libexpat/conftools/config.sub  ; do \
        if test -e $i.cdbs-orig ; then \
                mv $i.cdbs-orig $i ; \
        fi ; \
done
rm -f debian/copyright_newhints
rm -f debian/cdbs-install-list debian/cdbs-package-list 
debian/stamp-copyright-check
rm -rf "debian/upstream-cruft"
rm -f debian/stamp-upstream-cruft
dh_clean 
node-gyp clean
gyp info it worked if it ends with ok
gyp info using node-gyp@3.0.3
gyp info using node@0.10.38 | linux | x64
gyp info ok 
rm -f debian/stamp-node-gyp-*
 debian/rules build
test -x debian/rules
mkdir -p "."

Scanning upstream source for new/changed copyright notices...

licensecheck -c '.*' -r --copyright -i 
'^debian/(changelog|copyright(|_hints|_newhints))' -l '99999' * | 
/usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
/usr/bin/licensecheck warning: cannot parse file 
'deps/libexpat/doc/valid-xhtml10.png' with mime type 'image/png; charset=binary'
/usr/bin/licensecheck warning: cannot parse file 'deps/libexpat/doc/expat.png' 
with mime type 'image/png; charset=binary'
20 combinations of copyright and licensing found.
WARNING: The following (and possibly more) new or changed notices discovered:

Copyright: 1992-1999, 2000-2011, Free Software Foundation, …
  1992-2000, 2001-2011, Free
  and license
  1992-1996, 1998-2001, 2002-2010, Free Software
  1996-2001, 2003-2005, 2006-2010, Free Software Foundation,
Copyright: 1996-2001, 2003-2005, 2006-2010, Free Software …
  1996-2004, 2005-2009, Free Software Foundation, Inc.
Copyright: 1996-2001, 2003-2005, 2006-2010, Free Software …
Copyright: 1996-2001, 2003-2006, 2007-2010, Free Software …

To fix the situation please do the following:
  1) Fully compare debian/copyright_hints with debian/copyright_newhints
  2) Update debian/copyright as needed
  3) Replace debian/copyright_hints with debian/copyright_newhints
touch debian/stamp-copyright-check
touch debian/stamp-upstream-cruft
if test -e /usr/share/misc/config.guess ; then \
        for i in ./deps/libexpat/conftools/config.guess ; do \
                if ! test -e $i.cdbs-orig ; then \
                        mv $i $i.cdbs-orig ; \
                        cp --remove-destination /usr/share/misc/config.guess $i 
; \
                fi ; \
        done ; \
fi
if test -e /usr/share/misc/config.sub ; then \
        for i in ./deps/libexpat/conftools/config.sub ; do \
                if ! test -e $i.cdbs-orig ; then \
                        mv $i $i.cdbs-orig ; \
                        cp --remove-destination /usr/share/misc/config.sub $i ; 
\
                fi ; \
        done ; \
fi
node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@3.0.3
gyp info using node@0.10.38 | linux | x64
gyp info spawn 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',
gyp info spawn args   '-I',
gyp info spawn args   '/tmp/buildd/node-expat-2.3.1/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/share/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/include/nodejs/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/usr/include/nodejs',
gyp info spawn args   '-Dnode_gyp_dir=/usr/share/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args   '-Dmodule_root_dir=/tmp/buildd/node-expat-2.3.1',
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 info ok 
touch debian/stamp-node-gyp-configure
V=1  CC="cc"  CXX="g++"  CFLAGS="-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall"  CXXFLAGS="-g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -Wall"  CPPFLAGS="-Wdate-time 
-D_FORTIFY_SOURCE=2"  LDFLAGS="-Wl,-z,relro" \
        node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@3.0.3
gyp info using node@0.10.38 | linux | x64
make[1]: Entering directory '/tmp/buildd/node-expat-2.3.1/build'
  g++ '-DNODE_GYP_MODULE_NAME=node_expat' '-D_LARGEFILE_SOURCE' 
'-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' 
-I/usr/include/nodejs/include/node -I/usr/include/nodejs/src 
-I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/v8/include 
-I../../../../usr/lib/nodejs/nan  -fPIC -Wall -Wextra -Wno-unused-parameter 
-pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-omit-frame-pointer 
-fno-rtti -fno-exceptions -MMD -MF 
./Release/.deps/Release/obj.target/node_expat/node-expat.o.d.raw -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time 
-D_FORTIFY_SOURCE=2 -c -o Release/obj.target/node_expat/node-expat.o 
../node-expat.cc
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
../node-expat.cc: In static member function 'static void 
Parser::Initialize(v8::Handle<v8::Object>)':
../node-expat.cc:13:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:14:33: error: 'NanNew' was not declared in this scope
     Local<FunctionTemplate> t = NanNew<FunctionTemplate>(New);
                                 ^
../node-expat.cc:14:56: error: expected primary-expression before '>' token
     Local<FunctionTemplate> t = NanNew<FunctionTemplate>(New);
                                                        ^
../node-expat.cc:18:48: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [6], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "parse", Parse);
                                                ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:18:48: note:   cannot convert 'Parser::Parse' (type 
'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "parse", Parse);
                                                ^
../node-expat.cc:19:60: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [12], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "setEncoding", SetEncoding);
                                                            ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:19:60: note:   cannot convert 'Parser::SetEncoding' (type 
'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "setEncoding", SetEncoding);
                                                            ^
../node-expat.cc:20:74: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [19], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "setUnknownEncoding", SetUnknownEncoding);
                                                                          ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:20:74: note:   cannot convert 'Parser::SetUnknownEncoding' 
(type 'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "setUnknownEncoding", SetUnknownEncoding);
                                                                          ^
../node-expat.cc:21:54: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [9], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "getError", GetError);
                                                      ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:21:54: note:   cannot convert 'Parser::GetError' (type 
'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "getError", GetError);
                                                      ^
../node-expat.cc:22:46: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [5], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "stop", Stop);
                                              ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:22:46: note:   cannot convert 'Parser::Stop' (type 
'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "stop", Stop);
                                              ^
../node-expat.cc:23:50: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [7], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "resume", Resume);
                                                  ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:23:50: note:   cannot convert 'Parser::Resume' (type 
'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "resume", Resume);
                                                  ^
../node-expat.cc:24:48: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [6], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "reset", Reset);
                                                ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:24:48: note:   cannot convert 'Parser::Reset' (type 
'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "reset", Reset);
                                                ^
../node-expat.cc:25:78: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [21], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "getCurrentLineNumber", GetCurrentLineNumber);
                                                                              ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:25:78: note:   cannot convert 'Parser::GetCurrentLineNumber' 
(type 'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "getCurrentLineNumber", GetCurrentLineNumber);
                                                                              ^
../node-expat.cc:26:82: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [23], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "getCurrentColumnNumber", 
GetCurrentColumnNumber);
                                                                                
  ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:26:82: note:   cannot convert 'Parser::GetCurrentColumnNumber' 
(type 'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "getCurrentColumnNumber", 
GetCurrentColumnNumber);
                                                                                
  ^
../node-expat.cc:27:76: error: no matching function for call to 
'SetPrototypeMethod(v8::Local<v8::FunctionTemplate>&, const char [20], 
Nan::NAN_METHOD_RETURN_TYPE (&)(Nan::NAN_METHOD_ARGS_TYPE))'
     NODE_SET_PROTOTYPE_METHOD(t, "getCurrentByteIndex", GetCurrentByteIndex);
                                                                            ^
In file included from ../../../../usr/lib/nodejs/nan/nan.h:24:0,
                 from ../node-expat.cc:1:
/usr/include/nodejs/src/node.h:120:6: note: candidate: template<class target_t> 
void node::SetPrototypeMethod(target_t, const char*, v8::InvocationCallback)
 void SetPrototypeMethod(target_t target,
      ^
/usr/include/nodejs/src/node.h:120:6: note:   template argument 
deduction/substitution failed:
../node-expat.cc:27:76: note:   cannot convert 'Parser::GetCurrentByteIndex' 
(type 'Nan::NAN_METHOD_RETURN_TYPE(Nan::NAN_METHOD_ARGS_TYPE) {aka void(const 
Nan::FunctionCallbackInfo<v8::Value>&)}') to type 'v8::InvocationCallback {aka 
v8::Handle<v8::Value> (*)(const v8::Arguments&)}'
     NODE_SET_PROTOTYPE_METHOD(t, "getCurrentByteIndex", GetCurrentByteIndex);
                                                                            ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::New(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:37:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:39:9: error: 'args' was not declared in this scope
     if (args.Length() == 1 && args[0]->IsString())
         ^
../node-expat.cc:42:64: error: 'NanRawString' was not declared in this scope
         NanRawString(args[0], Nan::ASCII, NULL, encoding, 32, 0);
                                                                ^
../node-expat.cc:48:18: error: 'args' was not declared in this scope
     parser->Wrap(args.This());
                  ^
../node-expat.cc:49:31: error: 'NanReturnValue' was not declared in this scope
     NanReturnValue(args.This());
                               ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::Parse(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:83:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:84:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:98:70: error: 'NanTrue' was not declared in this scope
         NanReturnValue(parser->parseString(**str, isFinal) ? NanTrue() : 
NanFalse());
                                                                      ^
../node-expat.cc:98:83: error: 'NanFalse' was not declared in this scope
         NanReturnValue(parser->parseString(**str, isFinal) ? NanTrue() : 
NanFalse());
                                                                                
   ^
../node-expat.cc:98:84: error: 'NanReturnValue' was not declared in this scope
         NanReturnValue(parser->parseString(**str, isFinal) ? NanTrue() : 
NanFalse());
                                                                                
    ^
../node-expat.cc:105:70: error: 'NanTrue' was not declared in this scope
           NanReturnValue(parser->parseBuffer(obj, isFinal) ? NanTrue() : 
NanFalse());
                                                                      ^
../node-expat.cc:105:83: error: 'NanFalse' was not declared in this scope
           NanReturnValue(parser->parseBuffer(obj, isFinal) ? NanTrue() : 
NanFalse());
                                                                                
   ^
../node-expat.cc:105:84: error: 'NanReturnValue' was not declared in this scope
           NanReturnValue(parser->parseBuffer(obj, isFinal) ? NanTrue() : 
NanFalse());
                                                                                
    ^
../node-expat.cc:109:68: error: 'NanThrowTypeError' was not declared in this 
scope
           NanThrowTypeError("Parse buffer must be String or Buffer");
                                                                    ^
../node-expat.cc:110:30: error: 'NanReturnUndefined' was not declared in this 
scope
           NanReturnUndefined();
                              ^
../node-expat.cc:114:64: error: 'NanThrowTypeError' was not declared in this 
scope
       NanThrowTypeError("Parse buffer must be String or Buffer");
                                                                ^
../node-expat.cc:115:26: error: 'NanReturnUndefined' was not declared in this 
scope
       NanReturnUndefined();
                          ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::SetEncoding(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:144:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:145:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:150:64: error: 'NanRawString' was not declared in this scope
         NanRawString(args[0], Nan::ASCII, NULL, encoding, 32, 0);
                                                                ^
../node-expat.cc:156:41: error: 'NanTrue' was not declared in this scope
         NanReturnValue(status ? NanTrue() : NanFalse());
                                         ^
../node-expat.cc:156:54: error: 'NanFalse' was not declared in this scope
         NanReturnValue(status ? NanTrue() : NanFalse());
                                                      ^
../node-expat.cc:156:55: error: 'NanReturnValue' was not declared in this scope
         NanReturnValue(status ? NanTrue() : NanFalse());
                                                       ^
../node-expat.cc:159:31: error: 'NanFalse' was not declared in this scope
       NanReturnValue(NanFalse());
                               ^
../node-expat.cc:159:32: error: 'NanReturnValue' was not declared in this scope
       NanReturnValue(NanFalse());
                                ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::GetError(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:171:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:172:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:176:34: error: 'NanNew' was not declared in this scope
       NanReturnValue(NanNew(error));
                                  ^
../node-expat.cc:176:35: error: 'NanReturnValue' was not declared in this scope
       NanReturnValue(NanNew(error));
                                   ^
../node-expat.cc:178:30: error: 'NanNull' was not declared in this scope
       NanReturnValue(NanNull());
                              ^
../node-expat.cc:178:31: error: 'NanReturnValue' was not declared in this scope
       NanReturnValue(NanNull());
                               ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::Stop(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:185:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:186:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:190:37: error: 'NanTrue' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                     ^
../node-expat.cc:190:50: error: 'NanFalse' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                                  ^
../node-expat.cc:190:51: error: 'NanReturnValue' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                                   ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::Resume(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:202:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:203:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:207:37: error: 'NanTrue' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                     ^
../node-expat.cc:207:50: error: 'NanFalse' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                                  ^
../node-expat.cc:207:51: error: 'NanReturnValue' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                                   ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::Reset(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:217:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:218:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:223:64: error: 'NanRawString' was not declared in this scope
         NanRawString(args[0], Nan::ASCII, NULL, encoding, 32, 0);
                                                                ^
../node-expat.cc:229:37: error: 'NanTrue' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                     ^
../node-expat.cc:229:50: error: 'NanFalse' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                                  ^
../node-expat.cc:229:51: error: 'NanReturnValue' was not declared in this scope
     NanReturnValue(status ? NanTrue() : NanFalse());
                                                   ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::GetCurrentLineNumber(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:245:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:246:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:248:57: error: 'NanNew' was not declared in this scope
     NanReturnValue(NanNew(parser->getCurrentLineNumber()));
                                                         ^
../node-expat.cc:248:58: error: 'NanReturnValue' was not declared in this scope
     NanReturnValue(NanNew(parser->getCurrentLineNumber()));
                                                          ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::GetCurrentColumnNumber(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:258:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:259:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:261:59: error: 'NanNew' was not declared in this scope
     NanReturnValue(NanNew(parser->getCurrentColumnNumber()));
                                                           ^
../node-expat.cc:261:60: error: 'NanReturnValue' was not declared in this scope
     NanReturnValue(NanNew(parser->getCurrentColumnNumber()));
                                                            ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::GetCurrentByteIndex(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:271:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:272:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:274:56: error: 'NanNew' was not declared in this scope
     NanReturnValue(NanNew(parser->getCurrentByteIndex()));
                                                        ^
../node-expat.cc:274:57: error: 'NanReturnValue' was not declared in this scope
     NanReturnValue(NanNew(parser->getCurrentByteIndex()));
                                                         ^
../node-expat.cc: In static member function 'static void 
Parser::StartElement(void*, const XML_Char*, const XML_Char**)':
../node-expat.cc:295:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:299:26: error: 'NanNew' was not declared in this scope
     Local<Object> attr = NanNew<Object>();
                          ^
../node-expat.cc:299:39: error: expected primary-expression before '>' token
     Local<Object> attr = NanNew<Object>();
                                       ^
../node-expat.cc:299:41: error: expected primary-expression before ')' token
     Local<Object> attr = NanNew<Object>();
                                         ^
../node-expat.cc: In static member function 'static void 
Parser::EndElement(void*, const XML_Char*)':
../node-expat.cc:313:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:317:50: error: 'NanNew' was not declared in this scope
     Handle<Value> argv[2] = { NanNew("endElement"), NanNew(name) };
                                                  ^
../node-expat.cc: In static member function 'static void 
Parser::StartCdata(void*)':
../node-expat.cc:323:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:327:50: error: 'NanNew' was not declared in this scope
     Handle<Value> argv[1] = { NanNew("startCdata") };
                                                  ^
../node-expat.cc: In static member function 'static void 
Parser::EndCdata(void*)':
../node-expat.cc:333:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:337:48: error: 'NanNew' was not declared in this scope
     Handle<Value> argv[1] = { NanNew("endCdata") };
                                                ^
../node-expat.cc: In static member function 'static void Parser::Text(void*, 
const XML_Char*, int)':
../node-expat.cc:344:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:348:44: error: 'NanNew' was not declared in this scope
     Handle<Value> argv[2] = { NanNew("text"),
                                            ^
../node-expat.cc: In static member function 'static void 
Parser::ProcessingInstruction(void*, const XML_Char*, const XML_Char*)':
../node-expat.cc:356:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:360:61: error: 'NanNew' was not declared in this scope
     Handle<Value> argv[3] = { NanNew("processingInstruction"),
                                                             ^
../node-expat.cc: In static member function 'static void Parser::Comment(void*, 
const XML_Char*)':
../node-expat.cc:369:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:373:47: error: 'NanNew' was not declared in this scope
     Handle<Value> argv[2] = { NanNew("comment"), NanNew(data) };
                                               ^
../node-expat.cc: In static member function 'static void Parser::XmlDecl(void*, 
const XML_Char*, const XML_Char*, int)':
../node-expat.cc:381:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:387:47: error: 'NanNew' was not declared in this scope
                     argv[0] = NanNew("xmlDecl");
                                               ^
../node-expat.cc:389:39: error: 'NanNull' was not declared in this scope
     else            argv[1] = NanNull();
                                       ^
../node-expat.cc:391:39: error: 'NanNull' was not declared in this scope
     else            argv[2] = NanNull();
                                       ^
../node-expat.cc:392:39: error: 'NanTrue' was not declared in this scope
     if (standalone) argv[3] = NanTrue();
                                       ^
../node-expat.cc:393:40: error: 'NanFalse' was not declared in this scope
     else            argv[3] = NanFalse();
                                        ^
../node-expat.cc: In static member function 'static void 
Parser::EntityDecl(void*, const XML_Char*, int, const XML_Char*, int, const 
XML_Char*, const XML_Char*, const XML_Char*, const XML_Char*)':
../node-expat.cc:402:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:408:59: error: 'NanNew' was not declared in this scope
                              argv[0] = NanNew("entityDecl");
                                                           ^
../node-expat.cc:410:48: error: 'NanNull' was not declared in this scope
     else                     argv[1] = NanNull();
                                                ^
../node-expat.cc:411:48: error: 'NanTrue' was not declared in this scope
     if (is_parameter_entity) argv[2] = NanTrue();
                                                ^
../node-expat.cc:412:49: error: 'NanFalse' was not declared in this scope
     else                     argv[2] = NanFalse();
                                                 ^
../node-expat.cc:414:48: error: 'NanNull' was not declared in this scope
     else                     argv[3] = NanNull();
                                                ^
../node-expat.cc:416:48: error: 'NanNull' was not declared in this scope
     else                     argv[4] = NanNull();
                                                ^
../node-expat.cc:418:48: error: 'NanNull' was not declared in this scope
     else                     argv[5] = NanNull();
                                                ^
../node-expat.cc:420:48: error: 'NanNull' was not declared in this scope
     else                     argv[6] = NanNull();
                                                ^
../node-expat.cc:422:48: error: 'NanNull' was not declared in this scope
     else                     argv[7] = NanNull();
                                                ^
../node-expat.cc: In static member function 'static int 
Parser::UnknownEncoding(void*, const XML_Char*, XML_Encoding*)':
../node-expat.cc:431:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:438:49: error: 'NanNew' was not declared in this scope
               argv[0] = NanNew("unknownEncoding");
                                                 ^
../node-expat.cc:440:33: error: 'NanNull' was not declared in this scope
     else      argv[1] = NanNull();
                                 ^
../node-expat.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE 
Parser::SetUnknownEncoding(Nan::NAN_METHOD_ARGS_TYPE)':
../node-expat.cc:458:49: error: 'args' was not declared in this scope
     Parser *parser = ObjectWrap::Unwrap<Parser>(args.This());
                                                 ^
../node-expat.cc:459:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:462:111: error: 'NanThrowError' was not declared in this scope
       NanThrowError("setUnknownEncoding() must be synchronously invoked from 
an unknownEncoding event handler");
                                                                                
                               ^
../node-expat.cc:465:42: error: expected primary-expression before '>' token
       Local<Array> map = args[0].As<Array>();
                                          ^
../node-expat.cc:465:44: error: expected primary-expression before ')' token
       Local<Array> map = args[0].As<Array>();
                                            ^
../node-expat.cc:468:43: error: 'NanNew' was not declared in this scope
         Local<Value> m = map->Get(NanNew(i));
                                           ^
../node-expat.cc:472:75: error: 'NanThrowTypeError' was not declared in this 
scope
           NanThrowTypeError("UnknownEncoding map must consist of 256 ints");
                                                                           ^
../node-expat.cc:475:65: error: 'NanThrowTypeError' was not declared in this 
scope
       NanThrowTypeError("SetUnknownEncoding expects a map array");
                                                                 ^
../node-expat.cc:478:24: error: 'NanReturnUndefined' was not declared in this 
scope
     NanReturnUndefined();
                        ^
../node-expat.cc: In member function 'void Parser::Emit(int, 
v8::Handle<v8::Value>*)':
../node-expat.cc:483:14: error: 'NanScope' was not declared in this scope
     NanScope();
              ^
../node-expat.cc:485:53: error: 'NanObjectWrapHandle' was not declared in this 
scope
     Handle<Object> handle = NanObjectWrapHandle(this);
                                                     ^
../node-expat.cc:486:53: error: 'NanNew' was not declared in this scope
     Local<Function> emit = handle->Get(NanNew("emit")).As<Function>();
                                                     ^
../node-expat.cc:486:67: error: expected primary-expression before '>' token
     Local<Function> emit = handle->Get(NanNew("emit")).As<Function>();
                                                                   ^
../node-expat.cc:486:69: error: expected primary-expression before ')' token
     Local<Function> emit = handle->Get(NanNew("emit")).As<Function>();
                                                                     ^
node_expat.target.mk:88: recipe for target 
'Release/obj.target/node_expat/node-expat.o' failed
make[1]: *** [Release/obj.target/node_expat/node-expat.o] Error 1
make[1]: Leaving directory '/tmp/buildd/node-expat-2.3.1/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:270:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(child_process.js:820:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "build"
gyp ERR! cwd /tmp/buildd/node-expat-2.3.1
gyp ERR! node -v v0.10.38
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
debian/rules:52: recipe for target 'debian/stamp-node-gyp-build' failed
make: *** [debian/stamp-node-gyp-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//11210 and its subdirectories
_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to