Hello, Thanks for the reply and suggestions.
Per your suggestion, picked branch-heads/3.28 and reordered "gclient sync", both gives the below error. It says SVN/trunk not available. Am i doing something wrong? Please let me know. # VERSION=3.28.71 VERSION=3.28 pushd v8 git checkout branch-heads/$VERSION #git pull origin $VERSION #gclient sync #git checkout $VERSION gclient sync popd Running: gclient sync --nohooks --with_branch_heads Running: git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all' Running: git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*' Running: git config diff.ignoreSubmodules all [91m+ pushd v8 [0m/go/v8.tmp/v8 /go/v8.tmp /go /go/src/github.com/Runscope/script-processor [91m+ git checkout branch-heads/3.28 [0m [91mPrevious HEAD position was 0f15403... [cleanup] Move string functions out of CSA [0m [91mHEAD is now at 4dbc223... Version 3.28.71.19 (merged r23127) [0m [91m+ gclient sync [0m2>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://gyp.googlecode.com/svn/trunk" "/go/v8.tmp/v8/build/_gclient_gyp_EePdtR"' in /go/v8.tmp failed; will retry after a short nap... 5>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googletest.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gtest_eu1TiD"' in /go/v8.tmp failed; will retry after a short nap... 4>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googlemock.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gmock_s71sNl"' in /go/v8.tmp failed; will retry after a short nap... 2>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://gyp.googlecode.com/svn/trunk" "/go/v8.tmp/v8/build/_gclient_gyp_EePdtR"' in /go/v8.tmp failed; will retry after a short nap... 5>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googletest.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gtest_eu1TiD"' in /go/v8.tmp failed; will retry after a short nap... 6>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "--prune"' in /go/v8.tmp/v8/third_party/icu failed; will retry after a short nap... 4>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googlemock.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gmock_s71sNl"' in /go/v8.tmp failed; will retry after a short nap... 6>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "--prune"' in /go/v8.tmp/v8/third_party/icu failed; will retry after a short nap... 2>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://gyp.googlecode.com/svn/trunk" "/go/v8.tmp/v8/build/_gclient_gyp_EePdtR"' in /go/v8.tmp failed; will retry after a short nap... 5>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googletest.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gtest_eu1TiD"' in /go/v8.tmp failed; will retry after a short nap... 4>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googlemock.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gmock_s71sNl"' in /go/v8.tmp failed; will retry after a short nap... 6>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "--prune"' in /go/v8.tmp/v8/third_party/icu failed; will retry after a short nap... 2>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://gyp.googlecode.com/svn/trunk" "/go/v8.tmp/v8/build/_gclient_gyp_EePdtR"' in /go/v8.tmp failed; will retry after a short nap... 5>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googletest.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gtest_eu1TiD"' in /go/v8.tmp failed; will retry after a short nap... 4>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "http://googlemock.googlecode.com/svn/trunk" "/go/v8.tmp/v8/testing/_gclient_gmock_s71sNl"' in /go/v8.tmp failed; will retry after a short nap... 6>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "--prune"' in /go/v8.tmp/v8/third_party/icu failed; will retry after a short nap... [91m v8/build/gyp (ERROR) ---------------------------------------- [0:00:00] Started. [0:00:00] ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://gyp.googlecode.com/svn/trunk /go/v8.tmp/v8/build/_gclient_gyp_EePdtR' in '/go/v8.tmp' [0:00:00] Cloning into '/go/v8.tmp/v8/build/_gclient_gyp_EePdtR'... [0:00:00] fatal: repository 'http://gyp.googlecode.com/svn/trunk/' not found [0:00:00] ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://gyp.googlecode.com/svn/trunk /go/v8.tmp/v8/build/_gclient_gyp_EePdtR' in '/go/v8.tmp' attempt 2 / 4 [0:00:00] Cloning into '/go/v8.tmp/v8/build/_gclient_gyp_EePdtR'... [0:00:00] fatal: repository 'http://gyp.googlecode.com/svn/trunk/' not found [0:00:01] ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://gyp.googlecode.com/svn/trunk /go/v8.tmp/v8/build/_gclient_gyp_EePdtR' in '/go/v8.tmp' attempt 3 / 4 [0:00:01] Cloning into '/go/v8.tmp/v8/build/_gclient_gyp_EePdtR'... [0:00:01] fatal: repository 'http://gyp.googlecode.com/svn/trunk/' not found [0:00:03] ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://gyp.googlecode.com/svn/trunk /go/v8.tmp/v8/build/_gclient_gyp_EePdtR' in '/go/v8.tmp' attempt 4 / 4 [0:00:03] Cloning into '/go/v8.tmp/v8/build/_gclient_gyp_EePdtR'... [0:00:03] fatal: repository 'http://gyp.googlecode.com/svn/trunk/' not found Traceback (most recent call last): File "/go/depot_tools/gclient_scm.py", line 1045, in _Clone print_stdout=print_stdout, filter_fn=filter_fn) File "/go/depot_tools/gclient_scm.py", line 1369, in _Run gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs) File "/go/depot_tools/gclient_utils.py", line 620, in CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None) CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress http://gyp.googlecode.com/svn/trunk /go/v8.tmp/v8/build/_gclient_gyp_EePdtR' returned non-zero exit status 128 in /go/v8.tmp ---------------------------------------- Traceback (most recent call last): File "/go/depot_tools/metrics.py", line 267, in print_notice_and_exit [0m [91m yield File "/go/depot_tools/gclient.py", line 3152, in <module> sys.exit(main(sys.argv[1:])) File "/go/depot_tools/gclient.py", line 3138, in main return dispatcher.execute(OptionParser(), argv) File "/go/depot_tools/subcommand.py", line 252, in execute [0m [91m return command(parser, args[1:]) File "/go/depot_tools/gclient.py", line 2695, in CMDsync ret = client.RunOnDeps('update', args) File "/go/depot_tools/gclient.py", line 1733, in RunOnDeps patch_refs=patch_refs, target_branches=target_branches) File "/go/depot_tools/gclient_utils.py", line 911, in flush reraise(e[0], e[1], e[2]) File "/go/depot_tools/gclient_utils.py", line 988, in run self.item.run(*self.args, **self.kwargs) File "/go/depot_tools/gclient.py", line 910, in run file_list) File "/go/depot_tools/gclient_scm.py", line 132, in RunCommand return getattr(self, command)(options, args, file_list) File "/go/depot_tools/gclient_scm.py", line 547, in update self._Clone(revision, url, options) File "/go/depot_tools/gclient_scm.py", line 1053, in _Clone if os.listdir(tmp_dir): OSError: [Errno 2] No such file or directory: '/go/v8.tmp/v8/build/_gclient_gyp_EePdtR' [0m [91m+ V8_TMP_finish + rm -rf /go/v8.tmp [0mThe command '/bin/sh -c /tmp/build.v8.sh' returned a non-zero code: 1 Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE Thanks, Mani On Wed, Sep 25, 2019 at 1:55 AM Jakob Kummerow <jkumme...@chromium.org> wrote: > First off, version 3.28.71 is *very outdated*. It hasn't been touched in > five years. If it suddenly stopped working for you, then that's certainly > not due to a change in V8. > > Also, 3.28.71 is not a good version to pick. If you must use a > five-year-old version, then you should at least pick branch-heads/3.28, > which has 19 backmerged (=important) fixes on top of the 3.28.71 base > version. Even better, update to something more recent. branch-heads/7.7 > would be a good candidate right now. > > One thing I noticed in your build script is that you should run "gclient > sync" *after* "git checkout $VERSION". Fixing that might just be enough > to solve this issue. > > I don't remember how we got dependencies back in those days. I think we > ran "make dependencies", or maybe that was in even earlier years. I'm > pretty sure we didn't manually clone gyp. > > /go/v8-3.28.71/out/native/obj.target/gtest/testing/gtest/src/gtest-death-test.o: >> No such file or directory > > That's your clue for where to dig deeper. > > we are not much familiar with the C++ GN way of code building > > 3.28 is so old, it doesn't use GN. > > > On Wed, Sep 25, 2019 at 10:13 AM Manikandan Kaliyaperumal < > rkman...@gmail.com> wrote: > >> Hello, >> >> I have been struggling with this V8 build fail for a day or two now and >> any help on this would be much appreciated. >> >> We use V8 version in our project.for a script process engine. It suddenly >> stopped working and build fails. >> >> CXX(target) >> /go/v8-3.28.71/out/native/obj.target/v8_snapshot/gen/experimental-libraries.o >> CXX(target) >> /go/v8-3.28.71/out/native/obj.target/v8_snapshot/geni/snapshot.o >> CXX(target) >> /go/v8-3.28.71/out/native/obj.target/v8_snapshot/src/snapshot-common.o >> AR(target) /go/v8-3.28.71/out/native/obj.target/tools/gyp/libv8_snapshot.a >> TOUCH /go/v8-3.28.71/out/native/obj.target/tools/gyp/v8.stamp >> CXX(target) /go/v8-3.28.71/out/native/obj.target/shell/samples/shell.o >> LINK(target) /go/v8-3.28.71/out/native/shell >> CXX(target) /go/v8-3.28.71/out/native/obj.target/process/samples/process.o >> LINK(target) /go/v8-3.28.71/out/native/process >> CXX(target) >> /go/v8-3.28.71/out/native/obj.target/lineprocessor/samples/lineprocessor.o >> LINK(target) /go/v8-3.28.71/out/native/lineprocessor >> ACTION src_d8_gyp_d8_js2c_target_d8_js2c >> /go/v8-3.28.71/out/native/obj/gen/d8-js.cc >> TOUCH /go/v8-3.28.71/out/native/obj.target/src/d8_js2c.stamp >> CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/src/d8.o >> CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/src/d8-posix.o >> CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/src/d8-debug.o >> CXX(target) /go/v8-3.28.71/out/native/obj.target/d8/gen/d8-js.o >> LINK(target) /go/v8-3.28.71/out/native/d8 >> TOUCH /go/v8-3.28.71/out/native/obj.target/testing/gtest_prod.stamp >> AR(target) /go/v8-3.28.71/out/native/obj.target/testing/libgtest.a >> [91mar: >> /go/v8-3.28.71/out/native/obj.target/gtest/testing/gtest/src/gtest-death-test.o: >> No such file or directory >> [0m [91mmake[1]: *** >> [/go/v8-3.28.71/out/native/obj.target/testing/libgtest.a] Error 1 >> [0mmake[1]: Leaving directory `/go/v8-3.28.71/out' >> [91mmake: *** [native] Error 2 >> [0m [91m+ V8_TMP_finish >> [0m [91m+ rm -rf /go/v8.tmp >> [0mThe command '/bin/sh -c /tmp/build.v8.sh' returned a non-zero code: 2 >> Build step 'Execute shell' marked build as failure >> Archiving artifacts >> Finished: FAILURE >> >> >> Herewith, i am sharing my build.v8.sh and Docker file for your reference and >> any pointers on this would be helpful as we are not much familiar with the >> C++ GN way of code building here. >> >> >> Thanks, >> >> Mani >> >> -- >> -- >> v8-users mailing list >> v8-users@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-users/045faaa3-f1e5-482d-9a58-aa3656e11a7b%40googlegroups.com >> <https://groups.google.com/d/msgid/v8-users/045faaa3-f1e5-482d-9a58-aa3656e11a7b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/CAKSzg3RSojZNrBFHP3reSkx0mFrROqmoP3pgUHwkccEw7Pv61g%40mail.gmail.com > <https://groups.google.com/d/msgid/v8-users/CAKSzg3RSojZNrBFHP3reSkx0mFrROqmoP3pgUHwkccEw7Pv61g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAHkfn01x8-tgPuhVw3FaKnn_ZjXQiYWM75pE1ua6oPOL2g2Shw%40mail.gmail.com.