UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Problem with syncing code

    Scheduled Pinned Locked Moved Porting
    5 Posts 4 Posters 2.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • A Offline
        abdullah
        last edited by abdullah

        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

        1 Reply Last reply Reply Quote 0
        • mariogripM Offline
          mariogrip Administrators
          last edited by

          Hei,

          I fixed this: https://github.com/ubports/android/commit/b2d66b652252390b5711a47c5aba40fb3153dcee

          1 Reply Last reply Reply Quote 0
          • A Offline
            abdullah
            last edited by

            Thanks dude 🙂

            1 Reply Last reply Reply Quote 0
            • P Offline
              princeofgiri
              last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • A Offline
                apple.muncy
                last edited by

                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 : )

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post