Alrighty, been having this problem all night last night. How can I get this fixed? I got everything done up until "Prepare the device-specific code". Followed the instructions on here.http://wiki.cyanogenmod.org/w/Build_for_hercules
Code:
[email protected]:~/android/system/build$ breakfast hercules
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/hercules/cm.mk]]: "device/*/hercules/cm.mk" does not exist. Stop.
Device hercules not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_hercules
CyanogenMod/android_device_samsung_hercules already exists
Syncing repository to retrieve project.
error: project device/samsung/hercules not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/hercules/cm.mk]]: "device/*/hercules/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_hercules'
** Do you have the right repo manifest?
Did you figure this out yet?
I havent had this problem till now .. it is driving me crazy to...Let me know if you figured it out
Related
I am following the CyanogenMod guide to get the source code ready for building my own CM nightlies, but I am running into an issue. Throwing it out here in case someone has figured this out (and to put a solution when I do figure it out).
Here's the guide http://wiki.cyanogenmod.org/w/Build_for_odin
It's auto-generated and everything has been right so far, but when trying to prepare the device-specific code, it fails to find the qualcom-common files:
Code:
[email protected]:~/android/system$ breakfast odin
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/odin/cm.mk]]: "vendor/sony/qcom-common/qcom-common-vendor.mk" does not exist. Stop.
Device odin not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_odin
Default revision: cm-10.1
Checking branch info
CyanogenMod/android_device_sony_odin already exists
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/odin/cm.mk]]: "vendor/sony/qcom-common/qcom-common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_odin'
** Do you have the right repo manifest?
I get the same error if I try to get the source code for yuga (Xperia Z), so I am definitely missing something that is not specific to the ZL, but might be Sony specific.
I have the same problem
Alright, so I'm trying to port Dirty Unicorns to my LG OGP. I setup everything appropiately (vendor/du/products/e980.mk, device/lge/e980, etc). When I try to run the lunch command from the terminal, I get this error:
[email protected] /media/tanner/Icon of Sin/dirtyunicorns $ lunch du_e980-userdebug
build/core/product_config.mk:238: Cycle detected between "device/lge/e980/device.mk" and "device/lge/e980/full_e980.mk" for context "_nic.PRODUCTS.[[vendor/du/products/e980.mk]]"
build/core/product_config.mk:238: *** import of "device/lge/e980/device.mk" failed. Stop.
** Don't have a product spec for: 'du_e980'
** Do you have the right repo manifest?
I added the du_e980-userdebug lunch command in the vendorsetup.sh file and all of that. Can anyone help me out with this? I've spent hours searching this forum and the web to no avail. Any help would be greatly appreciated. Thanks!
worldextermination said:
Alright, so I'm trying to port Dirty Unicorns to my LG OGP. I setup everything appropiately (vendor/du/products/e980.mk, device/lge/e980, etc). When I try to run the lunch command from the terminal, I get this error:
[email protected] /media/tanner/Icon of Sin/dirtyunicorns $ lunch du_e980-userdebug
build/core/product_config.mk:238: Cycle detected between "device/lge/e980/device.mk" and "device/lge/e980/full_e980.mk" for context "_nic.PRODUCTS.[[vendor/du/products/e980.mk]]"
build/core/product_config.mk:238: *** import of "device/lge/e980/device.mk" failed. Stop.
** Don't have a product spec for: 'du_e980'
** Do you have the right repo manifest?
I added the du_e980-userdebug lunch command in the vendorsetup.sh file and all of that. Can anyone help me out with this? I've spent hours searching this forum and the web to no avail. Any help would be greatly appreciated. Thanks!
Click to expand...
Click to collapse
It looks like your device tree is not properly set up.
Here is an example of another LG device tree, fwiw.....https://github.com/DirtyUnicorns-KitKat/android_device_lge_hammerhead Note the du.mk and du.dependencies files. They are specific to the du rom.
And when you build do this:
. build/envsetup.sh && lunch (pick your device from the list)
if it's not there it's not set up accordingly
then:
time brunch (device-name)
if you still have trouble go to the DU g+ page and read up and ask around.....you'll find your answers there
Great!! Mr.Adams
Sent from my LG-E980 using Tapatalk
Hi,
Using Ubuntu I am following the wiki steps to build CyanogenMod for n7100. repo sync completes, proprietary blobs extract, but breakfast n7100 fails like this:
Code:
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/n7100/cm.mk]]: "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. Stop.
Device n7100 not found. Attempting to retrieve device repository from CyanogenMod Github.
Found repository: android_device_samsung_n7100
Default revision: cm-11.0
Checking branch info
CyanogenMod/android_device_samsung_n7100 already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_n7100
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/n7100/cm.mk]]: "vendor/samsung/smdk4412-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_n7100'
** Do you have the right repo manifest?
I noticed that roomservice.xml mentions more repos than just android_device_samsung_n7100. Maybe the sync with android_device_samsung_smdk4412-common is not taking place?
What am I doing wrong here?
many thanks for your help!
KM
I've been following along with the instructions on the cyanogenmod wiki on building for M8.
(I'd post the link, but the system won't let me since I'm new)
I'm doing this on Ubuntu 16.04 LTS.
I managed to get all the way to the command: breakfast m8
But here I'm stuck. It's throwing an error, and I can't seem to figure out what to do about it.
I'd very much appreciate a hint. The response from the command is below:
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_m8". Stop.
Device m8 not found. Attempting to retrieve device repository from CyanogenMod Github
Found repository: android_device_htc_m8
Default revision: cm-13.0
Checking branch info
Checking if device/htc/m8 is fetched from android_device_htc_m8
CyanogenMod/android_device_htc_m8 already fetched to device/htc/m8
Syncing repository to retrieve project.
sh: 1: repo: not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_m8". Stop.
** Don't have a product spec for: 'cm_m8'
** Do you have the right repo manifest?
Hi guys!
So I was following this https://wiki.lineageos.org/devices/bacon/build wiki to build a lineageos 18.1 ROM for my one plus one.
Unfortunately, when I get to the step for "breakfast bacon", I get the following errors.
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:04 dumpvars failed with: exit status 1
Device bacon not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_oneplus_bacon
Default revision: lineage-18.1
Checking branch info
Checking if device/oneplus/bacon is fetched from android_device_oneplus_bacon
LineageOS/android_device_oneplus_bacon already fetched to device/oneplus/bacon
Syncing repository to retrieve project.
sh: 1: repo: not found
Repository synced!
Looking for dependencies in device/oneplus/bacon
Looking for dependencies in device/oppo/msm8974-common
device/oppo/msm8974-common has no additional dependencies.
Looking for dependencies in kernel/oppo/msm8974
kernel/oppo/msm8974 has no additional dependencies.
Done
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:05 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:06 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_bacon'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
What am I doing wrong?
p.s. if I do a "breakfast d855", then I get no error.
My utter apologies for being so blind.
It is of course clearly written on that wiki that some devices would fail upon "breakfast" command being called due to the missing vendor files.
Hence one should first run "extract-files.sh" in the device specific folder. And indeed afterwards the breakfast command succeeds for "bacon".
I could be given a little margin for being a noob and also that my other device "d855" does not need extract-files.sh before breakfast.
Also what confused me yesterday was, that the paths contained oppo when infact I was building for bacon. I was sure something is wrong upstream.
My sincere apologies again for starting on xda with such a useless post.