ustclug / discussions

Issue Tracker for USTC LUG
47 stars 4 forks source link

dumb http transport does not support shallow capabilities #450

Closed Burgerd4sh closed 6 months ago

Burgerd4sh commented 6 months ago

问题描述 / Bug description

20240421更新后,执行同步请求时报错资源无法请求 + 资源不存在 1、复现步骤 repo init -u http://mirrors.ustc.edu.cn/aosp/kernel/manifest.git -b common-android11-5.4-lts repo sync

2、报错输出

fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9
Fetching: 38% (5/13) 0:10 | 2 jobs | 0:09 platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 @ prebuilts/g..fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/build-tools:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/build-tools: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/build-tools from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/build-tools
Fetching: 69% (9/13) 0:15 | 1 job | 0:15 platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 @ prebuilts/gc..fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
Fetching: 69% (9/13) 0:19 | 1 job | 0:03 platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 @ prebuilt..fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
Fetching: 69% (9/13) 0:24 | 1 job | 0:04 platform/prebuilts/clang/host/linux-x86 @ prebuilts-master/clang/host/linux-x..
fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/clang/host/linux-x86:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/clang/host/linux-x86: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/clang/host/linux-x86 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/clang/host/linux-x86
Fetching: 69% (9/13) 0:28 | 1 job | 0:03 kernel/prebuilts/build-tools @ prebuilts/kernel-build-tools
fatal: dumb http transport does not support shallow capabilities

kernel/prebuilts/build-tools:
fatal: dumb http transport does not support shallow capabilities
kernel/prebuilts/build-tools: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch kernel/prebuilts/build-tools from http://mirrors.ustc.edu.cn/aosp/kernel/prebuilts/build-tools
Fetching: 100% (13/13), done in 28.858s
Fetching:  0% (0/6) 0:05 | 2 jobs | 0:03 platform/prebuilts/clang/host/linux-x86 @ prebuilts-master/clang/host/linux-x..
fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9
Fetching:  0% (0/6) 0:08 | 2 jobs | 0:07 platform/prebuilts/clang/host/linux-x86 @ prebuilts-master/clang/host/linux-x..
fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/clang/host/linux-x86:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/clang/host/linux-x86: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/clang/host/linux-x86 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/clang/host/linux-x86
Fetching:  0% (0/6) 0:11 | 2 jobs | 0:06 kernel/prebuilts/build-tools @ prebuilts/kernel-build-tools
fatal: dumb http transport does not support shallow capabilities

kernel/prebuilts/build-tools:
fatal: dumb http transport does not support shallow capabilities
kernel/prebuilts/build-tools: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch kernel/prebuilts/build-tools from http://mirrors.ustc.edu.cn/aosp/kernel/prebuilts/build-tools
Fetching: 33% (2/6) 0:13 | 1 job | 0:04 platform/prebuilts/build-tools @ prebuilts/build-tools
fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/build-tools:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/build-tools: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/build-tools from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/build-tools
Fetching: 33% (2/6) 0:17 | 1 job | 0:03 platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 @ prebuilts..
fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
Fetching: 33% (2/6) 0:22 | 1 job | 0:04 platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 @ prebuilts/gcc..
fatal: dumb http transport does not support shallow capabilities

platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9:
fatal: dumb http transport does not support shallow capabilities
platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9: sleeping 4.0 seconds before retrying
fatal: dumb http transport does not support shallow capabilities
error: Cannot fetch platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 from http://mirrors.ustc.edu.cn/aosp/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9
Fetching: 100% (6/6), done in 22.296s
Updating files: 100% (65983/65983), done.
error: Cannot checkout platform/prebuilts/build-tools: ManifestInvalidRevisionError: revision master-kernel-build-2021 in platform/prebuilts/build-tools not found
error: in `sync`: revision master-kernel-build-2021 in platform/prebuilts/build-tools not found
taoky commented 6 months ago

对 AOSP 切换到了 Git smart HTTP 后端。