[Reproducible-builds] Bug#799774: node-expat: FTBFS: error: 'NanScope' was not declared in this scope

Chris Lamb lamby at debian.org
Tue Sep 22 12:05:24 UTC 2015


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

Dear Maintainer,

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

  [..]

  gyp info using node-gyp at 3.0.3
  gyp info using node at 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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: node-expat.2.3.1-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150922/bc53eff1/attachment.txt>


More information about the Reproducible-builds mailing list