[Sony Xperia S, Acro S, Ion] akhi24nick:
I am trying to build the ROM from sources locally.

I am running into this problem.

When I run the make command am running into the following error.

niveda@niveda-VPCEH16EA:~/android$ make otapackage -j8

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

TARGET_PRODUCT=oneofakind_nozomi

TARGET_BUILD_VARIANT=user

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a8

TARGET_GCC_VERSION=4.9

TARGET_NDK_GCC_VERSION=4.9

TARGET_KERNEL_TOOLCHAIN=4.9

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=LMY48Z

OUT_DIR=out

============================================

find: `phone/java': No such file or directory

find: `phone/java': No such file or directory

find: `dummy': No such file or directory

PRODUCT_COPY_FILES frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf ignored.

build/core/Makefile:72: warning: overriding commands for target `out/target/product/nozomi/system/bin/rild'

build/core/base_rules.mk:552: warning: ignoring old commands for target `out/target/product/nozomi/system/bin/rild'

build/core/Makefile:72: warning: overriding commands for target `out/target/product/nozomi/system/lib/libril.so'

build/core/base_rules.mk:552: warning: ignoring old commands for target `out/target/product/nozomi/system/lib/libril.so'

build/core/Makefile:72: warning: overriding commands for target `out/target/product/nozomi/system/lib/libals.so'

build/core/base_rules.mk:552: warning: ignoring old commands for target `out/target/product/nozomi/system/lib/libals.so'

build/core/Makefile:72: warning: overriding commands for target `out/target/product/nozomi/system/lib/libMPU3050.so'

build/core/base_rules.mk:552: warning: ignoring old commands for target `out/target/product/nozomi/system/lib/libMPU3050.so'

build/core/Makefile:72: warning: overriding commands for target `out/target/product/nozomi/system/lib/libsensors_akm8972.so'

build/core/base_rules.mk:552: warning: ignoring old commands for target `out/target/product/nozomi/system/lib/libsensors_akm8972.so'

build/core/Makefile:72: warning: overriding commands for target `out/target/product/nozomi/system/lib/libjni_latinime.so'

build/core/base_rules.mk:552: warning: ignoring old commands for target `out/target/product/nozomi/system/lib/libjni_latinime.so'

No private recovery resources for TARGET_DEVICE nozomi

Import includes file: out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/import_includes

host C: libmincrypt_32 <= system/core/libmincrypt/dsa_sig.c

host C: libmincrypt_32 <= system/core/libmincrypt/p256.c

host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c

host C: libmincrypt_32 <= system/core/libmincrypt/p256_ecdsa.c

host C: libmincrypt_32 <= system/core/libmincrypt/rsa.c

host C: libmincrypt_32 <= system/core/libmincrypt/sha.c

host C: libmincrypt_32 <= system/core/libmincrypt/sha256.c

Import includes file: out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/import_includes

make: *** No rule to make target `out/target/product/nozomi/kernel', needed by `out/target/product/nozomi/boot.img'. Stop.

make: *** Waiting for unfinished jobs....

host C: libhost_32 <= build/libs/host/CopyFile.c

#### make failed to build some targets (01:14 (mm:ss)) ####

Am I missing anything here? This is the first time am building an android ROM.

I am using ubuntu 14.04.

Any pointers? [MENTION=4887164]ipromeh[/MENTION]