Skip to content

6.8.0 fails to compile on Arch #9076

Description

@felixonmars

I am getting the following build error when trying to compile the latest 6.8.0 release:

../src/inspector_agent.cc: In function 'void node::inspector::{anonymous}::SendProtocolJson(node::inspector::InspectorSocket*)':
../src/inspector_agent.cc:179:32: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'Bytef* {aka unsigned char*}' [-fpermissive]
   strm.next_in = PROTOCOL_JSON + 3;
                  ~~~~~~~~~~~~~~^~~
make[1]: *** [node.target.mk:155: /build/nodejs/src/nodejs/out/Release/obj.target/node/src/inspector_agent.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm 1a2fb4f4256e2051b86a2e58121a92cd599f424b.intermediate
make[1]: Leaving directory '/build/nodejs/src/nodejs/out'
make: *** [Makefile:67: node] Error 2

Activity

  1. added
    buildIssues and PRs related to Node.js builds or CI infrastructure.
    inspectorIssues and PRs related to the V8 inspector protocol.
    on Oct 13, 2016
  2. mscdex commented on Oct 13, 2016

    @mscdex
    Contributor

    Out of curiosity, which compiler and compiler version?

    /cc @nodejs/v8-inspector

  3. felixonmars commented on Oct 13, 2016

    @felixonmars
    ContributorAuthor

    The compile is g++ (GCC) 6.2.1 20160830

  4. Nibbler999 commented on Oct 13, 2016

    @Nibbler999

    Fixed by #9077

  5. felixonmars commented on Oct 13, 2016

    @felixonmars
    ContributorAuthor

    I have applied the patch in #9077, and the build went on. Thank a lot!

  6. jbergstroem commented on Oct 13, 2016

    @jbergstroem
    Member

    Lets keep this open until the PR lands.

  7. grahamc commented on Oct 14, 2016

    @grahamc

    Same on NixOS (NixOS/nixpkgs#19481, NixOS/nixpkgs#19510). Fixed the issue, thank you!

  8. evantorrie commented on Oct 15, 2016

    @evantorrie
    Contributor

    Same on RHEL6

  9. felixonmars commented on Oct 16, 2016

    @felixonmars
    ContributorAuthor

    Closing as the latest 6.8.1 release has addressed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.inspectorIssues and PRs related to the V8 inspector protocol.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions