[G3 Android Development] trintoidz:
Edit: Got it working. I tried building OmniRom, and the CM build started working.

I think adding the bin directory to path was what fixed it if others have the same problem.

From http://docs.omnirom.org/Setting_Up_A_Compile_Environment

echo "export PATH=~/bin:$PATH" >> ~/.bashrc

______________________________________________

Old post

Hello. I'm having problems with the brunch command.

I get error 127.

I have the /home/trintoidz/cm/android/system/out/host/linux-x86/bin/acp file, but not the /home/trintoidz/cm/android/system/out/host/linux-x86/bin/mkbootimg file from the log.

I have created the local_manifests folder and followed the other instructions. Anyone have a good guess?

trintoidz@trintoidz-VirtualBox:~/cm/android/system$ brunch d855
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.1
CM_VERSION=12-20141216-UNOFFICIAL-d855
TARGET_PRODUCT=cm_d855
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-28-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX22C
OUT_DIR=/home/trintoidz/cm/android/system/out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.1
CM_VERSION=12-20141216-UNOFFICIAL-d855
TARGET_PRODUCT=cm_d855
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-28-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX22C
OUT_DIR=/home/trintoidz/cm/android/system/out
============================================
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `phone/java': No such file or directory
find: `phone/java': No such file or directory
find: `dummy': No such file or directory
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/obj/include/qcom/display/copybit_priv.h'
build/core/base_rules.mk:550: warning: overriding recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:550: warning: ignoring old recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/root/res/images/charger/battery_fail.png'
build/core/Makefile:46: warning: overriding recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/system/lib/libril.so'
build/core/Makefile:46: warning: overriding recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old recipe for target '/home/trintoidz/cm/android/system/out/target/product/d855/system/etc/wifi/wpa_supplicant.conf'
No private recovery resources for TARGET_DEVICE d855
Install: /home/trintoidz/cm/android/system/out/host/linux-x86/bin/mkbootimg
/bin/bash: /home/trintoidz/cm/android/system/out/host/linux-x86/bin/acp: No such file or directory
build/core/base_rules.mk:550: recipe for target '/home/trintoidz/cm/android/system/out/host/linux-x86/bin/mkbootimg' failed
make: *** [/home/trintoidz/cm/android/system/out/host/linux-x86/bin/mkbootimg] Error 127
trintoidz@trintoidz-VirtualBox:~/cm/android/system$

PS. According to the cm wiki ( http://wiki.cyanogenmod.org/w/Envsetup_help#brunch ) brunch is the same as

breakfast && mka bacon

So you probably don't have to do both

and

as it says in OP...