Skip to content

deps: cherry-pick b8331cc030 from upstream V8 - #16743

Closed
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:v8-fix-include-paths
Closed

deps: cherry-pick b8331cc030 from upstream V8#16743
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:v8-fix-include-paths

Conversation

@danbev

Copy link
Copy Markdown
Contributor

Original commit message:

I believe the paths to the V8 include headers are incorrect. The
paths to other sources seem to be relative to the parent directory.
When building Node.js I get the following warning on Windows:
Warning: Missing input files:
deps\v8\src\..\..\include\v8-inspector-protocol.h
deps\v8\src\..\..\include\v8-inspector.h
This commit updates the two include paths.
Bug:
Change-Id: I51a057abba61e294e7811ba69db03e283b0bdc3f
Reviewed-on: https://chromium-review.googlesource.com/743981
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49121}

Fixes: #16614
Refs: v8/v8@b8331cc

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

deps

Original commit message:
I believe the paths to the V8 include headers are incorrect. The
paths to other sources seem to be relative to the parent directory.
When building Node.js I get the following warning on Windows:
Warning: Missing input files:
deps\v8\src\..\..\include\v8-inspector-protocol.h
deps\v8\src\..\..\include\v8-inspector.h
This commit updates the two include paths.
Bug:
Change-Id: I51a057abba61e294e7811ba69db03e283b0bdc3f
Reviewed-on: https://chromium-review.googlesource.com/743981
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{nodejs#49121}
Fixes: nodejs#16614
Refs: v8/v8@b8331cc
@nodejs-github-botnodejs-github-bot added the v8 engine Issues and PRs related to the V8 dependency. label Nov 4, 2017
@danbev

Copy link
Copy Markdown
ContributorAuthor

@gibfahn

Copy link
Copy Markdown
Member

So the base directory is deps/v8/src/, not deps/v8/src/inspector/? I can see how that would be confusing.

@danbev

Copy link
Copy Markdown
ContributorAuthor

So the base directory is deps/v8/src/, not deps/v8/src/inspector/? I can see how that would be confusing.

Yeah, was not obvious from just looking at the file. It gets included from deps/v8/src/v8.gyp which I think is why.

@danbev

Copy link
Copy Markdown
ContributorAuthor

@Trott

Trott commented Nov 8, 2017

Copy link
Copy Markdown
Member

CI failures on Raspberry Pi were unrelated. I've disabled the problematic host. Here's a Raspberry Pi-only rerun: https://ci.nodejs.org/job/node-test-binary-arm/11624/

danbev added a commit to danbev/node that referenced this pull request Nov 9, 2017
Original commit message:
I believe the paths to the V8 include headers are incorrect. The
paths to other sources seem to be relative to the parent directory.
When building Node.js I get the following warning on Windows:
Warning: Missing input files:
deps\v8\src\..\..\include\v8-inspector-protocol.h
deps\v8\src\..\..\include\v8-inspector.h
This commit updates the two include paths.
Bug:
Change-Id: I51a057abba61e294e7811ba69db03e283b0bdc3f
Reviewed-on: https://chromium-review.googlesource.com/743981
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{nodejs#49121}
PR-URL: nodejs#16743Fixes: nodejs#16614
Refs: v8/v8@b8331cc
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@danbev

Copy link
Copy Markdown
ContributorAuthor

Landed in 4e769a8

@danbevdanbev closed this Nov 9, 2017
@danbev
danbev deleted the v8-fix-include-paths branch November 9, 2017 07:43
evanlucas pushed a commit that referenced this pull request Nov 13, 2017
Original commit message:
I believe the paths to the V8 include headers are incorrect. The
paths to other sources seem to be relative to the parent directory.
When building Node.js I get the following warning on Windows:
Warning: Missing input files:
deps\v8\src\..\..\include\v8-inspector-protocol.h
deps\v8\src\..\..\include\v8-inspector.h
This commit updates the two include paths.
Bug:
Change-Id: I51a057abba61e294e7811ba69db03e283b0bdc3f
Reviewed-on: https://chromium-review.googlesource.com/743981
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49121}
PR-URL: #16743Fixes: #16614
Refs: v8/v8@b8331cc
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@evanlucasevanlucas mentioned this pull request Nov 13, 2017
@MylesBorins

MylesBorins commented Nov 17, 2017

Copy link
Copy Markdown
Contributor

Should this be backported to v6.x-staging or v8.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label.

edit: moving backport request to the version that landed

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

Labels

v8 engineIssues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@danbev@gibfahn@Trott@MylesBorins@jasnell@cjihrig@nodejs-github-bot