Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法初始化稀疏检出 #81

Open
July-98 opened this issue Jun 30, 2024 · 2 comments
Open

无法初始化稀疏检出 #81

July-98 opened this issue Jun 30, 2024 · 2 comments

Comments

@July-98
Copy link

July-98 commented Jun 30, 2024

kjy@kjy-VirtualBox:~/github/blutter$ python3 blutter.py /home/kjy/tmp/arm64-v8a out_dir
Dart version: 3.3.2, Snapshot: ee1eb666c76a5cb7746faf39d0b97547, Target: android arm64
flags: product no-code_comments no-dwarf_stack_traces_mode no-lazy_dispatchers dedup_instructions no-tsan no-asserts arm64 android compressed-pointers null-safety
正克隆到 '/home/kjy/github/blutter/dartsdk/v3.3.2'...
fatal: cannot change to 'https://github.com/dart-lang/sdk.git': 没有那个文件或目录
error: 无法初始化稀疏检出
Traceback (most recent call last):
File "blutter.py", line 175, in
main(args.indir, args.outdir, args.rebuild, args.vs_sln, args.no_analysis)
File "blutter.py", line 137, in main
fetch_and_build(dart_version, arch, os_name, has_compressed_ptrs, snapshot_hash)
File "/home/kjy/github/blutter/dartvm_fetch_build.py", line 119, in fetch_and_build
outdir = checkout_dart(ver, snapshot_hash)
File "/home/kjy/github/blutter/dartvm_fetch_build.py", line 49, in checkout_dart
subprocess.run([GIT_CMD, '-c', 'advice.detachedHead=false', 'clone', '-b', ver, '--depth', '1', '--filter=blob:none', '--sparse', '--progress', DART_GIT_URL, clonedir], check=True)
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', '-c', 'advice.detachedHead=false', 'clone', '-b', '3.3.2', '--depth', '1', '--filter=blob:none', '--sparse', '--progress', 'https://github.com/dart-lang/sdk.git', '/home/kjy/github/blutter/dartsdk/v3.3.2']' returned non-zero exit status 1.

i don'n know how to slove this problem?

@yzctzl
Copy link
Contributor

yzctzl commented Jun 30, 2024

upgrade git to latest version may helps

@July-98
Copy link
Author

July-98 commented Jun 30, 2024

upgrade git to latest version may helps

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants