Unable to check out Angle on Ubuntu 22.04

76 views
Skip to first unread message

Adam Leggett

unread,
Oct 31, 2023, 1:07:04 AM10/31/23
to angleproject
Forgive me for what might be a noob post, but this has been a difficult day trying to get started and I'm looking for some help.

gclient sync does not work for me in the angle directory. I have tried this on Ubuntu 22.04 both in a Docker container and as a full desktop installation in a Parallels VM. Either way, it's the same error related to VK-GL-CTS:

[0:05:58] fatal: fetch-pack: invalid index-pack output
Traceback (most recent call last):
  File "/home/parallels/depot_tools/gclient_scm.py", line 720, in update
    self._Clone(revision, url, options)
  File "/home/parallels/depot_tools/gclient_scm.py", line 1282, in _Clone
    self._Run(clone_cmd,
  File "/home/parallels/depot_tools/gclient_scm.py", line 1653, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "/home/parallels/depot_tools/gclient_utils.py", line 712, in CheckCallAndFilter
    raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None),
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS /home/parallels/angle/angle/third_party/VK-GL-CTS/_gclient_src_h_53bl3n' returned non-zero exit status 128 in /home/parallels/angle

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/parallels/depot_tools/gclient_scm.py", line 1282, in _Clone
    self._Run(clone_cmd,
  File "/home/parallels/depot_tools/gclient_scm.py", line 1653, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "/home/parallels/depot_tools/gclient_utils.py", line 712, in CheckCallAndFilter
    raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None),
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS /home/parallels/angle/angle/third_party/VK-GL-CTS/_gclient_src_s5bv2qmo' returned non-zero exit status 128 in /home/parallels/angle
----------------------------------------
Error: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS /home/parallels/angle/angle/third_party/VK-GL-CTS/_gclient_src_s5bv2qmo' returned non-zero exit status 128 in /home/parallels/angle


Warnings:
Conflicting directory /home/parallels/angle/angle/third_party/VK-GL-CTS/src moved to /home/parallels/angle/_bad_scm/angle/third_party/VK-GL-CTS/src3ox7rvm6.

Roman Lavrov

unread,
Oct 31, 2023, 8:51:09 AM10/31/23
to adamvl...@gmail.com, angleproject
Hey Adam,
A couple things to try:
1. re-install depot tools
2. nuke third_party/VK-GL-CTS and retry gclient sync

--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angleproject/1e8dad05-615e-43b5-95a4-92022eeb5ba3n%40googlegroups.com.

Yuly Novikov

unread,
Oct 31, 2023, 11:34:05 AM10/31/23
to rom...@google.com, adamvl...@gmail.com, angleproject
VK-GL-CTS is 3.1GB, so it probably just takes a long time to checkout.
Maybe some gclient flags to reduce checkout size can help. Like --no-history or --shallow.
I'd also use '-j 1' to ensure there is no congestion from checking out multiple repos at once.

Adam Leggett

unread,
Oct 31, 2023, 1:23:52 PM10/31/23
to angleproject
--no-history solved the issue for me - thank you very much!

I've had this issue on a few different machines now, so I suspect it might not just be me and this might merit mention in the README.

Reply all
Reply to author
Forward
0 new messages