GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: backport tools/install.py for headers by richardlau · Pull Request #4149 · nodejs/node

Conversation

@richardlau

@richardlau richardlau commented Dec 4, 2015

Copy link
Copy Markdown
Member

Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

Fixes #4140

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mscdex mscdex added the tools Issues and PRs related to the tools directory. label Dec 4, 2015
@mscdex

mscdex commented Dec 4, 2015

Copy link
Copy Markdown
Contributor

Maybe it would be better to target tools: instead of build:?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Dec 4, 2015

Copy link
Copy Markdown
Member

lgtm, thanks @richardlau

I have no opinion on tools: vs build:

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau

richardlau commented Dec 4, 2015

Copy link
Copy Markdown
Member Author

I've tested by running HEADERS_ONLY=1 python tools/install.py install 'node-v0.12.10' '/' and inspecting the contents of the created node-v0.12.10 directory.

I tried to run make tar-headers but ran into some problems:

  1. First I see this, which is easily patched around
#NODE_VERSION_IS_RELEASE is set to 0.
Did you remember to update src/node_version.h?
  1. If I patch src/node_version.h for 1) I then get:
find node-v0.12.10/ -type l | xargs rm # annoying on windows
rm: missing operand
Try `rm --help' for more information.
make: *** [node-v0.12.10.tar-headers] Error 123

But I also get the same problem with v4.x.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau

richardlau commented Dec 4, 2015

Copy link
Copy Markdown
Member Author

@mscdex I can retarget to tools: if required -- I picked build: because the two commits referenced were targeted at build:.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau

richardlau commented Dec 4, 2015

Copy link
Copy Markdown
Member Author

This also affects v0.10 -- Please could someone add a lts-watch-v0.10 label?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos targos added the lts-watch-v0.10 label Dec 4, 2015
@richardlau
tools: backport tools/install.py for headers
4a9a611
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.
@richardlau
richardlau force-pushed the v0.12-staging branch from 61c8519 to 4a9a611 Compare December 4, 2015 04:25
@richardlau

richardlau commented Dec 4, 2015

Copy link
Copy Markdown
Member Author

Retargetted to tools:.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Dec 4, 2015

Copy link
Copy Markdown
Member

@richardlau are you on Linux? the xargs thing works on OS X and that's what's used to generate the tarball. I've tried out your branch and it works fine on OS X but not on Linux, that's ... how it is and it kind of sucks but nobody has got around to fixing it yet. There's two instances of the same pattern in there.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau

richardlau commented Dec 4, 2015

Copy link
Copy Markdown
Member Author

@rvagg Yes I'm on Linux -- Didn't realize that the tarball was generated on OS X. Thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Dec 4, 2015

Copy link
Copy Markdown
Member

still lgtm, needs to sit for additional reviews and possible objection for a couple of days but someone can land it after that (I'll do it if I remember but any other collaborator can)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Dec 4, 2015

Copy link
Copy Markdown
Member

Untested but LGTM.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Dec 4, 2015

Copy link
Copy Markdown
Member

sorry, I should have posted results of my testing on 0.12:

$ make tar-headers
/usr/local/opt/python/bin/python2.7 ./configure \
        --prefix=/ \
        --dest-cpu=x64 \
        --tag= \
         --download=all --with-intl=small-icu
creating  ./icu_config.gypi

... configure blah blah ...

creating  ./config.gypi
creating  ./config.mk
HEADERS_ONLY=1 /usr/local/opt/python/bin/python2.7 tools/install.py install 'node-v0.12.10' '/'

.. list of files blah blah ..

find node-v0.12.10/ -type l | xargs rm # annoying on windows
tar -cf node-v0.12.10-headers.tar node-v0.12.10
rm -rf node-v0.12.10
gzip -c -f -9 node-v0.12.10-headers.tar > node-v0.12.10-headers.tar.gz
rm node-v0.12.10-headers.tar
$ ls -al node-v0.12.10-headers.tar.gz
-rw-r--r--  1 rvagg  staff  444046  4 Dec 23:07 node-v0.12.10-headers.tar.gz

The full contents of the resulting file is listed here: https://gist.github.com/rvagg/e86237fb9d838ae57a62

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem

jbergstroem commented Dec 4, 2015

Copy link
Copy Markdown
Member

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau richardlau changed the title build: backport tools/install.py for headers tools: backport tools/install.py for headers Dec 5, 2015
rvagg pushed a commit that referenced this pull request Dec 7, 2015
@richardlau @rvagg
tools: backport tools/install.py for headers
5f0b675
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

PR-URL: #4149
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
rvagg pushed a commit that referenced this pull request Dec 7, 2015
@richardlau @rvagg
tools: backport tools/install.py for headers
28ab7b0
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

PR-URL: #4149
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
@rvagg

rvagg commented Dec 7, 2015

Copy link
Copy Markdown
Member

lgtm

landed in v0.12-staging @ 5f0b675
landed in v0.10-staging @ 28ab7b0

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg rvagg closed this Dec 7, 2015
@rvagg rvagg mentioned this pull request Dec 15, 2015
Converged Release Procedure nodejs/build#164
Closed
4 tasks done
rvagg pushed a commit that referenced this pull request Feb 8, 2016
@richardlau @rvagg
tools: backport tools/install.py for headers
4f81d78
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

PR-URL: #4149
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
@rvagg rvagg mentioned this pull request Feb 8, 2016
Release proposal: v0.12.10 (LTS) #5137
Closed
rvagg pushed a commit that referenced this pull request Feb 8, 2016
@richardlau @rvagg
tools: backport tools/install.py for headers
02bc6f3
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

PR-URL: #4149
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
@rvagg rvagg mentioned this pull request Feb 8, 2016
Release proposal: v0.10.42 (Maintenance) #5138
Closed
jasnell pushed a commit that referenced this pull request Feb 9, 2016
@richardlau @jasnell
tools: backport tools/install.py for headers
67d4828
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

PR-URL: #4149
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
jasnell pushed a commit that referenced this pull request Feb 9, 2016
@richardlau @jasnell
tools: backport tools/install.py for headers
ce2a393
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

PR-URL: #4149
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
@gibfahn gibfahn mentioned this pull request Mar 31, 2016
Fix make tar-headers for Linux #5978
Closed
4 tasks done
@jbergstroem jbergstroem mentioned this pull request May 3, 2016
v0.10 and v0.12 node-v0.x.y-headers.tar.gz file is too big #4140
Closed
jBarz pushed a commit to ibmruntimes/node that referenced this pull request Nov 4, 2016
@richardlau @jBarz
tools: backport tools/install.py for headers
bb351ce
Backport the tools/install.py changes from 628a3ab that were missed
when 6fb0b92 backported the corresponding changes to the Makefile to
build the headers only archive.

PR-URL: nodejs/node#4149
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
This was referenced Jul 17, 2021
[Snyk] Upgrade rollup from 2.32.1 to 2.52.3 Zintexiss/node-22#34
Open
[Snyk] Upgrade rollup from 2.32.1 to 2.52.4 Zintexiss/node-22#38
Open
[Snyk] Upgrade rollup from 2.32.1 to 2.52.6 Zintexiss/node-22#40
Open
This was referenced Jul 24, 2021
[Snyk] Upgrade rollup from 2.32.1 to 2.52.7 Zintexiss/node-22#41
Open
[Snyk] Upgrade rollup from 2.32.1 to 2.52.8 Zintexiss/node-22#43
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

tools Issues and PRs related to the tools directory.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@richardlau @mscdex @rvagg @bnoordhuis @jbergstroem @targos
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.