[Pkg-javascript-devel] Bug#798162: node-leveldown: FTBFS when rebuilt against libleveldb1v5 (GCC-5 transition)

Niels Thykier niels at thykier.net
Sun Sep 6 10:57:19 UTC 2015


Package: node-leveldown
Version: 1.0.0+dfsg-1
Severity: serious
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: libstdc++-cxx11

Hi,

The node-leveldown package FTBFS when we attempted to rebuild it
against libleveldb1v5 for the GCC-5 transition:

"""
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make[2]: Entering directory '/«BUILDDIR»/node-leveldown-1.0.0+dfsg/build'
  CXX(target) Release/obj.target/leveldown/src/batch.o
[... more issues here ...]
In file included from ../src/database.h:18:0,
                 from ../src/batch.cc:5:
../src/leveldown.h:78:28: error: 'NanGetCurrentContext' was not declared in this scope
       NanGetCurrentContext()->Global(), callback, argc, argv);
                            ^
../src/batch.cc:146:5: note: in expansion of macro 'LD_RUN_CALLBACK'
     LD_RUN_CALLBACK(v8::Local<v8::Function>::Cast(args[0]), 0, NULL);
     ^
../src/leveldown.h:78:61: error: 'NanMakeCallback' was not declared in this scope
       NanGetCurrentContext()->Global(), callback, argc, argv);
                                                             ^
../src/batch.cc:146:5: note: in expansion of macro 'LD_RUN_CALLBACK'
     LD_RUN_CALLBACK(v8::Local<v8::Function>::Cast(args[0]), 0, NULL);
     ^
../src/batch.cc:149:22: error: 'NanReturnUndefined' was not declared in this scope
   NanReturnUndefined();
                      ^
make[2]: *** [Release/obj.target/leveldown/src/batch.o] Error 1
leveldown.target.mk:88: recipe for target 'Release/obj.target/leveldown/src/batch.o' failed
"""

Thanks,
~Niels



More information about the Pkg-javascript-devel mailing list