Skip to content

Build failure with v8 canary #921

@aalexand

Description

@aalexand

We've been seeing this for a couple of months, filing to see if there are easy fixes.

Building https://github.com/google/pprof-nodejs with v8-canary gives this error:

+ timeout 60 npm install --quiet --nodedir=/bin/.nvm/versions/node/v17.0.0-v8-canary20211015aebb1af5c0
node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/cloud-profiler/pprof-nodejs/release/v3.2.0/node-v103-linux-x64-glibc.tar.gz 
node-pre-gyp WARN Pre-built binaries not installable for pprof@3.2.0 and node@17.0.0-v8-canary20211015aebb1af5c0 (node-v103 ABI, glibc) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Hit error response status 404 Not Found on https://storage.googleapis.com/cloud-profiler/pprof-nodejs/release/v3.2.0/node-v103-linux-x64-glibc.tar.gz 
In file included from /bin/.nvm/versions/node/v17.0.0-v8-canary20211015aebb1af5c0/include/node/v8-object.h:10,
                 from /bin/.nvm/versions/node/v17.0.0-v8-canary20211015aebb1af5c0/include/node/v8-array-buffer.h:13,
                 from /bin/.nvm/versions/node/v17.0.0-v8-canary20211015aebb1af5c0/include/node/v8.h:25,
                 from /bin/.nvm/versions/node/v17.0.0-v8-canary20211015aebb1af5c0/include/node/node.h:63,
                 from ../node_modules/nan/nan.h:56,
                 from ../bindings/profiler.cc:19:
/bin/.nvm/versions/node/v17.0.0-v8-canary20211015aebb1af5c0/include/node/v8-persistent-handle.h:10:10: fatal error: v8-weak-callback-info.h: No such file or directory
   10 | #include "v8-weak-callback-info.h"  // NOLINT(build/include_directory)
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [pprof.target.mk:115: Release/obj.target/pprof/bindings/profiler.o] Error 1
gyp ERR! build error 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions