Problem with syncing code



  • hey there i am using this guide as a reference to port ubuntu touch to my device.

    Now my problem is when i sync the code it downloads all the files but since its based on cm12.1 which itself is around 30GB this source code is around 15GB but i ignored that anyways and started to build for one plus one which is officially supported but it didn't even build for that because the files were missing.

    May i know what's the solution to this problem

    Here's the error log

    Thanks


  • Administrators



  • Thanks dude :)



  • I always get error when sync.

    Fetching project aosp/platform/external/checkpolicy
    Fetching project android_device_oneplus_bacon-1
    Fetching project android_external_exfat
    Fetching project aosp/platform/external/stlport
    Fetching project aosp/platform/prebuilts/tools
    Fetching project ubuntu/platform-api
    Fetching projects: 0% (1/172) Fetching project aosp/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    Fetching projects: 1% (2/172) Fetching project android_external_libselinux
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    Fetching project aosp/platform/prebuilts/misc
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: Cannot fetch aosp/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
    Fetching project android_hardware_samsung_slsi_exynos5
    error: Cannot fetch aosp/platform/prebuilts/tools
    error: Cannot fetch aosp/platform/external/stlport
    Fetching projects: 2% (4/172) error: Cannot fetch ubuntu/platform-api
    error: Cannot fetch aosp/platform/external/checkpolicy
    error: RPC failed; result=22, HTTP code = 503
    fatal: The remote end hung up unexpectedly
    error: Cannot fetch aosp/platform/prebuilts/misc

    error: Exited sync due to fetch errors

    Any clue about that?



  • If this happens to you, it's probably because the sever has gone out to lunch.
    https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1610650

    I recommend an email to:
    rt@ubuntu.com
    asking for a restart.

    https://code-review.phablet.ubuntu.com/
    has become unresponsive.
    Please, restart. Thank you.

    Took them less than 10 minutes : )


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.