2014-01-22 63 views
1

因此,我下載了OmniROM KitKat源代碼,並使用我的設備源和其他所需源創建了本地清單文件(http://github.com/TamsuiCM11)運行repo sync -j2後,一切似乎都同步正常,直到這:repo sync -j2要求爲GitHub進行身份驗證,失敗

Fetching projects: 99% (425/429) Fetching project platform/external/chromium_org/third_party/openssl 
^CUsername for 'https://github.com': NSDCars5 
Password for 'https://[email protected]': 
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。

編輯:我使用的回購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> 
+0

https://github.com/TamsuiCM11/android_frameworks_opt_telephony/不是一個有效的Github存儲庫,根據您提供的信息,目前還不清楚爲什麼Repo試圖獲取它。你當地的表現是什麼?你傳遞給'repo init'的URL是什麼? –

+0

@MagnusBäck編輯OP以包含兩者。 – NSDCars5

回答

1

您當地的清單要求回購獲取https://github.com/TamsuiCM11/android_frameworks_opt_telephony,但是這根本就不是一個有效的資料庫。我注意到,在https://github.com/TamsuiCM11/local_manifest中的recent commit刪除了對該git的引用(使用提交消息指示它不再需要),也可能是git本身也被刪除了。我建議你從所說的git更新你的本地清單。

(我注意到,在這個問題中列出您的本地清單缺乏<remove-project>標籤。我很驚訝,你能開始與那些缺少同步,但這些線路包括在上游本地清單您在)

+0

謝謝!是的,它缺少去除標籤,因爲它不會與那裏的那些同步 - 我只是假定它們不在Omni中。 Repo同步成功! – NSDCars5