@robertr1229
FAILED: /bin/bash -c "halium/halium-boot/get-initrd.sh arm /home/ubuntu/halium/out/target/product/cancro/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz"
Downloading https://github.com.cnpmjs.org/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-armhf
E
Posts
-
RE: help me "mka halium-boot" error
-
RE: help me "mka halium-boot" error
@robertr1229 You've started making halium 10. Teach me!
-
RE: help me "mka halium-boot" error
I have solved this problem. I forgot the specific steps. You try:
Configure jack Jack is the currently used Java toolchain for building LineageOS 14.1 and 15.1. It is known to run out of memory often if not configured correctly - a simple fix is to run this command: export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
-
RE: help me to "mka systemimage"
@keneda
sudo apt-get install python
python -V
Python 2.7.18
now is no problem! -
RE: help me to "mka systemimage"
@keneda
I modified a file,(~/halium/vendor/xiaomi/cancro/Android.mk) and now the error information is as follows[ 32% 5112/15525] Generated: (/home/ub...arget/product/cancro/android-info.txt) FAILED: /bin/bash -c "(build/tools/check_radio_versions.py device/xiaomi/cancro/board-info.txt ) && (grep -v '#' device/xiaomi/cancro/board-info.txt > /home/ubuntu/halium/out/target/product/cancro/android-info.txt )" File "build/tools/check_radio_versions.py", line 56 print "*** Error opening \"%s.sha1\"; can't verify %s" % (fn, key) ^ SyntaxError: invalid syntax [ 32% 5112/15525] host C: libsepol <= ...nal/selinux/libsepol/src/conditional.c ninja: build stopped: subcommand failed. make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1 make: 离开目录“/home/ubuntu/halium”
-
RE: help me to "mka systemimage"
@keneda I have checked this file “proprietary-files.txt”
-
RE: help me to "mka systemimage"
@keneda I just copied this file, and now the error information is as follows
Running kati to generate build-lineage_cancro.ninja... No need to regenerate ninja file Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/ubuntu/halium/out/host/linux-x86/framework/signapk.jar', needed by '/home/ubuntu/halium/out/target/product/cancro/obj/APPS/TimeService_intermediates/package.apk', missing and no known rule to make it make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1 make: 离开目录“/home/ubuntu/halium”
-
RE: help me to "mka systemimage"
@keneda
yes ,this is xiaomi4. I don't know do it ,help ,help me -
help me to "mka systemimage"
ubuntu@ubuntu-virtual-machine:~/halium$ mka systemimage make: 进入目录“/home/ubuntu/halium” ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 LINEAGE_VERSION=14.1-20220219-UNOFFICIAL-cancro TARGET_PRODUCT=lineage_cancro TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=krait TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.13.0-28-generic-x86_64-with-glibc2.29 HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=NOF27B OUT_DIR=/home/ubuntu/halium/out ============================================ Running kati to generate build-lineage_cancro.ninja... No need to regenerate ninja file Starting build with ninja ninja: Entering directory `.' ninja: error: 'vendor/xiaomi/cancro/proprietary/app/TimeService/TimeService.apk', needed by '/home/ubuntu/halium/out/target/product/cancro/obj/APPS/TimeService_intermediates/package.apk', missing and no known rule to make it make: *** [build/core/ninja.mk:152:ninja_wrapper] 错误 1 make: 离开目录“/home/ubuntu/halium”
-
help me "mka halium-boot" error
first ,i'm sorry ,I know a little English,
My operation steps are as follows:
Ubuntu (20.04 or newer)
My host PC has a 64-bit architecture (amd64), enable the usage of the i386 architecture:sudo dpkg --add-architecture i386 sudo apt update sudo apt install git gnupg flex bison gperf build-essential \ zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ libgl1-mesa-dev g++-multilib mingw-w64-i686-dev tofrodos \ python3-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool \ liblz4-tool bc lzop imagemagick libncurses5 rsync \ python-is-python3 mkdir -p ~/bin echo export PATH=\$PATH:\$HOME/bin >> ~/.bashrc source ~/.bashrc curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+rx ~/bin/repo mkdir halium && cd halium repo init -u https://github.com/Halium/android -b halium-7.1 --depth=1 repo sync -c -j 16 ./halium/devices/setup cancro sudo apt-get install -y python-is-python2 source build/envsetup.sh breakfast cancro ./halium/halium-boot/check-kernel-config /home/ubuntu/halium/kernel/xiaomi/cancro/arch/arm/configs/lineageos_cancro_defconfig -w export USE_HOST_LEX=yes mka mkbootimg **An error occurred during execution to this point** mka halium-boot make: Entering directory '/home/ubuntu/halium' ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 LINEAGE_VERSION=14.1-20220209-UNOFFICIAL-cancro TARGET_PRODUCT=lineage_cancro TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=krait TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.13.0-28-generic-x86_64-with-Ubuntu-20.04-focal HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=NOF27B OUT_DIR=/home/ubuntu/halium/out ============================================ Running kati to generate build-lineage_cancro.ninja... Environment variable PATH was modified (/usr/lib/jvm/java-8-openjdk-amd64/bin:/home/ubuntu/halium/out/host/linux-x86/bin:/home/ubuntu/halium/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/ubuntu/halium/prebuilts/gcc/linux-x86/:/home/ubuntu/halium/development/scripts:/home/ubuntu/halium/prebuilts/devtools/tools:/home/ubuntu/halium/external/selinux/prebuilts/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/bin => /usr/lib/jvm/java-8-openjdk-amd64/bin:/home/ubuntu/halium/out/host/linux-x86/bin:/home/ubuntu/halium/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/ubuntu/halium/prebuilts/gcc/linux-x86/:/home/ubuntu/halium/development/scripts:/home/ubuntu/halium/prebuilts/devtools/tools:/home/ubuntu/halium/external/selinux/prebuilts/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/bin:/home/ubuntu/bin), regenerating... ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 LINEAGE_VERSION=14.1-20220209-UNOFFICIAL-cancro TARGET_PRODUCT=lineage_cancro TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=krait TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.13.0-28-generic-x86_64-with-Ubuntu-20.04-focal HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=NOF27B OUT_DIR=/home/ubuntu/halium/out ============================================ frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0 halium/hybris-boot/Android.mk:69: ********************* /boot appears to live on /dev/block/platform/msm_sdcc.1/by-name/boot halium/hybris-boot/Android.mk:70: ********************* /data appears to live on /dev/block/platform/msm_sdcc.1/by-name/userdata No private recovery resources for TARGET_DEVICE cancro build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/bin/wcnss_service' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/bin/wcnss_service' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b00' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b00' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b01' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b01' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b02' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b02' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b04' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b04' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b06' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b06' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b07' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b07' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b08' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b08' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b09' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.b09' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.mdt' device/xiaomi/cancro/Android.mk:43: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/etc/firmware/wcnss.mdt' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/lib/libOmxVenc.so' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/lib/libOmxVenc.so' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/lib/libc2dcolorconvert.so' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/lib/libc2dcolorconvert.so' build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/halium/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/ubuntu/halium/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' Starting build with ninja ninja: Entering directory `.' [ 30% 3/10] Building Kernel Config make: Entering directory '/home/ubuntu/halium/kernel/xiaomi/cancro' GEN /home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ/Makefile # # configuration written to .config # make: Leaving directory '/home/ubuntu/halium/kernel/xiaomi/cancro' make: Entering directory '/home/ubuntu/halium/kernel/xiaomi/cancro' GEN /home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --savedefconfig=defconfig Kconfig make: Leaving directory '/home/ubuntu/halium/kernel/xiaomi/cancro' [ 40% 4/10] Building Kernel Headers make: Entering directory '/home/ubuntu/halium/kernel/xiaomi/cancro' GEN /home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ/Makefile # # configuration written to .config # make: Leaving directory '/home/ubuntu/halium/kernel/xiaomi/cancro' make: Entering directory '/home/ubuntu/halium/kernel/xiaomi/cancro' CHK include/linux/version.h make: Leaving directory '/home/ubuntu/halium/kernel/xiaomi/cancro' [ 50% 5/10] Building Kernel FAILED: /bin/bash -c "(make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/cancro O=/home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androideabi-\" zImage ) && (if grep -q '^CONFIG_OF=y' /home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/cancro O=/home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androideabi-\" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/cancro O=/home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androideabi-\" modules; fi )" make: Entering directory '/home/ubuntu/halium/kernel/xiaomi/cancro' GEN /home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --silentoldconfig Kconfig GEN /home/ubuntu/halium/out/target/product/cancro/obj/KERNEL_OBJ/Makefile CHK include/linux/version.h Using /home/ubuntu/halium/kernel/xiaomi/cancro as source for kernel CHK include/generated/utsrelease.h make[2]: 'include/generated/mach-types.h' is up to date. CALL /home/ubuntu/halium/kernel/xiaomi/cancro/scripts/checksyscalls.sh CHK include/generated/compile.h CC init/do_mounts.o CC mm/filemap.o BC kernel/timeconst.h CC kernel/sysctl.o In file included from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/sock.h:67:0, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/tcp.h:212, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/ipv6.h:229, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/ipv6.h:16, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/sunrpc/clnt.h:26, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/nfs_fs.h:57, from /home/ubuntu/halium/kernel/xiaomi/cancro/init/do_mounts.c:20: /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h: In function 'dst_hold': /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h:244:2: error: size of unnamed array is negative BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); ^ CC arch/arm/mach-msm/ipc_router_smd_xprt.o make[2]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/scripts/Makefile.build:307: init/do_mounts.o] Error 1 make[1]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/Makefile:952: init] Error 2 make[1]: *** Waiting for unfinished jobs.... CC arch/arm/mach-msm/ipc_router.o In file included from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/sock.h:67:0, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/tcp.h:212, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/ipv6.h:229, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/ipv6.h:16, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/sunrpc/clnt.h:26, from /home/ubuntu/halium/kernel/xiaomi/cancro/include/linux/nfs_fs.h:57, from /home/ubuntu/halium/kernel/xiaomi/cancro/kernel/sysctl.c:52: /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h: In function 'dst_hold': /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h:244:2: error: size of unnamed array is negative BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); ^ make[2]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/scripts/Makefile.build:307: kernel/sysctl.o] Error 1 make[1]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/Makefile:952: kernel] Error 2 CC arch/arm/mach-msm/ipc_socket.o In file included from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/sock.h:67:0, from /home/ubuntu/halium/kernel/xiaomi/cancro/arch/arm/mach-msm/ipc_router.h:24, from /home/ubuntu/halium/kernel/xiaomi/cancro/arch/arm/mach-msm/ipc_router_smd_xprt.c:25: /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h: In function 'dst_hold': /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h:244:2: error: size of unnamed array is negative BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); ^ In file included from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/sock.h:67:0, from /home/ubuntu/halium/kernel/xiaomi/cancro/arch/arm/mach-msm/ipc_router.h:24, from /home/ubuntu/halium/kernel/xiaomi/cancro/arch/arm/mach-msm/ipc_router.c:39: /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h: In function 'dst_hold': /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h:244:2: error: size of unnamed array is negative BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); ^ make[2]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/scripts/Makefile.build:307: arch/arm/mach-msm/ipc_router_smd_xprt.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC mm/mempool.o make[2]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/scripts/Makefile.build:307: arch/arm/mach-msm/ipc_router.o] Error 1 CC mm/oom_kill.o In file included from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/sock.h:67:0, from /home/ubuntu/halium/kernel/xiaomi/cancro/arch/arm/mach-msm/ipc_socket.c:30: /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h: In function 'dst_hold': /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h:244:2: error: size of unnamed array is negative BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); ^ make[2]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/scripts/Makefile.build:307: arch/arm/mach-msm/ipc_socket.o] Error 1 make[1]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/Makefile:952: arch/arm/mach-msm] Error 2 CC mm/fadvise.o CC mm/maccess.o CC mm/page_alloc.o CC mm/page-writeback.o CC mm/readahead.o CC mm/swap.o CC mm/truncate.o CC mm/vmscan.o CC mm/shmem.o CC mm/prio_tree.o CC mm/util.o CC mm/mmzone.o CC mm/vmstat.o CC mm/backing-dev.o CC mm/page_isolation.o CC mm/mm_init.o CC mm/mmu_context.o CC mm/percpu.o CC mm/compaction.o CC mm/fremap.o CC mm/highmem.o CC mm/madvise.o CC mm/memory.o CC mm/mincore.o CC mm/mlock.o CC mm/mmap.o CC mm/mprotect.o CC mm/mremap.o CC mm/msync.o CC mm/rmap.o CC mm/vmalloc.o CC mm/pagewalk.o CC mm/pgtable-generic.o CC mm/process_vm_access.o CC mm/init-mm.o CC mm/bootmem.o CC mm/memblock.o CC mm/bounce.o CC mm/page_io.o CC mm/swap_state.o CC mm/swapfile.o CC mm/dmapool.o CC mm/ksm.o CC mm/slub.o CC mm/migrate.o CC mm/memcontrol.o CC mm/page_cgroup.o In file included from /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/sock.h:67:0, from /home/ubuntu/halium/kernel/xiaomi/cancro/mm/memcontrol.c:53: /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h: In function 'dst_hold': /home/ubuntu/halium/kernel/xiaomi/cancro/include/net/dst.h:244:2: error: size of unnamed array is negative BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); ^ make[2]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/scripts/Makefile.build:307: mm/memcontrol.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/home/ubuntu/halium/kernel/xiaomi/cancro/Makefile:952: mm] Error 2 make: *** [Makefile:130: sub-make] Error 2 make: Leaving directory '/home/ubuntu/halium/kernel/xiaomi/cancro' [ 50% 5/10] Downloading initramfs to :...boot_intermediates/halium-initramfs.gz FAILED: /bin/bash -c "halium/halium-boot/get-initrd.sh arm /home/ubuntu/halium/out/target/product/cancro/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz" Downloading https://github.com.cnpmjs.org/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-armhf ninja: build stopped: subcommand failed. make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1 make: Leaving directory '/home/ubuntu/halium'