[PROBLEM] Compiling Omni from source fails - Android Q&A, Help & Troubleshooting

Hi,
I was trying to compile Omni 6.0.1 from source for a Samsung Galaxy Grand Prime [ gprimeltevl ], and the process was halting when validatekeymaps was about to be built.
I wanted to post this in Miscellaneous Android Development section but I'm still new so i couldn't.
Here is the console output of make:
Code:
[email protected]:/mnt/android/omni/frameworks/base/tools# m -j8 -C /mnt/android/omni/
make: Entering directory '/mnt/android/omni'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=full_gprimeltevl
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.6.2-1-ARCH-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MOB30M
OUT_DIR=/mnt/android/omni/out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/recovery/Android.mk ...
/bin/bash: line 0: test: -ge: unary operator expected
/bin/bash: line 0: test: -ge: unary operator expected
. .
. .
. .
including ./system/security/keystore-engine/Android.mk ...
including ./system/security/keystore/Android.mk ...
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./vendor/omni/Android.mk ...
including ./vendor/samsung/fortuna/Android.mk ...
including ./vendor/samsung/gprimeltevl/Android.mk ...
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/bluetooth/auto_pair_devlist.conf'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/bluetooth/auto_pair_devlist.conf'
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/bluetooth/bt_did.conf'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/bluetooth/bt_did.conf'
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/bluetooth/bt_stack.conf'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/bluetooth/bt_stack.conf'
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/lib/libaudioroute.so'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/lib/libaudioroute.so'
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/lib/libminui.so'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/lib/libminui.so'
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/lib/libtinyalsa.so'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/lib/libtinyalsa.so'
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/vendor/etc/audio_effects.conf'
PRODUCT_COPY_FILES device/samsung/gprimeltevl/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf ignored.
build/core/Makefile:72: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/system/etc/wifi/wpa_supplicant.conf'
No private recovery resources for TARGET_DEVICE gprimeltevl
device/samsung/gprimeltevl/mkbootimg.mk:20: warning: overriding recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/boot.img'
build/core/Makefile:580: warning: ignoring old recipe for target '/mnt/android/omni/out/target/product/gprimeltevl/boot.img'
build/core/tasks/kernel.mk:104: ***************************************************************
build/core/tasks/kernel.mk:105: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:106: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:107: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:108: * source repository to kernel/samsung/gprimeltevl
build/core/tasks/kernel.mk:109: * See http://forum.xda-developers.com/wiki/ROM/Integrated_Kernel_Build
build/core/tasks/kernel.mk:110: * for more information *
build/core/tasks/kernel.mk:111: ***************************************************************
Import includes file: /mnt/android/omni/out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/import_includes
make: *** No rule to make target 'NOTICE-HOST-STATIC_LIBRARIES-libinput', needed by '/mnt/android/omni/out/host/linux-x86/bin/validatekeymaps'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: frameworks/base/tools/validatekeymaps/Android.mk -- /mnt/android/omni/out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/export_includes
make: Leaving directory '/mnt/android/omni'
#### make failed to build some targets (57 seconds) ####
[email protected]:/mnt/android/omni/frameworks/base/tools#
I'm still a bit new to Android development; this is my first foray into ROM building, though I am experienced in C and am familiar with Java, C++ though I'm not that good with Makefiles. I've been stuck at this point for days, any sort of help would be appreciated at all. Thanks.

Related

[Q] Compiling, getting errors?

Can't get past errors, compiling for bionic, ICS from dhackers manifest...
Code:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.3
TARGET_PRODUCT=cm_targa
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_BUILD_TYPE=release
BUILD_ID=MR1
============================================
system/core/toolbox/Android.mk:98: warning: overriding commands for target `out/target/product/targa/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/bin/lsof'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/root/init.rc'
system/core/rootdir/Android.mk:42: warning: ignoring old commands for target `out/target/product/targa/root/init.rc'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/root/ueventd.rc'
system/core/rootdir/Android.mk:49: warning: ignoring old commands for target `out/target/product/targa/root/ueventd.rc'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/etc/wifi/tiwlan.ini'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/etc/wifi/tiwlan.ini'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/app/BackupRestoreConfirmation.apk'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/app/BackupRestoreConfirmation.apk'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/app/CalendarProvider.apk'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/app/CalendarProvider.apk'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/app/Calendar.apk'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/app/Calendar.apk'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/lib/libspeexresampler.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/lib/libspeexresampler.so'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/bin/tiap_loader'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/bin/tiap_loader'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/etc/dbus.conf'
system/core/rootdir/Android.mk:31: warning: ignoring old commands for target `out/target/product/targa/system/etc/dbus.conf'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/lib/libvoicesearch.so'
build/core/Makefile:25: warning: ignoring old commands for target `out/target/product/targa/system/lib/libvoicesearch.so'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/targa/system/bin/whisperd'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/targa/system/bin/whisperd'
build/core/Makefile:55: warning: overriding commands for target `out/target/product/targa/root/default.prop'
build/core/Makefile:25: warning: ignoring old commands for target `out/target/product/targa/root/default.prop'
build/core/Makefile:323: warning: overriding commands for target `out/target/product/targa/system/etc/event-log-tags'
build/core/Makefile:25: warning: ignoring old commands for target `out/target/product/targa/system/etc/event-log-tags'
No private recovery resources for TARGET_DEVICE targa
host Executable: mkbootimg (out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)
host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
host Executable: mkbootfs (out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
target thumb C: libc <= bionic/libc/bionic/__errno.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp] Error 1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg] Error 1
Help would be much appreciated, thanks. I see "cannot find lstdc++" and the make error 1
If you have an Ubuntu running on 64 Bit it might help to install the g++-multilib package. At least that did it for me ;-)

[Q] Need help compiling CM9 for SGM2 (jena) msm7x27a

I got some build error, can you help me figure it out please?
Code:
[email protected]:~/android/cm9$ make -j`grep 'processor' /proc/cpuinfo | wc -l` otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_jenad
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_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
system/core/toolbox/Android.mk:98: warning: overriding commands for target `out/target/product/jenad/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/jenad/system/bin/lsof'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/jenad/system/app/Superuser.apk'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/jenad/system/app/Superuser.apk'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/jenad/system/etc/mkshrc'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/jenad/system/etc/mkshrc'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/jenad/system/bin/rild'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/jenad/system/bin/rild'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/jenad/system/lib/libril.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/jenad/system/lib/libril.so'
No private recovery resources for TARGET_DEVICE jenad
build/core/tasks/kernel.mk:40: ***************************************************************
build/core/tasks/kernel.mk:41: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:42: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:43: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:44: * source repository to kernel/samsung/msm7x27a
build/core/tasks/kernel.mk:45: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:46: * for more information *
build/core/tasks/kernel.mk:47: ***************************************************************
Copy: out/target/product/jenad/kernel
host Executable: mkbootfs (out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
target SharedLib: libdl (out/target/product/jenad/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
target StaticLib: libc_common (out/target/product/jenad/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
target thumb C++: libstdc++ <= bionic/libstdc++/src/one_time_construction.cpp
true
bionic/libstdc++/src/one_time_construction.cpp:1: error: bad value (cortex-a5) for -mtune= switch
make: *** [out/target/product/jenad/obj/SHARED_LIBRARIES/libstdc++_intermediates/src/one_time_construction.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libstdc++ <= bionic/libstdc++/src/new.cpp
bionic/libstdc++/src/new.cpp:1: error: bad value (cortex-a5) for -mtune= switch
make: *** [out/target/product/jenad/obj/SHARED_LIBRARIES/libstdc++_intermediates/src/new.o] Error 1
[email protected]:~/android/cm9$
Same error wirh CM10.1

Error while building AOSP

Hi everyone this is my first post on this forum.
I am trying to build AOSP from source for samsung galaxy tab 2 7 (GT-P3113) but i got many errors and build stops here is my build log :
[[email protected] android4.3]$ make otapckage -j10
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
TARGET_PRODUCT=full_p3113
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.1-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=JLS36G
OUT_DIR=out
============================================
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/p3113/system/usr/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/bin/hostapd'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/bin/hostapd'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libdomx.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libdomx.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libI420colorconvert.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libI420colorconvert.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libmm_osal.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libmm_osal.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/lib/libOMX_Core.so'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/lib/libOMX_Core.so'
build/core/Makefile:32: warning: overriding recipe for target `out/target/product/p3113/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:520: warning: ignoring old recipe for target `out/target/product/p3113/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE p3113
make: *** No rule to make target `otapckage'. Stop.
Can you help me please ?
Charly1811 said:
make: *** No rule to make target `otapckage'. Stop.
Click to expand...
Click to collapse
I think you missed one char in otapackage
Sent from my HTC Incredible S using XDA Premium 4 mobile app
yes that's right sorry . But i got another error :
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSStyleRule.h] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSImportRule.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSPrimitiveValue.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSValue.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSStyleSheet.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8MediaQueryList.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8Counter.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSPageRule.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSStyleDeclaration.h] Killed
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8Rect.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8StyleSheet.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSFontFaceRule.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSRule.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSCharsetRule.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8StyleMedia.h] Error 12
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8RGBColor.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSMediaRule.h] Error 12
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
open2: fork failed: Cannot allocate memory at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 87.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSValueList.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8WebKitCSSMatrix.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8MediaList.h] Error 12
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSRuleList.h] Error 12
target Generated: libwebcore <= external/webkit/Source/WebCore/dom/ClientRectList.idl
target Generated: libwebcore <= external/webkit/Source/WebCore/dom/Clipboard.idl
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8WebKitCSSKeyframeRule.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8WebKitCSSTransformValue.h] Killed
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8ClientRectList.h] Killed
make: *** Deleting file `out/target/product/p3113/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8ClientRectList.h'
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
What to do now

[Q] Building CM9 error PLEASE .-.

here is the code
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_cooperve
TARGET_BUILD_VARIANT=userdebug
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=IMM76L
============================================
system/core/toolbox/Android.mk:98: warning: overriding recipe for target `out/target/product/cooperve/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/bin/lsof'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/root/init'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/root/init'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/root/sbin/adbd'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/root/sbin/adbd'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/system/bin/vold'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/bin/vold'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/system/lib/libril.so'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/lib/libril.so'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/system/bin/rild'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/bin/rild'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/system/lib/hw/sensors.goldfish.so'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/lib/hw/sensors.goldfish.so'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/system/app/Superuser.apk'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/app/Superuser.apk'
build/core/Makefile:36: warning: overriding recipe for target `out/target/product/cooperve/system/etc/mkshrc'
build/core/base_rules.mk:523: warning: ignoring old recipe for target `out/target/product/cooperve/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE cooperve
build/core/tasks/kernel.mk:40: ***************************************************************
build/core/tasks/kernel.mk:41: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:42: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:43: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:44: * source repository to kernel/samsung/cooperve
build/core/tasks/kernel.mk:45: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:46: * for more information *
build/core/tasks/kernel.mk:47: ***************************************************************
build/core/tasks/kernel.mk:160: warning: overriding recipe for target `out/target/product/cooperve/kernel'
build/core/Makefile:36: warning: ignoring old recipe for target `out/target/product/cooperve/kernel'
make: *** Sem regra para processar o alvo `device/samsung/tassve/prebuilt/kernel', necessário por `out/target/product/cooperve/kernel'. Pare.

Errors whilst compiling

Hey, I'm a maintainer for the OwnROM, I was trying to make a build for the i9300 when I got this error
Code:
including vendor/ownrom/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
OWNROM_VERSION=OWNROM-v1.0.3-OFFICIAL
TARGET_PRODUCT=ownrom_i9300
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-38-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/media/alectradar/sdb2/Android/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
OWNROM_VERSION=OWNROM-v1.0.3-OFFICIAL
TARGET_PRODUCT=ownrom_i9300
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-38-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KTU84Q
OUT_DIR=/media/alectradar/sdb2/Android/out
============================================
/media/alectradar/sdb2/Android/out/target/product/i9300/obj/APPS/SignatureTest_intermediates
"ebtables is disabled on this build"
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
PRODUCT_COPY_FILES device/samsung/smdk4412-common/rootdir/init.trace.rc:root/init.trace.rc ignored.
PRODUCT_COPY_FILES device/samsung/smdk4412-common/configs/audio_effects.conf:system/etc/audio_effects.conf ignored.
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimc.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimc.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimg.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libfimg.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwconverter.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwconverter.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwjpeg.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libhwjpeg.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libUMP.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/libUMP.so'
build/core/Makefile:44: warning: overriding recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/hw/sensors.smdk4x12.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target `/media/alectradar/sdb2/Android/out/target/product/i9300/system/lib/hw/sensors.smdk4x12.so'
No private recovery resources for TARGET_DEVICE i9300
make -C kernel/samsung/smdk4412 O=/media/alectradar/sdb2/Android/out/target/product/i9300/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/media/alectradar/sdb2/Android/prebuilts/misc/linux-x86/ccache/ccache /media/alectradar/sdb2/Android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_i9300_defconfig
host Executable: mkbootimg (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)
make[1]: Entering directory `/media/alectradar/sdb2/Android/kernel/samsung/smdk4412'
host Executable: acp (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
host Executable: checkpolicy (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/checkpolicy)
host Executable: checkfc (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/checkfc_intermediates/checkfc)
host Executable: clang-tblgen (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/clang-tblgen)
host Executable: tblgen (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libc_bionic_intermediates/libc_bionic.a]
target StaticLib: liblogwrap (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/liblogwrap_intermediates/liblogwrap.a)
target StaticLib: libext4_utils_static (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/libext4_utils_static.a)
target StaticLib: libbatteryservice (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/libbatteryservice.a)
target StaticLib: libbinder (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libbinder_intermediates/libbinder.a)
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libc_freebsd_intermediates/libc_freebsd.a]
arch/arm/mach-exynos/Kconfig:883:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_U1 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects LINK_DEVICE_HSIC which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects UMTS_MODEM_XMM6262 which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects UMTS_MODEM_XMM6262 which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
warning: (SEC_MODEM_M0_C2C && SEC_MODEM_M0 && SEC_MODEM_U1 && SEC_MODEM_IRON && SEC_MODEM_T0_TD_DUAL) selects LINK_DEVICE_HSIC which has unmet direct dependencies (MISC_DEVICES && MACH_U1 && SEC_MODEM)
#
# configuration written to .config
#
make[1]: Leaving directory `/media/alectradar/sdb2/Android/kernel/samsung/smdk4412'
target StaticLib: libutils (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libutils_intermediates/libutils.a)
host Executable: minigzip (/media/alectradar/sdb2/Android/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/minigzip)
target StaticLib: libext2fs (/media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libext2fs_intermediates/libext2fs.a)
Symlink: /media/alectradar/sdb2/Android/out/target/product/i9300/recovery/root/sbin/fsck.exfat -> mount.exfat
preparing StaticLib: libc_common [including /media/alectradar/sdb2/Android/out/target/product/i9300/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
Symlink: /media/alectradar/sdb2/Android/out/target/product/i9300/recovery/root/sbin/mkfs.exfat -> mount.exfat
make: *** No rule to make target `/media/alectradar/sdb2/Android/out/target/product/i9300/obj/EXECUTABLES/recovery_intermediates/recovery', needed by `/media/alectradar/sdb2/Android/out/target/product/i9300/recovery/root.ts'. Stop.
make: *** Waiting for unfinished jobs....
Could anyone help me out here? I've built a build successfully last week, but after a repo sync, this happened. (I'm asking here because the ROM Owner is in a personal crisis. Also, I'm relatively new to all this, so please no hate )

Categories

Resources