Building CM 11 Errors - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

This is my first time I have ever built a ROM, but I am making a build as described here --> http://wiki.cyanogenmod.org/w/Build_for_d2att <--
Shortly after I run "brunch d2att" the console displays "find: `src': No such file or directory" and then runs off on a list of "Warning: Ignoring old commands for target" and "Warning: Overriding commands for target"
After running "brunch d2att":
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
Then it goes into the find: src and warnings.
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4
CM_VERSION=11-20131130-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-14-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KRT16S
OUT_DIR=/home/matthew/android/system/out
============================================
find: `src': No such file or directory
frameworks/uiautomator/Android.mk:82: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/testing/uiautomator/library/Android.mk:82: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-last-timestamp'
frameworks/uiautomator/Android.mk:99: warning: overriding commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/testing/uiautomator/library/Android.mk:99: warning: ignoring old commands for target `/home/matthew/android/system/out/target/common/obj/PACKAGING/uiautomator-checkapi-current-timestamp'
frameworks/uiautomator/Android.mk:111: warning: overriding commands for target `update-uiautomator-api'
frameworks/testing/uiautomator/library/Android.mk:111: warning: ignoring old commands for target `update-uiautomator-api'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libmincrypt <= system/core/libmincrypt/rsa.c
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/rsa.o] Error 127
make: *** wait: No child processes. Stop.
[email protected]:~/android/system$
Any help is greatly appreciated!
Thanks in advance!

Related

[Q] issues with compiling CM10 kernel

Hey guys,
I'm trying to compile CM10 for my d2tmo and I'm running into a snag with the kernel. I compiled CM7 for my old Glacier with no issues, but I can't find out why this is causing a problem. The output log is
Spoiler
Code:
[email protected]:~/cm$ brunch cm_d2tmo-userdebug
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2tmo
make -C kernel/samsung/d2 O=/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matada/cm/prebuilts/misc/linux-x86/ccache/ccache /home/matada/cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" kernel/samsung/d2
make[1]: Entering directory `/home/matada/cm/kernel/samsung/d2'
GEN /home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/battery/Kconfig:126:warning: type of 'CHARGER_SMB347' redefined from 'boolean' to 'tristate'
drivers/misc/inv_mpu/Kconfig:58:warning: choice value used outside its choice group
drivers/misc/inv_mpu/Kconfig:62:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:117:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:122:warning: choice value used outside its choice group
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `kernel/samsung/d2'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/matada/cm/kernel/samsung/d2'
make: *** [/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/cm$
I've set a config file (cyanogen_d2_defconfig) in xconfig and it's still erroring out. Any help?
hope this helps
matada said:
Hey guys,
I'm trying to compile CM10 for my d2tmo and I'm running into a snag with the kernel. I compiled CM7 for my old Glacier with no issues, but I can't find out why this is causing a problem. The output log is
Spoiler
Code:
[email protected]:~/cm$ brunch cm_d2tmo-userdebug
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_d2tmo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/matada/cm/out
============================================
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/snd_soc_msm/snd_soc_msm_2x'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/lib/egl/egl.cfg'
build/core/Makefile:44: warning: overriding commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matada/cm/out/target/product/d2tmo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2tmo
make -C kernel/samsung/d2 O=/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matada/cm/prebuilts/misc/linux-x86/ccache/ccache /home/matada/cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" kernel/samsung/d2
make[1]: Entering directory `/home/matada/cm/kernel/samsung/d2'
GEN /home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/battery/Kconfig:126:warning: type of 'CHARGER_SMB347' redefined from 'boolean' to 'tristate'
drivers/misc/inv_mpu/Kconfig:58:warning: choice value used outside its choice group
drivers/misc/inv_mpu/Kconfig:62:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:117:warning: choice value used outside its choice group
drivers/media/video/msm_zsl/Kconfig:122:warning: choice value used outside its choice group
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `kernel/samsung/d2'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/matada/cm/kernel/samsung/d2'
make: *** [/home/matada/cm/out/target/product/d2tmo/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/cm$
I've set a config file (cyanogen_d2_defconfig) in xconfig and it's still erroring out. Any help?
Click to expand...
Click to collapse
CM10 uses /arch/arm/configs/cm10_defconfig for kernel configuration.
so you would use the .config file or whatever name you had given to it. rename it cm10_defconfig and copy to kernel/arch/arm/configs/
you can also use a pre-built kernel
just copy the zImage to your device directory. and rename it kernel
or you can build without a kernel and just build the rom itself
I hope this helped you out.

[Q] Stock CM 11 (4.4.1) Compiling Errors

So earlier I posted a problem I had building CM 11 (4.4.0), and due to lack of help, I never got a working build. However, this morning, I OTA Updated through CyanogenMod's servers to their first CM 11 Build for d2att (4.4.1). I did the obligatory repo sync, and also a source build/envsetup.sh, a breakfast d2att and then brunch d2att. Once it started compiling, I did not run into my usual slew of errors for a little while, and then hit them, but with the build continuing for 2 minutes after the errors, instead of the normal stop. Sadly, it did stop, but not on the same note as it did before today... Here's the code after brunch d2att:
Code:
[email protected]:~/android/system$ brunch d2att
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.1
CM_VERSION=11-20131208-UNOFFICIAL-d2att
TARGET_PRODUCT=cm_d2att
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49E
OUT_DIR=/home/matthew/android/system/out
============================================
Clean step: rm -rf /home/matthew/android/system/out/target/product/d2att/system/build.prop
/home/matthew/android/system/out/target/product/d2att/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libinvensense_hal.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmllite.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/lib/libmlplatform.so'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/matthew/android/system/out/target/product/d2att/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
No private recovery resources for TARGET_DEVICE d2att
Header: /home/matthew/android/system/out/target/product/d2att/obj/include/qcom/display/gralloc_priv.h
Import includes file: /home/matthew/android/system/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes
make -C kernel/samsung/d2 O=/home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/matthew/android/system/prebuilts/misc/linux-x86/ccache/ccache /home/matthew/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG=cyanogen_d2_defconfig SELINUX_DEFCONFIG=m2selinux_defconfig cyanogen_d2att_defconfig
make[1]: Entering directory `/home/matthew/android/system/kernel/samsung/d2'
/bin/bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
make: *** [/home/matthew/android/system/out/target/product/d2att/obj/lib/crtbrand.o] Error 127
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
GEN /home/matthew/android/system/out/target/product/d2att/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
drivers/media/video/msm_apexq/Kconfig:126:warning: choice value used outside its choice group
drivers/media/video/msm_apexq/Kconfig:131:warning: choice value used outside its choice group
KCONFIG_SELINUX(arch/arm/configs/m2selinux_defconfig)
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT(arch/arm/configs/cyanogen_d2_defconfig)
arch/arm/configs/cyanogen_d2_defconfig:837:warning: override: reassigning to symbol NETWORK_SECMARK
arch/arm/configs/cyanogen_d2_defconfig:841:warning: override: reassigning to symbol NETFILTER_ADVANCED
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/matthew/android/system/kernel/samsung/d2'
[email protected]:~/android/system$
[/HIDE]
If anyone can tell me what went wrong or where I can get some help, my ears are open! Thanks!

[Q][WIP] Firefox OS For Samsung Ancora

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.
Code:
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.
haky
Hello! Your port a ready?
Maximko_O <3 wonder said:
haky
Hello! Your port a ready?
Click to expand...
Click to collapse
not yet, because the compilation wont start..so think to work on another base..
haky 86 said:
not yet, because the compilation wont start..so think to work on another base..
Click to expand...
Click to collapse
haky, when we can see your port and you seriously going to do FIrefox OS for Samsung Galaxy W??
Maximko_O <3 wonder said:
haky, when we can see you port?
Click to expand...
Click to collapse
well, i don't know exactly, once i fix compilation errors, maybe we can get the first flashable rom, but i don't think is bootable
haky 86 said:
well, i don't know exactly, once i fix compilation errors, maybe we can get the first flashable rom, but i don't think is bootable
Click to expand...
Click to collapse
haky, i believe in you!!
i just would like to know if Firefox OS source are pure Android that's mean i can create a cm10.1 source with b2g repos and build it like cyanogen mod, well i will try in that way and report if worked or not

Building LineageOS for cancro (Xiaomi mi3w) problem

Hello,
I'm trying to build the lineageOS cm-14.1 version for Cancro
I did
Code:
$ repo init -u ssh://[email protected]/LineageOS/android.git -b cm-14.1
$ repo sync
$ breakfast cancro
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/xiaomi/cancro
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
Then:
Code:
$ brunch cancro
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/xiaomi/cancro
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
make: Entering directory '/path/to/android/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
Running kati to generate build-lineage_cancro.ninja...
Environment variable BUILD_NUMBER was modified (8e31167344 => 8b61fedda4), regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170102-UNOFFICIAL-cancro
TARGET_PRODUCT=lineage_cancro
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NMF26Q
OUT_DIR=/path/to/android/system/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/path/to/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE cancro
build/core/java.mk:334: warning: overriding commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/path/to/android/system/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:316: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/bin/wcnss_service'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/bin/wcnss_service'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b00'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b00'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b01'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b01'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b02'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b02'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b04'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b04'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b06'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b06'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b07'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b07'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b08'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b08'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b09'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.b09'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.mdt'
./device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/etc/firmware/wcnss.mdt'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libc2dcolorconvert.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libc2dcolorconvert.so'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libOmxVenc.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/lib/libOmxVenc.so'
build/core/Makefile:34: warning: overriding commands for target `/path/to/android/system/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/path/to/android/system/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/path/to/android/system/out/target/product/cancro/obj/lib/libtime_genoff.so.toc', needed by '/path/to/android/system/out/target/product/cancro/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/path/to/android/system'
#### make failed to build some targets (22 seconds) ####
Ending with
Code:
ninja: error: '/path/to/android/system/out/target/product/cancro/obj/lib/libtime_genoff.so.toc', needed by '/path/to/android/system/out/target/product/cancro/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/path/to/android/system'
I did extract the binaries from a cancro phone running cyanogenmod 14.1.
What is the step I am missing?
Cancro in my language is cancer.
And when we call something a cancer means that thing it worst nothing.
paulomodesto said:
Cancro in my language is cancer.
And when we call something a cancer means that thing it worst nothing.
Click to expand...
Click to collapse
I'm not against a little bit of culture here and there.
I'm quite sure xiaomi thought about your language when naming their device. Cancro is also a constellation.
This aside, your comment is what makes most of the threads on XDA so time consuming to read. So thank you!
Time consuming to read?
Just read your first post...
And beside me, who have post on this tread?
Have a good year, and be happy.
Peace!
Bump. I am having the same error
ignore this
Interestingly enough I'm trying to build Lineage OS 14.1 for Bacon on Linux Bash for Windows 10 and get this exact same error. So that gives me hope that it's not just because I'm too lazy to use actual linux lol. If anyone knows the fix I want to try and get it to build someone else says they got CM13 to build with the same method.
Hi there! First of all: Happy new year everybody
I don't have the device (cancro) but I'm pretty sure that - for some reason - the mentioned file (and maybe even more) did not get pulled from your phone. Did you extract the proprietary files via "extract-files.sh"? Check where the file is located on your device and if the script pulls that folder.
You could also use proprietary files from github.com/TheMuppets. It's an open secret that most developers use that repository. Furthermore it's very handy when it comes to building/brunching for another device that you don't even own.
Edit: If I'm not wrong, these folders should be present in your build directory:
device/xiaomi/cancro
kernel/xiaomi/cancro
vendor/xiaomi/cancro
Please check that and report back
The Flash said:
Introduction
Frequently Asked Questions
1.1 Q: I got an error, what do I do??
1.1 A: Well to start, if it is anything with Ninja, I would go ahead and disable it. You can add this to your .bashrc file:
Code:
export USE_NINJA=false
Then type this
Code:
source ~/.bashrc
. build/envsetup.sh
breakfast bullhead
mka clobber
mka bacon
If it is saying you ran out of memory, follow this post.
If it isn't Ninja related, check out @AzraelsKiss's post here, where he has documented a few common issues. If none of those apply, post here with a detailed list of what you have done and we will do our best to help you.
Click to expand...
Click to collapse
You could try this.
experience7 said:
Hi there! First of all: Happy new year everybody
I don't have the device (cancro) but I'm pretty sure that - for some reason - the mentioned file (and maybe even more) did not get pulled from your phone. Did you extract the proprietary files via "extract-files.sh"? Check where the file is located on your device and if the script pulls that folder.
You could also use proprietary files from github.com/TheMuppets. It's an open secret that most developers use that repository. Furthermore it's very handy when it comes to building/brunching for another device that you don't even own.
Edit: If I'm not wrong, these folders should be present in your build directory:
device/xiaomi/cancro
kernel/xiaomi/cancro
vendor/xiaomi/cancro
Please check that and report back
Click to expand...
Click to collapse
I have tried TheMuppets xiaomi repo and also the extract_files.sh script. The result is always the same.
tassos_chry said:
You could try this.
Click to expand...
Click to collapse
I tried disabling ninja but the error remains the same.
I also had a look at the build-manifest.xml file on my phone but I don't see what is missing.
my solution
Hi,
since I found a solution, here is what I did...
- open the file "/android/system/device/xiaomi/cancro/proprietary-files.txt" in your editor...
- search for "libtime_genoff.so"
- add a "-" as first character in that line, so it looks like this "-vendor/lib/libtime_genoff.so"
- save
- run "/android/system/device/xiaomi/cancro/setup-makefiles.sh" to propagate the modification to the tool-chain
that's it :highfive:
best regards
Spameater_de
P.S.: during the build I had another issue regarding an obviously obsolete .so - file. I removed it from the proprietary_files.txt and re-run the setup-makefiles.sh... the image is now fine

failed to compile jfltexx, ninja error, missing files

Any idea why?
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
-------------------------
/home/huan/android/lineage/out/build-lineage_jfltexx.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170507-UNOFFICIAL-jfltexx
TARGET_PRODUCT=lineage_jfltexx
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N2G47O
OUT_DIR=/home/huan/android/lineage/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/huan/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE jfltexx
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
#### make failed to build some targets (01:16 (mm:ss)) ####
i am facing the same issue
This mean you are missing the proprietary vendor files.
Check this site out, https://github.com/TheMuppets/proprietary_vendor_samsung
Make note of this error:
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jf-gsm-common/proprietary/bin/rild
above is the path to the files you want, follow that on the repo page I provided.

Categories

Resources