我正在嘗試使用these steps爲我的Intex Cloud FX手機準備我的第一個B2G內部版本。我發現我的手機的代碼是tarako從Firefox OS Phones頁面。但是,每次運行./config.sh tarako
失敗。提取B2G代碼時出現「由於提取錯誤而退出同步」
雖然上面的文章並說以下內容:
Note: it is possible for config.sh to fail with git-related fetching errors such as the following :
Fetching projects: 95% (118/124) error: Exited sync due to fetch errors
This appears to be caused by a connection error on the Android repo source repository. In this case, you will want to rerun config.sh. After a short while, It will automatically resume where it left off. You might have do to this several times until it finally fetches all projects.
但是,我已經嘗試了幾次,過程與每一次同樣的錯誤中止。 以下是日誌:
Get https://github.com/mozilla-b2g/b2g-manifest
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Counting objects: 1725, done.
remote: Total 1725 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1725/1725), 708.93 KiB | 62.00 KiB/s, done.
Resolving deltas: 100% (1019/1019), done.
From https://github.com/mozilla-b2g/b2g-manifest
* [new branch] master -> origin/master
* [new branch] revert-203-bug1025788-v2 -> origin/revert-203-bug1025788-v2
* [new branch] v1-train -> origin/v1-train
* [new branch] v1.0.0 -> origin/v1.0.0
* [new branch] v1.0.1 -> origin/v1.0.1
* [new branch] v1.1.0hd -> origin/v1.1.0hd
* [new branch] v1.2 -> origin/v1.2
* [new branch] v1.2f -> origin/v1.2f
* [new branch] v1.3 -> origin/v1.3
* [new branch] v1.3t -> origin/v1.3t
* [new branch] v1.4 -> origin/v1.4
* [new branch] v2.0 -> origin/v2.0
* [new branch] v2.1 -> origin/v2.1
* [new tag] B2G_1_0_1_20130213094222 -> B2G_1_0_1_20130213094222
* [new tag] B2G_1_1_0_hd_20130530182315 -> B2G_1_1_0_hd_20130530182315
* [new tag] B2G_1_1_0_hd_20130530182315_BASE -> B2G_1_1_0_hd_20130530182315_BASE
* [new tag] closing-nightly -> closing-nightly
Your identity is: John Bupit
If you want to change this, please re-run 'repo init' with --config-name
repo has been initialized in /home/jbupit/b2g/B2G
Fetching project gecko.git
Fetching project moztt
Fetching project platform/hardware/libhardware
Fetching project platform/system/bluetooth
Fetching projects: 1% (1/84) Fetching project platform/external/safe-iop
Fetching projects: 2% (2/84) Fetching project platform/abi/cpp
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/system/bluetooth/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/hardware/libhardware/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/abi/cpp/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/external/safe-iop/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/abi/cpp/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/system/bluetooth/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/external/safe-iop/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
fatal: unable to access 'http://sprdsource.spreadtrum.com:8085/b2g/android/platform/hardware/libhardware/': Failed connect to sprdsource.spreadtrum.com:8085; Connection timed out
error: Cannot fetch platform/system/bluetooth
Fetching project gonk-misc
Fetching projects: 3% (3/84) error: Cannot fetch platform/external/safe-iop
error: Cannot fetch platform/abi/cpp
error: Cannot fetch platform/hardware/libhardware
error: Exited sync due to fetch errors
Repo sync failed
我該怎麼辦?是否有另一種下載代碼的方式?
討論無論是展訊服務器關閉,或網絡不允許展訊連接。僅供參考,我可以訪問http://sprdsource.spreadtrum.com:8085/b2g/android/platform/hardware/libhardware/很好,可以嗎?也許嘗試通過VPN。 另外我懷疑你是否可以閃光Intex手機,因爲它沒有默認植根。 – 2014-09-24 16:58:57
不,我不能。連接每次都會超時。 – 2014-09-24 20:10:51
你可以通過VPN連接試試嗎? – 2014-09-25 08:43:03