[Samsung Galaxy W I8150] haky 86:
hello mates

i am working on a firefox os port based on Android 4.3.1 for samsung galaxy w, that's mean we should use cm10.2 as base for device repos.

after download everything i got this.

including device/generic/armv7-a-neon/vendorsetup.sh
including device/qcom/common/vendorsetup.sh
including device/samsung/ancora/vendorsetup.sh

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_ancora
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=out
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_ancora
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=out
============================================
CMake present but NDK not found at /root/fos/B2G/prebuilt/ndk/android-ndk-r7, will not compile apitrace
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/ancora/data/local/gaia'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:199: warning: overriding commands for target `out/target/product/ancora/system/gecko'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/gecko'
gonk-misc/Android.mk:267: warning: overriding commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:162: warning: ignoring old commands for target `out/target/product/ancora/obj/DATA/gecko_intermediates/gecko'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidNaskh-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansHebrew-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansArmenian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansFallback.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansGeorgian.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansMono.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSerif-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/MTLmr3m.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Bold.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-BoldItalic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Italic.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/Roboto-Regular.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/system/fonts/DroidSansThai.ttf'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/init.qcom.usb.rc'
build/core/Makefile:32: warning: overriding commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/base_rules.mk:531: warning: ignoring old commands for target `out/target/product/ancora/root/ueventd.qcom.rc'
build/core/Makefile:32: *** Prebuilt apk found in PRODUCT_COPY_FILES: device/samsung/ancora/prebuilt/Torch.apk:system/app/Torch.apk, use BUILD_PREBUILT instead!. Stop.

real	0m20.073s
user	0m7.341s
sys	0m2.910s

> Build failed! <

Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.

Any one can share idea to fix it, we can make collaboration to port it, thanks.