repo sync -j2要求对GitHub进行身份验证,失败

时间:2014-01-22 16:55:36

标签: android github repository

所以我下载了OmniROM KitKat源,并使用我的设备源和其他必需的源(http://github.com/TamsuiCM11)创建了一个本地清单文件。运行repo sync -j2后,一切似乎都很好,直到:

Fetching projects:  99% (425/429)  Fetching project platform/external/chromium_org/third_party/openssl
^CUsername for 'https://github.com': NSDCars5
Password for 'https://NSDCars5@github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/TamsuiCM11/android_frameworks_opt_telephony/' not found
error: Cannot fetch TamsuiCM11/android_frameworks_opt_telephony
aborted by user
谷歌说使用SSH,但我看不到哪里;在repo init?我使用了git://。

我尝试与-j1,-j2,-j4,-j8和-j16同步。每次都是同样的事情。该系统是VirtualBox,Ubuntu 13.10 x64,4 GB RAM,无交换,NAT用于联网。

编辑:我使用的repo init命令是repo init -u git://github.com/omnirom/android.git -b android-4.4,我的本地清单是这样的:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

        <!-- Dependancies -->
        <project path="device/sony/tamsui-common" name="TamsuiCM11/android_device_sony_tamsui-common" remote="github" revision="cm-11.0" />
        <project path="kernel/sony/msm7x27a" name="TamsuiCM11/android_kernel_sony_msm7x27a" remote="github" revision="master" />
        <project path="device/sony/qcom-common" name="CyanogenMod/android_device_sony_qcom-common" remote="github" revision="cm-11.0"/>
        <project path="device/sony/common" name="CyanogenMod/android_device_sony_common" remote="github" revision="cm-11.0"/>
        <project path="kernel/sony/nanhu_ds" name="TamsuiCM11/android_kernel_sony_msm7x27a-nanhu" remote="github" revision="cm-11.0" />

        <!-- Devices -->
        <project path="device/sony/nanhu_ds" name="TamsuiCM11/android_device_sony_nanhu_ds" remote="github" revision="cm-11.0" />

        <!-- Proprietary files -->
        <project path="vendor/sony" name="TamsuiCM11/proprietary_vendor_sony" remote="github" revision="cm-10.2" />

        <!-- Drivers -->
        <project path="hardware/qcom/display-legacy" name="TamsuiCM11/android_hardware_qcom_display-legacy" remote="github" revision="cm-11-jlo" />
        <project path="hardware/qcom/audio-legacy" name="TamsuiCM11/android_hardware_qcom_audio-legacy" remote="github" revision="cm-11.0" />
        <project path="hardware/qcom/media-legacy" name="TamsuiCM11/android_hardware_qcom_media-legacy" remote="github" revision="cm-11.0" />

        <!-- Forked CM repos -->
        <project path="system/core" name="TamsuiCM11/android_system_core" groups="pdk" remote="github" revision="stable/cm-11.0" />
        <project path="hardware/libhardware_legacy" name="TamsuiCM11/android_hardware_libhardware_legacy" groups="pdk" remote="github" revision="stable/cm-11.0" />
        <project path="frameworks/opt/telephony" name="TamsuiCM11/android_frameworks_opt_telephony" groups="pdk" remote="github" revision="stable/cm-11.0" />        
</manifest>

1 个答案:

答案 0 :(得分:2)

您的本地清单要求Repo获取https://github.com/TamsuiCM11/android_frameworks_opt_telephony,但这不是一个有效的存储库。我注意到recent commit中的https://github.com/TamsuiCM11/local_manifest删除了对该git的引用(提交消息表明不再需要它),也许git本身也被删除了。我建议你从git中更新你的本地清单。

(我注意到问题中列出的本地清单缺少<remove-project>个标签。我很惊讶你能够开始与那些丢失的人同步,但这些行包含在上游本地清单中,您在某些时候复制了。)