Error when compile resurection remix 5.8.4 - Android General

Hello guys here
I try to build rr 5.8.4 rom and when i type brunch grandppltedx i got this error:
Checking build tools versions...
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/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/lol/RR/out/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
cp: cannot stat '/home/lol/RR/ota_conf': No such file or directory
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/NexusLauncher/NexusLauncher.apk:system/app/NexusLauncher/NexusLauncher.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/Wallpaper/Wallpaper.apk:system/app/Wallpaper/Wallpaper.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/DeskClock/DeskClock.apk:system/app/DeskClock/DeskClock.apk, use BUILD_PREBUILT instead!
build/core/java.mk:334: warning: overriding commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/lol/RR/out/target/product/grandppltedx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/lol/RR/out/target/product/grandppltedx/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/lol/RR/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp', needed by '/home/lol/RR/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp', 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/lol/RR'
#### make failed to build some targets (03:19 (mm:ss)) ####
No Jack server running. Try 'jack-admin start-server'
-Now I have no idea how to solve the build error please help me

Related

Cm7 build on ubuntu help...

I started building cm7 a few days ago and my linux system crashed. I uninstalled it then reinstalled, everything is good now except now when I get to the pare to sync the repo it is saying bash: permission denied. Can someone please help me with this?
sent from my infuse on MIUI 1.4ghz KI3
dman3285 said:
I started building cm7 a few days ago and my linux system crashed. I uninstalled it then reinstalled, everything is good now except now when I get to the pare to sync the repo it is saying bash: permission denied. Can someone please help me with this?
sent from my infuse on MIUI 1.4ghz KI3
Click to expand...
Click to collapse
Code:
chmod +x ~/bin/repo
Assuming repo is in ~/bin/
That worked...thank you so much..I thought I already did that but I guess I didn't...lol
sent from my infuse on MIUI 1.4ghz KI3
ok well maybe you can tell me why im getting this error when i start my build...
===========================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.5
TARGET_PRODUCT=cyanogen_infuse4g
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
Checking build tools versions...
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/root/init.rc'
system/core/rootdir/Android.mk:38: warning: ignoring old commands for target `out/target/product/infuse4g/root/init.rc'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keylayout/AVRCP.kl'
sdk/emulator/keymaps/Android.mk:18: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keylayout/AVRCP.kl'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keylayout/qwerty.kl'
sdk/emulator/keymaps/Android.mk:13: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keylayout/qwerty.kl'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty2.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty2.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/bin/hciattach'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/hciattach'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/bin/brcm_patchram_plus'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/brcm_patchram_plus'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:21: warning: ignoring old commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/obj/lib/libril.so'
build/core/dynamic_binary.mk:141: warning: ignoring old commands for target `out/target/product/infuse4g/obj/lib/libril.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libril.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libril.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/bin/rild'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/rild'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libsensorservice.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libsensorservice.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libcamera_client.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libcamera_client.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libcameraservice.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libcameraservice.so'
No private recovery resources for TARGET_DEVICE infuse4g
Header: out/host/linux-x86/obj/include/libexpat/expat.h
Header: out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: out/target/product/infuse4g/obj/include/libexpat/expat.h
Header: out/target/product/infuse4g/obj/include/libexpat/expat_external.h
Header: out/host/linux-x86/obj/include/libpng/png.h
Header: out/host/linux-x86/obj/include/libpng/pngconf.h
Header: out/host/linux-x86/obj/include/libpng/pngusr.h
Header: out/target/product/infuse4g/obj/include/libpng/png.h
Header: out/target/product/infuse4g/obj/include/libpng/pngconf.h
Header: out/target/product/infuse4g/obj/include/libpng/pngusr.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas_types.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas_reverb.h
Header: out/target/product/infuse4g/obj/include/libsonivox/jet.h
Header: out/target/product/infuse4g/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: out/target/product/infuse4g/obj/include/libwpa_client/wpa_ctrl.h
Directory: out/target/product/infuse4g/root/sbin
Directory: out/target/product/infuse4g/root/dev
Directory: out/target/product/infuse4g/root/proc
Directory: out/target/product/infuse4g/root/sys
Directory: out/target/product/infuse4g/root/system
Directory: out/target/product/infuse4g/root/data
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtbegin_so.o -c bionic/libc/arch-arm/bionic/crtbegin_so.S
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
make: *** [out/target/product/infuse4g/obj/lib/crtbegin_static.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
make: *** [out/target/product/infuse4g/obj/lib/crtbegin_so.o] Error 127
[email protected]:~/android/system#

Cyanogenmod 10 libz error[HELP]

I have thought of every possible way. The last way is to delete the lines but i need ur help to fix it
the error is
Code:
target arm C: libz <= external/zlib/adler32.c
In file included from external/zlib/zlib.h:34:0,
from external/zlib/zutil.h:24,
from external/zlib/adler32.c:9:
external/zlib/zconf.h:395:22: fatal error: limits.h: No such file or directory
compilation terminated.
make: *** [/home/yajnavalkya/cm10/out/target/product/beni/obj/SHARED_LIBRARIES/libz_intermediates/adler32.o] Error 1

Android oreo comppiling error

HTML:
[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[1/2] out/soong/.bootstrap/bin/minibp out/soong/.minibootstrap/build.ninja.in
[4/4] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[791/792] glob vendor/*/*/Android.bp
[47/47] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-aosp_c6903.ninja is missing, regenerating...
[9/1001] including ./cts/Android.mk ...
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: `cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory
[151/1001] including ./device/sony/common/Android.mk ...
./device/sony/common/Android.mk:104: error: /Android.mk: No such file or directory
17:08:27 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (06:07 (mm:ss)) ####
i am trying to build aosp oreo for my Xperia z1 but getting this strange error.The error specifies android.mk file does not exist but when i checked it is there.i have no idea why this is happening as I am new to building rom.Any help is appreciated.
Thanx in advance.

I am getting this error while trying to port LineageOS

"ebtables is disabled on this build"
/bin/bash: prebuilts/python/linux-x86/2.7.5//bin/python: No such file or directory
build/core/base_rules.mk:559: warning: overriding recipe for target '/root/android/system/out/target/product/manta/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/root/android/system/out/target/product/manta/root/res/images/charger/battery_fail.png'
find: ‘dummy’: No such file or directory
PRODUCT_COPY_FILES device/samsung/manta/audio_effects.conf:system/etc/audio_effects.conf ignored.
No private recovery resources for TARGET_DEVICE manta
build/core/tasks/kernel.mk:358: warning: overriding recipe for target '/root/android/system/out/target/product/manta/kernel'
build/core/Makefile:46: warning: ignoring old recipe for target '/root/android/system/out/target/product/manta/kernel'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
host C++: libc++_static <= external/libcxx/src/algorithm.cpp
host C++: libc++_static <= external/libcxx/src/bind.cpp
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:825: /root/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
make: *** Waiting for unfinished jobs....
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:825: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 127
prebuilts/clang/linux-x86/host/3.6/bin/clang++prebuilts/clang/linux-x86/host/3.6/bin/clang++: : error while loading shared librarieserror while loading shared libraries: : libncurses.so.5libncurses.so.5: : cannot open shared object filecannot open shared object file: : No such file or directoryNo such file or directory
make: *** [build/core/binary.mk:730: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/algorithm.o] Error 127
make: *** [build/core/binary.mk:730: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/bind.o] Error 127
make: Leaving directory '/root/android/system'
#### make failed to build some targets (38 seconds) ####
I have no idea what to do, I'm on Arch Linux.

Error while Compiling CM14.1

find: ‘/home/ubuntu/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
./system/sepolicy/Android.mk:22: BOARD_SEPOLICY_UNION is no longer required - all files found in BOARD_SEPOLICY_DIRS are implicitly unioned; please remove from your BoardConfig.mk or other .mk file.
No recovery.fstab for TARGET_DEVICE kmini3g
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/camera.msm8226.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/camera.msm8226.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libsecril-client.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/consumerir.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/consumerir.default.so'
build/core/ninja.mk:166: recipe for target '/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja' failed
make: *** [/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja] Killed
make: *** Deleting file '/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja'
make: Leaving directory '/home/ubuntu/android/lineage'
#### make failed to build some targets (58 seconds) ####
I am getting this error while compiling cm 14.1
I am using openjdk 8, on Ubuntu 18.04
Please help
Thanks in advance

Categories

Resources