[Q] [help] build from source - Android Q&A, Help & Troubleshooting

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

Related

[GUIDE][DEV][DISCONTINUED] How I build my own CM10.2 test builds

This is still unofficial. This thread is intended for devs & advanced users only.
Guide how I build CM10.2 for my smultron.
For the first time you try to build CM10.2
Follow this guide up to "Initialize the CyanogenMod source repository" step (don't execute this step).
http://wiki.cyanogenmod.org/w/Build_for_smultron
Download & install lzop compression tool
Code:
sudo apt-get install lzop
Initialize the CyanogenMod source repository
Enter the following to initialize the repository:
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
Get the required local manifest
Code:
mkdir -p ~/android/system/.repo/local_manifests
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
Download the source code
Code:
repo sync
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
chmod a+x updates.sh
./updates.sh
Get the prebuilts
Code:
cd ~/android/system/vendor/cm
./get-prebuilts
Setup the environment & prepare the device-specific code.
Code:
cd ~/android/system
. build/envsetup.sh
breakfast smultron
Build the ROM (takes long time)
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-10.2-DATE-UNOFFICIAL-smultron.zip
The next times you want to build, you only need to do the following:
Sync the repositories & make sure you are using the latest local_manifest.
Code:
cd ~/android/system/
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
repo sync
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
chmod a+x updates.sh
./updates.sh
Setup the environment
Code:
. build/envsetup.sh
Build the ROM
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-10.2-DATE-UNOFFICIAL-smultron.zip
Steps to build only the kernel:
Sync the repositories.
Code:
cd ~/android/system/
repo sync
Setup the environment
Code:
. build/envsetup.sh
Build the kernel
Code:
breakfast smultron
make -j4 bootimage
If the build finishes successfully, you will find the boot image here:
~/android/system/out/target/product/smultron/boot.img
Credits: Thanks to hnl_dk for the initial CM9 & CM10 guides.
Reserved
Mike you are the F**kin BOSS ... You work is amazing, keep it up bro
Bless
Nice guide :angel:
can i run the code level on windows??if can how? or must only ubuntu?
hope ur advice
edit.
have done with virtual machine http://www.psychocats.net/ubuntu/virtualbox
hurriX8 said:
Nice guide :angel:
can i run the code level on windows??if can how? or must only ubuntu?
hope ur advice
Click to expand...
Click to collapse
U can create a linux environment using cygwin but to get full functionality is not possible....
U can use any linux with windows already installed....
try mint if u r a beginner i think its way polished than ubuntu...
salsreloded said:
U can create a linux environment using cygwin but to get full functionality is not possible....
U can use any linux with windows already installed....
try mint if u r a beginner i think its way polished than ubuntu...
Click to expand...
Click to collapse
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Awesome!
This is awesome!
hurriX8 said:
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Click to expand...
Click to collapse
No its not at all possible in windows to run terminal emulator.....
but u can use liveusb for linux without installing it...
u can also use damm small linux(just 45 mb) will not disturb ur linux...
u can also install linux inside a windows partition...
and last u can also use virtualbox....
thats all the solution out there...
I don't get device tree
I try build on buildbox by goo.im
Thanks for the tutorial, Mike.
I've got two quick questions: How much HDD space does it take to compile a release (I've read it may go up to 12 gigs)?
How long does it take to finish a build on your PC, are you using anything to make it faster - like say, ccache?
I'm asking it, because my PC is a quite old C2D with 4GB of RAM, so I just don't want to bother myself if it won't be worth the time.
hurriX8 said:
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Click to expand...
Click to collapse
use vmware player or virtual box to create a linux virtual machine
that's the best solution
pan_pietrek said:
Thanks for the tutorial, Mike.
I've got two quick questions: How much HDD space does it take to compile a release (I've read it may go up to 12 gigs)?
How long does it take to finish a build on your PC, are you using anything to make it faster - like say, ccache?
I'm asking it, because my PC is a quite old C2D with 4GB of RAM, so I just don't want to bother myself if it won't be worth the time.
Click to expand...
Click to collapse
I have same question. I too have Core 2 Duo and 4GB RAM and just about 15GB freespace.
Is it sufficient?
My internet speed is also very slow. Just about 512kbps.
I want to try android development as a hobby only so I do not want to spend a lot of time in that. (Also I can not spend lot of time due to other work)
PS: I am experienced Linux developer.
Thank you mike for the great tutorial.
You could include the "Install the repo command" section of the cyanogenmod guide, otherwise everything worked for me on Linux. It was my first Android ROM i've ever built on my computer.
Maybe you could mention that repo sync will take some hours when it is run for the first time.
CM10.2 works well so far. SU did not work (or maybe I did something wrong).
Thanks a lot!
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]:~/android/system$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/semc/anzu/vendorsetup.sh
including device/semc/coconut/vendorsetup.sh
including device/semc/haida/vendorsetup.sh
including device/semc/hallon/vendorsetup.sh
including device/semc/iyokan/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including device/semc/satsuma/vendorsetup.sh
including device/semc/smultron/vendorsetup.sh
including device/semc/urushi/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ breakfast mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
[email protected]:~/android/system$ brunch mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE mango
make -C kernel/semc/msm7x30 O=/home/karan/android/system/out/target/product/mango/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/karan/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
host C: acp <= build/tools/acp/acp.c
make[1]: Entering directory `/home/karan/android/system/kernel/semc/msm7x30'
host Executable: mkbootfs (/home/karan/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libhost (/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (34 files)
INSTALL include/media (7 files)
INSTALL include/drm (16 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi (3 files)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (2 files)
INSTALL include (0 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/mfd (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (12 files)
INSTALL include/linux/netfilter (75 files)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (10 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (409 files)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/karan/android/system/kernel/semc/msm7x30'
[email protected]:~/android/system$
tnx
i always say nice work your thw boos i love your work
You should have about 24gig of storage before you start this tutorial. Initial sync would use between 7 and 14 gig, for your builds you would need another 10
Sent from my Xperia Ray
using mint mate 15
Code:
[email protected] ~ $ cd ~/Downloads
[email protected] ~/Downloads $ svn checkout -r 91 http://lz4.googlecode.com/svn/trunk/ lz4
Checked out revision 91.
[email protected] ~/Downloads $ cd lz4 && make && cp lz4demo ~/bin/lz4demo
make: Nothing to be done for `default'.
[email protected] ~/Downloads/lz4 $
---------- Post added at 03:13 PM ---------- Previous post was at 02:23 PM ----------
officiallysonyrebel said:
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]:~/android/system$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/semc/anzu/vendorsetup.sh
including device/semc/coconut/vendorsetup.sh
including device/semc/haida/vendorsetup.sh
including device/semc/hallon/vendorsetup.sh
including device/semc/iyokan/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including device/semc/satsuma/vendorsetup.sh
including device/semc/smultron/vendorsetup.sh
including device/semc/urushi/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ breakfast mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
[email protected]:~/android/system$ brunch mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE mango
make -C kernel/semc/msm7x30 O=/home/karan/android/system/out/target/product/mango/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/karan/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
host C: acp <= build/tools/acp/acp.c
make[1]: Entering directory `/home/karan/android/system/kernel/semc/msm7x30'
host Executable: mkbootfs (/home/karan/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libhost (/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (34 files)
INSTALL include/media (7 files)
INSTALL include/drm (16 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi (3 files)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (2 files)
INSTALL include (0 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/mfd (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (12 files)
INSTALL include/linux/netfilter (75 files)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (10 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (409 files)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/karan/android/system/kernel/semc/msm7x30'
[email protected]:~/android/system$
Click to expand...
Click to collapse
you need 64 bit system for comiling cm10.2/cm10/cm10.1
Code:
n1kolaa-ASUS-DEKSTOP system # curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 922 100 922 0 0 2400 0 --:--:-- --:--:-- --:--:-- 2664
n1kolaa-ASUS-DEKSTOP system # chmod a+x updates.sh
n1kolaa-ASUS-DEKSTOP system # ./updates.sh
From http://review.cyanogenmod.org/CyanogenMod/android_system_core
* branch refs/changes/74/38174/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_hardware_qcom_audio-caf
* branch refs/changes/84/47484/2 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_av
* branch refs/changes/95/46495/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_native
* branch refs/changes/59/47259/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
n1kolaa-ASUS-DEKSTOP system #
@mikeioannina is that corect?
know using a 64 bit PC
i ve tried to compile kernel only
Code:
make[1]: Leaving directory `/home/rebel/android/system/kernel/semc/msm7x30'
make -C kernel/semc/msm7x30 O=/home/rebel/android/system/out/target/product/mango/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/rebel/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules_install
make[1]: Entering directory `/home/rebel/android/system/kernel/semc/msm7x30'
INSTALL drivers/net/wireless/wl12xx/wl12xx.ko
INSTALL drivers/net/wireless/wl12xx/wl12xx_sdio.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL fs/cifs/cifs.ko
INSTALL net/mac80211/mac80211.ko
INSTALL net/wireless/cfg80211.ko
DEPMOD 3.4.56-nAa+
make[1]: Leaving directory `/home/rebel/android/system/kernel/semc/msm7x30'
mdpath=`find /home/rebel/android/system/out/target/product/mango/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/rebel/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/rebel/android/system/out/target/product/mango/system/lib/modules/; done; fi
mdpath=`find /home/rebel/android/system/out/target/product/mango/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
after this terminal exited to home
and no boot img there ..
officiallysonyrebel said:
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]
Click to expand...
Click to collapse
I have HP Mini 110-3500 with atom and 1GB too
And it's not enough for good compiling
I try to use dev server but i think i have to buy better notebook with 8GB and core i3/5
Sent from my SK17i via Tapatalk 4
Errors
Code:
oduct/anzu/obj/STATIC_LIBRARIES/libvideoeditor_mcs_intermediates/libvideoeditor_mcs.a)
frameworks/av/libvideoeditor/vss/src/M4DECODER_Null.c: In function 'M4DECODER_NULL_setOption':
frameworks/av/libvideoeditor/vss/src/M4DECODER_Null.c:213:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
target StaticLib: libvideoeditor_stagefrightshells (/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libvideoeditor_stagefrightshells_intermediates/libvideoeditor_stagefrightshells.a)
target StaticLib: libvideoeditor_3gpwriter (/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libvideoeditor_3gpwriter_intermediates/libvideoeditor_3gpwriter.a)
Generating CSSPropertyNames.h <= CSSPropertyNames.in
Generating CSSValueKeywords.h <= CSSValueKeywords.in
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/third_party/WebKit/WebKit/chromium/public/WebFormControlElement.h "public/WebFormControlElement.h"
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/third_party/WebKit/WebKit/chromium/public/WebRegularExpression.h "public/WebRegularExpression.h"
sh: 1: sh: 1: gperf: not found
gperf: not found
calling gperf failed: 32512 at makevalues.pl line 137.
calling gperf failed: 32512 at ./makeprop.pl line 140.
make: *** [/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h] Error 25
make: *** Deleting file `/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h'
make: *** Waiting for unfinished jobs....
make: *** [/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h] Error 25
make: *** Deleting file `/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h'
Mike help!
EDIT: i think i fix it with installing gperf

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)

Repo Sync error

Repo sync is getting me this :
Code:
remote: Counting objects: 42085, done.
remote: Counting objects: 183237, done.
remote: Compressing objects: 100% (34/34), done.
remote: Counting objects: 1317135, done.
remote: Compressing objects: 100% (744/744), done.
error: RPC failed; result=56, HTTP code = 200MiB | 2.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
You can try this:
http://lmgtfy.com/?q=fatal:+early+EOF
DevUt said:
Repo sync is getting me this :
Code:
remote: Counting objects: 42085, done.
remote: Counting objects: 183237, done.
remote: Compressing objects: 100% (34/34), done.
remote: Counting objects: 1317135, done.
remote: Compressing objects: 100% (744/744), done.
error: RPC failed; result=56, HTTP code = 200MiB | 2.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Click to expand...
Click to collapse
USE
Code:
repo sync -f --force-sync -c --no-tags

Repo sync issue (builduntu v2)

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.

Error in building signed builds

Hello All,
I am trying to build LineAge 14.1 for Lux [Moto X Play].
I am following
http://wiki.lineageos.org/lux_build.html & http://wiki.lineageos.org/signing_builds.html
Now, when I am building unsigned build, everything works fine.
no issues at all.
ie by running
Code:
brunch lux
But, when I try to build a signed build,
with
Code:
mka dist
I get the following error.
Code:
[ 84% 1135/1347] target R.java/Manifest.java: PermissionTestAppMV1 (/mnt/volume-sfo2-01/android/system/out/target/common/obj/APPS/PermissionTestAppMV1_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[ 84% 1137/1347] target R.java/Manifest.java: PerformanceLaunch (/mnt/volume-sfo2-01/android/system/out/target/common/obj/APPS/PerformanceLaunch_intermediates/src/R.stamp)
platform_testing/tests/perf/PerformanceLaunch/res/values-en-rXA/strings.xml:0: warning: Resource file platform_testing/tests/perf/PerformanceLaunch/res/values-en-rXA/strings.xml is skipped as pseudolocalization was done automatically.
platform_testing/tests/perf/PerformanceLaunch/res/values-ar-rXB/strings.xml:0: warning: Resource file platform_testing/tests/perf/PerformanceLaunch/res/values-ar-rXB/strings.xml is skipped as pseudolocalization was done automatically.
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[ 84% 1140/1347] target R.java/Manifest.java: CMPlatformTests (/mnt/volume-sfo2-01/android/system/out/target/common/obj/APPS/CMPlatformTests_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[ 85% 1156/1347] host Java: ahat-tests (/mnt/volume-sfo2-01/android/system/out/host/common/obj/JAVA_LIBRARIES/ahat-tests_intermediates/classes)
Note: art/tools/ahat/test/SortTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[B][ 89% 1206/1347] host C: libosi-host <= system/bt/osi/./src/alarm.c
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang -I device/motorola/msm8916-common/include -I system/bt/osi/.. -I system/bt/osi/../utils/include -I system/bt/osi/../stack/include -I device/motorola/msm8916-common/bluetooth -I system/bt/osi -I /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates -I /mnt/volume-sfo2-01/android/system/out/host/linux-x86/gen/STATIC_LIBRARIES/libosi-host_intermediates -I libnativehelper/include/nativehelper \$(cat /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/include -c -fno-exceptions -Wno-multichar -m64 -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 -fstack-protector-strong --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin -target x86_64-linux-gnu -std=gnu99 -DHAS_BDROID_BUILDCFG -DQLOGKIT_USERDEBUG -DUSE_AUDIO_TRACK -DEXPORT_SYMBOL=\"__attribute__((visibility(\\\"default\\\")))\" -fvisibility=hidden -Wall -Wextra -Werror -Wno-gnu-variable-sized-type-not-at-end -Wno-typedef-redefinition -Wno-unused-parameter -UNDEBUG -DLOG_NDEBUG=1 -D_GNU_SOURCE -DOS_GENERIC -fPIC -D_USING_LIBCXX -std=c99 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d -o /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.o system/bt/osi/./src/alarm.c ) && (cp /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d >> /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.P; rm -f /mnt/volume-sfo2-01/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libosi-host_intermediates/./src/alarm.d )"
In file included from system/bt/osi/./src/alarm.c:19:
In file included from system/bt/osi/../include/bt_target.h:38:
In file included from device/motorola/msm8916-common/bluetooth/bdroid_buildcfg.h:20:
system/core/include/cutils/properties.h:22:10:[COLOR="Red"] fatal error[/COLOR]: 'sys/system_properties.h' file not found
#include <sys/system_properties.h>
^
1 error generated.[/B]
[ 89% 1206/1347] Package target files: /mnt/volume-sfo2-01/android/system/out/target/product/lux/obj/PACKAGING/target_files_intermediates/lineage_lux-target_files-ce75856d2e.zip
building image from target_files RECOVERY...
using prebuilt boot.img from BOOTABLE_IMAGES...
putting script in bin/install-recovery.sh
running: unzip -o -q /mnt/volume-sfo2-01/android/system/out/target/product/lux/obj/PACKAGING/target_files_intermediates/lineage_lux-target_files-ce75856d2e.zip -d /tmp/targetfiles-atRbed
++++ boot ++++
using prebuilt boot.img from BOOTABLE_IMAGES...
++++ recovery ++++
building image from target_files RECOVERY...
running: mkbootfs -f /tmp/targetfiles-atRbed/META/recovery_filesystem_config.txt /tmp/targetfiles-atRbed/RECOVERY/RAMDISK
running: minigzip
running: /mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin/mkbootimg --kernel /tmp/targetfiles-atRbed/RECOVERY/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.bootdevice=7824900.sdhci utags.blkdev=/dev/block/bootdevice/by-name/utags utags.backup=/dev/block/bootdevice/by-name/utagsBackup movablecore=160M buildvariant=userdebug --base 0x80000000 --dt /tmp/targetfiles-atRbed/RECOVERY/dt --pagesize 2048 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --os_version 7.1.1 --os_patch_level 2017-01-05 --ramdisk /tmp/tmpUZnRvD --output /tmp/tmpJ2eyen
++++ system ++++
creating system.img...
BuildImage: in_dir = /tmp/targetfiles-atRbed/system, out_file = /tmp/system-UI6LRH.img
fs type is not ext4
Running: mkuserimg.sh -s /tmp/targetfiles-atRbed/system /tmp/system-UI6LRH.img ext4 system 2852126720 -T 1230768000 -C /tmp/targetfiles-atRbed/META/filesystem_config.txt -B /tmp/system-blocklist-xeaHOq.map -L system /tmp/targetfiles-atRbed/META/file_contexts.bin
make_ext4fs -s -T 1230768000 -S /tmp/targetfiles-atRbed/META/file_contexts.bin -C /tmp/targetfiles-atRbed/META/filesystem_config.txt -B /tmp/system-blocklist-xeaHOq.map -L system -l 2852126720 -a system /tmp/system-UI6LRH.img /tmp/targetfiles-atRbed/system
loaded 2312 fs_config entries
Creating filesystem with parameters:
Size: 2852126720
Block size: 4096
Blocks per group: 32768
Inodes per group: 7920
Inode size: 256
Journal blocks: 10880
Label: system
Blocks: 696320
Block groups: 22
Reserved block group size: 175
Created filesystem with 2322/174240 inodes and 195326/696320 blocks
Running ['mkuserimg.sh', '-s', '/tmp/targetfiles-atRbed/system', '/tmp/system-UI6LRH.img', 'ext4', 'system', '2852126720', '-T', '1230768000', '-C', '/tmp/targetfiles-atRbed/META/filesystem_config.txt', '-B', '/tmp/system-blocklist-xeaHOq.map', '-L', 'system', '/tmp/targetfiles-atRbed/META/file_contexts.bin'] command, exit code = 0
++++ userdata ++++
creating userdata.img...
BuildImage: in_dir = /tmp/tmpGpF5hC/data, out_file = /tmp/tmpXM9Gfo
fs type is not ext4
Running: mkf2fsuserimg.sh /tmp/tmpXM9Gfo 11815223296
in mkf2fsuserimg.sh PATH=/mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin:/mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin/:/usr/lib/jvm/java-8-openjdk-amd64/bin:/mnt/volume-sfo2-01/android/system/out/host/linux-x86/bin:/mnt/volume-sfo2-01/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/mnt/volume-sfo2-01/android/system/prebuilts/gcc/linux-x86/:/mnt/volume-sfo2-01/android/system/development/scripts:/mnt/volume-sfo2-01/android/system/prebuilts/devtools/tools:/mnt/volume-sfo2-01/android/system/external/selinux/prebuilts/bin:/mnt/volume-sfo2-01/android/system/prebuilts/android-emulator/linux-x86_64:/mnt/volume-sfo2-01/bin:/root/platform-tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
make_f2fs -l 11815223296 /tmp/tmpXM9Gfo
Info: zone aligned segment0 blkaddr: 512
Info: Overprovision ratio = 1.890%
Info: Overprovision segments = 216 (GC reserved = 113)
Running ['mkf2fsuserimg.sh', '/tmp/tmpXM9Gfo', '11815223296'] command, exit code = 0
userdata size (14) is 0.00% of limit (11815223296)
++++ extrauserdata ++++
++++ cache ++++
creating cache.img...
BuildImage: in_dir = /tmp/tmpa0tOUX/cache, out_file = /tmp/tmpTM0SUW
fs type is not ext4
Running: mkuserimg.sh -s /tmp/tmpa0tOUX/cache /tmp/tmpTM0SUW ext4 cache 805306368 -T 1230768000 -L cache /tmp/targetfiles-atRbed/META/file_contexts.bin
make_ext4fs -s -T 1230768000 -S /tmp/targetfiles-atRbed/META/file_contexts.bin -L cache -l 805306368 -a cache /tmp/tmpTM0SUW /tmp/tmpa0tOUX/cache
Creating filesystem with parameters:
Size: 805306368
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 3072
Label: cache
Blocks: 196608
Block groups: 6
Reserved block group size: 47
Created filesystem with 11/49152 inodes and 6355/196608 blocks
Running ['mkuserimg.sh', '-s', '/tmp/tmpa0tOUX/cache', '/tmp/tmpTM0SUW', 'ext4', 'cache', '805306368', '-T', '1230768000', '-L', 'cache', '/tmp/targetfiles-atRbed/META/file_contexts.bin'] command, exit code = 0
cache size (14) is 0.00% of limit (805306368)
done.
[ 89% 1206/1347] Package symbols: /mnt/volume-sfo2-01/android/system/out/target/product/lux/lineage_lux-symbols-ce75856d2e.zip
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/mnt/volume-sfo2-01/android/system'
[B][COLOR="Red"]#### make failed to build some targets (06:42 (mm:ss)) ####[/COLOR][/B]
[email protected]:/mnt/volume-sfo2-01/android/system#
Any assistance will be appreciated.
Thank you.
Bump
I am getting exact same header file missing error
system_properties.h not found.
How to solve this.
Please help.
The same error was happening to me when running
Code:
mma
I managed to fix this by running
Code:
mma bacon
In your case however, I'm assuming you need to run
Code:
mka bacon dist
This assumption is based on the wiki article you mentioned:
breakfast <codename>
mka target-files-package dist
Click to expand...
Click to collapse
AFAICT bacon is some sort of "target files package" which needs to be specified when building.

Categories

Resources