phpv8 / v8js

V8 Javascript Engine for PHP — This PHP extension embeds the Google V8 Javascript Engine
http://pecl.php.net/package/v8js
MIT License
1.84k stars 200 forks source link

fetch v8 don't do anything #533

Closed 20urc3 closed 1 month ago

20urc3 commented 1 month ago

Hi there! Im facing an issue for the first time with the fetch v8 command. Nothing seems to happen. A folder is created, but after X time there is still nothing happening. I waited a bit, tried different time, no success. Any idea?

stesie commented 1 month ago

hej there :wave:

cannot confirm, just tried it out and it works for me

stesie@schlumpf:/tmp$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Klone nach 'depot_tools' …
remote: Finding sources: 100% (10/10)
remote: Total 61363 (delta 43720), reused 61360 (delta 43720)
Empfange Objekte: 100% (61363/61363), 53.94 MiB | 5.96 MiB/s, fertig.
Löse Unterschiede auf: 100% (43720/43720), fertig.
stesie@schlumpf:/tmp$ export PATH=`pwd`/depot_tools:"$PATH"
stesie@schlumpf:/tmp$ cd
stesie@schlumpf:~$ cd Projekte/
stesie@schlumpf:~/Projekte$ fetch v8
Running: gclient root
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
Running: gclient config --spec 'solutions = [
  {
    "name": "v8",
    "url": "https://chromium.googlesource.com/v8/v8.git",
    "deps_file": "DEPS",
    "managed": False,
    "custom_deps": {},
  },
]
'
Running: gclient sync --with_branch_heads

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/v8/v8.git /home/stesie/Projekte/_gclient_v8_6ycv_frg' in '/home/stesie/Projekte'
Cloning into '/home/stesie/Projekte/_gclient_v8_6ycv_frg'...
remote: Finding sources: 100% (4/4)
remote: Total 1131357 (delta 915432), reused 1131354 (delta 915432)
Receiving objects: 100% (1131357/1131357), 1.42 GiB | 6.29 MiB/s, done.
Resolving deltas: 100% (915432/915432), done.

[0:06:20] Still working on:
[0:06:20]   v8
1>Syncing projects:   0% ( 0/ 2) 
[0:06:26] Still working on:
[0:06:26]   v8
Syncing projects:  88% (38/43) v8/build                                                                                                
[0:08:56] Still working on:
[0:08:56]   v8/test/test262/data
[0:08:56]   v8/third_party/icu
[0:08:56]   v8/third_party/perfetto
[0:08:56]   v8/build/linux/debian_bullseye_amd64-sysroot:dec7a3a0fc5b83b909cba1b6d119077e0429a138eadef6bf5a0f2e03b1904631
[0:08:56]   v8/build/linux/debian_bullseye_i386-sysroot:b53933120bb08ffc38140a817e3f0f99782254a6bf9622271574fa004e8783a4

[0:09:06] Still working on:
[0:09:06]   v8/test/test262/data
[0:09:06]   v8/third_party/icu
[0:09:06]   v8/third_party/perfetto
[0:09:06]   v8/build/linux/debian_bullseye_amd64-sysroot:dec7a3a0fc5b83b909cba1b6d119077e0429a138eadef6bf5a0f2e03b1904631
[0:09:06]   v8/build/linux/debian_bullseye_i386-sysroot:b53933120bb08ffc38140a817e3f0f99782254a6bf9622271574fa004e8783a4

[0:09:15] Still working on:
[0:09:15]   v8/test/test262/data
[0:09:15]   v8/third_party/icu
[0:09:15]   v8/third_party/perfetto
[0:09:15]   v8/build/linux/debian_bullseye_amd64-sysroot:dec7a3a0fc5b83b909cba1b6d119077e0429a138eadef6bf5a0f2e03b1904631
[0:09:15]   v8/build/linux/debian_bullseye_i386-sysroot:b53933120bb08ffc38140a817e3f0f99782254a6bf9622271574fa004e8783a4
Syncing projects:  97% (42/43) v8/build/linux/debian_bullseye_amd64-sysroot:dec7a3a0fc5b83b909cba1b6d119077e0429a138eadef6bf5a0f2e03b1904631
[0:10:57] Still working on:
[0:10:57]   v8/third_party/icu

[0:11:07] Still working on:
[0:11:07]   v8/third_party/icu

[0:11:11] Still working on:
[0:11:11]   v8/third_party/icu
Syncing projects: 100% (43/43), done.                                                                                                       

________ running 'python3 third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth -u --bucket v8-wasm-spec-tests -s test/wasm-spec-tests/tests.tar.gz.sha1' in '/home/stesie/Projekte/v8'
0> Downloading test/wasm-spec-tests/tests.tar.gz@08b7d94e73d76bf7d26a83f15ab001a3eff4c50b...
0> Extracting 1055 entries from test/wasm-spec-tests/tests.tar.gz to test/wasm-spec-tests/tests
Downloading 1 files took 5.214109 second(s)
Running hooks:  39% ( 9/23) wasm_js
________ running 'python3 third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth -u --bucket v8-wasm-spec-tests -s test/wasm-js/tests.tar.gz.sha1' in '/home/stesie/Projekte/v8'
0> Downloading test/wasm-js/tests.tar.gz@1a9ecfc797a95137356d1f3d81543754263eed94...
0> Extracting 367 entries from test/wasm-js/tests.tar.gz to test/wasm-js/tests
Downloading 1 files took 3.443930 second(s)
Hook 'vpython3 -vpython-spec .vpython3 -vpython-tool install' took 10.30 secs
Running hooks:  95% (22/23) configure_reclient_cfgs             
________ running 'python3 buildtools/reclient_cfgs/configure_reclient_cfgs.py --rbe_instance projects/rbe-chrome-untrusted/instances/default_instance --reproxy_cfg_template reproxy.cfg.template --rewrapper_cfg_project  --skip_remoteexec_cfg_fetch' in '/home/stesie/Projekte/v8'
generate reproxy.cfg using /home/stesie/Projekte/v8/buildtools/reclient_cfgs/reproxy_cfg_templates/reproxy.cfg.template
Running hooks: 100% (23/23), done.                 
Running: git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*'
Running: git config diff.ignoreSubmodules dirty

so for the first two or three minutes nothing seemed to happen, and I also was wondering if there's anything happening. then it started to download. full process took almost 12 minutes and downloaded roughly 1,5G ... in the end, the folder now has 6,4G of data (before compilation)

maybe you've just been to impatient? :thinking:

HTH

20urc3 commented 1 month ago

Me? Impatient? Surely not ! Joke aside. It still doesn't work. Could my IP be blocked or something? It loads the first file, grows the folder to 132kb then do nothing ( I waited 1 hour to be sure )

20urc3 commented 1 month ago

For anyone having same issue, fixed with: git config --global http.postBuffer 524288000