my first test build android 9 Pie for meizu m6 note(bicot, named for it *-*) , almost clone/fork edit from xiaomi mi a1. I just recognized i cant, android v9 need kernel 4.4.107 or higher(wrong) :(. So i will try to build lower ver - 14.1. Hope everything be okeyyy. Have a nice dayyy
[ 12% 1399/10955] /bin/bash -c "(mkdir -p /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/ && rm -f /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes.tmp && touch /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes.tmp ) && (echo \" \" >>/home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes.tmp ) && (for f in ; do cat \$f >> /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes.tmp; done ) && (if cmp -s /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes.tmp /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes ; then rm /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes.tmp ; else mv /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes.tmp /home/thanhdatpd/lineage/out/target/product/bicot/obj_arm/SHARED_LIBRARIES/libdl.ndk.current_intermediates/export_includes ; fi )" [ 12% 1400/10955] /bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang++ -I device/meizu/bicot/include -I system/core/adb -I /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libadbd_intermediates -I /home/thanhdatpd/lineage/out/target/product/bicot/gen/STATIC_LIBRARIES/libadbd_intermediates -I libnativehelper/include_jni \$(cat /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libadbd_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/thanhdatpd/lineage/out/target/product/bicot/obj/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -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= -D__compiler_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 -march=armv8-a -mcpu=kryo -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++14 -fno-rtti -frtti -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -DADB_VERSION=\"\\"28.0.0 rc1-\$(cat /home/thanhdatpd/lineage/out/build_number.txt)\\"\" -fvisibility=hidden -DADB_HOST=0 -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libadbd_intermediates/adb.d -o /home/thanhdatpd/lineage/out/target/product/bicot/obj/STATIC_LIBRARIES/libadbd_intermediates/adb.o system/core/adb/adb.cpp" ninja: build stopped: subcommand failed. 11:09:19 ninja failed with: exit status 1