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 — deps: make node-gyp fetch tarballs from iojs.org by bnoordhuis · Pull Request #343 · nodejs/node

Conversation

@bnoordhuis

@bnoordhuis bnoordhuis commented Jan 13, 2015

Copy link
Copy Markdown
Member

Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

R=@rvagg

Note that /dist doesn't currently exist.

Sorry, something went wrong.

Uh oh!

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

All reactions
@rvagg

rvagg commented Jan 13, 2015

Copy link
Copy Markdown
Member

I'll see if I can test this locally to be sure

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg

rvagg commented Jan 13, 2015

Copy link
Copy Markdown
Member

beautiful / lgtm:

$ npm -v && node -v && iojs -v && iojs -pe process.versions
2.1.18
v1.0.0
v1.0.0
{ http_parser: '2.3',
  node: '1.0.0',
  v8: '3.31.74.1',
  uv: '1.2.0',
  zlib: '1.2.8',
  modules: '42',
  openssl: '1.0.1k' }
$ npm install leveldown
npm http request GET https://registry.npmjs.org/leveldown
npm http 304 https://registry.npmjs.org/leveldown
npm http request GET https://registry.npmjs.org/abstract-leveldown
npm http request GET https://registry.npmjs.org/fast-future
npm http request GET https://registry.npmjs.org/bindings
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/abstract-leveldown
npm http 304 https://registry.npmjs.org/fast-future
npm http request GET https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/xtend

> [email protected] install /tmp/node_modules/leveldown
> node-gyp rebuild

gyp http GET https://iojs.org/dist/v1.0.0/iojs-v1.0.0.tar.gz
gyp http 200 https://iojs.org/dist/v1.0.0/iojs-v1.0.0.tar.gz
gyp http GET https://iojs.org/dist/v1.0.0/SHASUMS256.txt
gyp http 200 https://iojs.org/dist/v1.0.0/SHASUMS256.txt
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory '/tmp/node_modules/leveldown/build'
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/builder.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/db_impl.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/db_iter.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/filename.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/dbformat.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/memtable.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/block_builder.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/log_reader.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/log_writer.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/repair.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/table_cache.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/helpers/memenv/memenv.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/version_edit.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/block.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/write_batch.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/db/version_set.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/format.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/filter_block.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/table.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/bloom.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/table_builder.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/two_level_iterator.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/arena.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/merger.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/table/iterator.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/cache.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/coding.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/comparator.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/crc32c.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/env.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/filter_policy.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/hash.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/logging.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/options.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/status.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/port/port_posix.o
  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.17.0/util/env_posix.o
  CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-sinksource.o
  CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-stubs-internal.o
  CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy.o
  AR(target) Release/obj.target/deps/snappy/snappy.a
  COPY Release/snappy.a
  AR(target) Release/obj.target/deps/leveldb/leveldb.a
  COPY Release/leveldb.a
  CXX(target) Release/obj.target/leveldown/src/batch.o
  CXX(target) Release/obj.target/leveldown/src/batch_async.o
  CXX(target) Release/obj.target/leveldown/src/database.o
  CXX(target) Release/obj.target/leveldown/src/database_async.o
  CXX(target) Release/obj.target/leveldown/src/iterator.o
  CXX(target) Release/obj.target/leveldown/src/iterator_async.o
  CXX(target) Release/obj.target/leveldown/src/leveldown_async.o
  CXX(target) Release/obj.target/leveldown/src/leveldown.o
In file included from ../src/leveldown.h:11:0,
                 from ../src/leveldown.cc:8:
../node_modules/nan/nan.h:481:19: error: ‘NanNew’ declared as an ‘inline’ variable
       v8::String::ExternalAsciiStringResource *resource) {

etc. etc. about v8::String::ExternalAsciiStringResource predictably.

$ rm -rf ~/.node-gyp/1.0.0/
$ npm install buffertools
npm http request GET https://registry.npmjs.org/buffertools
npm http 304 https://registry.npmjs.org/buffertools

> [email protected] install /tmp/node_modules/buffertools
> node-gyp rebuild

gyp http GET https://iojs.org/dist/v1.0.0/iojs-v1.0.0.tar.gz
gyp http 200 https://iojs.org/dist/v1.0.0/iojs-v1.0.0.tar.gz
gyp http GET https://iojs.org/dist/v1.0.0/SHASUMS256.txt
gyp http 200 https://iojs.org/dist/v1.0.0/SHASUMS256.txt
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory '/tmp/node_modules/buffertools/build'
  CXX(target) Release/obj.target/buffertools/buffertools.o
  SOLINK_MODULE(target) Release/obj.target/buffertools.node
  SOLINK_MODULE(target) Release/obj.target/buffertools.node: Finished
  COPY Release/buffertools.node
make: Leaving directory '/tmp/node_modules/buffertools/build'
[email protected] node_modules/buffertools

Now I'm kind of excited!

/cc @kkoopa FYI

All reactions

Sorry, something went wrong.

Uh oh!

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

@bnoordhuis
deps: make node-gyp fetch tarballs from iojs.org
03d1992
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: nodejs#343
Reviewed-By: Rod Vagg <[email protected]>
@bnoordhuis
bnoordhuis force-pushed the fix-node-gyp branch from 732de2b to 800d2db Compare January 13, 2015 23:38
@bnoordhuis
bnoordhuis force-pushed the fix-node-gyp branch from 800d2db to 03d1992 Compare January 13, 2015 23:39
@bnoordhuis
bnoordhuis merged commit 03d1992 into nodejs:v1.x Jan 13, 2015
@bnoordhuis
bnoordhuis deleted the fix-node-gyp branch January 13, 2015 23:39
@wavded

wavded commented Jan 14, 2015

Copy link
Copy Markdown
Contributor

Did this land in 1.0.0? It is still fetching from nodejs.org for me.

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg

rvagg commented Jan 14, 2015

Copy link
Copy Markdown
Member

grab 1.0.1, just landed, has proper fixes in it

All reactions

Sorry, something went wrong.

Uh oh!

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

@wavded

wavded commented Jan 14, 2015

Copy link
Copy Markdown
Contributor

thanks!

All reactions

Sorry, something went wrong.

Uh oh!

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

othiym23 pushed a commit to npm/node that referenced this pull request Jan 18, 2015
@bnoordhuis @othiym23
deps: make node-gyp fetch tarballs from iojs.org
f03370a
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: nodejs#343
Reviewed-By: Rod Vagg <[email protected]>
bnoordhuis added a commit that referenced this pull request Jan 18, 2015
@bnoordhuis
deps: make node-gyp fetch tarballs from iojs.org
a28de9b
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: #343
Reviewed-By: Rod Vagg <[email protected]>
bnoordhuis added a commit that referenced this pull request Jan 23, 2015
@bnoordhuis
deps: make node-gyp fetch tarballs from iojs.org
82227f3
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: #343
Reviewed-By: Rod Vagg <[email protected]>
@a8m a8m mentioned this pull request Jan 24, 2015
readline: persistent history + repl changes #596
Closed
othiym23 pushed a commit to npm/node that referenced this pull request Jan 30, 2015
@bnoordhuis @othiym23
deps: make node-gyp fetch tarballs from iojs.org
64c5688
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: nodejs#343
Reviewed-By: Rod Vagg <[email protected]>
bnoordhuis added a commit that referenced this pull request Jan 31, 2015
@bnoordhuis
deps: make node-gyp fetch tarballs from iojs.org
1bdd74d
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: #343
Reviewed-By: Rod Vagg <[email protected]>
othiym23 pushed a commit to npm/node that referenced this pull request Feb 6, 2015
@bnoordhuis @othiym23
deps: make node-gyp fetch tarballs from iojs.org
004a92b
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: nodejs#343
Reviewed-By: Rod Vagg <[email protected]>
bnoordhuis added a commit that referenced this pull request Feb 6, 2015
@bnoordhuis
deps: make node-gyp fetch tarballs from iojs.org
b188a34
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: #343
Reviewed-By: Rod Vagg <[email protected]>
othiym23 pushed a commit to npm/node that referenced this pull request Feb 20, 2015
@bnoordhuis @othiym23
deps: make node-gyp fetch tarballs from iojs.org
4c2d183
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: nodejs#343
Reviewed-By: Rod Vagg <[email protected]>
bnoordhuis added a commit that referenced this pull request Feb 22, 2015
@bnoordhuis
deps: make node-gyp fetch tarballs from iojs.org
19e3d5e
Apply a small patch that makes node-gyp fetch the tarballs from
https://iojs.org/ instead of http://nodejs.org/

A patch better suited for inclusion upstream will be put together
shortly.

PR-URL: #343
Reviewed-By: Rod Vagg <[email protected]>
This was referenced Feb 23, 2015
Release proposal: v1.4.0 #932
Closed
Release proposal: v1.3.0 #872
Closed
@cjihrig cjihrig mentioned this pull request Feb 27, 2015
deps: upgrade npm to 2.6.1 #990
Closed
@leonardoadame leonardoadame mentioned this pull request Nov 30, 2023
[Snyk] Fix for 6 vulnerabilities leonardoadame/node#288
Open
@jj-crypto jj-crypto mentioned this pull request Apr 5, 2024
[Snyk] Upgrade pacote from 12.0.3 to 17.0.6 jj-crypto/node#30
Open
Andarist added a commit to replayio/node that referenced this pull request Nov 6, 2026
@Andarist @bhackett1024 @claude
Drive WeakRef and FinalizationRegistry from the recording
d410b10
Ported from the Chromium fork (replayio/chromium-v8#279, #334, #335 and
nodejs#343). WeakRef.prototype.deref() records whether its target is alive;
when replaying, marking treats JSWeakRef::target as strong and a deref()
the recording saw as dead clears the field. WeakRefs constructed at a
deterministic point are tracked ("weak-ref-collection"), so the replay
clears the targets the recording's GC cleared instead of keeping them
alive.

Cleanup of tracked FinalizationRegistries ("finalization-registry") is
driven by the recording too: the GC no longer schedules their cleanup
task, ReplayGCPoll::Poll records at every microtask checkpoint what the
GC did (cleanup task wanted, registries collected, WeakRefs cleared),
and the cleanup loop records which cell each callback runs for. A
registry deserialized from the snapshot gets its id on its first
register(). register() or unregister() of a tracked cell while events
are disallowed crashes, since it would change the registry on one side
only. Per-isolate state lives in ReplayIsolateData, released after
Heap::StartTearDown.

Rebase note: a GC must never decide by itself when a WeakRef reads empty
or when a cleanup callback runs; new upstream paths that clear cells or
post the cleanup task need the same recording. The builtins only call
the RecordReplay runtime functions when the process-wide recording flag
is set, and a record/replay id of 0 means untracked.

From #162.

Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist added a commit to replayio/node that referenced this pull request Nov 6, 2026
@Andarist @bhackett1024 @claude
Drive WeakRef and FinalizationRegistry from the recording
f508cd6
Ported from the Chromium fork (replayio/chromium-v8#279, #334, #335 and
nodejs#343). WeakRef.prototype.deref() records whether its target is alive;
when replaying, marking treats JSWeakRef::target as strong and a deref()
the recording saw as dead clears the field. WeakRefs constructed at a
deterministic point are tracked ("weak-ref-collection"), so the replay
clears the targets the recording's GC cleared instead of keeping them
alive.

Cleanup of tracked FinalizationRegistries ("finalization-registry") is
driven by the recording too: the GC no longer schedules their cleanup
task, ReplayGCPoll::Poll records at every microtask checkpoint what the
GC did (cleanup task wanted, registries collected, WeakRefs cleared),
and the cleanup loop records which cell each callback runs for. A
registry deserialized from the snapshot gets its id on its first
register(). register() or unregister() of a tracked cell while events
are disallowed crashes, since it would change the registry on one side
only. Per-isolate state lives in ReplayIsolateData, released after
Heap::StartTearDown.

Rebase note: a GC must never decide by itself when a WeakRef reads empty
or when a cleanup callback runs; new upstream paths that clear cells or
post the cleanup task need the same recording. The builtins only call
the RecordReplay runtime functions when the process-wide recording flag
is set, and a record/replay id of 0 means untracked.

From #162.

Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist added a commit to replayio/node that referenced this pull request Nov 6, 2026
@Andarist
Drive WeakRef and FinalizationRegistry from the recording
bc6fbc1
Ported from the Chromium fork (replayio/chromium-v8#279, #334, #335 and
nodejs#343). WeakRef.prototype.deref() records whether its target is alive;
when replaying, marking treats JSWeakRef::target as strong and a deref()
the recording saw as dead clears the field. WeakRefs constructed at a
deterministic point are tracked ("weak-ref-collection"), so the replay
clears the targets the recording's GC cleared instead of keeping them
alive.

Cleanup of tracked FinalizationRegistries ("finalization-registry") is
driven by the recording too: the GC no longer schedules their cleanup
task, ReplayGCPoll::Poll records at every microtask checkpoint what the
GC did (cleanup task wanted, registries collected, WeakRefs cleared),
and the cleanup loop records which cell each callback runs for. A
registry deserialized from the snapshot gets its id on its first
register(). register() or unregister() of a tracked cell while events
are disallowed crashes, since it would change the registry on one side
only. Per-isolate state lives in ReplayIsolateData, released after
Heap::StartTearDown.

Rebase note: a GC must never decide by itself when a WeakRef reads empty
or when a cleanup callback runs; new upstream paths that clear cells or
post the cleanup task need the same recording. The builtins only call
the RecordReplay runtime functions when the process-wide recording flag
is set, and a record/replay id of 0 means untracked.

From #162.

Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Andarist added a commit to replayio/node that referenced this pull request Nov 6, 2026
@Andarist
Drive WeakRef and FinalizationRegistry from the recording
b841d07
Ported from the Chromium fork (replayio/chromium-v8#279, #334, #335 and
nodejs#343). WeakRef.prototype.deref() records whether its target is alive;
when replaying, marking treats JSWeakRef::target as strong and a deref()
the recording saw as dead clears the field. WeakRefs constructed at a
deterministic point are tracked ("weak-ref-collection"), so the replay
clears the targets the recording's GC cleared instead of keeping them
alive.

Cleanup of tracked FinalizationRegistries ("finalization-registry") is
driven by the recording too: the GC no longer schedules their cleanup
task, ReplayGCPoll::Poll records at every microtask checkpoint what the
GC did (cleanup task wanted, registries collected, WeakRefs cleared),
and the cleanup loop records which cell each callback runs for. A
registry deserialized from the snapshot gets its id on its first
register(). register() or unregister() of a tracked cell while events
are disallowed crashes, since it would change the registry on one side
only. Per-isolate state lives in ReplayIsolateData, released after
Heap::StartTearDown.

Rebase note: a GC must never decide by itself when a WeakRef reads empty
or when a cleanup callback runs; new upstream paths that clear cells or
post the cleanup task need the same recording. The builtins only call
the RecordReplay runtime functions when the process-wide recording flag
is set, and a record/replay id of 0 means untracked.

From #162.

Co-authored-by: Brian Hackett <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
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

None yet

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.

3 participants

@bnoordhuis @rvagg @wavded
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.