Skip to content

Possible python version bug, during build on MacOS High Sierra #22353

@SirR4T

Description

@SirR4T
  • Version: v8.11.3
  • Platform: Darwin hostname.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
  • Subsystem: build

When running make -j8 after pulling the latest upstream master, I sometimes see this error:


  File "../third_party/inspector_protocol/CheckProtocolCompatibility.py", line 470
    print "  Public changes since %s:" % version
                                     ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("  Public changes since %s:" % version)?
make[1]: *** [/Users/saratchandra/Play/Github/nodejs/node/out/Release/obj/gen/src/js_protocol.stamp] Error 1
make[1]: *** Waiting for unfinished jobs....
Failed to parse command-line arguments: 'str' object has no attribute 'decode'

Failed to parse command-line arguments: 'str' object has no attribute 'decode'

make[1]: *** [7f4282a28ceb040a63a7982b4d396ec51b11796f.intermediate] Error 1
make[1]: *** [463be0202ecca11b345bd9ea2e1944ad6f917b33.intermediate] Error 1
rm 2be2316469838db878135dc7e59cb5f41a42f3a7.intermediate 7f4282a28ceb040a63a7982b4d396ec51b11796f.intermediate 463be0202ecca11b345bd9ea2e1944ad6f917b33.intermediate
make: *** [node] Error 2

This seems to get fixed when running ./configure and make -j8 again, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wrong repoIssues that should be opened in another repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions