[Android Q&A, Help & Troubleshooting] ragtop98:
Hey all,

I am trying to build CM12.1 from source for Samsung Galaxy Grand Duos i9082..

I've downloaded the source, set up device tree, kernel and the required compatibility patches (required for this device)

Steps I perform:

source build/envsetup.sh

add_lunch_combo cm_i9082-userdebug

lunch (and the select the device)

mka

It starts the building process but after some time I get the following error which I'm unable to resolve:

frameworks/testing/runner/src/main/java/android/support/test/internal/runner/intent/IntentMonitorImpl.java:21: error: package android.support.annotation does not exist

import android.support.annotation.NonNull;

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:21: error: cannot find symbol

import android.app.Fragment;

^

symbol: class Fragment

location: package android.app

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:32: error: package android.support.test.internal.runner.hidden does not exist

import android.support.test.internal.runner.hidden.ExposedInstrumentationApi;

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:83: error: cannot find symbol

public class MonitoringInstrumentation extends ExposedInstrumentationApi {

^

symbol: class ExposedInstrumentationApi

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:344: error: cannot find symbol

public ActivityResult execStartActivity(

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:361: error: cannot find symbol

public ActivityResult execStartActivity(

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:398: error: cannot find symbol

Context who, IBinder contextThread, IBinder token, Fragment target,

^

symbol: class Fragment

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:397: error: cannot find symbol

public ActivityResult execStartActivity(

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:423: error: cannot find symbol

private ActivityResult stubResultFor(Intent intent) {

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:410: error: cannot find symbol

private static class StubResultCallable implements Callable<ActivityResult> {

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:418: error: cannot find symbol

public ActivityResult call() {

^

symbol: class ActivityResult

location: class StubResultCallable

frameworks/testing/runner/src/main/java/android/support/test/internal/runner/intent/IntentMonitorImpl.java:54: error: cannot find symbol

public void addIntentCallback(@NonNull IntentCallback callback) {

^

symbol: class NonNull

location: class IntentMonitorImpl

frameworks/testing/runner/src/main/java/android/support/test/internal/runner/intent/IntentMonitorImpl.java:77: error: cannot find symbol

public void removeIntentCallback(@NonNull IntentCallback callback) {

^

symbol: class NonNull

location: class IntentMonitorImpl

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:125: error: method registerInstance in class InstrumentationRegistry cannot be applied to given types;

InstrumentationRegistry.registerInstance(this, arguments);

^

required: Instrumentation,Bundle

found: MonitoringInstrumentation,Bundle

reason: actual argument MonitoringInstrumentation cannot be converted to Instrumentation by method invocation conversion

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:137: error: cannot find symbol

super.onCreate(arguments);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:120: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:148: error: cannot find symbol

File dexCache = getTargetContext().getDir("dxmaker_cache", Context.MODE_PRIVATE);

^

symbol: method getTargetContext()

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:156: error: cannot find symbol

ClassLoader newClassLoader = this.getClass().getClassLoader();

^

symbol: method getClass()

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:186: error: cannot find symbol

super.onStart();

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:204: error: cannot find symbol

waitForIdleSync();

^

symbol: method waitForIdleSync()

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:184: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:232: error: cannot find symbol

super.finish(resultCode, results);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:216: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:272: error: cannot find symbol

super.onDestroy();

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:268: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:278: error: cannot find symbol

super.callApplicationOnCreate(app);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:275: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:306: error: not an enclosing class: MonitoringInstrumentation

return MonitoringInstrumentation.super.startActivitySync(intent);

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:282: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:349: error: cannot find symbol

ActivityResult ar = stubResultFor(intent);

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:354: error: cannot find symbol

return super.execStartActivity(who, contextThread, token, target, intent, requestCode);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:343: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:366: error: cannot find symbol

ActivityResult ar = stubResultFor(intent);

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:371: error: cannot find symbol

return super.execStartActivity(who, contextThread, token, target, intent, requestCode, options);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:360: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:377: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:402: error: cannot find symbol

ActivityResult ar = stubResultFor(intent);

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:407: error: cannot find symbol

return super.execStartActivity(who, contextThread, token, target, intent, requestCode, options);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:396: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:428: error: cannot find symbol

FutureTask<ActivityResult> task = new FutureTask<ActivityResult>(

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:428: error: cannot find symbol

FutureTask<ActivityResult> task = new FutureTask<ActivityResult>(

^

symbol: class ActivityResult

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:454: error: cannot find symbol

return super.onException(obj, e);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:447: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:481: error: cannot find symbol

super.callActivityOnDestroy(activity);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:479: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:487: error: cannot find symbol

super.callActivityOnRestart(activity);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:485: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:494: error: cannot find symbol

super.callActivityOnCreate(activity, bundle);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:491: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:506: error: cannot find symbol

super.callActivityOnStart(activity);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:502: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:517: error: cannot find symbol

super.callActivityOnStop(activity);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:514: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:526: error: cannot find symbol

super.callActivityOnResume(activity);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:524: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:532: error: cannot find symbol

super.callActivityOnPause(activity);

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:530: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:563: error: cannot find symbol

return super.newActivity(clazz,

^

symbol: variable super

location: class MonitoringInstrumentation

frameworks/testing/runner/src/main/java/android/support/test/runner/MonitoringInstrumentation.java:542: error: method does not override or implement a method from a supertype

[MENTION=439709]override[/MENTION]

^

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:189: error: method fromManifest in class Builder cannot be applied to given types;

.fromManifest(this)

^

required: Instrumentation

found: AndroidJUnitRunner

reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:196: error: cannot find symbol

start();

^

symbol: method start()

location: class AndroidJUnitRunner

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:219: error: constructor Builder in class Builder cannot be applied to given types;

TestExecutor.Builder executorBuilder = new TestExecutor.Builder(this);

^

required: Instrumentation

found: AndroidJUnitRunner

reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:258: error: constructor ActivityFinisherRunListener in class ActivityFinisherRunListener cannot be applied to given types;

builder.addRunListener(new ActivityFinisherRunListener(this,

^

required: Instrumentation,MonitoringInstrumentation.ActivityFinisher

found: AndroidJUnitRunner,MonitoringInstrumentation.ActivityFinisher

reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:309: error: method createTestRequestBuilder in class AndroidJUnitRunner cannot be applied to given types;

TestRequestBuilder builder = createTestRequestBuilder(this, bundleArgs);

^

required: Instrumentation,Bundle

found: AndroidJUnitRunner,Bundle

reason: actual argument AndroidJUnitRunner cannot be converted to Instrumentation by method invocation conversion

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:314: error: cannot find symbol

builder.addApkToScan(getContext().getPackageCodePath());

^

symbol: method getContext()

location: class AndroidJUnitRunner

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:319: error: cannot find symbol

if (null != getTargetContext()) {

^

symbol: method getTargetContext()

location: class AndroidJUnitRunner

frameworks/testing/runner/src/main/java/android/support/test/runner/AndroidJUnitRunner.java:321: error: cannot find symbol

getTargetContext()).buildIfPossible();

^

symbol: method getTargetContext()

location: class AndroidJUnitRunner

Note: frameworks/testing/runner/src/main/java/android/support/test/internal/runner/junit4/AndroidJUnit4ClassRunner.java uses or overrides 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.

67 errors

make: *** [/home/raghav/source/cm/system/out/target/common/obj/JAVA_LIBRARIES/android-support-test-src_intermediates/classes-full-debug.jar] Error 41

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

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1414: warning: overriding commands for target `clean'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1180: warning: ignoring old commands for target `clean'

GEN /home/raghav/source/cm/system/out/target/product/i9082/obj/KERNEL_OBJ/Makefile

scripts/kconfig/conf --silentoldconfig Kconfig

arch/arm/mach-capri/custom_boards/Kconfig:19:warning: defaults for choice values not supported

arch/arm/mach-capri/custom_boards/Kconfig:25:warning: defaults for choice values not supported

arch/arm/mach-capri/custom_boards/Kconfig:31:warning: defaults for choice values not supported

arch/arm/mach-capri/custom_boards/Kconfig:37:warning: defaults for choice values not supported

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1414: warning: overriding commands for target `clean'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1180: warning: ignoring old commands for target `clean'

GEN /home/raghav/source/cm/system/out/target/product/i9082/obj/KERNEL_OBJ/Makefile

CHK include/linux/version.h

CHK include/generated/utsrelease.h

Using /home/raghav/source/cm/system/kernel/samsung/i9082 as source for kernel

make[3]: `include/generated/mach-types.h' is up to date.

CALL /home/raghav/source/cm/system/kernel/samsung/i9082/scripts/checksyscalls.sh

CHK include/generated/compile.h

GZIP kernel/config_data.gz

IKCFG kernel/config_data.h

CC kernel/configs.o

LD kernel/built-in.o

++++++++++++++++++++++

CONFIG_ISP = n

obj = drivers/char/broadcom/isp

++++++++++++++++++++++

CONFIG_UNICAM = n

obj = drivers/char/broadcom/unicam

++++++++++++++++++++++

CONFIG_V3D = n

obj = drivers/char/broadcom/v3d

++++++++++++++++++++++

CONFIG_VCE = n

obj = drivers/char/broadcom/vce

VCHIQ_PLATFORM_CONFIG = capri-bi

Building for MAP build system

CONFIG_ARCH_KONA = y

echo "(new) Generating drivers/misc/vc04_services/interface/vchiq_arm/vchiq_version.c ..."

(new) Generating drivers/misc/vc04_services/interface/vchiq_arm/vchiq_version.c ...

perl /home/raghav/source/cm/system/kernel/samsung/i9082/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_genversion vchiq /home/raghav/source/cm/system/kernel/samsung/i9082 > drivers/misc/vc04_services/interface/vchiq_arm/vchiq_version.c

Version cad4731a5459c8d522881166c8315b9e3418c687 (tainted)

CC drivers/misc/vc04_services/interface/vchiq_arm/vchiq_version.o

LD drivers/misc/vc04_services/vc-vchiq.o

LD drivers/misc/vc04_services/vc-vchiq-memdrv-kona.o

LD drivers/misc/vc04_services/built-in.o

LD drivers/misc/built-in.o

LD drivers/built-in.o

LD vmlinux.o

MODPOST vmlinux.o

WARNING: modpost: Found 4 section mismatch(es).

To see full details build your kernel with:

'make CONFIG_DEBUG_SECTION_MISMATCH=y'

GEN .version

CHK include/generated/compile.h

UPD include/generated/compile.h

CC init/version.o

LD init/built-in.o

LD .tmp_vmlinux1

KSYM .tmp_kallsyms1.S

AS .tmp_kallsyms1.o

LD .tmp_vmlinux2

KSYM .tmp_kallsyms2.S

AS .tmp_kallsyms2.o

LD vmlinux

SYSMAP System.map

SYSMAP .tmp_System.map

OBJCOPY arch/arm/boot/Image

Kernel: arch/arm/boot/Image is ready

GZIP arch/arm/boot/compressed/piggy.gzip

SHIPPED arch/arm/boot/compressed/lib1funcs.S

SHIPPED arch/arm/boot/compressed/longlong.h

AS arch/arm/boot/compressed/lib1funcs.o

SHIPPED arch/arm/boot/compressed/divdi3.c

CC arch/arm/boot/compressed/divdi3.o

AS arch/arm/boot/compressed/piggy.gzip.o

LD arch/arm/boot/compressed/vmlinux

OBJCOPY arch/arm/boot/zImage

Kernel: arch/arm/boot/zImage is ready

make[1]: Leaving directory `/home/raghav/source/cm/system/kernel/samsung/i9082'

make -C kernel/samsung/i9082 O=/home/raghav/source/cm/system/out/target/product/i9082/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/raghav/source/cm/system/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" dtbs

make[1]: Entering directory `/home/raghav/source/cm/system/kernel/samsung/i9082'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1414: warning: overriding commands for target `clean'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1180: warning: ignoring old commands for target `clean'

make[3]: Nothing to be done for `arch/arm/boot/dtbs'.

make[1]: Leaving directory `/home/raghav/source/cm/system/kernel/samsung/i9082'

make -C kernel/samsung/i9082 O=/home/raghav/source/cm/system/out/target/product/i9082/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/raghav/source/cm/system/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" modules

make[1]: Entering directory `/home/raghav/source/cm/system/kernel/samsung/i9082'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1414: warning: overriding commands for target `clean'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1180: warning: ignoring old commands for target `clean'

GEN /home/raghav/source/cm/system/out/target/product/i9082/obj/KERNEL_OBJ/Makefile

CHK include/linux/version.h

++++++++++++++++++++++

CONFIG_ISP = n

obj = drivers/char/broadcom/isp

Using /home/raghav/source/cm/system/kernel/samsung/i9082 as source for kernel

++++++++++++++++++++++

CONFIG_UNICAM = n

obj = drivers/char/broadcom/unicam

++++++++++++++++++++++

CONFIG_V3D = n

obj = drivers/char/broadcom/v3d

CHK include/generated/utsrelease.h

++++++++++++++++++++++

CONFIG_VCE = n

obj = drivers/char/broadcom/vce

make[3]: `include/generated/mach-types.h' is up to date.

VCHIQ_PLATFORM_CONFIG = capri-bi

Building for MAP build system

CONFIG_ARCH_KONA = y

CALL /home/raghav/source/cm/system/kernel/samsung/i9082/scripts/checksyscalls.sh

++++++++++++++++++++++

CONFIG_ISP = n

obj = drivers/char/broadcom/isp

++++++++++++++++++++++

CONFIG_UNICAM = n

obj = drivers/char/broadcom/unicam

++++++++++++++++++++++

CONFIG_V3D = n

obj = drivers/char/broadcom/v3d

++++++++++++++++++++++

CONFIG_VCE = n

obj = drivers/char/broadcom/vce

VCHIQ_PLATFORM_CONFIG = capri-bi

Building for MAP build system

CONFIG_ARCH_KONA = y

Building modules, stage 2.

MODPOST 6 modules

make[1]: Leaving directory `/home/raghav/source/cm/system/kernel/samsung/i9082'

make -C kernel/samsung/i9082 O=/home/raghav/source/cm/system/out/target/product/i9082/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE="/home/raghav/source/cm/system/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" modules_install

make[1]: Entering directory `/home/raghav/source/cm/system/kernel/samsung/i9082'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1414: warning: overriding commands for target `clean'

/home/raghav/source/cm/system/kernel/samsung/i9082/Makefile:1180: warning: ignoring old commands for target `clean'

INSTALL crypto/md4.ko

INSTALL drivers/char/broadcom/gist.ko

INSTALL drivers/char/broadcom/sigmorph.ko

INSTALL drivers/net/wireless/bcmdhd/dhd.ko

INSTALL drivers/scsi/scsi_wait_scan.ko

INSTALL fs/cifs/cifs.ko

DEPMOD 3.0.101+

Warning: you may need to install module-init-tools

See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt

make[1]: Leaving directory `/home/raghav/source/cm/system/kernel/samsung/i9082'

mdpath=`find /home/raghav/source/cm/system/out/target/product/i9082/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do arm-eabi-strip --strip-unneeded $i; mv $i /home/raghav/source/cm/system/out/target/product/i9082/system/lib/modules/; done; fi

mdpath=`find /home/raghav/source/cm/system/out/target/product/i9082/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

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

Can someone please help me resolve this issue? This problem is giving me a headache :(

Also what does this mean?

"ebtables is disabled on this build"

Temporary Fix Found:

This commit was causing the problem: Check

Deleted folder: frameworks/testing

Deleted line from default.xml: <project path="frameworks/testing" name="platform/frameworks/testing" remote="aosp" revision="android-support-test" />

Build again and this time that error would be gone.. :)

Thanks in Advance