Repo sync issue (builduntu v2) - Android Q&A, Help & Troubleshooting

Hi all, I'm completely new to this and don't really know where to start. I downloaded Builduntu v2.0 and loaded it up in VirtualBox. I initiated a repo (for Nexus 6P Angler) using:
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r13
It started syncing but I'm receiving these errors:
Code:
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
100 1 100 1 0 0 2 0 --:--:-- --:--:-- --:--:-- 2
100 2706k 100 2706k 0 0 1205k 0 0:00:02 0:00:02 --:--:-- 2363k
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/iputils.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/system/tpm.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/apps/Browser2.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/ceres-solver.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/services/Telecomm.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
error: Cannot fetch platform/system/tpm (GitError: platform/system/tpm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/system/tpm.git'
)
Exception in thread Thread-59:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/system/tpm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/system/tpm.git'
error: Cannot fetch platform/external/ceres-solver (GitError: platform/external/ceres-solver pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/ceres-solver.git'
)
Exception in thread Thread-62:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/external/ceres-solver pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/ceres-solver.git'
error: Cannot fetch platform/packages/apps/Browser2 (GitError: platform/packages/apps/Browser2 pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/apps/Browser2.git'
)
Exception in thread Thread-61:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/packages/apps/Browser2 pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/apps/Browser2.git'
error: Cannot fetch platform/external/iputils (GitError: platform/external/iputils pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/iputils.git'
)
Exception in thread Thread-58:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/external/iputils pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/iputils.git'
error: Cannot fetch platform/packages/services/Telecomm (GitError: platform/packages/services/Telecomm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/services/Telecomm.git'
)
Exception in thread Thread-60:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/packages/services/Telecomm pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/packages/services/Telecomm.git'
error: Cannot fetch platform/external/clang (GitError: platform/external/clang pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
)
Exception in thread Thread-56:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/external/clang pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/external/clang.git'
error: Cannot fetch platform/build/kati (GitError: platform/build/kati pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
)
Exception in thread Thread-57:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/android/stock_build/.repo/repo/subcmds/sync.py", line 314, in _FetchHelper
prune=opt.prune)
File "/home/android/stock_build/.repo/repo/project.py", line 1267, in Sync_NetworkHalf
no_tags=no_tags, prune=prune)):
File "/home/android/stock_build/.repo/repo/project.py", line 2058, in _RemoteFetch
self.bare_git.pack_refs('--all', '--prune')
File "/home/android/stock_build/.repo/repo/project.py", line 2747, in runner
(self._project.name, name, p.stderr))
GitError: platform/build/kati pack-refs: fatal: Not a git repository: '/home/android/stock_build/.repo/projects/build/kati.git'
error: Exited sync due to fetch errors
I've tried doing rm -rf for each .git project that errored out, and I reran "repo sync -j 8", but I still get the same errors for those .gits. How do I fix these? Again, I'm new to this and trying to learn, so I'm sorry if I'm leaving out some key information for you guys.

which rom u are trying to build ?

messi2050 said:
which rom u are trying to build ?
Click to expand...
Click to collapse
This is just stock AOSP:
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r13

cnstarz said:
This is just stock AOSP:
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r13
Click to expand...
Click to collapse
try with
repo sync --force-sync

Thanks, I tried that too, but still got those errors. I think I have it all straightened out -- I had to delete the troublesome.gits from .repo/projects and .repo/project-objects/ and now things seem to be good:
Code:
---snip---
Fetching projects: 100% (481/481), done.
Checking out files: 100% (11503/11503), done. files: 16% (1860/11503)
Checking out files: 100% (6295/6295), done.out files: 9% (599/6295)
Checking out files: 100% (12356/12356), done.
Checking out files: 100% (524/524), done.g out files: 17% (90/524)
Checking out files: 100% (8423/8423), done.out files: 18% (1543/8423)
Checking out files: 100% (2533/2533), done.out files: 37% (961/2533)
Checking out files: 100% (9088/9088), done. out files: 32% (2995/9088)
Checking out files: 100% (19766/19766), done.ut files: 24% (4894/19766)
Checking out files: 100% (4757/4757), done. out files: 17% (853/4757)
Checking out files: 100% (5966/5966), done. out files: 34% (2070/5966)
Checking out files: 100% (2884/2884), done. out files: 38% (1124/2884)
Checking out files: 100% (31496/31496), done.ut files: 5% (1718/31496)
Checking out files: 100% (3203/3203), done. out files: 0% (21/3203)
Checking out files: 100% (129/129), done.ng out files: 34% (44/129)
Checking out files: 100% (622/622), done.
Checking out files: 100% (742/742), done.ng out files: 0% (6/742)
Checking out files: 100% (4202/4202), done. out files: 3% (143/4202)
Checking out files: 100% (5476/5476), done. out files: 12% (702/5476)
Checking out files: 100% (18054/18054), done.
Checking out files: 100% (1717/1717), done. out files: 6% (107/1717)
Checking out files: 100% (44431/44431), done.
Checking out files: 100% (62/62), done.
Checking out files: 100% (1668/1668), done. out files: 1% (17/1668)
Checking out files: 100% (7004/7004), done.
Checking out files: 100% (29/29), done.king out files: 17% (5/29)
Syncing work tree: 100% (481/481), done.

Related

[Q] [help] build from source

please help about this error
[email protected]:~/cm10.1$ cd ~/cm10.1
[email protected]:~/cm10.1$ mkdir -p bin
[email protected]:~/cm10.1$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22889 100 22889 0 0 33347 0 --:--:-- --:--:-- --:--:-- 53230
[email protected]:~/cm10.1$ chmod a+x ~/bin/repo
[email protected]:~/cm10.1$ ^C
[email protected]:~/cm10.1$ cd ~/cm10.1/vendor/cm
[email protected]:~/cm10.1/vendor/cm$ ./get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 117 0 0:00:01 0:00:01 --:--:-- 208
100 391k 100 391k 0 0 51153 0 0:00:07 0:00:07 --:--:-- 92144
Archive: ./proprietary/Term.apk
inflating: ./proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: ./proprietary/lib/mips/libjackpal-androidterm4.so
inflating: ./proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/cm10.1/vendor/cm$ source build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
[email protected]:~/cm10.1/vendor/cm$ breakfast aoba
breakfast: command not found
[email protected]:~/cm10.1/vendor/cm$ gedit ~/cm10.1/.repo/local_manifest.xml
[email protected]:~/cm10.1/vendor/cm$ cd ~/cm10.1
[email protected]:~/cm10.1$ gedit ~/cm10.1/.repo/local_manifest.xml
[email protected]:~/cm10.1$ repo sync -j14 -c
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 4% (13/318) fatal: remote error:
Repository not found.
fatal: remote error:
Repository not found.
Fetching projects: 7% (23/318) fatal: remote error:
Repository not found.
Fetching projects: 99% (315/318) fatal: remote error:
Repository not found.
fatal: remote error:
Repository not found.
fatal: remote error:
Repository not found.
error: Cannot fetch TheMuppets/proprietary_vendor_Sony.git
error: Cannot fetch CyanogenMod/Sony-kernel-msm8660
error: Cannot fetch CyanogenMod/android_device_Sony_aoba
error: Exited sync due to fetch errors
[email protected]:~/cm10.1$ ~/cm10.1/vendor/cm/get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 206 0 --:--:-- --:--:-- --:--:-- 531
100 391k 100 391k 0 0 49918 0 0:00:08 0:00:08 --:--:-- 81054
Archive: /home/nelikp/cm10.1/vendor/cm/proprietary/Term.apk
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/cm10.1$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cm10.1$ brunch aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
Adding dependency: CyanogenMod/android_device_sony_aoba -> device/sony/aoba
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
remote: Counting objects: 232, done.
remote: Compressing objects: 100% (110/110), done.
remote: Total 232 (delta 92), reused 214 (delta 79)
Receiving objects: 100% (232/232), 38.12 KiB, done.
Resolving deltas: 100% (92/92), done.
From git://github.com/CyanogenMod/android_device_sony_aoba
* [new branch] jellybean -> github/jellybean
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency: CyanogenMod/android_device_sony_fuji-common -> device/sony/fuji-common
Adding dependency: CyanogenMod/android_kernel_sony_msm8x60 -> kernel/sony/msm8x60
Adding dependency: CyanogenMod/android_packages_apps_FMRadio -> packages/apps/FmRadio
Adding dependency: CyanogenMod/android_hardware_sony_DASH -> hardware/sony/DASH
Syncing dependencies
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
remote: Counting objects: 240, done.
remote: Compressing objects: 100% (135/135), done.
remote: Counting objects: 428, done.
remote: Compressing objects: 100% (161/161), done.
remote: Counting objects: 955, done.
remote: Compressing objects: 100% (522/522), done.
remote: Total 428 (delta 271), reused 388 (delta 259)
Receiving objects: 100% (428/428), 155.14 KiB | 86 KiB/s, done.
Resolving deltas: 100% (271/271), done.
From git://github.com/CyanogenMod/android_hardware_sony_DASH
* [new branch] jellybean -> github/jellybean
remote: Total 240 (delta 56), reused 227 (delta 49)
Receiving objects: 100% (240/240), 206.67 KiB | 72 KiB/s, done.
Resolving deltas: 100% (56/56), done.
remote: Counting objects: 62614, done.
From git://github.com/CyanogenMod/android_packages_apps_FMRadio
* [new branch] jellybean -> github/jellybean
remote: Total 955 (delta 476), reused 828 (delta 367)
Receiving objects: 100% (955/955), 2.64 MiB | 82 KiB/s, done.
Resolving deltas: 100% (476/476), done.
From git://github.com/CyanogenMod/android_device_sony_fuji-common
* [new branch] jellybean -> github/jellybean
remote: Compressing objects: 100% (41095/41095), done.
remote: Total 62614 (delta 22038), reused 44611 (delta 20885)
Receiving objects: 100% (62614/62614), 124.27 MiB | 183 KiB/s, done.
Resolving deltas: 100% (22038/22038), done.
From git://github.com/CyanogenMod/android_kernel_sony_msm8x60
* [new branch] jellybean -> github/jellybean
Fetching projects: 100% (4/4), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Checking out files: 100% (39583/39583), done.
Syncing work tree: 100% (4/4), done.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
[email protected]:~/cm10.1$ source build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/sony/aoba/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cm10.1$ breakfast aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
CyanogenMod/android_device_sony_aoba already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
[email protected]:~/cm10.1$ y
y: command not found
[email protected]:~/cm10.1$ cd ~/android/system/vendor/cm
bash: cd: /home/nelikp/android/system/vendor/cm: No such file or directory
[email protected]:~/cm10.1$ mkdir -p ~/bin
[email protected]:~/cm10.1$ mkdir -p ~/android/system
nelik[email protected]:~/cm10.1$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22889 100 22889 0 0 27066 0 --:--:-- --:--:-- --:--:-- 52497
[email protected]:~/cm10.1$ chmod a+x ~/bin/repo
[email protected]:~/cm10.1$ export PATH=${PATH}:~/bin
[email protected]:~/cm10.1$ gedit ~/.bashrc
[email protected]:~/cm10.1$ cd ~/android/system/
[email protected]:~/android/system$ repo init -u git://github.com/CyanogenMod/android.git -b ics
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 12 (delta 7), reused 9 (delta 4)
Unpacking objects: 100% (12/12), done.
From git://github.com/CyanogenMod/android
2c5de82..11823bf cm-10.1 -> origin/cm-10.1
* [new tag] cm-10.1-M3 -> cm-10.1-M3
error: Your local changes to the following files would be overwritten by checkout:
default.xml
Please, commit your changes or stash them before you can switch branches.
Aborting
.repo/manifests/: discarding 43 commits
error: .repo/manifests/: manifests checkout bf4935bf568e492e40f1c4a680652f992ea4f45f
Traceback (most recent call last):
File "/home/nelikp/android/system/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/nelikp/android/system/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/nelikp/android/system/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 347, in Execute
self._SyncManifest(opt)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 203, in _SyncManifest
m.Sync_LocalHalf(syncbuf)
File "/home/nelikp/android/system/.repo/repo/project.py", line 1120, in Sync_LocalHalf
upstream_gain = self._revlist(not_rev(HEAD), revid)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^HEAD', 'bf4935bf568e492e40f1c4a680652f992ea4f45f', '--'): fatal: bad revision '^HEAD'
[email protected]:~/android/system$ repo init -u git://github.com/CyanogenMod/android.git -b jellybean
Traceback (most recent call last):
File "/home/nelikp/android/system/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/nelikp/android/system/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/nelikp/android/system/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 347, in Execute
self._SyncManifest(opt)
File "/home/nelikp/android/system/.repo/repo/subcmds/init.py", line 200, in _SyncManifest
m.MetaBranchSwitch(opt.manifest_branch)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2348, in MetaBranchSwitch
self.Sync_LocalHalf(syncbuf)
File "/home/nelikp/android/system/.repo/repo/project.py", line 1086, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^d15b08668a9aab975cabf51702f4dc1af2fb22dd', 'HEAD', '--'): fatal: bad revision 'HEAD'
[email protected]:~/android/system$ repo sync
Traceback (most recent call last):
File "/home/nelikp/android/system/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/nelikp/android/system/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/nelikp/android/system/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/nelikp/android/system/.repo/repo/subcmds/sync.py", line 569, in Execute
if mp.HasChanges:
File "/home/nelikp/android/system/.repo/repo/project.py", line 2383, in HasChanges
elif self._revlist(not_rev(HEAD), revid):
File "/home/nelikp/android/system/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/nelikp/android/system/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^HEAD', '11823bf4a4a1fda7e048a6b11e11d8f7f453616f', '--'): fatal: bad revision '^HEAD'
[email protected]:~/android/system$ cd ~/android/system/vendor/cm
bash: cd: /home/nelikp/android/system/vendor/cm: No such file or directory
[email protected]:~/android/system$ ./get-prebuilts
bash: ./get-prebuilts: No such file or directory
[email protected]:~/android/system$ ~/cm10.1/vendor/cm/get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 193 0 --:--:-- --:--:-- --:--:-- 486
100 391k 100 391k 0 0 57504 0 0:00:06 0:00:06 --:--:-- 90013
Archive: /home/nelikp/cm10.1/vendor/cm/proprietary/Term.apk
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/android/system$ . build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
[email protected]:~/android/system$ . build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
[email protected]:~/android/system$ cd ~/cm10.1
[email protected]:~/cm10.1$ ~/cm10.1/vendor/cm/get-prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 196 0 --:--:-- --:--:-- --:--:-- 481
100 391k 100 391k 0 0 29827 0 0:00:13 0:00:13 --:--:-- 51554
Archive: /home/nelikp/cm10.1/vendor/cm/proprietary/Term.apk
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: /home/nelikp/cm10.1/vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
[email protected]:~/cm10.1$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/sony/aoba/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/cm10.1$ brunch aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
CyanogenMod/android_device_sony_aoba already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
[email protected]:~/cm10.1$ breakfast aoba
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_aoba
CyanogenMod/android_device_sony_aoba already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in `/home/nelikp/cm10.1/.repo/local_manifests` instead
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "vendor/sony/fuji-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
[email protected]:~/cm10.1$ ^C
[email protected]:~/cm10.1$
Click to expand...
Click to collapse
nelikp said:
please help about this error
Click to expand...
Click to collapse
You have alot of stuff going on in there, maybe i missed it but why didn't i see a command to add your device repo to the device folder, also do you have a correct kernel source? because after you add your device repo, you can either opt for a prebuilt kernel or a config in the boardconfig.mk... And what is this command "^C" i dont use this one... Which all leads back to your device repo, which is the key to configuring the rom to your device. If you don't have one you can pull others from the device folder in the repo ( this is only for observation)every device will be configured differently from your own . to get the repo, all you need is repo command , sudo apt-get install git, git-core, and curl. then comes the device repo cloning, then kernel cloning, then prp blobs from your prop list, then you get the prebuilts, then if everything goes good " . build/envsetup.sh && brunch <device name according to you config.> Then get ready for fatal errors because they may come...
Warped420 said:
You have alot of stuff going on in there, maybe i missed it but why didn't i see a command to add your device repo to the device folder
Click to expand...
Click to collapse
local_manifest.xml
i cant exactly pinpoint the problem, you tried too many different things in all kinds of mixed up orders. but try doing a straight up
. build/envsetup.sh && brunch aoba
see what output you get from just that and try to let it go, itll probably give you some random errors but if it continues let it continue, if it stops on its own fine, but if you ctrl c it you could be the only thing stopping it
still got this error
[email protected]:~/android/system/vendor/cm$ source build/envsetup.sh
[email protected]:~/android/system/vendor/cm$ breakfast aoba
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
^CTraceback (most recent call last):
File "build/tools/roomservice.py", line 56, in <module>
result = json.loads(urllib2.urlopen(githubreq).read())
File "/usr/lib/python2.7/socket.py", line 351, in read
data = self._sock.recv(rbufsize)
File "/usr/lib/python2.7/httplib.py", line 561, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
KeyboardInterrupt
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_aoba'
** Do you have the right repo manifest?
[email protected]:~/android/system/vendor/cm$ breakfast aoba
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/aoba/cm.mk]]: "device/*/aoba/cm.mk" does not exist. Stop.
Device aoba not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Click to expand...
Click to collapse
Please help me
Please help me...
I get error will sync cm10.1 repo...
Can someone tell me how to fix it..? :crying:
Code:
[email protected]:~/arya_ruby/Source$ repo sync
Traceback (most recent call last):
File "/home/arya/arya_ruby/Source/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/arya/arya_ruby/Source/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/arya/arya_ruby/Source/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/arya/arya_ruby/Source/.repo/repo/subcmds/sync.py", line 569, in Execute
if mp.HasChanges:
File "/home/arya/arya_ruby/Source/.repo/repo/project.py", line 2383, in HasChanges
elif self._revlist(not_rev(HEAD), revid):
File "/home/arya/arya_ruby/Source/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/arya/arya_ruby/Source/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^HEAD', 'cfa5271b7e33bfd833b1750956b3bfc19e0ecbed', '--'): fatal: bad revision '^HEAD'
[email protected]:~/arya_ruby/Source$
Sorry for my bad english
Thanks
Thanks for the writeup!
[email protected]:~/opensemc$ mka bacon
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=10.2-20131019-UNOFFICIAL-aoba
TARGET_PRODUCT=cm_aoba
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-37-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/nelikp/opensemc/out
============================================
bionic/libc/Android.mk:429: TARGET_CPU_VARIANT is not defined
bionic/libc/arch-arm/arm.mk:30: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a5, cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait, scorpion. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.
[email protected]:~/opensemc$
Click to expand...
Click to collapse
any help for me with this mess??
fix your boardconfig value by that name, set it to something it.listed closest to what your processor is
I'M GOD OF THE SEA PEOPLE!!!
Junkie2100 said:
fix your boardconfig value by that name, set it to something it.listed closest to what your processor is
Click to expand...
Click to collapse
Just another stuck messing with me
anyone pro/advance can help me?
including ./vendor/tmobile/libs/com.tmobile.themes/Android.mk ...
including ./vendor/tmobile/providers/ThemeManager/Android.mk ...
build/core/main.mk:510: *** Some files have been added to ALL_PREBUILTS.
build/core/main.mk:511: *
build/core/main.mk:512: * ALL_PREBUILTS is a deprecated mechanism that
build/core/main.mk:513: * should not be used for new files.
build/core/main.mk:514: * As an alternative, use PRODUCT_COPY_FILES in
build/core/main.mk:515: * the appropriate product definition.
build/core/main.mk:516: * build/target/product/core.mk is the product
build/core/main.mk:517: * definition used in all products.
build/core/main.mk:518: *
build/core/main.mk:520: *
build/core/main.mk:521: *** ALL_PREBUILTS contains unexpected files. Stop.
Click to expand...
Click to collapse
I know i need to edit build/core/main.mk
but what should it be?
include $(BUILD_SYSTEM)/legacy_prebuilts.mk
ifneq ($(filter-out $(GRANDFATHERED_ALL_PREBUILTS),$(strip $(notdir $(ALL_PREBUILT)))),)
$(warning *** Some files have been added to ALL_PREBUILTS.)
$(warning *)
$(warning * ALL_PREBUILTS is a deprecated mechanism that)
$(warning * should not be used for new files.)
$(warning * As an alternative, use PRODUCT_COPY_FILES in)
$(warning * the appropriate product definition.)
$(warning * build/target/product/core.mk is the product)
$(warning * definition used in all products.)
$(warning *)
$(foreach bad_prebuilts,$(filter-out $(GRANDFATHERED_ALL_PREBUILTS),$(strip $(notdir $(ALL_PREBUILTS)))),$(warning * unexpected $(bad_prebuilts) in ALL_PREBUILTS))
$(warning *)
$(error ALL_PREBUILTS contains unexpected files)
endif
Click to expand...
Click to collapse

[help]I need some help with the repo sync[aokp]

i was syncing aokp source
then the storage space went down and it errored!
i freed around 80gb after that.
now when i sync it looks like this -
Code:
[email protected]:~/aokp$ repo sync -j4
Traceback (most recent call last):
File "/home/michael/aokp/.repo/repo/main.py", line 500, in <module>
_Main(sys.argv[1:])
File "/home/michael/aokp/.repo/repo/main.py", line 476, in _Main
result = repo._Run(argv) or 0
File "/home/michael/aokp/.repo/repo/main.py", line 155, in _Run
result = cmd.Execute(copts, cargs)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 633, in Execute
to_fetch.sort(key=self._fetch_times.Get, reverse=True)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 768, in Get
self._Load()
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 788, in _Load
self._times = pickle.load(f)
File "/usr/lib/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
raise EOFError
EOFError
[email protected]:~/aokp$ repo sync -f
Traceback (most recent call last):
File "/home/michael/aokp/.repo/repo/main.py", line 500, in <module>
_Main(sys.argv[1:])
File "/home/michael/aokp/.repo/repo/main.py", line 476, in _Main
result = repo._Run(argv) or 0
File "/home/michael/aokp/.repo/repo/main.py", line 155, in _Run
result = cmd.Execute(copts, cargs)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 633, in Execute
to_fetch.sort(key=self._fetch_times.Get, reverse=True)
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 768, in Get
self._Load()
File "/home/michael/aokp/.repo/repo/subcmds/sync.py", line 788, in _Load
self._times = pickle.load(f)
File "/usr/lib/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib/python2.7/pickle.py", line 880, in load_eof
raise EOFError
can some one please explain what happened..i searched for the solution but cant find any.
if there is a thread can you please give me the link.
thanks
[refresh] can anyone help me please

compiling dirty unicorn error

need help in compiling dirty unicorn from source. curruntly have the build error below....any help as to what i am doing wrong?
Code:
Gyp action: third_party_WebKit_Source_core_core_derived_sources_gyp_make_core_derived_sources_target_MakeTokenMatcherForViewport (/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/HTMLMetaElement.cpp)
Gyp action: third_party_WebKit_Source_core_core_derived_sources_gyp_make_core_derived_sources_target_HTMLElementLookupTrie (/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/HTMLElementLookupTrie.cpp)
mkdir -p /home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink; cd external/chromium_org/third_party/WebKit/Source/core; python ../build/scripts/rule_bison.py css/CSSGrammar.y "/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink" bison
mkdir -p /home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink; cd external/chromium_org/third_party/WebKit/Source/core; python ../build/scripts/rule_bison.py xml/XPathGrammar.y "/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink" bison
Gyp timestamp: /home/edwin270/du/out/target/product/i777/obj/GYP/third_party_icu_icui18n_gyp_intermediates/icui18n.stamp
Gyp timestamp: /home/edwin270/du/out/target/product/i777/obj/GYP/third_party_icu_icuuc_gyp_intermediates/icuuc.stamp
Traceback (most recent call last):
Traceback (most recent call last):
File "../build/scripts/rule_bison.py", line 75, in <module>
File "../build/scripts/rule_bison.py", line 75, in <module>
returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
File "/usr/lib/python2.7/subprocess.py", line 522, in call
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
raise child_exception
OSErrorOSError: : [Errno 2] No such file or directory[Errno 2] No such file or directory
make: *** [/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/CSSGrammar.cpp] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/edwin270/du/out/target/product/i777/obj/GYP/shared_intermediates/blink/XPathGrammar.cpp] Error 1
target StaticLib: third_party_WebKit_Source_heap_blink_heap_gyp (/home/edwin270/du/out/target/product/i777/obj/STATIC_LIBRARIES/third_party_WebKit_Source_heap_blink_heap_gyp_intermediates/third_party_WebKit_Source_heap_blink_heap_gyp.a)
target StaticLib: third_party_libwebp_libwebp_dec_gyp (/home/edwin270/du/out/target/product/i777/obj/STATIC_LIBRARIES/third_party_libwebp_libwebp_dec_gyp_intermediates/third_party_libwebp_libwebp_dec_gyp.a)

[Help Request] Need help building CM13 for the Blu R1 HD

Hello, I am having various issues building CM13 for the Blu R1 HD and was hoping somebody would be able to help. I have tried my best to get this working but these are the current error's that I am stuck on.
Here is my Device tree: https://github.com/Bullet25fxbx/android_device_blu_p6601
here is my Kernel: https://github.com/Bullet25fxbx/android_kernel_mediatek_mt6735
Here is my Local Manifest:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Bullet25fxbx/android_device_blu_p6601" path="device/blu/p6601" remote="github" revision="master" />
<project name="Bullet25fxbx/android_kernel_mediatek_mt6735" path="kernel/mediatek/mt6735" remote="github" revision="master" />
</manifest>
When making userdata image:
Code:
Target userdata fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/data /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts data
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
build/core/Makefile:1415: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img] Error 1
When making system image:
Code:
Target system fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/system /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts system
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Out of space? the tree size of /home/bullet25/workspace/cm13/out/target/product/p6601/system is (MB):
444 /home/bullet25/workspace/cm13/out/target/product/p6601/system
The max is 2672 MB.
build/core/Makefile:1258: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img] Error 1
Making a boot image and recovery image works fine.
Thank you, in advance, anybody who helps.
fixed the error below:
Code:
Installing recovery patch to system partition
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 55, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 37, in main
OPTIONS.info_dict = common.LoadInfoDict(input_dir)
File "/home/bullet25/workspace/cm13/build/tools/releasetools/common.py", line 201, in LoadInfoDict
d["fstab"] = LoadRecoveryFSTab(read_helper, d["fstab_version"], d["device_type"])
File "/home/bullet25/workspace/cm13/build/tools/releasetools/common.py", line 285, in LoadRecoveryFSTab
raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
ValueError: malformed recovery.fstab line: "/boot emmc /dev/block/mmcblk0p"
build/core/Makefile:1074: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/system/bin/install-recovery.sh' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/system/bin/install-recovery.sh] Error 1
Update: I fixed the malformed error but I still can't figure out the system image error or user data image errors
System:
Code:
Target system fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/system /home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts system
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Out of space? the tree size of /home/bullet25/workspace/cm13/out/target/product/p6601/system is (MB):
444 /home/bullet25/workspace/cm13/out/target/product/p6601/system
The max is 2672 MB.
build/core/Makefile:1258: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/obj/PACKAGING/systemimage_intermediates/system.img] Error 1
Userdata:
Code:
Target userdata fs image: /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img
Running: mkyaffs2image -f /home/bullet25/workspace/cm13/out/target/product/p6601/data /home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img /home/bullet25/workspace/cm13/out/target/product/p6601/root/file_contexts data
Traceback (most recent call last):
File "./build/tools/releasetools/build_image.py", line 549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/build_image.py", line 542, in main
if not BuildImage(in_dir, image_properties, out_file, target_out):
File "./build/tools/releasetools/build_image.py", line 354, in BuildImage
(_, exit_code) = RunCommand(build_command)
File "./build/tools/releasetools/build_image.py", line 53, in RunCommand
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
build/core/Makefile:1415: recipe for target '/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img' failed
make: *** [/home/bullet25/workspace/cm13/out/target/product/p6601/userdata.img] Error 1

build error

hey I'm trying to do cyanogenmod 11.0 bringup for tegratab I've spent so much time into this and at last it builds but stops just before making the zip. Here is the error
building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-TVpgiO/META/recovery_filesystem_config.txt /tmp/targetfiles-TVpgiO/RECOVERY/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-TVpgiO/RECOVERY/kernel --ramdisk /tmp/tmptdNNzh --output /tmp/tmpuf7rgQ
building image from target_files BOOT...
running: mkbootfs -f /tmp/targetfiles-TVpgiO/META/boot_filesystem_config.txt /tmp/targetfiles-TVpgiO/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-TVpgiO/BOOT/kernel --ramdisk /tmp/tmpcOtv18 --output /tmp/tmpDC9qqe
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1132, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1100, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 548, in WriteFullOTAPackage
common.CheckSize(boot_img.data, "boot.img", OPTIONS.info_dict)
File "/hex/bin/kk/build/tools/releasetools/common.py", line 511, in CheckSize
if not fs_type or not limit: return
UnboundLocalError: local variable 'fs_type' referenced before assignment
make: *** [/hex/bin/kk/out/target/product/tegratab/cm_tegratab-ota-7dad725e4c.zip] Error 1
so close but still to far.........

Categories

Resources