PotatoProject / manifest

The potato tracker
81 stars 34 forks source link

build error!!!! #7

Closed ahmedmoselhi closed 4 years ago

ahmedmoselhi commented 4 years ago

ip-172-31-1-148 (~/scripts/posp) |-> brunch RMX1851 including vendor/potato/vendorsetup.sh Trying dependencies-only mode on a non-existing device tree?

============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=9 TARGET_PRODUCT=potato_RMX1851 TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=kryo300 TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=cortex-a75 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.4.0-1100-aws-x86_64-Ubuntu-16.04.6-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=PI OUT_DIR=/home/ubuntu/scripts/posp/out PRODUCT_SOONG_NAMESPACES= bootable/recovery hardware/ril-caf hardware/qcom/audio-caf/ hardware/qcom/display-caf/ hardware/qcom/media-caf/ hardware/qcom/camera vendor/qcom/opensource/data-ipa-cfg-mgr hardware/qcom/gps hardware/qcom/sensors vendor/qcom/opensource/location vendor/qcom/opensource/dataservices hardware/qcom/power hardware/qcom/wlan-caf hardware/qcom/bt-caf

============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=9 TARGET_PRODUCT=potato_RMX1851 TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=kryo300 TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=cortex-a75 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.4.0-1100-aws-x86_64-Ubuntu-16.04.6-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=PI OUT_DIR=/home/ubuntu/scripts/posp/out PRODUCT_SOONG_NAMESPACES= bootable/recovery hardware/ril-caf hardware/qcom/audio-caf/ hardware/qcom/display-caf/ hardware/qcom/media-caf/ hardware/qcom/camera vendor/qcom/opensource/data-ipa-cfg-mgr hardware/qcom/gps hardware/qcom/sensors vendor/qcom/opensource/location vendor/qcom/opensource/dataservices hardware/qcom/power hardware/qcom/wlan-caf hardware/qcom/bt-caf

ninja: no work to do. ninja: no work to do. Environment variable BUILD_NUMBER was modified (73958df78c => 7378200bb7), regenerating... Environment variable BUILD_NUMBER was modified (73958df78c => 7378200bb7), regenerating... [558/939] including system/sepolicy/Android.mk ... system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS. [939/939] including vendor/realme/RMX1851/Android.mk ... build/make/core/Makefile:28: warning: overriding commands for target /home/ubuntu/scripts/posp/out/target/product/RMX1851/vendor/lib/libnbaio_mono.so' build/make/core/base_rules.mk:413: warning: ignoring old commands for target/home/ubuntu/scripts/posp/out/target/product/RMX1851/vendor/lib/libnbaio_mono.so' build/make/core/Makefile:28: warning: overriding commands for target /home/ubuntu/scripts/posp/out/target/product/RMX1851/vendor/lib/libtinycompress_vendor.so' build/make/core/base_rules.mk:413: warning: ignoring old commands for target/home/ubuntu/scripts/posp/out/target/product/RMX1851/vendor/lib/libtinycompress_vendor.so' build/make/core/Makefile:28: warning: overriding commands for target /home/ubuntu/scripts/posp/out/target/product/RMX1851/vendor/lib64/libtinycompress_vendor.so' build/make/core/base_rules.mk:413: warning: ignoring old commands for target/home/ubuntu/scripts/posp/out/target/product/RMX1851/vendor/lib64/libtinycompress_vendor.so' [ 0% 39/77710] //external/sonivox/ar...lang lib_src/ARM-E_filter_gnu.s [arm FAILED: /home/ubuntu/scripts/posp/out/soong/.intermediates/external/sonivox/arm-wt-22k/libsonivox/android_arm_armv8-a_cortex-a75_core_static/obj/external/sonivox/arm-wt-22k/lib_src/ARM-E_filter_gnu.o PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang -c -Iexternal/sonivox/arm-wt-22k/include -Iexternal/sonivox/arm-wt-22k/host_src -Iexternal/sonivox/arm-wt-22k/lib_src -Iexternal/sonivox/arm-wt-22k -fstrict-aliasing -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -Dcompiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -mcpu=cortex-a55 -mfpu=neon-fp-armv8 -DARM_FEATURE_LPAE=1 -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Isystem/core/liblog/include -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Ilibnativehelper/include_jni -xassembler-with-cpp -Wa,--defsym,SAMPLE_RATE_22050=1 -Wa,--defsym,STEREO_OUTPUT=1 -Wa,--defsym,FILTER_ENABLED=1 -Wa,--defsym,SAMPLES_8_BIT=1 -no-integrated-as -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -DASSEMBLY -MD -MF /home/ubuntu/scripts/posp/out/soong/.intermediates/external/sonivox/arm-wt-22k/libsonivox/android_arm_armv8-a_cortex-a75_core_static/obj/external/sonivox/arm-wt-22k/lib_src/ARM-E_filter_gnu.o.d -o /home/ubuntu/scripts/posp/out/soong/.intermediates/external/sonivox/arm-wt-22k/libsonivox/android_arm_armv8-a_cortex-a75_core_static/obj/external/sonivox/arm-wt-22k/lib_src/ARM-E_filter_gnu.o external/sonivox/arm-wt-22k/lib_src/ARM-E_filter_gnu.s Assembler messages: Error: unknown cpu `cortex-a55' Error: unrecognized option -mcpu=cortex-a55 clang.real: error: assembler command failed with exit code 1 (use -v to see invocation) [ 0% 46/77710] Building Kernel Config make: Entering directory '/home/ubuntu/scripts/posp/kernel/realme/sdm710' make[1]: Entering directory '/home/ubuntu/scripts/posp/out/target/product/RMX1851/obj/KERNEL_OBJ' GEN ./Makefile drivers/input/touchscreen/oppo_touchscreen/Himax/hx83112a_noflash/Kconfig:1:w'rning: ignoring unsupported character ' drivers/input/touchscreen/oppo_touchscreen/Himax/hx83112a_noflash/Kconfig:3:w'rning: ignoring unsupported character ' drivers/input/touchscreen/oppo_touchscreen/Himax/hx83112a_noflash/Kconfig:4:w'rning: ignoring unsupported character ' #

configuration written to .config

# make[1]: Leaving directory '/home/ubuntu/scripts/posp/out/target/product/RMX1851/obj/KERNEL_OBJ' make: Leaving directory '/home/ubuntu/scripts/posp/kernel/realme/sdm710' make: Entering directory '/home/ubuntu/scripts/posp/kernel/realme/sdm710' make[1]: Entering directory '/home/ubuntu/scripts/posp/out/target/product/RMX1851/obj/KERNEL_OBJ' GEN ./Makefile scripts/kconfig/conf --savedefconfig=defconfig Kconfig drivers/input/touchscreen/oppo_touchscreen/Himax/hx83112a_noflash/Kconfig:1:w'rning: ignoring unsupported character ' drivers/input/touchscreen/oppo_touchscreen/Himax/hx83112a_noflash/Kconfig:3:w'rning: ignoring unsupported character ' drivers/input/touchscreen/oppo_touchscreen/Himax/hx83112a_noflash/Kconfig:4:w'rning: ignoring unsupported character ' make[1]: Leaving directory '/home/ubuntu/scripts/posp/out/target/product/RMX1851/obj/KERNEL_OBJ' make: Leaving directory '/home/ubuntu/scripts/posp/kernel/realme/sdm710' [ 0% 48/77710] APK certs list: /home...otato_RMX1851-apkcerts-7378200bb7.tx ninja: build stopped: subcommand failed. 21:09:42 ninja failed with: exit status 1

failed to build some targets (01:51 (mm:ss))

| ip-172-31-1-148 (~/scripts/posp) |->

ahmedmoselhi commented 4 years ago

this issue is mainly with sdm710 and sdm712 kernels and other ppl reported same issue!!!

ahmedmoselhi commented 4 years ago

setting TARGET_2ND_CPU_VARIANT=cortex-a53 in BaordConfig.mk solved it for me