it seems you have an network problem.

you should check if your network is ok

if your host is running behind firewall, you can using proxy:
export https_proxy=https://path/to/your/proxy
git clone ....
在 2013-10-2 下午2:15,"SPorwal" <[email protected]>写道:

> I am trying to build B2G from scratch, using the link below:
>
>
> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build
>
>
> git clone git://github.com/mozilla-b2g/B2G.git - git is blocked so using
> https
>
> after cloning, editing config.sh > "git://
> github.com/mozilla-b2g/b2g-manifest" to "
> https://github.com/mozilla-b2g/b2g-manifest";   ----for the same reason
> above
>
>
> DMACMIND0002:~ cdp$ git clone https://github.com/mozilla-b2g/B2G.git
> Cloning into 'B2G'...
> remote: Counting objects: 1100, done.
> remote: Compressing objects: 100% (745/745), done.
> remote: Total 1100 (delta 558), reused 861 (delta 346)
> Receiving objects: 100% (1100/1100), 1.62 MiB | 474 KiB/s, done.
> Resolving deltas: 100% (558/558), done.
>
> DMACMIND0002:~ cdp$ cd B2G/
>
> DMACMIND0002:B2G cdp$ ./config.sh emulator
> warning: gpg (GnuPG) is not available.
> warning: Installing it is strongly encouraged.
>
> Get https://gerrit.googlesource.com/git-repo
> remote: Counting objects: 105, done
> remote: Finding sources: 100% (105/105)
> remote: Total 2568 (delta 1451), reused 2568 (delta 1451)
> Receiving objects: 100% (2568/2568), 1.78 MiB | 811 KiB/s, done.
> Resolving deltas: 100% (1451/1451), done.
> From https://gerrit.googlesource.com/git-repo
>  * [new branch]      maint      -> origin/maint
>  * [new branch]      master     -> origin/master
>  * [new branch]      stable     -> origin/stable
>  * [new tag]         v1.0       -> v1.0
>  * [new tag]         v1.0.1     -> v1.0.1
>  * [new tag]         v1.0.2     -> v1.0.2
>  * [new tag]         v1.0.3     -> v1.0.3
>  * [new tag]         v1.0.4     -> v1.0.4
>  * [new tag]         v1.0.5     -> v1.0.5
>  * [new tag]         v1.0.6     -> v1.0.6
>  * [new tag]         v1.0.7     -> v1.0.7
>  * [new tag]         v1.0.8     -> v1.0.8
>  * [new tag]         v1.0.9     -> v1.0.9
>  * [new tag]         v1.1       -> v1.1
>  * [new tag]         v1.10.0    -> v1.10.0
>  * [new tag]         v1.10.1    -> v1.10.1
>  * [new tag]         v1.10.2    -> v1.10.2
>  * [new tag]         v1.10.3    -> v1.10.3
>  * [new tag]         v1.10.4    -> v1.10.4
>  * [new tag]         v1.11.0    -> v1.11.0
>  * [new tag]         v1.11.1    -> v1.11.1
>  * [new tag]         v1.12.0    -> v1.12.0
>  * [new tag]         v1.12.1    -> v1.12.1
>  * [new tag]         v1.12.2    -> v1.12.2
>  * [new tag]         v1.12.3    -> v1.12.3
>  * [new tag]         v1.12.3.1  -> v1.12.3.1
>  * [new tag]         v1.12.4    -> v1.12.4
>  * [new tag]         v1.2       -> v1.2
>  * [new tag]         v1.3       -> v1.3
>  * [new tag]         v1.3.1     -> v1.3.1
>  * [new tag]         v1.3.2     -> v1.3.2
>  * [new tag]         v1.4       -> v1.4
>  * [new tag]         v1.4.1     -> v1.4.1
>  * [new tag]         v1.4.2     -> v1.4.2
>  * [new tag]         v1.4.3     -> v1.4.3
>  * [new tag]         v1.4.4     -> v1.4.4
>  * [new tag]         v1.5       -> v1.5
>  * [new tag]         v1.5.1     -> v1.5.1
>  * [new tag]         v1.6       -> v1.6
>  * [new tag]         v1.6.1     -> v1.6.1
>  * [new tag]         v1.6.10    -> v1.6.10
>  * [new tag]         v1.6.10.1  -> v1.6.10.1
>  * [new tag]         v1.6.10.2  -> v1.6.10.2
>  * [new tag]         v1.6.2     -> v1.6.2
>  * [new tag]         v1.6.3     -> v1.6.3
>  * [new tag]         v1.6.4     -> v1.6.4
>  * [new tag]         v1.6.5     -> v1.6.5
>  * [new tag]         v1.6.6     -> v1.6.6
>  * [new tag]         v1.6.7     -> v1.6.7
>  * [new tag]         v1.6.7.1   -> v1.6.7.1
>  * [new tag]         v1.6.7.2   -> v1.6.7.2
>  * [new tag]         v1.6.7.3   -> v1.6.7.3
>  * [new tag]         v1.6.7.4   -> v1.6.7.4
>  * [new tag]         v1.6.7.5   -> v1.6.7.5
>  * [new tag]         v1.6.8     -> v1.6.8
>  * [new tag]         v1.6.8.1   -> v1.6.8.1
>  * [new tag]         v1.6.8.10  -> v1.6.8.10
>  * [new tag]         v1.6.8.11  -> v1.6.8.11
>  * [new tag]         v1.6.8.2   -> v1.6.8.2
>  * [new tag]         v1.6.8.3   -> v1.6.8.3
>  * [new tag]         v1.6.8.4   -> v1.6.8.4
>  * [new tag]         v1.6.8.5   -> v1.6.8.5
>  * [new tag]         v1.6.8.6   -> v1.6.8.6
>  * [new tag]         v1.6.8.7   -> v1.6.8.7
>  * [new tag]         v1.6.8.8   -> v1.6.8.8
>  * [new tag]         v1.6.8.9   -> v1.6.8.9
>  * [new tag]         v1.6.9     -> v1.6.9
>  * [new tag]         v1.6.9.1   -> v1.6.9.1
>  * [new tag]         v1.6.9.2   -> v1.6.9.2
>  * [new tag]         v1.6.9.3   -> v1.6.9.3
>  * [new tag]         v1.6.9.4   -> v1.6.9.4
>  * [new tag]         v1.6.9.5   -> v1.6.9.5
>  * [new tag]         v1.6.9.6   -> v1.6.9.6
>  * [new tag]         v1.6.9.7   -> v1.6.9.7
>  * [new tag]         v1.6.9.8   -> v1.6.9.8
>  * [new tag]         v1.7       -> v1.7
>  * [new tag]         v1.7.1     -> v1.7.1
>  * [new tag]         v1.7.2     -> v1.7.2
>  * [new tag]         v1.7.3     -> v1.7.3
>  * [new tag]         v1.7.3.1   -> v1.7.3.1
>  * [new tag]         v1.7.4     -> v1.7.4
>  * [new tag]         v1.7.4.1   -> v1.7.4.1
>  * [new tag]         v1.7.4.2   -> v1.7.4.2
>  * [new tag]         v1.7.4.3   -> v1.7.4.3
>  * [new tag]         v1.7.5     -> v1.7.5
>  * [new tag]         v1.7.6     -> v1.7.6
>  * [new tag]         v1.7.6.1   -> v1.7.6.1
>  * [new tag]         v1.7.7     -> v1.7.7
>  * [new tag]         v1.7.7.1   -> v1.7.7.1
>  * [new tag]         v1.7.7.2   -> v1.7.7.2
>  * [new tag]         v1.7.7.3   -> v1.7.7.3
>  * [new tag]         v1.7.7.4   -> v1.7.7.4
>  * [new tag]         v1.7.7.5   -> v1.7.7.5
>  * [new tag]         v1.7.7.6   -> v1.7.7.6
>  * [new tag]         v1.7.8     -> v1.7.8
>  * [new tag]         v1.7.8.1   -> v1.7.8.1
>  * [new tag]         v1.7.8.2   -> v1.7.8.2
>  * [new tag]         v1.8.0     -> v1.8.0
>  * [new tag]         v1.8.1     -> v1.8.1
>  * [new tag]         v1.8.2     -> v1.8.2
>  * [new tag]         v1.9.0     -> v1.9.0
>  * [new tag]         v1.9.1     -> v1.9.1
>  * [new tag]         v1.9.2     -> v1.9.2
>  * [new tag]         v1.9.3     -> v1.9.3
>  * [new tag]         v1.9.4     -> v1.9.4
>  * [new tag]         v1.9.5     -> v1.9.5
>  * [new tag]         v1.9.6     -> v1.9.6
>
> ... A new repo command ( 1.20) is available.
> ... You should upgrade soon:
>
>     cp /Users/cdp/B2G/.repo/repo/repo /Users/cdp/B2G/repo
>
> 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
> Server does not provide clone.bundle; ignoring.
> remote: Counting objects: 967, done.
> remote: Compressing objects: 100% (510/510), done.
> remote: Total 967 (delta 642), reused 740 (delta 438)
> Receiving objects: 100% (967/967), 203.33 KiB | 103 KiB/s, done.
> Resolving deltas: 100% (642/642), done.
> From https://github.com/mozilla-b2g/b2g-manifest
>  * [new branch]      master     -> origin/master
>  * [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 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 Name  [Global]: Global
> Your Email [[email protected]]: [email protected]
>
> Your identity is: Global <[email protected]>
> is this correct [y/N]? y
>
> repo has been initialized in /Users/cdp/B2G
>
> ... A new repo command ( 1.20) is available.
> ... You should upgrade soon:
>
>     cp /Users/cdp/B2G/.repo/repo/repo /Users/cdp/B2G/repo
>
> Fetching project platform/abi/cpp
> Fetching project platform/bionic
> Fetching project platform/bootable/recovery
> Fetching project platform_build
> fatal: unable to connect to github.com:
> github.com[0: 192.30.252.129]: errno=Operation timed out
>
> fatal: unable to connect to codeaurora.org:
> codeaurora.org[0: 198.145.11.235]: errno=Operation timed out
>
> fatal: unable to connect to codeaurora.org:
> codeaurora.org[0: 198.145.11.235]: errno=Operation timed out
>
> fatal: unable to connect to codeaurora.org:
> codeaurora.org[0: 198.145.11.235]: errno=Operation timed out
>
> fatal: unable to connect to codeaurora.org:
> codeaurora.org[0: 198.145.11.235]: errno=Operation timed out
>
> fatal: unable to connect to codeaurora.org:
> codeaurora.org[0: 198.145.11.235]: errno=Operation timed out
>
> fatal: unable to connect to github.com:
> github.com[0: 192.30.252.130]: errno=Operation timed out
>
> error: Cannot fetch platform/bionic
> Fetching project fake-dalvik
> error: Cannot fetch platform/bootable/recovery
> error: Cannot fetch platform_build
> fatal: unable to connect to codeaurora.org:
> codeaurora.org[0: 198.145.11.235]: errno=Operation timed out
>
> error: Cannot fetch platform/abi/cpp
> fatal: unable to connect to github.com:
> github.com[0: 192.30.252.131]: errno=Operation timed out
>
> fatal: unable to connect to github.com:
> github.com[0: 192.30.252.130]: errno=Operation timed out
>
> error: Cannot fetch fake-dalvik
>
> error: Exited sync due to fetch errors
> Repo sync failed
> DMACMIND0002:B2G cdp$
>
>
> How should I remove these fatal errors and fix it?
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to