[Q] Issues with syncing - General Questions and Answers

So I am trying to sync from VanirAOSP git hub I run this command:
repo init -u git://github.com/VanirAOSP/platform_manifest.git -b jb42
Then : repo sync
it seems to run for a while then I get this:
* [new branch] master -> aosp/master
error: Exited sync due to fetch errors
I try repo sync again and get this:
Fetching projects: 2% (7/334) fatal: Couldn't find remote ref refs/tags/android-4.2.1_r1
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/android-4.2.1_r1
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/android-4.2.1_r1
Unexpected end of command stream
Fetching projects: 99% (331/334) fatal: Couldn't find remote ref refs/tags/android-4.2.1_r1
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/android-4.2.1_r1
Unexpected end of command stream
fatal: Couldn't find remote ref refs/tags/android-4.2.1_r1
Unexpected end of command stream
error: Cannot fetch platform/external/bluetooth/bluedroid
error: Cannot fetch platform/packages/apps/Nfc
error: Cannot fetch platform/external/libnfc-nci
error: Exited sync due to fetch errors

oh and I'm running Linux Mint 14 64bit and this is for the VZW Galaxy Nexus

Related

Not Building

Running into this when trying to build a rom from source and porting to my device
Code:
/bin/bash: xsltproc: command not found
/bin/bash: xsltproc: command not found
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
build/core/base_rules.mk:130: *** hardware/qcom/display/liblight: MODULE.TARGET.SHARED_LIBRARIES.lights.msm8960 already defined by device/samsung/d2-common/liblights. Stop.
Any idea why gcm-client/src and gcm-server/src aren't being found? Sync'd the repo last night and all went good, tried re syncing today after that^ appeared but this came up
Code:
vendor/samsung/: discarding 9 commits
[COLOR="Red"]error: vendor/samsung/: TheMuppets/proprietary_vendor_samsung checkout e8768ff20e740568e96163589796e0749a4bc0f9[/COLOR]
Repo is having problems with loose objects, any help?
Code:
Fetching projects: 7% (24/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
remote: Counting objects: 4130, done
remote: Finding sources: 100% (34/34)
remote: Getting sizes: 100% (10/10)
remote: Compressing objects: 100% (10/10)
remote: Total 34 (delta 21), reused 29 (delta 20)
Unpacking objects: 100% (34/34), done.
From https://android-review.googlesource.com/platform/dalvik
953e6b8..bf452d4 master -> aosp/master
Fetching projects: 69% (235/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
Fetching projects: 99% (337/340) error: Cannot fetch TheMuppets/proprietary_vendor_samsung
error: Exited sync due to fetch errors
GhostIsBaked said:
Repo is having problems with loose objects, any help?
Code:
Fetching projects: 7% (24/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
remote: Counting objects: 4130, done
remote: Finding sources: 100% (34/34)
remote: Getting sizes: 100% (10/10)
remote: Compressing objects: 100% (10/10)
remote: Total 34 (delta 21), reused 29 (delta 20)
Unpacking objects: 100% (34/34), done.
From https://android-review.googlesource.com/platform/dalvik
953e6b8..bf452d4 master -> aosp/master
Fetching projects: 69% (235/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
Fetching projects: 99% (337/340) error: Cannot fetch TheMuppets/proprietary_vendor_samsung
error: Exited sync due to fetch errors
Click to expand...
Click to collapse
cd android/system/vendor
rm -r samsung
cd && cd android/system
repo sync
mithun46 said:
cd android/system/vendor
rm -r samsung
cd && cd android/system
repo sync
Click to expand...
Click to collapse
Thanks, I'll try this as soon as I get home. Still trying to get the hang of this.
Update: Still receiving corrupt loose objects and some fetch errors after running those commands in terminal. Also tried repo sync -f but doesn't help with those fetch errors.
Code:
[email protected]:~$ cd android/system/vendor
[email protected]:~/android/system/vendor$ rm -r samsung
[email protected]:~/android/system/vendor$ cd && cd android/system
[email protected]:~/android/system$ repo sync -j8
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/external/icu4c
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: object file /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99 is empty
[B]fatal: loose object 06e6c6ad452aec4814e03fbd638ef9f3706aeb99 (stored in /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99) is corrupt
fatal: The remote end hung up unexpectedly[/B]
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/CellBroadcastReceiver
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/Tag
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
remote: Counting objects: 2142, done.
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
remote: Compressing objects: 100% (928/928), done.
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/CellBroadcastReceiver
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/external/icu4c
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/Tag
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
[B]error: object file /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99 is empty
fatal: loose object 06e6c6ad452aec4814e03fbd638ef9f3706aeb99 (stored in /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99) is corrupt
fatal: The remote end hung up unexpectedly[/B]
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: Cannot fetch platform/packages/apps/CellBroadcastReceiver
error: Cannot fetch platform/packages/apps/Tag| 601 KiB/s
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
[B]error: Cannot fetch platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
error: Cannot fetch platform/external/icu4c
error: Cannot fetch platform/prebuilts/sdkMiB | 620 KiB/s
error: Cannot fetch platform/development4 MiB | 620 KiB/s
error: Cannot fetch platform/sdk16), 40.00 MiB | 600 KiB/s [/B]
remote: Total 1916 (delta 1051), reused 1628 (delta 876)
Receiving objects: 100% (1916/1916), 43.82 MiB | 615 KiB/s, done.
[B]error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc is empty
fatal: loose object 73420aa3dd4851768229c8636988f0e6a59f58fc (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc) is corrupt
fatal: index-pack failed[/B]
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: Cannot fetch platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
remote: Counting objects: 2142, done.
remote: Compressing objects: 100% (928/928), done.
remote: Total 1916 (delta 1051), reused 1628 (delta 876)
Receiving objects: 100% (1916/1916), 43.82 MiB | 614 KiB/s, done.
[B]error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc is empty
fatal: loose object 73420aa3dd4851768229c8636988f0e6a59f58fc (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc) is corrupt
fatal: index-pack failed
error: Cannot fetch TheMuppets/proprietary_vendor_samsung[/B]
error: Exited sync due to fetch errors
Sent from my SGH-T999 using xda app-developers app

Help with ROM build....

So I have decided to take on the task of building SlimBean using the latest Aries kernel. I believe I have everything setup correctly. Trouble is I am getting server timeout errors. I'm not so familiar with Linux and Git and am having trouble finding where these errors are occurring.
My build started like this:
I used the stickied thread and created a new folder inside my /android called "slimRoms"
Next step was to do the init and sync:
Code:
repo init -u git://github.com/SlimRoms/platform_manifest.git -b jb4.2 && mkdir -p .repo/local_manifests && curl https://raw.github.com/teamuserdebug/page/manifests/manifests/cm10.1-aries.xml > .repo/local_manifests/local_manifest.xml && repo sync
The reason that is different from the stickied thread is due to a local_manifests not found error. When I would open it it would say something like " you are being redirected" and would provived the link I used.
It goes threw the sync for a bit then errors out after maybe 5-10 minutes.
There is an error at line 1852 in the log.
Code:
52 77.8M 52 40.5M 0 0 520k 0 0:02:33 0:01:19 0:01:14 533kerror: Cannot fetch teamuserdebug/android_device_samsung_aries-common
Receiving objects: 1% (5737/383283), 1.65 MiB | 357 KiB/s
I get this as well:
Code:
[email protected]:~$ cd ~/android/slimRoms
[email protected]:~/android/slimRoms$ repo sync
Fetching projects: 4% (14/337) fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
Fetching projects: 11% (38/337) % Total %
Is this just something I'll have to wait out? Or am I doing it all wrong :/

[Q] CM Build problems

Can someone help me? I can't initiate the repo on my PC. I installed Ubuntu 14.04 LTS and I can't do the repo init.
I got:
Get https://gerrit.googlesource.com/git-repo
fatal: unable to access 'https://gerrit.googlesource.com/git-repo/': Could not resolve host: gerrit.googlesource.com
Or:
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno -2] Name or service not known

[Fetch errors] Permission denied

Fetching project CyanogenMod/android_hardware_qcom_display
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
error: Cannot fetch team-ub/android_scripts
error: Cannot fetch team-ub/android_packages_apps_opendelta
error: Cannot fetch team-ub/android_packages_apps_TUBwallpapers
error: Exited sync due to fetch errors
I'm getting this error while syncing team-ub source code.I've set up the SSH key.Please help me out of this.

Need help with Building Android

Hello guys. I am building CarbonROM 5.1.1 for jfltexx (i9505) and while syncing I get this:
Command: repo sync
Error: Exiting sync due to fetch errors
Command: repo sync -f
Error: Exiting sync due to gc errors
Also I get tinyxml.git error:
Fatal: not a git repository: $WORKDIR/.repo/projectd/external/tinyxml.git
And also:
! [new tag] android-5.1.1_r4 -> android-5.1.1_r4 (unable to uodate local ref) -- I get this for all branches..
Any way to solve these?
Thanks.
Sent from my GT-I9505
Edit: Not needed anymore
Sent from my GT-I9505

Categories

Resources