Help, compile warnings - Android

============================================
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/I7500/obj/include/libpv/getactualaacconfig.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/I7500/obj/include/libpv/getactualaacconfig.h'
/bin/bash: line 0: cd: sdk/layoutopt/app/src/resources: No such file or directory
build/core/Makefile:17: warning: overriding commands for target `out/target/product/I7500/system/etc/apns-conf.xml'
build/core/Makefile:17: warning: ignoring old commands for target `out/target/product/I7500/system/etc/apns-conf.xml'
javac 1.5.0_19
Ubuntu 10.4
Anyone know why this error happens, system.img is generated but when i put img on the emulator causes eternal android load, why this happen?

Related

[Q] failed to compile cm10.2 on osx mavericks & xcode 5

when i tried to compile cm10.2 on osx mavericks & xcode 5, i catch a problem:
target StaticLib: libwebrtc_apm (/Volumes/android/cm10/out/target/product/i9100g/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/libwebrtc_apm.a)
Symlink: /Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Copy: /Volumes/android/cm10/out/target/product/i9100g/system/app/Term.apk
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/bitcode_wrapperer.cpp
cp: the -R and -r options may not be specified together.
make: *** [/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so'
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_input.cpp
make: *** Waiting for unfinished jobs....
is anyone has solved this problem before? i'm a newer in this...
kliner67 said:
when i tried to compile cm10.2 on osx mavericks & xcode 5, i catch a problem:
target StaticLib: libwebrtc_apm (/Volumes/android/cm10/out/target/product/i9100g/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/libwebrtc_apm.a)
Symlink: /Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Copy: /Volumes/android/cm10/out/target/product/i9100g/system/app/Term.apk
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/bitcode_wrapperer.cpp
cp: the -R and -r options may not be specified together.
make: *** [/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `/Volumes/android/cm10/out/target/product/i9100g/system/vendor/lib/libbltsville_ticpu.so'
host C++: libLLVMWrap <= frameworks/compile/libbcc/bcinfo/Wrap/file_wrapper_input.cpp
make: *** Waiting for unfinished jobs....
is anyone has solved this problem before? i'm a newer in this...
Click to expand...
Click to collapse
maybe the version of cp in mavericks is different from normal?? anyone helps me...

Error building android on OSX 10.8.5

Hi,
I have a problem building the Android FS on OSX 10.8.5,
I made a case-sensitive FS, and brewed the required packages from the different tutorials,
The problem is more OS related:
Code:
Code:
target arm C++: libwebrtc_apm <= out/target/product/generic/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_cpu.so -> ./libbltsville_ticpu.so
Symlink: out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so -> ./libbltsville_ticpu.2.1.0.0.so
Install: out/host/darwin-x86/bin/minigzip
cp: the -R and -r options may not be specified together.
make: *** [out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so] Error 1
make: *** Deleting file `out/target/product/generic/system/vendor/lib/libbltsville_ticpu.so'
make: *** Waiting for unfinished jobs....
Any ideas for the reason? and how to solve it?
Thanks,
K

Ubuntu touch for xt1064?

Hey guys! I have a Motorola xt1064 and I would love to try Ubuntu touch, is there a port for it or could someone port for me? xD thanks in advance!
Sent from my XT1064 using XDA Free mobile app
EDIT: WRONG DEVICE!
Me too! Right now I'm actually trying to port it now using the official porting guide, However I am having some trouble When I run
Code:
make -j4
I get the error:
Code:
make: *** No rule to make target '/home/peter/phablet2/out/target/product/surnia/obj/STATIC_LIBRARIES/libmake_f2fs_intermediates/export_includes', needed by '/home/peter/phablet2/out/target/product/surnia/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
hello_there_everyone said:
EDIT: WRONG DEVICE! WHERE'S THE DELETE BUTTON!
Me too! Right now I'm actually trying to port it now using the official porting guide, However I am having some trouble When I run
Code:
make -j4
I get the error:
Code:
make: *** No rule to make target '/home/peter/phablet2/out/target/product/surnia/obj/STATIC_LIBRARIES/libmake_f2fs_intermediates/export_includes', needed by '/home/peter/phablet2/out/target/product/surnia/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I have got this problem while trying to build Cm13, and I know how to solve it.
I will help you to solve this problem, but can you build for xt1521?
nguyenquangduc2000 said:
I have got this problem while trying to build Cm13, and I know how to solve it.
I will help you to solve this problem, but can you build for xt1521?
Click to expand...
Click to collapse
Yes I can help with building the xt1521, the builds are basically the same as the normal Moto e 2nd gen! Anyway, if you can help me with this problem I will be most pleased and then I can share my build on Github.
First you need download cyanogenmod tree, device specific code and extract proprietary blobs from your device . (You can follow this instruction https://wiki.cyanogenmod.org/w/Build_for_surnia ). After that, copy device, hardware and vendor folder from ~/android/system to ~/phablet
Then the most important thing is downloading vendor of motorola:
Code:
cd
sudo apt-get install svn
svn export [url]https://github.com/TheMuppets/proprietary_vendor_motorola/trunk/msm8916-common[/url]
svn export [url]https://github.com/TheMuppets/proprietary_vendor_motorola/trunk/surnia[/url]
You will see 2 folder named msm8916 and surnia in Home folder. Copy both 2 folder to phablet/vendor. It is enough for building. Goodluck
nguyenquangduc2000 said:
First you need download cyanogenmod tree, device specific code and extract proprietary blobs from your device . (You can follow this instruction
Code:
https://wiki.cyanogenmod.org/w/Build_for_surnia
). After that, copy device, hardware and vendor folder from ~/android/system to ~/phablet
Then the most important thing is downloading vendor of motorola:
Code:
cd
sudo apt-get install svn
svn export [https://github.com/TheMuppets/proprietary_vendor_motorola/trunk/msm8916-common
svn export https://github.com/TheMuppets/proprietary_vendor_motorola/trunk/surnia
You will see 2 folder named msm8916 and surnia in Home folder. Copy both 2 folder to phablet/vendor. It is enough for building. Goodluck
Click to expand...
Click to collapse
Hmm... After following your steps I now get a error when running
Code:
make recoveryimage
(As I forgot to do that before):
Code:
/home/peter/phablet2/kernel/motorola/msm8916/kernel/sched/core.c: In function 'cpu_cgroup_allow_attach':
/home/peter/phablet2/kernel/motorola/msm8916/kernel/sched/core.c:9713:18: error: invalid operands to binary != (have 'kuid_t' and 'kuid_t')
/home/peter/phablet2/kernel/motorola/msm8916/kernel/sched/core.c:9713:46: error: invalid operands to binary != (have 'kuid_t' and 'kuid_t')
/home/peter/phablet2/kernel/motorola/msm8916/scripts/Makefile.build:308: recipe for target 'kernel/sched/core.o' failed
Here is some info that may help:
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=full_surnia
TARGET_BUILD_VARIANT=userdebug
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-4.4.0-21-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/peter/phablet2/out
============================================
Thanks in advance for your help!
Make sure you have do
Code:
./extract-files.sh
And recheck your kernel folder. Go to ~/Android/system rerun
Code:
repo sync
source build/envsetup.sh
breakfast surnia
And copy kernel folder again
Have you done building system.img ?
nguyenquangduc2000 said:
Have you done building system.img ?
Click to expand...
Click to collapse
nguyenquangduc2000 said:
Make sure you have do
Code:
./extract-files.sh
And recheck your kernel folder. Go to ~/Android/system rerun
Code:
repo sync
source build/envsetup.sh
breakfast surnia
And copy kernel folder again
Click to expand...
Click to collapse
Unfortunately, after following your steps I still get the same error, however it could be because it was saying when extracting files
Code:
Remote object /system/[file name here] Doesn't exist
I will try again...
hello_there_everyone said:
Unfortunately, after following your steps I still get the same error, however it could be because it was saying when extracting files
Code:
Remote object /system/[file name here] Doesn't exist
I will try again...
Click to expand...
Click to collapse
I think @squid2 can help you !
Hmm... After downloading the kernel again it took 2 hours then produced this error
Code:
ake[1]: Leaving directory '/home/peter/phablet2/kernel/motorola/msm8916'
make -C kernel/motorola/msm8916 O=/home/peter/phablet2/out/target/product/surnia/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE="/home/peter/phablet2/prebuilts/misc/linux-x86/ccache/ccache /home/peter/phablet2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules_install
make[1]: Entering directory '/home/peter/phablet2/kernel/motorola/msm8916'
INSTALL drivers/staging/prima/wlan.ko
DEPMOD 3.10.49
make[1]: Leaving directory '/home/peter/phablet2/kernel/motorola/msm8916'
mdpath=`find /home/peter/phablet2/out/target/product/surnia/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 /home/peter/phablet2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/peter/phablet2/out/target/product/surnia/system/lib/modules/; done; fi
mdpath=`find /home/peter/phablet2/out/target/product/surnia/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
mdpath=`find /home/peter/phablet2/out/target/product/surnia/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 /home/peter/phablet2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/peter/phablet2/out/target/product/surnia/system/lib/modules/; done; fi
mdpath=`find /home/peter/phablet2/out/target/product/surnia/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
target Prebuilt: (/home/peter/phablet2/out/target/product/surnia/kernel)
Target dt image: /home/peter/phablet2/out/target/product/surnia/dt.img
DTB combiner:
/home/peter/phablet2/out/host/linux-x86/bin/dtbTool: invalid option -- '2'
dtbTool [options] -o <output file> <input DTB path>
options:
--output-file/-o output file
--dtc-path/-p path to dtc
--page-size/-s page size in bytes
--verbose/-v verbose
--help/-h this help screen
device/motorola/surnia/mkbootimg.mk:9: recipe for target '/home/peter/phablet2/out/target/product/surnia/dt.img' failed
make: *** [/home/peter/phablet2/out/target/product/surnia/dt.img] Error 255
I feel like I'm close!
I think you can create dt.img independent with building Ubuntu. You can use
Code:
make dt.img
to build dt.img and then copy it to /home/peter/phablet2/out/target/product/surnia/
nguyenquangduc2000 said:
I think you can create dt.img independent with building Ubuntu. You can use
Code:
make dt.img
to build dt.img and then copy it to /home/peter/phablet2/out/target/product/surnia/
Click to expand...
Click to collapse
After running that code I now get this error:
Code:
build/core/base_rules.mk:529: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/xbin/wget'
external/busybox/Android.mk:184: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/xbin/wget'
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/apns-conf.xml'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/apns-conf.xml'
PRODUCT_COPY_FILES device/motorola/surnia/audio/audio_effects.conf:system/etc/audio_effects.conf ignored.
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/bin/rild'
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/lib/libril.so'
No private recovery resources for TARGET_DEVICE surnia
device/motorola/surnia/mkbootimg.mk:16: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/boot.img'
build/core/Makefile:489: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/boot.img'
make: *** No rule to make target 'dt.img'. Stop.
I can feel we're nearly there...
hello_there_everyone said:
After running that code I now get this error:
Code:
build/core/base_rules.mk:529: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/xbin/wget'
external/busybox/Android.mk:184: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/xbin/wget'
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/apns-conf.xml'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/etc/apns-conf.xml'
PRODUCT_COPY_FILES device/motorola/surnia/audio/audio_effects.conf:system/etc/audio_effects.conf ignored.
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/bin/rild'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/bin/rild'
build/core/Makefile:32: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/system/lib/libril.so'
build/core/base_rules.mk:529: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/system/lib/libril.so'
No private recovery resources for TARGET_DEVICE surnia
device/motorola/surnia/mkbootimg.mk:16: warning: overriding recipe for target '/home/peter/phablet2/out/target/product/surnia/boot.img'
build/core/Makefile:489: warning: ignoring old recipe for target '/home/peter/phablet2/out/target/product/surnia/boot.img'
make: *** No rule to make target 'dt.img'. Stop.
I can feel we're nearly there...
Click to expand...
Click to collapse
Yes, we are near! https://drive.google.com/open?id=0B4uHuS2eIEMBZWRQRHljcXN5SGM
I do not know if dt.img of cm13 can work or not. But you can try it.
nguyenquangduc2000 said:
Yes, we are near! https://drive.google.com/open?id=0B4uHuS2eIEMBZWRQRHljcXN5SGM
I do not know if dt.img of cm13 can work or not. But you can try it.
Click to expand...
Click to collapse
Unfortunately it didn't work and I still get the same error...
hello_there_everyone said:
Unfortunately it didn't work and I still get the same error...
Click to expand...
Click to collapse
Uhm... Maybe you miss some thing in device and kernel folder. Rerun
Code:
repo sync
and try again.
Can you upload your source to Github? I will try to fix that problem
@hello_there_everyone
Have you finished building?

AOSP cannot find libmincrypt when building recovery binary

I am compiling Marshmallow 6.0.1 release. I run:
Code:
$ . build/envsetup.sh
$ lunch # select arm_64 eng
$ make dist
Everything works fine until it tries to build the recovery binary:
Code:
target StaticExecutable: recovery (out/target/product/generic_arm64/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery)
out/target/product/generic_arm64/obj/STATIC_LIBRARIES/libminadbd_intermediates/libminadbd.a(adb_auth_client.o): In function `adb_auth_verify(unsigned char*, unsigned char*, int)':
/home/tyler/AOSP/system/core/adb/adb_auth_client.cpp:154: undefined reference to `RSA_verify'
out/target/product/generic_arm64/obj/STATIC_LIBRARIES/libfusesideload_intermediates/libfusesideload.a(fuse_sideload.o): In function `fetch_block':
/home/tyler/AOSP/bootable/recovery/fuse_sideload.c:276: undefined reference to `SHA256_hash'
collect2: error: ld returned 1 exit status
build/core/executable_internal.mk:75: recipe for target 'out/target/product/generic_arm64/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery' failed
make: *** [out/target/product/generic_arm64/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery] Error 1
I tried searching for it using
Code:
$ find . | grep libmincrypt
and I found that I only have the static library built (libmincrypt.a). Do I need the shared lib version of libmincrypt for the Android.mk in $AOSP/bootable/recovery to work? If so, how can I rebuild and get the shared lib?

Arrowos compilation fails on 8gb memory device

I'm trying to compile arrow os for android 12.1 for my device, but I'm having some problems with the last point, can anyone help me? The log file is as follows.
Code:
FAILED: //frameworks/base/packages/SystemUI:SystemUI-core kapt [common]
Outputs: /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/kapt-sources.jar /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/kapt-res.jar
Error: exited with code: 1
Command: rm -rf "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/srcJars" "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/build.xml" "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen" && mkdir -p "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/srcJars" "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/sources" "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/classes" && /home/dulin/arrow/out/soong/host/linux-x86/bin/zipsync -d /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/srcJars -l /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/srcJars/list -f "*.java" /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/gen/aidl/aidl0.srcjar /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/gen/android/R.srcjar && /home/dulin/arrow/out/soong/host/linux-x86/bin/gen-kotlin-build-file.py --classpath "/home/dulin/arrow/out/soong/.intermediates/libcore/mmodules/core_platform_api/legacy.core.platform.api.stubs/android_common/turbine-combined/legacy.core.platform.api.stubs.jar:/home/dulin/arrow/out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine-combined/core-lambda-stubs.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/libs/WindowManager/Shell/WindowManager-Shell/android_common/combined/WindowManager-Shell.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/animation/SystemUIAnimationLib/android_common/turbine-combined/SystemUIAnimationLib.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/plugin/SystemUIPluginLib/android_common/turbine-combined/SystemUIPluginLib.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/shared/SystemUISharedLib/android_common/turbine-combined/SystemUISharedLib.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/shared/SystemUI-statsd/android_common/turbine-combined/SystemUI-statsd.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SettingsLib/SettingsLib/android_common/turbine-combined/SettingsLib.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.viewpager2_viewpager2/android_common/turbine-combined/androidx.viewpager2_viewpager2.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx-legacy/androidx.legacy_legacy-support-v4/android_common/turbine-combined/androidx.legacy_legacy-support-v4.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.recyclerview_recyclerview/android_common/turbine-combined/androidx.recyclerview_recyclerview.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.preference_preference/android_common/turbine-combined/androidx.preference_preference.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.appcompat_appcompat/android_common/turbine-combined/androidx.appcompat_appcompat.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.concurrent_concurrent-futures/android_common/turbine-combined/androidx.concurrent_concurrent-futures.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.mediarouter_mediarouter/android_common/turbine-combined/androidx.mediarouter_mediarouter.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.palette_palette/android_common/turbine-combined/androidx.palette_palette.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx-legacy/androidx.legacy_legacy-preference-v14/android_common/turbine-combined/androidx.legacy_legacy-preference-v14.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.leanback_leanback/android_common/turbine-combined/androidx.leanback_leanback.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.slice_slice-core/android_common/turbine-combined/androidx.slice_slice-core.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.slice_slice-view/android_common/turbine-combined/androidx.slice_slice-view.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.slice_slice-builders/android_common/turbine-combined/androidx.slice_slice-builders.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.arch.core_core-runtime/android_common/turbine-combined/androidx.arch.core_core-runtime.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx-legacy/androidx.lifecycle_lifecycle-extensions/android_common/turbine-combined/androidx.lifecycle_lifecycle-extensions.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.dynamicanimation_dynamicanimation/android_common/turbine-combined/androidx.dynamicanimation_dynamicanimation.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/extras/constraint-layout-x/androidx-constraintlayout_constraintlayout/android_common/turbine-combined/androidx-constraintlayout_constraintlayout.jar:/home/dulin/arrow/out/soong/.intermediates/prebuilts/sdk/current/androidx/androidx.exifinterface_exifinterface/android_common/turbine-combined/androidx.exifinterface_exifinterface.jar:/home/dulin/arrow/out/soong/.intermediates/external/kotlinx.coroutines/kotlinx_coroutines_android/android_common/turbine-combined/kotlinx_coroutines_android.jar:/home/dulin/arrow/out/soong/.intermediates/external/kotlinx.coroutines/kotlinx_coroutines/android_common/turbine-combined/kotlinx_coroutines.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/libs/systemui/iconloaderlib/iconloader_base/android_common/turbine-combined/iconloader_base.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-tags/android_common/turbine-combined/SystemUI-tags.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-proto/android_common/turbine-combined/SystemUI-proto.jar:/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/monet/monet/android_common/turbine-combined/monet.jar:/home/dulin/arrow/out/soong/.intermediates/external/dagger2/dagger2/android_common/turbine-combined/dagger2.jar:/home/dulin/arrow/out/soong/.intermediates/external/jsr330/jsr330/android_common/turbine-combined/jsr330.jar:/home/dulin/arrow/out/soong/.intermediates/external/lottie/lottie/android_common/turbine-combined/lottie.jar:/home/dulin/arrow/out/soong/.intermediates/external/kotlinc/kotlin-stdlib/android_common/combined/kotlin-stdlib.jar:/home/dulin/arrow/out/soong/.intermediates/external/kotlinc/kotlin-stdlib-jdk7/android_common/combined/kotlin-stdlib-jdk7.jar:/home/dulin/arrow/out/soong/.intermediates/external/kotlinc/kotlin-stdlib-jdk8/android_common/combined/kotlin-stdlib-jdk8.jar:/home/dulin/arrow/out/soong/.intermediates/external/kotlinc/kotlin-annotations/android_common/combined/kotlin-annotations.jar" --name "frameworks__base__packages__SystemUI__android_common__SystemUI-core" --srcs "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/kapt-sources.jar.rsp" --srcs "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/srcJars/list" --out "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/build.xml" && external/kotlinc/bin/kotlinc -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED -J--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED -J--add-opens=java.base/java.util=ALL-UNNAMED -J-Xmx1024M -Xjvm-default=enable -Xuse-ir -no-stdlib -no-jdk -Xplugin=external/kotlinc/lib/kotlin-annotation-processing.jar -P plugin:org.jetbrains.kotlin.kapt3:sources=/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/sources -P plugin:org.jetbrains.kotlin.kapt3:classes=/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/classes -P plugin:org.jetbrains.kotlin.kapt3:stubs=/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs -P plugin:org.jetbrains.kotlin.kapt3:correctErrorTypes=true -P plugin:org.jetbrains.kotlin.kapt3:aptMode=stubsAndApt -P plugin:org.jetbrains.kotlin.kapt3:javacArguments=rO0ABXcgAAAAAgAHLXNvdXJjZQADMS45AActdGFyZ2V0AAMxLjk= -P plugin:org.jetbrains.kotlin.kapt3:apclasspath=/home/dulin/arrow/out/soong/.intermediates/external/dagger2/dagger2-compiler/linux_glibc_common/withres/dagger2-compiler.jar -P plugin:org.jetbrains.kotlin.kapt3:processors=dagger.internal.codegen.ComponentProcessor -Xbuild-file=/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/build.xml && /home/dulin/arrow/out/soong/host/linux-x86/bin/soong_zip -jar -o /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/kapt-sources.jar -C /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/sources -D /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/sources && /home/dulin/arrow/out/soong/host/linux-x86/bin/soong_zip -jar -o /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/kapt-res.jar -C /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/classes -D /home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/classes && rm -rf "/home/dulin/arrow/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/srcJars"
Output:
WARN: The registry key 'java.correct.class.type.by.place.resolve.scope' accessed, but not loaded yet
warning: some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath
out/soong/.intermediates/external/kotlinx.coroutines/kotlinx_coroutines/android_common/turbine-combined/kotlinx_coroutines.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/external/kotlinx.coroutines/kotlinx_coroutines_android/android_common/turbine-combined/kotlinx_coroutines_android.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/external/lottie/lottie/android_common/turbine-combined/lottie.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/frameworks/base/libs/WindowManager/Shell/WindowManager-Shell/android_common/combined/WindowManager-Shell.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/frameworks/base/packages/SettingsLib/SettingsLib/android_common/turbine-combined/SettingsLib.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/frameworks/base/packages/SystemUI/animation/SystemUIAnimationLib/android_common/turbine-combined/SystemUIAnimationLib.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/frameworks/base/packages/SystemUI/monet/monet/android_common/turbine-combined/monet.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/frameworks/base/packages/SystemUI/plugin/SystemUIPluginLib/android_common/turbine-combined/SystemUIPluginLib.jar: warning: library has Kotlin runtime bundled into it
out/soong/.intermediates/frameworks/base/packages/SystemUI/shared/SystemUISharedLib/android_common/turbine-combined/SystemUISharedLib.jar: warning: library has Kotlin runtime bundled into it
exception: java.lang.IllegalStateException: failed to analyze: java.lang.OutOfMemoryError: Java heap space
at org.jetbrains.kotlin.analyzer.AnalysisResult.throwIfError(AnalysisResult.kt:56)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli(KotlinToJVMBytecodeCompiler.kt:193)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli$default(KotlinToJVMBytecodeCompiler.kt:154)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:169)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:52)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:88)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:76)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:45)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit(CLITool.kt:227)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit$default(CLITool.kt:222)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMain(CLITool.kt:214)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion.main(K2JVMCompiler.kt:271)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.main(K2JVMCompiler.kt)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.jetbrains.kotlin.preloading.Preloader.run(Preloader.java:87)
at org.jetbrains.kotlin.preloading.Preloader.main(Preloader.java:44)
Caused by: java.lang.OutOfMemoryError: Java heap space
at jdk.compiler/com.sun.tools.javac.code.Scope$ScopeImpl$$Lambda$533/0x00000001007f4c40.get$Lambda(Unknown Source)
at java.base/java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(DirectMethodHandle$Holder)
at java.base/java.lang.invoke.Invokers$Holder.linkToTargetMethod(Invokers$Holder)
at jdk.compiler/com.sun.tools.javac.code.Scope$ScopeImpl.getSymbolsByName(Scope.java:629)
at jdk.compiler/com.sun.tools.javac.code.Scope.getSymbolsByName(Scope.java:106)
at jdk.compiler/com.sun.tools.javac.code.Scope.getSymbolsByName(Scope.java:92)
at jdk.compiler/com.sun.tools.javac.comp.Check.checkTransparentVar(Check.java:344)
at jdk.compiler/com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:299)
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956)
at jdk.compiler/com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:163)
at jdk.compiler/com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:175)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$MembersPhase.finishClass(TypeEnter.java:958)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$MembersPhase.runPhase(TypeEnter.java:942)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$Phase.doCompleteEnvs(TypeEnter.java:282)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$MembersPhase.doCompleteEnvs(TypeEnter.java:877)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:251)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:266)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:266)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:266)
at jdk.compiler/com.sun.tools.javac.comp.TypeEnter.complete(TypeEnter.java:198)
at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:642)
at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1326)
at jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:583)
at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:560)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1066)
at org.jetbrains.kotlin.kapt3.base.AnnotationProcessingKt.doAnnotationProcessing(annotationProcessing.kt:74)
at org.jetbrains.kotlin.kapt3.base.AnnotationProcessingKt.doAnnotationProcessing$default(annotationProcessing.kt:31)
at org.jetbrains.kotlin.kapt3.AbstractKapt3Extension.runAnnotationProcessing(Kapt3Extension.kt:229)
at org.jetbrains.kotlin.kapt3.AbstractKapt3Extension.analysisCompleted(Kapt3Extension.kt:192)
at org.jetbrains.kotlin.kapt3.ClasspathBasedKapt3Extension.analysisCompleted(Kapt3Extension.kt:100)
at org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration$invokeExtensionsOnAnalysisComplete(TopDownAnalyzerFacadeForJVM.kt:108)
at org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(TopDownAnalyzerFacadeForJVM.kt:118)
I am getting this error while compiling the cm14.1 version of lineageos, can anyone help me?
Code:
[ 7% 530/6795] ----- Making recovery ramdisk ------
Copying baseline ramdisk...
Modifying ramdisk contents...
cp: cannot stat '/home/dulin/los/out/target/product/X504F/root/init.recovery.*.rc': No such file or directory
----- Making uncompressed recovery ramdisk ------
[ 7% 532/6795] ----- Making recovery image ------
+/home/dulin/los/out/target/product/X504F/recovery.img maxsize=68395008 blocksize=135168 total=31393792 reserve=811008
----- Made recovery image: /home/dulin/los/out/target/product/X504F/recovery.img --------
[ 7% 535/6795] Construct recovery from boot
FAILED: /bin/bash -c "(mkdir -p /home/dulin/los/out/target/product/X504F/obj/PACKAGING/recovery_patch_intermediates/ ) && (PATH=/home/dulin/los/out/host/linux-x86/bin:\$PATH /home/dulin/los/out/host/linux-x86/bin/imgdiff /home/dulin/los/out/target/product/X504F/boot.img /home/dulin/los/out/target/product/X504F/recovery.img /home/dulin/los/out/target/product/X504F/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p )"
source and target don't have same number of chunks!
source chunks:
chunk 0: type 0 start 0 len 2058
chunk 1: type 2 start 2058 len 22152192
chunk 2: type 0 start 9041991 len 16396217
target chunks:
chunk 0: type 0 start 0 len 2058
chunk 1: type 2 start 2058 len 22152192
chunk 2: type 0 start 9041991 len 16396227
chunk 3: type 2 start 25438218 len 11374336
chunk 4: type 0 start 31393350 len 442
[ 7% 535/6795] target Export Resources: framework-res (/home/dulin/los/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
warning: string 'candidates_style' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'wfcSpnFormat' has no default translation.
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
[ 7% 535/6795] Building with Jack: /home/dulin/los/out/target/common/obj/JAVA_LIBRARIES/apache-harmony-tests_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 failed to build some targets (06:53 (mm:ss)) ####

Categories

Resources