error in mka halium-boot
-
Dear ALL I am building ubuntu touch using halium 9 I am getting error in mka halium-boot,
aashish@ubuntu:~/halium$ mka halium-boot ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=9 LINEAGE_VERSION=16.0-20230302-UNOFFICIAL-j7elte TARGET_PRODUCT=lineage_j7elte TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=cortex-a53 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.15.0-60-generic-x86_64-Ubuntu-20.04.5-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=PQ3A.190801.002 OUT_DIR=/home/aashish/halium/out ============================================ ninja: no work to do. ninja: no work to do. wildcard(/home/aashish/halium/out/target/product/j7elte/clean_steps.mk) was changed, regenerating... $(file </home/aashish/halium/out/build_number.txt) was changed, regenerating... [236/459] including halium/libhybris/compat/camera/Android.mk ... cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory [239/459] including halium/libhybris/compat/media/Android.mk ... cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory [459/459] including vendor/samsung/universal7580-common/Android.mk ... art/build/Android.gtest.mk:98: warning: overriding commands for target `Stripped' art/build/Android.gtest.mk:94: warning: ignoring old commands for target `Stripped' art/build/Android.gtest.mk:107: warning: overriding commands for target `Uncompressed' art/build/Android.gtest.mk:102: warning: ignoring old commands for target `Uncompressed' art/build/Android.gtest.mk:117: warning: overriding commands for target `EmptyUncompressed' art/build/Android.gtest.mk:112: warning: ignoring old commands for target `EmptyUncompressed' art/build/Android.gtest.mk:122: warning: overriding commands for target `Uncompressed' art/build/Android.gtest.mk:107: warning: ignoring old commands for target `Uncompressed' art/build/Android.gtest.mk:127: warning: overriding commands for target `Uncompressed' art/build/Android.gtest.mk:122: warning: ignoring old commands for target `Uncompressed' frameworks/base/Android.mk:685: warning: overriding commands for target `/home/aashish/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:649: warning: ignoring old commands for target `/home/aashish/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:729: warning: overriding commands for target `/home/aashish/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:685: warning: ignoring old commands for target `/home/aashish/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html' frameworks/base/Android.mk:734: warning: overriding commands for target `/home/aashish/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties' frameworks/base/Android.mk:690: warning: ignoring old commands for target `/home/aashish/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties' libcore/JavaLibrary.mk:160: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/obj/SHARED_LIBRARIES/libOMX.Exynos.VP9.Decoder_intermediates/.jar' libcore/JavaLibrary.mk:145: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/obj/SHARED_LIBRARIES/libOMX.Exynos.VP9.Decoder_intermediates/.jar' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/etc/init/rild.legacy.rc' build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/etc/init/rild.legacy.rc' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/etc/init/android.hardware.media.omx@1.0-service.rc' build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/etc/init/android.hardware.media.omx@1.0-service.rc' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/etc/init/mediaserver.rc' build/make/core/base_rules.mk:426: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/etc/init/mediaserver.rc' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/libhwjpeg.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/libhwjpeg.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.AVC.Decoder.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.AVC.Decoder.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.AVC.Encoder.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.AVC.Encoder.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.MPEG4.Decoder.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.MPEG4.Decoder.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.MPEG4.Encoder.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.MPEG4.Encoder.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.VP8.Decoder.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.VP8.Decoder.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.VP8.Encoder.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.VP8.Encoder.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.WMV.Decoder.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/lib/omx/libOMX.Exynos.WMV.Decoder.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/lib/egl/libGLES_mali.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/lib/egl/libGLES_mali.so' build/make/core/Makefile:28: warning: overriding commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/aashish/halium/out/target/product/j7elte/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' [ 41% 59/142] Downloading initramfs to : /home/aashish/halium/out/target/product/j7elte/obj/ROOT/halium-boot_intermediates/halium-initramfs.gz Downloading https://github.com/halium/initramfs-tools-halium/releases/download/continuous/initrd.img-touch-armhf [ 53% 76/142] Building Kernel Config make: Entering directory '/home/aashish/halium/kernel/samsung/universal7580' GEN /home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ/Makefile HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf arch/arm64/configs/lineageos_j7elte_defconfig:3849:warning: override: reassigning to symbol DEFAULT_SECURITY arch/arm64/configs/lineageos_j7elte_defconfig:4047:warning: override: reassigning to symbol DEFAULT_SECURITY # # configuration written to .config # make: Leaving directory '/home/aashish/halium/kernel/samsung/universal7580' make: Entering directory '/home/aashish/halium/kernel/samsung/universal7580' GEN /home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --savedefconfig=defconfig Kconfig make: Leaving directory '/home/aashish/halium/kernel/samsung/universal7580' [ 96% 137/142] Building Kernel FAILED: TARGET_KERNEL_BINARIES /bin/bash -c "(make -j2 -j\$(nproc) CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/universal7580 O=/home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" /home/aashish/halium/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" Image ) && (if grep -q '^CONFIG_OF=y' /home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j2 -j\$(nproc) CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/universal7580 O=/home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" /home/aashish/halium/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" dtbs; fi ) && (if grep -q '=m' /home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j2 -j\$(nproc) CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/universal7580 O=/home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\" /home/aashish/halium/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" modules; fi )" make: Entering directory '/home/aashish/halium/kernel/samsung/universal7580' GEN /home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --silentoldconfig Kconfig INFO: CC is /home/aashish/halium/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-gcc GEN /home/aashish/halium/out/target/product/j7elte/obj/KERNEL_OBJ/Makefile WRAP arch/arm64/include/generated/asm/bug.h c_is_eeprom_i2c@10 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (reg_format): Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c@10/fimc_is_eeprom_i2c@10 Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c@10/fimc_is_eeprom_i2c@10 "reg" property in /i2c@10/fimc_is_eeprom_i2c@10 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c@10/fimc_is_eeprom_i2c@10 Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c@10/fimc_is_eeprom_i2c@10 Warning (reg_format): "reg" property in /i2c@10/fimc_is_eeprom_i2c@10 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c@10/fimc_is_eeprom_i2c@10 Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c@10/fimc_is_eeprom_i2c@10 CC init/main.o CHK include/generated/compile.h HOSTCC usr/gen_init_cpio CC arch/arm64/kernel/swp_emulate.o GEN usr/initramfs_data.cpio AS usr/initramfs_data.o LDS arch/arm64/kernel/vdso/vdso.lds LD usr/built-in.o VDSOA arch/arm64/kernel/vdso/gettimeofday.o AS arch/arm64/kernel/head.o VDSOA arch/arm64/kernel/vdso/note.o VDSOA arch/arm64/kernel/vdso/sigreturn.o LDS arch/arm64/kernel/vmlinux.lds VDSOL arch/arm64/kernel/vdso/vdso.so.dbg CC init/do_mounts.o CC init/do_mounts_rd.o OBJCOPY arch/arm64/kernel/vdso/vdso.so VDSOSYM arch/arm64/kernel/vdso/vdso-offsets.h AS arch/arm64/kernel/vdso/vdso.o LD arch/arm64/kernel/vdso/built-in.o CC arch/arm64/kernel/cputable.o CC arch/arm64/kernel/debug-monitors.o CC init/do_mounts_initrd.o UPD include/generated/compile.h CC init/initramfs.o AS arch/arm64/kernel/entry.o CC init/calibrate.o CC arch/arm64/kernel/irq.o CC init/init_task.o CC arch/arm64/kernel/fpsimd.o CC init/version.o LD init/mounts.o AS arch/arm64/kernel/entry-fpsimd.o CC arch/arm64/kernel/process.o CC arch/arm64/kernel/ptrace.o CC arch/arm64/kernel/setup.o LD init/built-in.o CC arch/arm64/mm/dma-mapping.o CC arch/arm64/kernel/signal.o CC arch/arm64/mm/extable.o CC arch/arm64/kernel/sys.o CC arch/arm64/mm/fault.o CC arch/arm64/kernel/stacktrace.o CC arch/arm64/kernel/time.o CC arch/arm64/kernel/traps.o CC arch/arm64/kernel/io.o CC arch/arm64/kernel/vdso.o CC arch/arm64/mm/init.o AS arch/arm64/kernel/hyp-stub.o CC arch/arm64/kernel/psci.o CC arch/arm64/kernel/cpu_ops.o CC arch/arm64/kernel/insn.o CC arch/arm64/kernel/return_address.o AS arch/arm64/mm/cache.o CC arch/arm64/kernel/opcodes.o CC arch/arm64/mm/copypage.o AS arch/arm64/kernel/sys32.o CC arch/arm64/mm/flush.o CC arch/arm64/mm/ioremap.o AS arch/arm64/kernel/kuser32.o CC arch/arm64/kernel/signal32.o CC arch/arm64/kernel/sys_compat.o CC arch/arm64/mm/iomap.o CC arch/arm64/mm/mmap.o CC arch/arm64/kernel/smp.o CC arch/arm64/kernel/smp_spin_table.o CC arch/arm64/mm/pgd.o CC arch/arm64/crypto/aes-glue-ce.o CC arch/arm64/mm/mmu.o CC arch/arm64/mm/context.o AS arch/arm64/crypto/aes-ce.o CC arch/arm64/kernel/topology.o CC arch/arm64/crypto/sha1-ce-glue.o AS arch/arm64/crypto/sha1-ce-core.o AS arch/arm64/mm/tlb.o CC arch/arm64/crypto/sha2-ce-glue.o AS arch/arm64/mm/proc.o LD arch/arm64/mm/built-in.o AS arch/arm64/crypto/sha2-ce-core.o CC arch/arm64/kernel/perf_regs.o CC arch/arm64/kernel/perf_event.o CC arch/arm64/kernel/hw_breakpoint.o CC arch/arm64/crypto/aes-ce-cipher.o LD arch/arm64/crypto/aes-ce-blk.o CC arch/arm64/kernel/early_printk.o LD arch/arm64/crypto/sha1-ce.o LD arch/arm64/crypto/sha2-ce.o LD arch/arm64/crypto/built-in.o AS arch/arm64/kernel/sleep.o CC arch/arm64/mach-exynos/common.o CC arch/arm64/plat-samsung/init.o CC arch/arm64/plat-samsung/cpu.o CC arch/arm64/kernel/suspend.o CC kernel/fork.o CC arch/arm64/mach-exynos/pm_domains-exynos7580.o LD arch/arm64/plat-samsung/built-in.o CC arch/arm64/mach-exynos/exynos-pm.o AS arch/arm64/kernel/exynos-smc.o LD arch/arm64/kernel/built-in.o CC mm/filemap.o CC arch/arm64/mach-exynos/pm_domains.o CC arch/arm64/mach-exynos/pm_domains_sysfs.o CC arch/arm64/mach-exynos/pmu.o CC fs/open.o CC arch/arm64/mach-exynos/pmu_cal_sys.o CC arch/arm64/mach-exynos/exynos-powermode-smp.o CC kernel/exec_domain.o CC arch/arm64/mach-exynos/pm.o CC kernel/panic.o CC fs/read_write.o CC mm/mempool.o CC arch/arm64/mach-exynos/pmu_cal_sys_exynos7580.o CC kernel/printk.o CC mm/oom_kill.o CC arch/arm64/mach-exynos/pmu-cp.o CC fs/file_table.o CC mm/fadvise.o CC arch/arm64/mach-exynos/asv-exynos.o CC fs/super.o CC arch/arm64/mach-exynos/asv-exynos_cal.o CC mm/maccess.o CC mm/page_alloc.o CC arch/arm64/mach-exynos/mach-universal7580.o CC kernel/cpu.o CC arch/arm64/mach-exynos/asv-exynos7580_cal.o CC fs/char_dev.o CC arch/arm64/mach-exynos/setup-fimc-is.o CC kernel/exit.o CC fs/stat.o CC arch/arm64/mach-exynos/setup-fimc-is-sensor.o CC fs/exec.o CC arch/arm64/mach-exynos/setup-fimc-is-module.o CC kernel/itimer.o CC arch/arm64/mach-exynos/setup-exynos5-mipiphy.o CC arch/arm64/mach-exynos/secmem.o CC mm/page-writeback.o HZFILE kernel/hz.bc CC kernel/softirq.o CC fs/pipe.o LD arch/arm64/mach-exynos/built-in.o CC fs/namei.o CC kernel/resource.o CC fs/fcntl.o CC mm/readahead.o CC kernel/sysctl.o CC ipc/compat.o CC mm/swap.o CC ipc/util.o CC kernel/sysctl_binary.o CC mm/truncate.o CC fs/ioctl.o CC ipc/msgutil.o CC fs/readdir.o CC mm/vmscan.o CC kernel/capability.o CC ipc/msg.o CC fs/select.o CC kernel/ptrace.o CC ipc/sem.o CC fs/dcache.o CC kernel/timer.o CC ipc/shm.o CC mm/shmem.o CC ipc/ipcns_notifier.o CC fs/inode.o CC kernel/user.o CC ipc/syscall.o CC ipc/ipc_sysctl.o CC kernel/signal.o CC ipc/namespace.o LD ipc/built-in.o CC fs/attr.o CC mm/util.o CC mm/mmzone.o CC fs/bad_inode.o CC fs/file.o CC mm/vmstat.o CC mm/backing-dev.o CC fs/filesystems.o CC kernel/sys.o CC fs/namespace.o CC mm/mm_init.o CC mm/mmu_context.o CC fs/seq_file.o CC mm/percpu.o CC mm/slab_common.o CC kernel/kmod.o CC fs/xattr.o CC mm/compaction.o CC fs/libfs.o CC kernel/workqueue.o CC fs/fs-writeback.o CC kernel/pid.o CC mm/balloon_compaction.o CC mm/vmacache.o CC mm/interval_tree.o CC fs/pnode.o CC mm/fremap.o CC fs/splice.o CC mm/highmem.o CC kernel/task_work.o CC mm/madvise.o CC kernel/rcupdate.o CC kernel/extable.o CC mm/memory.o CC kernel/params.o CC mm/mincore.o CC fs/sync.o CC fs/utimes.o CC kernel/posix-timers.o CC mm/mlock.o CC fs/stack.o CC fs/fs_struct.o CC fs/statfs.o CC kernel/kthread.o CC fs/buffer.o CC mm/mmap.o CC fs/bio.o CC kernel/wait.o In file included from /home/aashish/halium/kernel/samsung/universal7580/mm/mmap.c:48:0: /home/aashish/halium/kernel/samsung/universal7580/mm/../fs/sdcardfs/sdcardfs.h: In function 'prepare_dir': /home/aashish/halium/kernel/samsung/universal7580/mm/../fs/sdcardfs/sdcardfs.h:555:15: error: incompatible types when assigning to type 'kuid_t' from type 'uid_t' attrs.ia_uid = uid; ^ /home/aashish/halium/kernel/samsung/universal7580/mm/../fs/sdcardfs/sdcardfs.h:556:15: error: incompatible types when assigning to type 'kgid_t' from type 'gid_t' attrs.ia_gid = gid; ^ /home/aashish/halium/kernel/samsung/universal7580/mm/../fs/sdcardfs/sdcardfs.h: In function 'sdcardfs_copy_and_fix_attrs': /home/aashish/halium/kernel/samsung/universal7580/mm/../fs/sdcardfs/sdcardfs.h:626:14: error: incompatible types when assigning to type 'kuid_t' from type 'uid_t' dest->i_uid = SDCARDFS_I(dest)->data->d_uid; ^ /home/aashish/halium/kernel/samsung/universal7580/mm/../fs/sdcardfs/sdcardfs.h:627:14: error: incompatible types when assigning to type 'kgid_t' from type 'int' dest->i_gid = AID_SDCARD_RW; ^ make[2]: *** [/home/aashish/halium/kernel/samsung/universal7580/scripts/Makefile.build:308: mm/mmap.o] Error 1 make[1]: *** [/home/aashish/halium/kernel/samsung/universal7580/Makefile:825: mm] Error 2 make[1]: *** Waiting for unfinished jobs.... CC fs/block_dev.o CC kernel/sys_ni.o CC kernel/posix-cpu-timers.o CC fs/direct-io.o CC fs/mpage.o CC kernel/mutex.o CC fs/ioprio.o CC fs/proc_namespace.o CC kernel/hrtimer.o CC fs/autofs4/init.o CC fs/configfs/inode.o CC fs/configfs/file.o CC fs/autofs4/inode.o CC fs/configfs/dir.o CC kernel/rwsem.o CC fs/configfs/symlink.o CC fs/autofs4/root.o CC kernel/nsproxy.o CC kernel/srcu.o CC fs/configfs/mount.o CC fs/autofs4/symlink.o CC kernel/semaphore.o CC fs/configfs/item.o CC fs/autofs4/waitq.o CC fs/autofs4/expire.o LD fs/configfs/configfs.o CC kernel/notifier.o LD fs/configfs/built-in.o CC fs/cramfs/inode.o CC fs/autofs4/dev-ioctl.o CC kernel/ksysfs.o CC kernel/cred.o CC fs/cramfs/uncompress.o CC kernel/async.o LD fs/cramfs/cramfs.o LD fs/cramfs/built-in.o CC fs/debugfs/inode.o LD fs/autofs4/autofs4.o LD fs/autofs4/built-in.o CC fs/debugfs/file.o CC kernel/range.o CC kernel/groups.o CC kernel/lglock.o CC kernel/smpboot.o LD fs/debugfs/debugfs.o LD fs/debugfs/built-in.o CC fs/devpts/inode.o CC kernel/cpu/idle.o CC fs/ecryptfs/dentry.o CC kernel/events/core.o LD kernel/cpu/built-in.o CC kernel/irq/irqdesc.o CC fs/ecryptfs/file.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o LD fs/exofs/built-in.o CC fs/exportfs/expfs.o CC kernel/irq/handle.o CC fs/ecryptfs/inode.o LD fs/exportfs/exportfs.o LD fs/exportfs/built-in.o CC fs/ext4/balloc.o CC kernel/irq/manage.o CC fs/ecryptfs/main.o CC kernel/irq/spurious.o CC fs/ext4/bitmap.o CC fs/ecryptfs/super.o CC kernel/irq/resend.o CC fs/ext4/dir.o CC kernel/irq/chip.o CC fs/ecryptfs/mmap.o CC fs/ext4/file.o CC fs/ecryptfs/read_write.o CC kernel/irq/dummychip.o CC kernel/irq/devres.o CC kernel/events/ring_buffer.o CC fs/ecryptfs/crypto.o CC fs/ext4/fsync.o CC kernel/irq/generic-chip.o CC kernel/events/callchain.o CC kernel/irq/autoprobe.o CC fs/ext4/ialloc.o CC kernel/events/hw_breakpoint.o CC kernel/irq/irqdomain.o CC fs/ecryptfs/keystore.o LD kernel/events/built-in.o CC fs/ecryptfs/kthread.o CC kernel/irq/proc.o CC fs/ecryptfs/debug.o CC fs/ext4/inode.o CC kernel/irq/pm.o CC kernel/power/qos.o CC fs/ecryptfs/messaging.o LD kernel/irq/built-in.o CC fs/ext4/page-io.o CC kernel/power/main.o CC fs/ecryptfs/miscdev.o CC fs/ext4/ioctl.o LD fs/ecryptfs/ecryptfs.o LD fs/ecryptfs/built-in.o CC kernel/power/process.o CC fs/ext4/namei.o CC fs/ext4/super.o In file included from /home/aashish/halium/kernel/samsung/universal7580/include/linux/sched.h:51:0, from /home/aashish/halium/kernel/samsung/universal7580/arch/arm64/include/asm/compat.h:25, from /home/aashish/halium/kernel/samsung/universal7580/arch/arm64/include/asm/stat.h:23, from /home/aashish/halium/kernel/samsung/universal7580/include/linux/stat.h:5, from /home/aashish/halium/kernel/samsung/universal7580/include/linux/fs.h:10, from /home/aashish/halium/kernel/samsung/universal7580/fs/ext4/namei.c:27: /home/aashish/halium/kernel/samsung/universal7580/fs/ext4/namei.c: In function 'ext4_unlink': /home/aashish/halium/kernel/samsung/universal7580/include/linux/cred.h:360:24: error: used struct type value where scalar is required #define current_uid() (current_cred_xxx(uid)) ^ /home/aashish/halium/kernel/samsung/universal7580/fs/ext4/namei.c:2893:5: note: in expansion of macro 'current_uid' if(current_uid()) { ^ /home/aashish/halium/kernel/samsung/universal7580/fs/ext4/namei.c:2894:3: error: aggregate value used where an integer was expected inode->i_version |= (u64)current_uid() << 32; ^ make[3]: *** [/home/aashish/halium/kernel/samsung/universal7580/scripts/Makefile.build:308: fs/ext4/namei.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CC kernel/power/suspend.o CC fs/f2fs/dir.o CC kernel/power/autosleep.o CC fs/f2fs/file.o CC kernel/power/wakelock.o CC fs/fuse/dev.o CC kernel/power/suspend_time.o CC kernel/power/poweroff.o CC kernel/power/wakeup_reason.o LD kernel/power/built-in.o CC kernel/sched/core.o CC fs/fuse/dir.o CC fs/f2fs/inode.o CC fs/fuse/file.o CC fs/f2fs/namei.o CC fs/f2fs/hash.o CC fs/f2fs/super.o CC fs/fuse/inode.o CC fs/fuse/control.o make[2]: *** [/home/aashish/halium/kernel/samsung/universal7580/scripts/Makefile.build:455: fs/ext4] Error 2 make[2]: *** Waiting for unfinished jobs.... CC fs/fuse/cuse.o CC fs/f2fs/inline.o CC kernel/sched/clock.o LD fs/fuse/fuse.o LD fs/fuse/built-in.o CC fs/f2fs/checkpoint.o CC kernel/sched/cputime.o CC kernel/sched/idle_task.o CC kernel/sched/fair.o CC fs/f2fs/gc.o CC fs/f2fs/data.o CC kernel/sched/rt.o CC fs/f2fs/node.o CC kernel/sched/stop_task.o CC kernel/time/timekeeping.o CC fs/f2fs/segment.o CC kernel/sched/cpupri.o CC kernel/time/ntp.o CC kernel/sched/stats.o CC kernel/time/clocksource.o CC kernel/sched/debug.o CC fs/f2fs/recovery.o CC kernel/time/jiffies.o CC kernel/time/timer_list.o CC kernel/time/timeconv.o CC kernel/sched/cpuacct.o CC fs/f2fs/shrinker.o CC kernel/time/posix-clock.o CC kernel/time/alarmtimer.o LD kernel/sched/built-in.o CC kernel/time/clockevents.o CC fs/f2fs/extent_cache.o CC fs/f2fs/debug.o CC fs/f2fs/xattr.o CC kernel/time/tick-common.o CC kernel/time/sched_clock.o CC kernel/trace/trace_clock.o CC kernel/trace/ring_buffer.o CC fs/f2fs/acl.o CC kernel/time/tick-oneshot.o CC kernel/trace/trace.o CC kernel/time/tick-sched.o LD fs/f2fs/f2fs.o LD fs/f2fs/built-in.o make[1]: *** [/home/aashish/halium/kernel/samsung/universal7580/Makefile:825: fs] Error 2 CC kernel/trace/trace_output.o LD kernel/time/built-in.o CC kernel/freezer.o CC kernel/trace/trace_stat.o CC kernel/trace/trace_printk.o CC kernel/trace/trace_sched_switch.o CC kernel/trace/trace_nop.o CC kernel/trace/blktrace.o CC kernel/trace/trace_events.o CC kernel/profile.o CC kernel/trace/trace_export.o CC kernel/trace/trace_event_perf.o CC kernel/trace/trace_events_filter.o CC kernel/stacktrace.o CC kernel/trace/power-traces.o CC kernel/trace/rpm-traces.o CC kernel/trace/gpu-traces.o CC kernel/futex.o CC kernel/futex_compat.o CC kernel/rtmutex.o LD kernel/trace/built-in.o CC kernel/smp.o CC kernel/spinlock.o CC kernel/uid16.o CC kernel/kallsyms.o CC kernel/compat.o CC kernel/cgroup.o CC kernel/cgroup_freezer.o CC kernel/cpuset.o /home/aashish/halium/kernel/samsung/universal7580/kernel/cgroup.c: In function 'subsys_cgroup_allow_attach': /home/aashish/halium/kernel/samsung/universal7580/kernel/cgroup.c:2144:37: error: invalid operands to binary != (have 'kuid_t' and 'kuid_t') if (current != task && cred->euid != tcred->uid && ^ /home/aashish/halium/kernel/samsung/universal7580/kernel/cgroup.c:2145:18: error: invalid operands to binary != (have 'kuid_t' and 'kuid_t') cred->euid != tcred->suid) ^ make[2]: *** [/home/aashish/halium/kernel/samsung/universal7580/scripts/Makefile.build:308: kernel/cgroup.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/home/aashish/halium/kernel/samsung/universal7580/Makefile:825: kernel] Error 2 make: *** [Makefile:130: sub-make] Error 2 make: Leaving directory '/home/aashish/halium/kernel/samsung/universal7580' ninja: build stopped: subcommand failed. 06:59:35 ninja failed with: exit status 1 #### failed to build some targets (01:02 (mm:ss)) ####
Please help me to resolve it .
Thanks -
@aashish
Can't help with your issue but you should be more precise.
Wich device ?
Xenial or Focal ? -