Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.7.1 Proposal #11638

Merged
merged 9 commits into from
Mar 2, 2017
Merged

7.7.1 Proposal #11638

merged 9 commits into from
Mar 2, 2017

Conversation

italoacasas
Copy link
Contributor

@italoacasas italoacasas commented Mar 1, 2017

2017-03-01, Version 7.7.1 (Current), @italoacasas

Notable changes

Node.js 7.7.0 contains a bug that will prevent all native modules from building, this patch should fix the issue. Apologies to everyone who was affected by 7.7.0.

CI

Commits

  • [c8e34b61f6] - build: add missing src/tracing header files (Daniel Bevenius) #10851
  • [96f55f9e59] - src: move trace_event.h include to internal header (Ben Noordhuis) #10959
  • [30c80cbe6f] - src: fix TracingController cleanup (Jason Ginchereau) #10623
  • [b89b2a7d36] - src: always initialize tracing controller in agent (Matt Loring) #10507
  • [54e55e05ca] - test: make test-intl-no-icu-data more robust (Michaël Zasso) #10992
  • [7b253eb3ed] - test: increase strictness for test-trace-event (Rich Trott) #11065
  • [3dc4a5f1f4] - tracing: fix -Wunused-private-field warning (Santiago Gimeno) #10416
  • [8a918bf411] - tracing: fix -Wreorder warning (Santiago Gimeno) #10416

santigimeno and others added 7 commits March 1, 2017 10:52
Initialize `InternalTraceBuffer::id_` the last.

PR-URL: #10416
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Remove `external_buffer_` from `InternalTraceBuffer` as it seems not to
be used anywhere.

PR-URL: #10416
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #10507
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
This fixes an incorrect deletion of the `TracingController` instance,
which in some environments could cause an error about an invalid
pointer passed to `free()`. The `TracingController` instance is
actually owned by a `unique_ptr` member of the platform, so calling
`platform::SetTracingController(nullptr)` is the correct way to
delete it. But before that, the `TraceBuffer` must be deleted in
order for the tracing loop to exit; that is accomplished by calling
`TracingController::Initialize(nullptr)`.

PR-URL: #10623
Reviewed-By: Matthew Loring <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
I noticed that only one header from src/tracing is included in the
sources list in node.gyp. Not sure if this is intentional or not so I
wanted to bring it up just in case this was overlooked.

PR-URL: #10851
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Italo A. Casas <[email protected]>
Move the include from src/node.h to src/node_internals.h.

trace_event.h is not shipped in binary-only and headers-only tarballs,
making it currently impossible to build add-ons against them.

PR-URL: #10959
Refs: nodejs/citgm#226 (comment)
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Matthew Loring <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Stephen Belanger <[email protected]>
Change test-trace-event such that it checks that all expected values are
within the same trace object rather than scattered across multiple trace
objects.

PR-URL: #11065
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. c++ Issues and PRs that require attention from people who are familiar with C++. trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events. v7.x labels Mar 1, 2017
@italoacasas italoacasas added meta Issues and PRs related to the general management of the project. and removed build Issues and PRs related to build files or the CI. c++ Issues and PRs that require attention from people who are familiar with C++. trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events. labels Mar 1, 2017
In V8 5.6, String#toLocaleUpperCase can work even when no ICU data is
loaded. Use another method to check the --icu-data-dir option pointing
to an empty directory.

PR-URL: #10992
Reviewed-By: Ben Noordhuis <[email protected]>

### Notables changes

Node.js 7.7.0 contains a bug that will prevent all native modules from loading, this patch should fix the issue. Apologies to everyone who was affected by 7.7.0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace "loading" with either "compiling" or "building". Any prebuilt modules would have been fine.

@rmg
Copy link
Contributor

rmg commented Mar 1, 2017

Since v7.7.0 was passing on citgm because it was only testing the build output and not the release packaged binaries, is there a way to run this proposed release against citgm using rc-style binary packages?

@italoacasas
Copy link
Contributor Author

@rmg I'm going to test the binaries manually with native modules.

cc: @MylesBorins

is there a way to run this proposed release against citgm using rc-style binary packages?

@italoacasas
Copy link
Contributor Author

@targos I see errors in CITGM related with native modules. Any idea?

@richardlau
Copy link
Member

What do the errors look like?

@italoacasas
Copy link
Contributor Author

italoacasas commented Mar 1, 2017

@richardlau

warn: module name:        | request             
warn: version:            | 2.79.0              
warn: error:              | Install Failed      
warn: error:              | undefined                                                                                                                                                                                                                                                                                   
warn:                     | > [email protected] install /tmp/fdccdfb4-d49d-48b4-bff3-bfbd848bcd7b/request/node_modules/execSync                                                                                                                                                                                            
warn:                     | > node install.js                                                                                                                                                                                                                                                                           
warn:                     |                                                                                                                                                                                                                                                                                             
warn:                     | [execsync v1.0.2] Attempting to compile native extensions.                                                                                                                                                                                                                                  
warn:                     | [execSync v1.0.2]                                                                                                                                                                                                                                                                           
warn:                     | Native code compile failed!!        

@italoacasas
Copy link
Contributor Author

italoacasas commented Mar 1, 2017

But, I'm testing manually, building native modules and is working.. 😒

Notable changes:

Node.js 7.7.0 contains a bug that will prevent all native modules
from building, this patch should fix the issue. Apologies to
everyone who was affected by 7.7.0.

PR-URL: #11638
@MylesBorins
Copy link
Contributor

MylesBorins commented Mar 1, 2017 via email

@richardlau
Copy link
Member

In theory one could run the install.py script and install just the headers into an empty directory (this is what make tar-headers does so would be a reasonable approximation) and use that directory instead of the full source tree to compile against. But yeah the best solution is likely tests between building the release and prior to promotion.

@richardlau
Copy link
Member

I don't know if it's CitGM or execSync but that's not very helpful error output.

@MylesBorins
Copy link
Contributor

I worked with an RC and can confirm that node-gyp is working fine with v7.7.1

https://gist.github.com/MylesBorins/d983701a27608239ecc65c119ab66dc4

Copy link
Contributor

@MylesBorins MylesBorins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rubber stamp LGTM

I can confirm that this release will work fine with node-gyp

italoacasas added a commit to italoacasas/node that referenced this pull request Mar 2, 2017
@italoacasas italoacasas merged commit 5c2e415 into v7.x Mar 2, 2017
italoacasas added a commit to italoacasas/node that referenced this pull request Mar 2, 2017
Notable changes:

Node.js 7.7.0 contains a bug that will prevent all native modules
from building, this patch should fix the issue. Apologies to
everyone who was affected by 7.7.0.

PR-URL: nodejs#11638
italoacasas added a commit to italoacasas/nodejs.org that referenced this pull request Mar 2, 2017
MylesBorins pushed a commit to nodejs/nodejs.org that referenced this pull request Mar 2, 2017
italoacasas added a commit to italoacasas/nodejs.org that referenced this pull request Mar 2, 2017
imyller added a commit to imyller/meta-nodejs that referenced this pull request Mar 2, 2017
    Notable changes:

    Node.js 7.7.0 contains a bug that will prevent all native modules
    from building, this patch should fix the issue. Apologies to
    everyone who was affected by 7.7.0.

    PR-URL: nodejs/node#11638

Signed-off-by: Ilkka Myller <[email protected]>
@sam-github sam-github deleted the v7.7.1-proposal branch March 6, 2017 16:59
italoacasas added a commit to nodejs/nodejs.org that referenced this pull request Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issues and PRs related to the general management of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.