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.
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 tried to builld CM12 for Xperia-L. After issuing 'breakfast taoshan', the process apparently got stuck at 66%. I aborted by pressing Ctrl+C. When I am reissuing the command, it's throwing error. Can anybody please help me out?
Code:
[email protected]:~/CM12/build$ breakfast taoshan
ls: cannot access device/*/taoshan/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_taoshan". Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
Adding dependency: CyanogenMod/android_device_sony_taoshan -> device/sony/taoshan
Using default branch for android_device_sony_taoshan
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_sony_taoshan
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency: CyanogenMod/android_device_sony_msm8960-common -> device/sony/msm8960-common
Using default branch for android_device_sony_msm8960-common
Adding dependency: CyanogenMod/android_kernel_sony_msm8930 -> kernel/sony/msm8930
Using default branch for android_kernel_sony_msm8930
Adding dependency: CyanogenMod/android_hardware_qcom_fm -> hardware/qcom/fm
Using default branch for android_hardware_qcom_fm
Syncing dependencies
Fetching project CyanogenMod/android_kernel_sony_msm8930
Fetching project CyanogenMod/android_hardware_qcom_fm
Fetching project CyanogenMod/android_device_sony_msm8960-common
Fetching projects: 66% (2/3) ^C
^C^C^C^C^C^C^C^C
error: Cannot fetch CyanogenMod/android_kernel_sony_msm8930
aborted by user
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
=======================================================
[email protected]:~/CM12/build$
[email protected]:~/CM12/build$ breakfast taoshan
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_sony_taoshan
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/taoshan/cm.mk]]: "device/sony/common/resources.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
clone this paste RAW Paste Data
Pastebin.com Tools & Applications
iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
create new paste | api | trends | syntax languages | faq | tools | privacy | cookies | contact | dmca | advertise on pastebin | go pro
Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
Dedicated Server Hosting by Steadfast
Pastebin v3.11 rendered in: 0.008 seconds
Holmes.Sherlock said:
I tried to builld CM12 for Xperia-L. After issuing 'breakfast taoshan', the process apparently got stuck at 66%. I aborted by pressing Ctrl+C. When I am reissuing the command, it's throwing error. Can anybody please help me out?
Click to expand...
Click to collapse
I'm getting the same error, seems like repo couldn't find the device kernel from cyanogenmod's github so I added a local_manifest extracted from android_device_sony_taoshan/blob/cm-12.0/cm.dependencies/ but to no avail. Still getting the error as below.
Code:
[email protected]:~/android/system$ breakfast taoshan
including vendor/cm/vendorsetup.sh
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
fatal: error parsing manifest /home/manu/android/system/.repo/local_manifests/myoldphone.xml: XML or text declaration not at start of entity: line 3, column 0
Repository synced!
Looking for dependencies
Done
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
[email protected]:~/android/system$
Any idea how to get past this issue?
manubhargav said:
I'm getting the same error, seems like repo couldn't find the device kernel from cyanogenmod's github so I added a local_manifest extracted from android_device_sony_taoshan/blob/cm-12.0/cm.dependencies/ but to no avail. Still getting the error as below.
Code:
[email protected]:~/android/system$ breakfast taoshan
including vendor/cm/vendorsetup.sh
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
Device taoshan not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_taoshan
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_sony_taoshan already exists
Syncing repository to retrieve project.
fatal: error parsing manifest /home/manu/android/system/.repo/local_manifests/myoldphone.xml: XML or text declaration not at start of entity: line 3, column 0
Repository synced!
Looking for dependencies
Done
build/core/combo/select.mk:65: build/core/combo/HOST_linux-.mk: No such file or directory
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
build/core/clang/config.mk:76: build/core/clang/HOST_.mk: No such file or directory
make: *** No rule to make target `build/core/clang/HOST_.mk'. Stop.
** Don't have a product spec for: 'cm_taoshan'
** Do you have the right repo manifest?
[email protected]:~/android/system$
Any idea how to get past this issue?
Click to expand...
Click to collapse
your manifest seems broken.... please make a clean sync (delete complete workingfolder and resync)
SdtBarbarossa said:
your manifest seems broken.... please make a clean sync (delete complete workingfolder and resync)
Click to expand...
Click to collapse
Thank you for your reply, I overlooked some requirements for building from source and I had a 32-bit Ubuntu system which gave me the error
Code:
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
Now switching to 64-bit Ubuntu.
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
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.
I have this problem and i cant fix it. I try some tree sources of github but the problem its the same.
The guide i follow is this:
[Guide] How to Build Your Own Custom ROM [athene]
Hello guys. I will show you how to build LineageOS to Moto G4 Plus. You have to build in a Linux system. I prefer Ubuntu 16.04 in this guide. The lines which is starting with $ are commands you should write but you won't write $'s. 1- First...
forum.xda-developers.com
Thanks all!!!
breakfast athene
including vendor/lineage/vendorsetup.sh
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_athene".
14:18:38 dumpvars failed with: exit status 1
Device athene not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_motorola_athene
Default revision: lineage-16.0
Checking branch info
Default revision lineage-16.0 not found in android_device_motorola_athene. Bailing.
Branches found:
cm-13.0
cm-14.1
lineage-15.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_athene".
14:18:40 dumpvars failed with: exit status 1
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_athene".
14:18:40 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_athene'
** Do you have the right repo manifest?