Getting Errors while Building AOSPA - Android Q&A, Help & Troubleshooting

Respected Developers,
I am learning to build Rom from Source. So, I wanted to build a rom from the AOSPA Source. Source was completely downloaded but when I am trying to build the output. I am getting the following errors. Can anyone help me please.
Building AOSPA 5.0 for DEVICE
Start time: Wed Jul 8 22:49:52 IST 2015
Setting up the environment
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including vendor/pa/vendorsetup.sh
including sdk/bash_completion/adb.bash
Lunching DEVICE (Including dependencies sync)
ls: cannot access vendor/pa/products/pa_DEVICE.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "pa_DEVICE". Stop.
your device can't be found in device sources...
Traceback (most recent call last):
File "build/tools/roomservice.py", line 317, in <module>
fetch_dependencies(device)
File "build/tools/roomservice.py", line 270, in fetch_dependencies
raise Exception("ERROR: could not find your device "
Exception: ERROR: could not find your device folder location, bailing out
** Don't have a product spec for: 'pa_DEVICE'
** Do you have the right repo manifest?
Starting compilation
ls: cannot access vendor/pa/products/pa_DEVICE.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "aosp_x86_64". Stop.
Total time elapsed: 0 minutes (2.299871122 seconds)
Click to expand...
Click to collapse

Related

Error when Compiling from source (PA)

First of all I tried everything that could be possible before coming on here asking for help and was hoping someone would know what is wrong.
Anyways I simply resynced the REPO from github like always but when I tried compiling the new version of PA I got this error:
Code:
Downloading prebuilts
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 319k 100 319k 0 0 253k 0 0:00:01 0:00:01 --:--:-- 253k
Archive: ./proprietary/Term.apk
inflating: ./proprietary/lib/armeabi/libjackpal-androidterm4.so
Setting up environment
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/semc/coconut/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including vendor/pa/vendorsetup.sh
including sdk/bash_completion/adb.bash
Lunching device
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[device/semc/coconut/full_coconut.mk]]: "device/semc/mogami-common/mogami.mk" does not exist. Stop.
Device coconut not found. Attempting to retrieve device repository from CyanogenMod Github (github.c0m/CyanogenMod).
Traceback (most recent call last):
File "build/tools/roomservice.py", line 56, in <module>
result = json.loads(urllib2.urlopen(githubreq).read())
File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[device/semc/coconut/full_coconut.mk]]: "device/semc/mogami-common/mogami.mk" does not exist. Stop.
** Don't have a product spec for: 'pa_coconut'
** Do you have the right repo manifest?
Starting compilation
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[device/semc/coconut/full_coconut.mk]]: "device/semc/mogami-common/mogami.mk" does not exist. Stop.
Device coconut not found. Attempting to retrieve device repository from CyanogenMod Github (github.c0m/CyanogenMod).
Traceback (most recent call last):
File "build/tools/roomservice.py", line 56, in <module>
result = json.loads(urllib2.urlopen(githubreq).read())
File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[device/semc/coconut/full_coconut.mk]]: "device/semc/mogami-common/mogami.mk" does not exist. Stop.
** Don't have a product spec for: 'pa_coconut'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
Total time elapsed: 0 minutes (3.466118097 seconds)
Ow by the way I was compiling for wt19i but somehow it searches for an other device (atleast this is what is written when I try to compile it).
If nobody knows why is it doing this then I might just go and ask the support of the official rom on what to do.

[Q] How to fix config makefile error

So I have been plagued by this error for the last day or so. I'm trying to build the latest Dirty Unicorns (v5.0) for the T-Mobile Samsung Vibrant (vibrantmtd). I cloned the device tree and extracted the proprietary files from the device.
I am trying to use the "breakfast" command but I keep getting this error.
Code:
@ubuntu:~/du$ . build/envsetup.sh
including device/samsung/jfltevzw/vendorsetup.sh
including device/samsung/t0lte/vendorsetup.sh
including device/samsung/p3100/vendorsetup.sh
including device/samsung/l900/vendorsetup.sh
including device/samsung/jflteatt/vendorsetup.sh
including device/samsung/vibrantmtd/vendorsetup.sh
including device/samsung/p3110/vendorsetup.sh
including device/samsung/jfltespr/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including vendor/du/vendorsetup.sh
including sdk/bash_completion/adb.bash
@ubuntu:~/du$ breakfast vibrantmtd
including vendor/du/vendorsetup.sh
build/core/product_config.mk:222: *** Can not locate config makefile for product "du_vibrantmtd". Stop.
** Don't have a product spec for: 'du_vibrantmtd'
** Do you have the right repo manifest?
I have checked multiple times and have even edited the du_vibrantmtd.mk file. I created that file by using the cm.mk file that was cloned via the local manifest. Can someone please help me build the rom?
theabnormalguy said:
So I have been plagued by this error for the last day or so. I'm trying to build the latest Dirty Unicorns (v5.0) for the T-Mobile Samsung Vibrant (vibrantmtd). I cloned the device tree and extracted the proprietary files from the device.
I am trying to use the "breakfast" command but I keep getting this error.
Code:
[email protected]:~/du$ . build/envsetup.sh
including device/samsung/jfltevzw/vendorsetup.sh
including device/samsung/t0lte/vendorsetup.sh
including device/samsung/p3100/vendorsetup.sh
including device/samsung/l900/vendorsetup.sh
including device/samsung/jflteatt/vendorsetup.sh
including device/samsung/vibrantmtd/vendorsetup.sh
including device/samsung/p3110/vendorsetup.sh
including device/samsung/jfltespr/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including vendor/du/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/du$ breakfast vibrantmtd
including vendor/du/vendorsetup.sh
build/core/product_config.mk:222: *** Can not locate config makefile for product "du_vibrantmtd". Stop.
** Don't have a product spec for: 'du_vibrantmtd'
** Do you have the right repo manifest?
I have checked multiple times and have even edited the du_vibrantmtd.mk file. I created that file by using the cm.mk file that was cloned via the local manifest. Can someone please help me build the rom?
Click to expand...
Click to collapse
Same here for the Galaxy s5...

[Q] nexus 5 building cm problem

im using this
http://wiki.cyanogenmod.org/w/Build_for_hammerhead#Install_the_SDK
i have reached the step where i have to type $ breakfast hammerhead
i have tryed a couple of time but it keeps saying
Code:
[email protected]:~/android/system$ breakfast hammerhead
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/hammerhead/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hammerhead". Stop.
Device hammerhead not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_lge_hammerhead
Default revision: cm-10.2
Checking branch info
Default revision cm-10.2 not found in android_device_lge_hammerhead. Bailing.
Branches found:
cm-11.0
stable/cm-11.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
ls: cannot access device/*/hammerhead/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_hammerhead". Stop.
** Don't have a product spec for: 'cm_hammerhead'
** Do you have the right repo manifest?
[email protected]:~/android/system$
i have no idea what to do now, i have just finished the repo sync!

[Build Help] Omnirom build error

Trying to build Omni Rom for Nexus 6P error is as follows.
[email protected]:~/Omnirom$ . build/envsetup.shincluding device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/huawei/angler/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/Omnirom$ brunch angler
make: *** build/target/board/generic: Is a directory. Stop.
WARNING: Trying to fetch a device that's already there
make: *** build/target/board/generic: Is a directory. Stop.
** Don't have a product spec for: 'omni_angler'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
Sources im using are -
https://github.com/Evasii0n/android_device_huawei_angler
https://github.com/Evasii0n/android_kernel_huawei_angler
https://github.com/Evasii0n/vendor_huawei_angler

[HELP] Errors while compiling TWRP

Hey guys, I want to port a TWRP for my device.
My device is Micromax Canvas Juice 3+ a.k.a. Micromax Q394. It has MT6582 chipset, i.e. it is a MTK device.
I have prepared my device tree and vendor tree.
I synced the source of minimal manifest TWRP using the following commands.
Code:
repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-8.1
repo sync -j4
It synced successfully. After that I put my device tree and vendor tree at the appropriate locations and entered the following commands which you can see below but I got some errors.
Code:
(venv) [[email protected] twrp]$ . build/envsetup.sh
including device/Micromax/Q394/vendorsetup.sh
including vendor/omni/vendorsetup.sh
including sdk/bash_completion/adb.bash
(venv) [[email protected] twrp]$ lunch Q394
device/Micromax/Q394/Q394.mk:113: *** multiple target patterns. Stop.
WARNING: Trying to fetch a device that's already there
Traceback (most recent call last):
File "vendor/omni/build/tools/roomservice.py", line 355, in <module>
fetch_device(device)
File "vendor/omni/build/tools/roomservice.py", line 323, in fetch_device
git_data = search_gerrit_for_device(device)
File "vendor/omni/build/tools/roomservice.py", line 81, in search_gerrit_for_device
device_data = check_repo_exists(git_data, device)
File "vendor/omni/build/tools/roomservice.py", line 58, in check_repo_exists
"exiting roomservice".format(device=device))
Exception: Q394 not found,exiting roomservice
device/Micromax/Q394/Q394.mk:113: *** multiple target patterns. Stop.
** Don't have a product spec for: 'Q394'
** Do you have the right repo manifest?
(venv) [[email protected] twrp]$
What am I doing wrong? Please help
Thread closed per OP request.

Categories

Resources