Project

General

Profile

Issue #1811

Updated by Wolfgang Wiedmeyer over 2 years ago

When launching make, it fails because a Manifest.java is missing. Hi there,
Any idea why? when trying to build replicant-6, I got this error :

when getting build toolchain :

<pre><code class="bash">
============================================ ./vendor/replicant/build-toolchain
PLATFORM_VERSION_CODENAME=REL ...
PLATFORM_VERSION=6.0.1
REPLICANT_VERSION="replicant-6.0"
TARGET_PRODUCT=replicant_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
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.6.0-1-amd64-x86_64-with-debian-stretch-sid
HOST_BUILD_TYPE=release
BUILD_ID=MOB31T
OUT_DIR=/home/debian/replicant/replicant-6.0/out
WITH_SU=true
============================================
"ebtables is disabled on this build"
build/core/copy_headers.mk:15: warning: overriding recipe
checking for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h' C compiler default output file name...
configure: error: in `/home/debian/replicant/replicant-6.0/toolchain/gcc/arm/arm-linux-androideabi/build/gcc/gcc':

build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h' configure: error: C compiler cannot create executables
build/core/copy_headers.mk:15: warning: overriding recipe See `config.log' for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h' more details.
build/core/copy_headers.mk:15: warning: ignoring old Makefile:3928: recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h' 'configure-gcc' failed
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h' make[1]: *** [configure-gcc] Error 1
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/obj/include/libsecmm/SsbSipMfcApi.h'
find: ‘dummy’: No such file or
make[1]: Leaving directory '/home/debian/replicant/replicant-6.0/toolchain/gcc/arm/arm-linux-androideabi/build/gcc'
build/core/base_rules.mk:559: warning: overriding Makefile:846: recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/home/debian/replicant/replicant-6.0/out/target/product/i9300/root/res/images/charger/battery_fail.png'
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.
No private recovery resources for TARGET_DEVICE i9300
target Java: org.cyanogenmod.platform.sdk (/home/debian/replicant/replicant-6.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes)
javac: file not found: /home/debian/replicant/replicant-6.0/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
build/core/java.mk:394: recipe for target '/home/debian/replicant/replicant-6.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes-full-debug.jar'
'all' failed
make: *** [/home/debian/replicant/replicant-6.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes-full-debug.jar] [all] Error 41

#### make failed to build some targets (02:43 (mm:ss)) ####
2
</code></pre>

Back