1

これらの手順を使用して、Intex Cloud FX 電話用に最初の B2G ビルドを準備しようとしています。Firefox OS Phonesページから、私の電話のコードがtarakoであることがわかりました。ただし、実行は毎回失敗します。./config.sh tarako

上記の記事には次のように書かれていますが:

: 次のような git 関連のフェッチ エラーで config.sh が失敗する可能性があります。

プロジェクトのフェッチ: 95% (118/124) エラー: フェッチ エラーにより同期が終了しました

これは、Android リポジトリ ソース リポジトリでの接続エラーが原因のようです。この場合、config.sh を再実行する必要があります。しばらくすると、中断したところから自動的に再開します。最終的にすべてのプロジェクトを取得するまで、これを数回行う必要があるかもしれません。

しかし、何度か試してみましたが、プロセスは毎回同じエラーで中止されます。ログは次のとおりです。

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

私は何をすべきか?コードをダウンロードする別の方法はありますか?

4

1 に答える 1

0

私もこれに遭遇しました-サーバーが非常に不安定であるか、時々コンテンツが欠落しているようです

https://git.mozilla.org/?a=project_list&s=sprd&btnS=Searchから必要なものをまとめることができるかもしれません

マニフェスト XML を新しい URL で編集し、それを使用するように config.sh を変更する必要があります。

元の同期については、 https://bugzilla.mozilla.org/show_bug.cgi?id=982360およびhttps://bugzilla.mozilla.org/show_bug.cgi?id=1014102で説明されています

于 2015-05-20T05:29:38.383 に答える