Errors encountered on Building CM9 source code for emulator - Android Q&A, Help & Troubleshooting

Hello,
I am compiling CM9 source code for emulator.
I am using following commands:
1) .build/envsetup.sh
2) lunch 1
3) make -j4
On running above commands I am getting following error:
/media/ntfsmain/CM9/Cynogen_9_ICS$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
make: *** packages/apps/: Is a directory. Stop.
Kindly pls help me to resolve this error.
Also if there is any other way to build for emulator then pls do let me know.

Related

help with twrp build

hi i've setted up my pc for building but when i give the command
Code:
make -j3 recoveryimage
give me this error:
Code:
[email protected]:~/rom/cm7$ make -j3 recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=cyanogen_tass
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
build/core/base_rules.mk:162: *** device/tass: MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/tass. Arresto.
thanks at all for help!

[Q] Question on compile LG official ROM

Anyone successfully compiled the ROM? I got some problems here.
"find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop."
I think the second link is the main problem.
@ubuntu:~/android$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop.
amnik said:
Anyone successfully compiled the ROM? I got some problems here.
"find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop."
I think the second link is the main problem.
@ubuntu:~/android$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
find: `src': No such file or directory
make: *** prebuilts/gcc/linux-x86/arm: Is a directory. Stop.
Click to expand...
Click to collapse
ubuntu?i don't know……on windows may be easyer

Probs with Porting CM to TegraNote7

Alright so I am running Ubuntu 13.10 and I have synced the Cyanogenmod source and Im trying to port it to the TegraNote7. Problem is I'm a complete noob at this...anyway I got all the source code e.g the kernel and device folder loaded, but I'm stuck at the "Extracting Proprietary Blobs" stage of the wiki. I have absolutely no idea how to make a extract-files.sh or a proprietary-files.txt So, it may be a lost cause for me...BUT when i try to build with "lunch cm_tegratab-userdebug" i get this:
Code:
[email protected]:~/android/system$ lunch
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng 2. cm_tegratab-userdebug
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 2
Looking for dependencies
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
[email protected]:~/android/system$
When I do "lunch cm_tegratab-userdebug && mka bacon" I get this:
Code:
[email protected]:~/android/system$ lunch cm_tegratab-userdebug && mka bacon
Looking for dependencies
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
/home/wolfstar/android/system/out/target/product/tegratab/obj/APPS/SignatureTest_intermediates
build/core/shared_library.mk:17: *** device/nvidia/tegratab/sensors: Illegal use of OVERRIDE_BUILT_MODULE_PATH. Stop.
[email protected]:~/android/system$
So what do I do
So no one can help me? Im willing to start fresh as well but this time with Xubuntu.

Error while building CM 13 ROM: Don't have a product spec for: cm_I9515

Hey
I have followed these instructions: http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
and at the End I always get the same error
** Don't have a product spec for: 'cm_I9515'
** Do you have the right repo manifest?
Then it shows me: No such item in brunch menu. Try 'breakfast'
I write "breakfast" in console and get this:
including vendor/cm/vendorsetup.sh
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 1
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-18-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/home/oliver/cm13/out
============================================
What can I do to fix this?
triplecan said:
Hey
I have followed these instructions: http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
and at the End I always get the same error
** Don't have a product spec for: 'cm_I9515'
** Do you have the right repo manifest?
Then it shows me: No such item in brunch menu. Try 'breakfast'
I write "breakfast" in console and get this:
including vendor/cm/vendorsetup.sh
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 1
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-18-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MDB08M
OUT_DIR=/home/oliver/cm13/out
============================================
What can I do to fix this?
Click to expand...
Click to collapse
It means that the device tree you are using is not detected by the compiler. It cant find the product cm_I9515. So check the device tree and try again

[Semi ported][LOS17] - "brunch tiare" with "Failed: bacon" error.

I semi ported device tree for xiaomi redmi go (tiare) and facing error after running brunch tiare
Code:
[email protected]:/home/danio/Pulpit/lineage17# brunch tiare
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.0-20190915-UNOFFICIAL-tiare
TARGET_PRODUCT=lineage_tiare
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-25-generic-x86_64-Ubuntu-19.04
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.190711.020
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.0-20190915-UNOFFICIAL-tiare
TARGET_PRODUCT=lineage_tiare
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-25-generic-x86_64-Ubuntu-19.04
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.190711.020
OUT_DIR=out
============================================
device/xiaomi/tiare/AndroidProducts.mk was modified, regenerating...
device/xiaomi/tiare/AndroidProducts.mk was modified, regenerating...
[ 99% 874/875] finishing build rules ...
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherOutOfProcTests'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherDebug'
platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherTests'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'LauncherRotationStressTest'
platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'PlatformScenarioTests'
[100% 876/876] build bacon
FAILED: bacon
/bin/bash -c "(ln -f out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip ) && (md5sum out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip | sed \"s|out/target/product/tiare/||\" > out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip.md5sum ) && (echo \"Package Complete: out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip\" >&2 )"
ln: cannot create hard link from 'out/target/product/tiare/lineage-17.0-20190915-UNOFFICIAL-tiare.zip' to './lineage-17.0-20190915-UNOFFICIAL-tiare.zip': No such file or directory
22:58:39 ninja failed with: exit status 1
#### failed to build some targets (01:00 (mm:ss)) ####
[email protected]:/home/danio/Pulpit/lineage17#
I was looking on google, but I couldn't find any solution, so I'm writing here for help
I leave the my device tree in the attachment.

Categories

Resources