[Pkg-javascript-devel] Bug#802213: node-postgres: FTBFS: error: expected class-name before '{' token

Chris Lamb lamby at debian.org
Sun Oct 18 13:23:06 UTC 2015


Source: node-postgres
Version: 0.13.3-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-postgres fails to build from source in unstable/amd64:

  [..]

  gyp info spawn make
  make[1]: Entering directory '/tmp/buildd/node-postgres-0.13.3/build'
  gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
    g++ '-DNODE_GYP_MODULE_NAME=binding' '-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/include/postgresql 
    -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3
    -ffunction-sections -fdata-sections -fno-omit-frame-pointer
    -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF
    ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw -g
    -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall
    -Wdate-time -D_FORTIFY_SOURCE=2 -c -o
    Release/obj.target/binding/src/binding.o ../src/binding.cc
  ../src/binding.cc:36:38: error: expected class-name before '{' token
   class Connection : public ObjectWrap {
                                        ^
  ../src/binding.cc:84:12: error: 'uv_poll_t' has not been declared
     io_event(uv_poll_t* w, int status, int revents)
              ^
  ../src/binding.cc:100:17: error: 'Arguments' does not name a type
     Connect(const Arguments& args)
                   ^
  ../src/binding.cc:120:16: error: 'Arguments' does not name a type
     Cancel(const Arguments& args)
                  ^
  ../src/binding.cc:136:19: error: 'Arguments' does not name a type
     SendQuery(const Arguments& args)
                     ^
  ../src/binding.cc:159:29: error: 'Arguments' does not name a type
     SendQueryWithParams(const Arguments& args)
                               ^
  ../src/binding.cc:168:21: error: 'Arguments' does not name a type
     SendPrepare(const Arguments& args)
                       ^
  ../src/binding.cc:183:27: error: 'Arguments' does not name a type
     SendQueryPrepared(const Arguments& args)
                             ^
  ../src/binding.cc:191:36: error: 'Arguments' does not name a type
     DispatchParameterizedQuery(const Arguments& args, bool isPrepared)
                                      ^
  ../src/binding.cc:235:13: error: 'Arguments' does not name a type
     End(const Arguments& args)
               ^
  ../src/binding.cc:245:3: error: 'uv_poll_t' does not name a type
     uv_poll_t read_watcher_;
     ^
  ../src/binding.cc:246:3: error: 'uv_poll_t' does not name a type
     uv_poll_t  write_watcher_;
     ^
  ../src/binding.cc:269:27: error: 'Arguments' does not name a type
     SendCopyFromChunk(const Arguments& args) {
                             ^
  ../src/binding.cc:280:21: error: 'Arguments' does not name a type
     EndCopyFrom(const Arguments& args) {
                       ^
  ../src/binding.cc:296:14: error: 'Arguments' does not name a type
     New (const Arguments& args)
                ^
  In file included from /usr/include/nodejs/src/node.h:42:0,
                   from ../src/binding.cc:2:
  /usr/include/nodejs/deps/v8/include/v8.h: In static member function
  'static void Connection::Init(v8::Handle<v8::Object>)':
  /usr/include/nodejs/deps/v8/include/v8.h:885:13: error:
  'v8::HandleScope::HandleScope()' is protected
     V8_INLINE HandleScope() {}

  [..]

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

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-postgres.0.13.3-1.unstable.amd64.log.txt.gz
Type: application/gzip
Size: 12593 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20151018/a2cd9703/attachment-0001.bin>


More information about the Pkg-javascript-devel mailing list