Im trying to build CM14.1 for Moto G and its been fine until now.
Ive synced the repo, and when I got to the breakfast falcon command I got an error. So i extracted propietary blobs and now I get the following after breakfast:
HTML:
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/qcom/binaries/msm8974/graphics/graphics-vendor.mk" does not exist. Stop.
Device falcon not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_motorola_falcon
Default revision: cm-14.1
Checking branch info
Checking if device/motorola/falcon is fetched from android_device_motorola_falcon
CyanogenMod/android_device_motorola_falcon already fetched to device/motorola/falcon
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_motorola_falcon
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/qcom/binaries/msm8974/graphics/graphics-vendor.mk" does not exist. Stop.
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/qcom/binaries/msm8974/graphics/graphics-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_falcon'
** Do you have the right repo manifest?
What can I do to amend this?
Did you fix this?
CM is no longer maintained, use LineageOS instead.
Related
Hello,
I am trying to build from source for ville (CM).
While building im getting this error?
Code:
[email protected]:~/android/system$ breakfast ville
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: ***
_nic.PRODUCTS.[[device/*/ville/cm.mk]]: "device/*/ville/cm.mk" does
not exist. Stop.
Device ville not found. Attempting to retrieve device repository from
CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_htc_ville
Adding dependency: CyanogenMod/android_device_htc_ville -> device/htc/ville
Syncing repository to retrieve project.
fatal: remote error:
Repository unavailable due to DMCA takedown.
See the takedown notice for more details:
https://github.com/github/dmca/blob/master/2013-03-12-DxO-Labs.md.
Could somebody help me?
Don't reply to this thread, question has been resolved in another thread
I'm following this guide - http://wiki.cyanogenmod.org/w/Build_for_falcon
I run these commands.
Code:
cd ~/android/system
Code:
source build/envsetup.sh
Code:
breakfast falcon
After the 3rd command, i get this.
Code:
[email protected]:~/android/system$ breakfast falcon
breakfast: command not found
So i run source build/envsetup.sh, and get this.
Code:
[email protected]:~/android/system$ source 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 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 falcon
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/motorola/msm8226-common/msm8226-common-vendor.mk" does not exist. Stop.
Device falcon not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_motorola_falcon
Default revision: cm-11.0
Checking branch info
CyanogenMod/android_device_motorola_falcon already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_motorola_falcon
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/motorola/msm8226-common/msm8226-common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_falcon'
** Do you have the right repo manifest?
Any help would be appreciated
bump
417
ross231 said:
I'm following this guide - http://wiki.cyanogenmod.org/w/Build_for_falcon
I run these commands.
Code:
cd ~/android/system
Code:
source build/envsetup.sh
Code:
breakfast falcon
After the 3rd command, i get this.
Code:
[email protected]:~/android/system$ breakfast falcon
breakfast: command not found
So i run source build/envsetup.sh, and get this.
Code:
[email protected]:~/android/system$ source 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 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 falcon
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/motorola/msm8226-common/msm8226-common-vendor.mk" does not exist. Stop.
Device falcon not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_motorola_falcon
Default revision: cm-11.0
Checking branch info
CyanogenMod/android_device_motorola_falcon already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_motorola_falcon
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/motorola/falcon/cm.mk]]: "vendor/motorola/msm8226-common/msm8226-common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_falcon'
** Do you have the right repo manifest?
Any help would be appreciated
Click to expand...
Click to collapse
Hello ,
I am also getting the same error.
Was you able to fix it??
ankrat said:
Hello ,
I am also getting the same error.
Was you able to fix it??
Click to expand...
Click to collapse
Run ./extract-files.sh and try compiling.
hey guys,
I'm having a bit of a struggle trying to figure this whole thing out. im currently building cm14.1 for the Oneplus One , i already synced the repo and followed all the extra steps in https://wiki.cyanogenmod.org/w/Build_for_bacon. Im finally at the step where i get to build but i keep getting this error when i do "brunch bacon"
HTML:
[email protected]:~/android/system$ brunch bacon
including vendor/cm/vendorsetup.sh
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Stop.
Device bacon not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_oneplus_bacon
Default revision: cm-14.1
Checking branch info
Checking if device/oneplus/bacon is fetched from android_device_oneplus_bacon
Adding dependency: CyanogenMod/android_device_oneplus_bacon -> device/oneplus/bacon
Using default branch for android_device_oneplus_bacon
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_oneplus_bacon
Fetching projects: 100% (1/1), done.
Deleting obsolete path /home/castanon/android/system/device/oppo/common
Deleting obsolete path /home/castanon/android/system/device/qcom/common
Deleting obsolete path /home/castanon/android/system/kernel/oneplus/msm8974
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Checking if device/oppo/common is fetched from android_device_oppo_common
Adding dependency: CyanogenMod/android_device_oppo_common -> device/oppo/common
Using default branch for android_device_oppo_common
Checking if kernel/oneplus/msm8974 is fetched from android_kernel_oneplus_msm8974
Adding dependency: CyanogenMod/android_kernel_oneplus_msm8974 -> kernel/oneplus/msm8974
Using default branch for android_kernel_oneplus_msm8974
Syncing dependencies
Fetching project CyanogenMod/android_device_oppo_common
Fetching project CyanogenMod/android_kernel_oneplus_msm8974
Fetching projects: 100% (2/2), done.
Checking out files: 100% (42359/42359), done.
Looking for dependencies
Adding dependencies to manifest
Checking if device/qcom/common is fetched from android_device_qcom_common
Adding dependency: CyanogenMod/android_device_qcom_common -> device/qcom/common
Using default branch for android_device_qcom_common
Syncing dependencies
Fetching project CyanogenMod/android_device_qcom_common
Fetching projects: 100% (1/1), done.
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Stop.
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Stop.
** Don't have a product spec for: 'cm_bacon'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
and yes i already tried "breakfast bacon".
any help will be greatly appreciated thanks!
@allanbro if you are trying to build CM14.1 without changes, it's still not possible yet
temp fix
allanbro said:
hey guys,
I'm having a bit of a struggle trying to figure this whole thing out. im currently building cm14.1 for the Oneplus One , i already synced the repo and followed all the extra steps in https://wiki.cyanogenmod.org/w/Build_for_bacon. Im finally at the step where i get to build but i keep getting this error when i do "brunch bacon"
HTML:
[email protected]:~/android/system$ brunch bacon
including vendor/cm/vendorsetup.sh
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Stop.
Device bacon not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_oneplus_bacon
Default revision: cm-14.1
Checking branch info
Checking if device/oneplus/bacon is fetched from android_device_oneplus_bacon
Adding dependency: CyanogenMod/android_device_oneplus_bacon -> device/oneplus/bacon
Using default branch for android_device_oneplus_bacon
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_oneplus_bacon
Fetching projects: 100% (1/1), done.
Deleting obsolete path /home/castanon/android/system/device/oppo/common
Deleting obsolete path /home/castanon/android/system/device/qcom/common
Deleting obsolete path /home/castanon/android/system/kernel/oneplus/msm8974
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Checking if device/oppo/common is fetched from android_device_oppo_common
Adding dependency: CyanogenMod/android_device_oppo_common -> device/oppo/common
Using default branch for android_device_oppo_common
Checking if kernel/oneplus/msm8974 is fetched from android_kernel_oneplus_msm8974
Adding dependency: CyanogenMod/android_kernel_oneplus_msm8974 -> kernel/oneplus/msm8974
Using default branch for android_kernel_oneplus_msm8974
Syncing dependencies
Fetching project CyanogenMod/android_device_oppo_common
Fetching project CyanogenMod/android_kernel_oneplus_msm8974
Fetching projects: 100% (2/2), done.
Checking out files: 100% (42359/42359), done.
Looking for dependencies
Adding dependencies to manifest
Checking if device/qcom/common is fetched from android_device_qcom_common
Adding dependency: CyanogenMod/android_device_qcom_common -> device/qcom/common
Using default branch for android_device_qcom_common
Syncing dependencies
Fetching project CyanogenMod/android_device_qcom_common
Fetching projects: 100% (1/1), done.
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Stop.
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Stop.
** Don't have a product spec for: 'cm_bacon'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
and yes i already tried "breakfast bacon".
any help will be greatly appreciated thanks!
Click to expand...
Click to collapse
go to build/core and gedit config.mk.
Then add # to each line like shown below
only to these lines:
# ###############################################################
# Set up final options.
# ###############################################################
#ifneq ($(COMMON_GLOBAL_CFLAGS)$(COMMON_GLOBAL_CPPFLAGS),)
#$(warning COMMON_GLOBAL_C(PP)FLAGS changed)
#$(info *** Device configurations are no longer allowed to change the global flags.)
#$(info *** COMMON_GLOBAL_CFLAGS: $(COMMON_GLOBAL_CFLAGS))
#$(info *** COMMON_GLOBAL_CPPFLAGS: $(COMMON_GLOBAL_CPPFLAGS))
#$(error bailing...)
#endif
then try brunch bacon again
thanks a lot yoyash - i had the same problem. Finally I can go to sleep
Hello. I recently got interested in building a ROM for my old Moto G 4G (peregrine), and followed the official guide from the Lineage wiki, building using the Lineage 18.1 repo.
However, when I run breakfast peregrine to get the device specific code, i get 3 errors.
n file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:153: error: Can not locate config makefile for product "lineage_peregrine".
12:19:28 dumpvars failed with: exit status 1
Device peregrine not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_motorola_peregrine
Default revision: lineage-18.1
Checking branch info
Using fallback branch: stable/cm-13.0-ZNH5Y
Checking if device/motorola/peregrine is fetched from android_device_motorola_peregrine
LineageOS/android_device_motorola_peregrine already fetched to device/motorola/peregrine
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 0.816s
Garbage collecting: 0% (0/1) started LineageOS/android_device_motorola_peregrine
Garbage collecting: 100% (1/1) finished LineageOS/android_device_motorola_peregrine
Garbage collecting: 100% (1/1), done in 0.005s
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/motorola/peregrine
Looking for dependencies in device/motorola/msm8226-common
Looking for dependencies in device/qcom/common
device/qcom/common has no additional dependencies.
Looking for dependencies in kernel/motorola/msm8226
kernel/motorola/msm8226 has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings 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/core/product_config.mk:153: error: Can not locate config makefile for product "lineage_peregrine".
12:19:33 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/core/product_config.mk:153: error: Can not locate config makefile for product "lineage_peregrine".
12:19:34 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_peregrine'
** Do you have the right repo manifest?
I already extracted the proprietary blobs, and have an AndroidProducts.mk file in my device tree. However, I keep getting the same error. Is there any solution?
bump.
Hello, everyone.
Today i am trying to build my own AOSiP rom from source codes.
I found an interesting thing, it looks like AOSip rom built on the base of Lineage OS. Just like debian is base of some of linux distros.
Right now i am running lineage os17.1 for my huawei GR5, Canadian version.
I want to try AOSip.
Maybe later i will try the other custom rom.
.................................................................................................................................................................................................................................
[email protected]:~/android/AOSip$ lunch kiwi
build/make/core/product_config.mk:243: error: Can not locate config makefile for product "kiwi".
16:29:14 dumpvars failed with: exit status 1
Device kiwi not found. Attempting to retrieve device repository from AOSiP-Devices Github (http://github.com/AOSiP-Devices).
Found repository: device_huawei_kiwi
Checking branch info
Calculated revision: pie
Adding dependency:
Repository: device_huawei_kiwi
Branch: pie
Remote: devices
Path: device/huawei/kiwi
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 3.363s
Garbage collecting: 100% (1/1), done in 0.008s
repo sync has finished successfully.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency:
Repository: LineageOS/android_kernel_huawei_kiwi
Branch: lineage-16.0
Remote: github
Path: kernel/huawei/kiwi
Adding dependency:
Repository: TheMuppets/proprietary_vendor_huawei
Branch: lineage-16.0
Remote: github
Path: vendor/huawei
Adding dependency:
Repository: LineageOS/android_packages_resources_devicesettings
Branch: lineage-16.0