aseprite / skia

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
https://skia.org
BSD 3-Clause "New" or "Revised" License
170 stars 42 forks source link

Skia build cannot sync dependencies according to documentation. #34

Open MiltosKoutsokeras opened 5 months ago

MiltosKoutsokeras commented 5 months ago

System: Debian 11 Amd64

I have been trying to build skia from source in Debian Linux 11 in order to build aseprite. In the step where I need to sync dependencies with command python3 tools/git-sync-deps the step fails with the stack trace below:

$ python3 tools/git-sync-deps
error: 3742 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
Exception in thread Thread-11:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/home/aseprite/deps/skia/tools/git-sync-deps", line 134, in git_checkout_to_directory
    subprocess.check_call(
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'clone', '--quiet', '--no-checkout', 'https://github.com/aseprite/freetype2.git', '/home/aseprite/deps/skia/third_party/externals/freetype']' returned non-zero exit status 128.