[Android] nicesoni_ash:
ok got a new error related to jack..

http://pastebin.com/iGsuVBqB

[ 31% 15174/48371] Building with Jack:...t_intermediates/with-local/classes.dexd[ 31% 15205/48371] build /media/ashoks...IES/sdk_v16_intermediates/classes.jack

[ 31% 15205/48371] Building with Jack: /media/ashoks...ARIES/framework_intermediates/with-local/classes.dex

FAILED: /bin/bash /media/ashoksoni/cout/out/rr/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp

java.lang.AssertionError

at com.android.sched.scheduler.MultiWorkersScheduleInstance.process(MultiWorkersScheduleInstance.java:523)

at com.android.jack.Jack.run(Jack.java:738)

at com.android.jack.Jack.checkAndRun(Jack.java:412)

at com.android.jack.CommandLine.runJack(CommandLine.java:79)

at com.android.jack.api.v01.impl.Cli01CompilationTaskImpl.run(Cli01CompilationTaskImpl.java:85)

at com.android.jack.server.tasks.JackTask.handle(JackTask.java:168)

at com.android.jack.server.tasks.SynchronousServiceTask.handle(SynchronousServiceTask.java:49)

at com.android.jack.server.tasks.JackTask.handle(JackTask.java:55)

at com.android.jack.server.router.PathRouter.handle(PathRouter.java:65)

at com.android.jack.server.router.ContentTypeParameterRouter.handle(ContentTypeParameterRouter.java:84)

at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)

at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)

at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)

at com.android.jack.server.router.ContentTypeParameterRouter.handle(ContentTypeParameterRouter.java:84)

at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)

at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)

at com.android.jack.server.router.MethodRouter.handle(MethodRouter.java:67)

at com.android.jack.server.router.RootContainer.handle(RootContainer.java:49)

at org.simpleframework.http.core.RequestDispatcher.dispatch(RequestDispatcher.java:121)

at org.simpleframework.http.core.RequestDispatcher.run(RequestDispatcher.java:103)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Internal compiler error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@google.com)).

Warning: This may have produced partial or corrupted output.

[ 31% 15205/48371] build /media/ashoksoni/cout/out/r...bj/JAVA_LIBRARIES/sdk_v16_intermediates/classes.jack

ninja: build stopped: subcommand failed.

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

make: Leaving directory '/home/ashoksoni/rr'

I am thinking to disable jack for the time being, not sure that's the right way though. What do you guys suggest?

Thanks.

Edit:

Disabling Jack didn't help as within seconds I got my very first error. I did tried after make clean also. I am out of ideas now.

http://pastebin.com/YmhkADzx

Checking build tools versions...

build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \

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

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

./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex

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: ‘/media/ashoksoni/cout/out/rr/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

build/core/Makefile:53: Duplicate header copy: /media/ashoksoni/cout/out/rr/target/product/oneplus2/obj/include/qcom/display/copybit.h

build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk

build/core/Makefile:53: Duplicate header copy: /media/ashoksoni/cout/out/rr/target/product/oneplus2/obj/include/qcom/display/copybit_priv.h

build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk

build/core/Makefile:53: Duplicate header copy: /media/ashoksoni/cout/out/rr/target/product/oneplus2/obj/include/qcom/display/c2d2.h

build/core/Makefile:53: Defined in: hardware/qcom/display-caf/msm8994/libcopybit/Android.mk hardware/qcom/display-caf/msm8994/libcopybit/Android.mk

No private recovery resources for TARGET_DEVICE oneplus2

build/core/dex_preopt.mk:74: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/dex_bootjars/system/framework/telephony-ext_nodex.jar'

build/core/dex_preopt.mk:74: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/dex_bootjars/system/framework/telephony-ext_nodex.jar'

build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.art'

build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.art'

build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.oat'

build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm64/boot-telephony-ext.oat'

build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm/boot-telephony-ext.art'

build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm/boot-telephony-ext.art'

build/core/dex_preopt_libart_boot.mk:49: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm/boot-telephony-ext.oat'

build/core/dex_preopt_libart_boot.mk:49: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/system/framework/arm/boot-telephony-ext.oat'

build/core/java.mk:334: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'

build/core/java.mk:334: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'

build/core/java.mk:334: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'

build/core/java.mk:334: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'

build/core/base_rules.mk:316: warning: overriding commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:316: warning: ignoring old commands for target `/media/ashoksoni/cout/out/rr/target/product/oneplus2/root/res/images/charger/battery_fail.png'

Starting build with ninja

ninja: Entering directory `.'

ninja: error: '/media/ashoksoni/cout/out/rr/target/common/obj/APPS/AntHalService_intermediates/with-local/classes.dex', needed by '/media/ashoksoni/cout/out/rr/target/common/obj/APPS/AntHalService_intermediates/classes.dex', 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/ashoksoni/rr'

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