huseyin@rom:~/android/lineage$ mmm ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=13 LINEAGE_VERSION=20.0-20230919-UNOFFICIAL-hotdog TARGET_PRODUCT=lineage_hotdog TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-2a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-6.4.12-artix1-1-x86_64-Ubuntu-20.04.6-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=TQ3A.230805.001 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/oneplus/hotdog hardware/oplus/overlay/qssi device/oneplus/sm8150-common hardware/oplus vendor/qcom/opensource/usb/etc vendor/oneplus/sm8150-common vendor/oneplus/hotdog hardware/qcom-caf/sm8150 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/qcom/opensource/dataservices ============================================ $(shell source /etc/os-release; echo $PRETTY_NAME) was changed, regenerating... Environment variable BUILD_HOSTNAME was modified (ARCH => rom.ARCH), regenerating... [100% 189/189] writing build rules ... out/soong/installs-lineage_hotdog.mk:176913: warning: overriding commands for target `out/target/product/hotdog/vendor/bin/hw/android.hardware.sensors@2.0-service.multihal' out/soong/installs-lineage_hotdog.mk:40434: warning: ignoring old commands for target `out/target/product/hotdog/vendor/bin/hw/android.hardware.sensors@2.0-service.multihal' build/make/core/base_rules.mk:579: warning: overriding commands for target `out/target/product/hotdog/vendor/etc/vintf/manifest/android.hardware.sensors@2.0-multihal.xml' build/make/core/base_rules.mk:579: warning: ignoring old commands for target `out/target/product/hotdog/vendor/etc/vintf/manifest/android.hardware.sensors@2.0-multihal.xml' build/make/core/base_rules.mk:611: warning: overriding commands for target `out/target/product/hotdog/vendor/etc/init/android.hardware.sensors@2.0-service-multihal.rc' build/make/core/base_rules.mk:611: warning: ignoring old commands for target `out/target/product/hotdog/vendor/etc/init/android.hardware.sensors@2.0-service-multihal.rc' build/make/core/soong_cc_rust_prebuilt.mk:187: warning: overriding commands for target `out/target/product/hotdog/symbols/vendor/bin/hw/android.hardware.sensors@2.0-service.multihal' build/make/core/soong_cc_rust_prebuilt.mk:187: warning: ignoring old commands for target `out/target/product/hotdog/symbols/vendor/bin/hw/android.hardware.sensors@2.0-service.multihal' build/make/core/Makefile:72: warning: overriding commands for target `out/target/product/hotdog/vendor/lib64/libbatterylistener.so' build/make/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/hotdog/vendor/lib64/libbatterylistener.so' build/make/core/Makefile:72: warning: overriding commands for target `out/target/product/hotdog/vendor/lib/liba2dpoffload.so' build/make/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/hotdog/vendor/lib/liba2dpoffload.so' build/make/core/Makefile:72: warning: overriding commands for target `out/target/product/hotdog/vendor/lib/libbatterylistener.so' build/make/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/hotdog/vendor/lib/libbatterylistener.so' [ 0% 548/114166] //bootable/recovery/applypatch:imgdiff link imgdiff [linux_glibc] FAILED: out/soong/.intermediates/bootable/recovery/applypatch/imgdiff/linux_glibc_x86_64/imgdiff prebuilts/clang/host/linux-x86/clang-r450784d/bin/clang++ @out/soong/.intermediates/bootable/recovery/applypatch/imgdiff/linux_glibc_x86_64/imgdiff.rsp out/soong/.intermediates/bootable/recovery/applypatch/libimgdiff/linux_glibc_x86_64_static/libimgdiff.a out/soong/.intermediates/bootable/recovery/otautil/libotautil/linux_glibc_x86_64_static/libotautil.a out/soong/.intermediates/external/bsdiff/libbsdiff/linux_glibc_x86_64_static/libbsdiff.a out/soong/.intermediates/external/libdivsufsort/libdivsufsort/linux_glibc_x86_64_static/libdivsufsort.a out/soong/.intermediates/external/libdivsufsort/libdivsufsort64/linux_glibc_x86_64_static/libdivsufsort64.a out/soong/.intermediates/system/libziparchive/libziparchive/linux_glibc_x86_64_static/libziparchive.a out/soong/.intermediates/system/core/libutils/libutils/linux_glibc_x86_64_static/libutils.a out/soong/.intermediates/system/libbase/libbase/linux_glibc_x86_64_static/libbase.a out/soong/.intermediates/system/logging/liblog/liblog/linux_glibc_x86_64_static/liblog.a out/soong/.intermediates/external/brotli/libbrotli/linux_glibc_x86_64_static/libbrotli.a out/soong/.intermediates/external/bzip2/libbz/linux_glibc_x86_64_static/libbz.a out/soong/.intermediates/external/zlib/libz_stable/linux_glibc_x86_64_static/libz_stable.a prebuilts/clang/host/linux-x86/clang-r450784d/lib64/clang/14.0.6/lib/linux/libclang_rt.ubsan_minimal-x86_64.a prebuilts/clang/host/linux-x86/clang-r450784d/lib64/clang/14.0.6/lib/linux/libclang_rt.builtins-x86_64.a out/soong/.intermediates/external/libcxx/libc++/linux_glibc_x86_64_shared/libc++.so -o out/soong/.intermediates/bootable/recovery/applypatch/imgdiff/linux_glibc_x86_64/imgdiff -target x86_64-linux-gnu -fuse-ld=lld -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined-version --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8 -m64 -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/lib/gcc/x86_64-linux/4.8.3 -Lprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/lib/gcc/x86_64-linux/4.8.3 -Lprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/lib64 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -ldl -lpthread -lm -lrt -Wl,--exclude-libs=libclang_rt.builtins.a -Wl,-rpath,\$ORIGIN/../lib64 -Wl,-rpath,\$ORIGIN/lib64 -pie -Wl,--exclude-libs,libclang_rt.ubsan_minimal.a -nostdlib++ ld.lld: error: undefined symbol: divsufsort64 >>> referenced by suffix_array_index.cc:24 (external/bsdiff/suffix_array_index.cc:24) >>> suffix_array_index.o:(bsdiff::SuffixArrayIndex::Init(unsigned char const*, unsigned long)) in archive out/soong/.intermediates/external/bsdiff/libbsdiff/linux_glibc_x86_64_static/libbsdiff.a ld.lld: error: undefined symbol: divsufsort >>> referenced by suffix_array_index.cc:21 (external/bsdiff/suffix_array_index.cc:21) >>> suffix_array_index.o:(bsdiff::SuffixArrayIndex::Init(unsigned char const*, unsigned long)) in archive out/soong/.intermediates/external/bsdiff/libbsdiff/linux_glibc_x86_64_static/libbsdiff.a ld.lld: error: undefined symbol: sa_search64 >>> referenced by suffix_array_index.cc:43 (external/bsdiff/suffix_array_index.cc:43) >>> suffix_array_index.o:(bsdiff::SuffixArrayIndex::SearchPrefix(unsigned char const*, unsigned long, unsigned long*, unsigned long*) const) in archive out/soong/.intermediates/external/bsdiff/libbsdiff/linux_glibc_x86_64_static/libbsdiff.a ld.lld: error: undefined symbol: sa_search >>> referenced by suffix_array_index.cc:34 (external/bsdiff/suffix_array_index.cc:34) >>> suffix_array_index.o:(bsdiff::SuffixArrayIndex::SearchPrefix(unsigned char const*, unsigned long, unsigned long*, unsigned long*) const) in archive out/soong/.intermediates/external/bsdiff/libbsdiff/linux_glibc_x86_64_static/libbsdiff.a clang-14: error: linker command failed with exit code 1 (use -v to see invocation) [ 0% 550/114166] //dalvik/tools/hprof-conv:hprof-conv clang HprofConv.c [linux_glibc] dalvik/tools/hprof-conv/HprofConv.c:666:22: warning: variable 'timestamp' set but not used [-Wunused-but-set-variable] unsigned int timestamp, length; ^ 1 warning generated. 14:38:00 ninja failed with: exit status 1 #### failed to build some targets (02:06 (mm:ss)) ####