Halium / projectmanagement

140 stars 32 forks source link

[device-port] [chagallwifi] Samsung Galaxy Tab S 10.5 #296

Open WhiteD1978 opened 2 years ago

WhiteD1978 commented 2 years ago

Tree: halium-7.1

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig

Config file checked, found 149 errors that I did not fix.

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig -w

Made 150 fixes

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig

Config file checked, found 3 errors that I did not fix.

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig -w

Config file checked, found no errors.

mka mkbootimg

Checking build tools versions... build/core/executable.mk:87: external/gpg/Android.mk: No such file or directory make: *** [build/core/ninja.mk:167: /home/rhino/halium-7.1/out/build-lineage_chagallwifi.ninja] Error 1 make: Leaving directory '/home/rhino/halium-7.1'

add line to samsung_chagallwifi.xnl my fix No such file external/gpg/Android.mk

./halium/devices/setup chagallwifi

mka mkbootimg

build/core/base_rules.mk:183: external/gpg: MODULE.TARGET.STATIC_LIBRARIES.libdl already defined by bionic/libdl. make: [build/core/ninja.mk:167: /home/rhino/halium-7.1/out/build-lineage_chagallwifi.ninja] Error 1 make: Leaving directory '/home/rhino/halium-7.1'

edited external/gpg/Android.mk # out include $(BUILD_PREBUILT)

mka mkbootimg

device/samsung/exynos5420-common/SamsungDoze/Android.mk:37: frameworks/base/packages/SettingsLib/common.mk: No such file or directory make: *** [build/core/ninja.mk:167: /home/rhino/halium-7.1/out/build-lineage_chagallwifi.ninja] Error 1 make: Leaving directory '/home/rhino/halium-7.1'

my fix frameworks/base/packages/SettingsLib/common.mk: No such file copied Android.mk AndroidManifest.xml common.mk form https://github.com/LineageOS/android_frameworks_base/tree/cm-14.1/packages/SettingsLib to frameworks/base/packages/SettingsLib/

mka mkbootimg

[100% 29/29] Install: /home/rhino/halium-7.1/out/host/linux-x86/bin/mkbootimg make: Leaving directory '/home/rhino/halium-7.1'

make completed successfully (18 seconds)

export USE_HOST_LEX=yes

mka hybris-boot

make: Entering directory '/home/rhino/halium-7.1'

PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 LINEAGE_VERSION=14.1-20220611-UNOFFICIAL-chagallwifi TARGET_PRODUCT=lineage_chagallwifi TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=cortex-a15 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-48-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/rhino/halium-7.1/out

Running kati to generate build-lineage_chagallwifi.ninja... No need to regenerate ninja file Starting build with ninja ninja: Entering directory `.' [ 30% 3/10] build /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/ROOT/hybris-boot_intermediates/init Fixing mount-points for device chagallwifi [ 40% 4/10] Making initramfs : /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz 1924 blocks [ 40% 4/10] Building Kernel Config make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY #

configuration written to .config

# make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --savedefconfig=defconfig Kconfig make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' [ 50% 5/10] Building Kernel Headers make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY #

configuration written to .config

# make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' CHK include/linux/version.h make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' [ 60% 6/10] Building Kernel FAILED: /bin/bash -c "(make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" zImage ) && (if grep -q '^CONFIG_OF=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" modules; fi )" make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --silentoldconfig Kconfig GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile CHK include/linux/version.h Using /home/rhino/halium-7.1/kernel/samsung/exynos5420 as source for kernel CHK include/generated/utsrelease.h make[2]: 'include/generated/mach-types.h' is up to date. CALL /home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/checksyscalls.sh CHK include/generated/compile.h CC security/apparmor/domain.o In file included from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/compiler.h:172:0, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/stddef.h:4, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/posix_types.h:4, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/fdtable.h:8, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:16: /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:23:9: error: unknown type name 'kernel_fd_set' typedef kernel_fd_set fd_set; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:25:9: error: unknown type name 'kernel_ino_t' typedef kernel_ino_t ino_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:26:9: error: unknown type name 'kernel_mode_t' typedef kernel_mode_t mode_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:28:9: error: unknown type name 'kernel_nlink_t' typedef kernel_nlink_t nlink_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:29:9: error: unknown type name 'kernel_off_t' typedef kernel_off_t off_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:30:9: error: unknown type name 'kernel_pid_t' typedef kernel_pid_t pid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:31:9: error: unknown type name 'kernel_daddr_t' typedef kernel_daddr_t daddr_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:32:9: error: unknown type name 'kernel_key_t' typedef kernel_key_t key_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:33:9: error: unknown type name 'kernel_suseconds_t' typedef kernel_suseconds_t suseconds_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:34:9: error: unknown type name 'kernel_timer_t' typedef kernel_timer_t timer_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:35:9: error: unknown type name 'kernel_clockid_t' typedef kernel_clockid_t clockid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:36:9: error: unknown type name 'kernel_mqd_t' typedef kernel_mqd_t mqd_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:40:9: error: unknown type name 'kernel_uid32_t' typedef kernel_uid32_t uid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:41:9: error: unknown type name 'kernel_gid32_t' typedef kernel_gid32_t gid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:42:9: error: unknown type name 'kernel_uid16_t' typedef kernel_uid16_t uid16_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:43:9: error: unknown type name 'kernel_gid16_t' typedef kernel_gid16_t gid16_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:49:9: error: unknown type name 'kernel_old_uid_t' typedef __kernel_old_uid_t old_uid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:50:9: error: unknown type name 'kernel_old_gid_t' typedef kernel_old_gid_t old_gid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:54:9: error: unknown type name 'kernel_loff_t' typedef kernel_loff_t loff_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:63:9: error: unknown type name 'kernel_size_t' typedef kernel_size_t size_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:68:9: error: unknown type name 'kernel_ssize_t' typedef kernel_ssize_t ssize_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:73:9: error: unknown type name 'kernel_ptrdiff_t' typedef kernel_ptrdiff_t ptrdiff_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:78:9: error: unknown type name 'kernel_time_t' typedef kernel_time_t time_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:83:9: error: unknown type name 'kernel_clock_t' typedef kernel_clock_t clock_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:88:9: error: unknown type name 'kernel_caddr_t' typedef kernel_caddr_t caddr_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:242:2: error: unknown type name 'kernel_daddr_t' __kernel_daddr_t f_tfree; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:243:2: error: unknown type name 'kernel_ino_t' kernel_ino_t f_tinode; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'apparmor_bprm_set_creds': /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: error: 'LSM_UNSAFE_NO_NEW_PRIVS' undeclared (first use in this function) if (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) { ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: note: each undeclared identifier is reported only once for each function it appears in /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_hat': /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:632:13: error: 'struct task_struct' has no member named 'no_new_privs' if (current->no_new_privs) ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_profile': /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:783:13: error: 'struct task_struct' has no member named 'no_new_privs' if (current->no_new_privs && !unconfined(profile)) { ^ make[3]: [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:307: security/apparmor/domain.o] Error 1 make[2]: [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:443: security/apparmor] Error 2 make[1]: [/home/rhino/halium-7.1/kernel/samsung/exynos5420/Makefile:977: security] Error 2 make[1]: Waiting for unfinished jobs.... GZIP kernel/config_data.gz CHK kernel/config_data.h make: [Makefile:130: sub-make] Error 2 make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' ninja: build stopped: subcommand failed. make: [build/core/ninja.mk:152: ninja_wrapper] Error 1 make: Leaving directory '/home/rhino/halium-7.1'

make failed to build some targets (6 seconds)

make systemimage

============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 LINEAGE_VERSION=14.1-20220611-UNOFFICIAL-chagallwifi TARGET_PRODUCT=lineage_chagallwifi TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=cortex-a15 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-48-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/rhino/halium-7.1/out

Running kati to generate build-lineage_chagallwifi.ninja... No need to regenerate ninja file Starting build with ninja ninja: Entering directory `.' [ 0% 2/12256] Building Kernel Config make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY #

configuration written to .config

# make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --savedefconfig=defconfig Kconfig make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' [ 0% 3/12256] Building Kernel Headers make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY #

configuration written to .config

# make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' CHK include/linux/version.h make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' [ 0% 4/12256] Building Kernel FAILED: /bin/bash -c "(make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" zImage ) && (if grep -q '^CONFIG_OF=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" modules; fi )" make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --silentoldconfig Kconfig GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile CHK include/linux/version.h Using /home/rhino/halium-7.1/kernel/samsung/exynos5420 as source for kernel CHK include/generated/utsrelease.h make[2]: 'include/generated/mach-types.h' is up to date. CALL /home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/checksyscalls.sh CHK include/generated/compile.h CC security/apparmor/domain.o In file included from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/compiler.h:172:0, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/stddef.h:4, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/posix_types.h:4, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/fdtable.h:8, from /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:16: /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:23:9: error: unknown type name 'kernel_fd_set' typedef kernel_fd_set fd_set; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:25:9: error: unknown type name 'kernel_ino_t' typedef kernel_ino_t ino_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:26:9: error: unknown type name 'kernel_mode_t' typedef kernel_mode_t mode_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:28:9: error: unknown type name 'kernel_nlink_t' typedef kernel_nlink_t nlink_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:29:9: error: unknown type name 'kernel_off_t' typedef kernel_off_t off_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:30:9: error: unknown type name 'kernel_pid_t' typedef kernel_pid_t pid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:31:9: error: unknown type name 'kernel_daddr_t' typedef kernel_daddr_t daddr_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:32:9: error: unknown type name 'kernel_key_t' typedef kernel_key_t key_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:33:9: error: unknown type name 'kernel_suseconds_t' typedef kernel_suseconds_t suseconds_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:34:9: error: unknown type name 'kernel_timer_t' typedef kernel_timer_t timer_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:35:9: error: unknown type name 'kernel_clockid_t' typedef kernel_clockid_t clockid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:36:9: error: unknown type name 'kernel_mqd_t' typedef kernel_mqd_t mqd_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:40:9: error: unknown type name 'kernel_uid32_t' typedef kernel_uid32_t uid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:41:9: error: unknown type name 'kernel_gid32_t' typedef kernel_gid32_t gid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:42:9: error: unknown type name 'kernel_uid16_t' typedef kernel_uid16_t uid16_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:43:9: error: unknown type name 'kernel_gid16_t' typedef kernel_gid16_t gid16_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:49:9: error: unknown type name 'kernel_old_uid_t' typedef __kernel_old_uid_t old_uid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:50:9: error: unknown type name 'kernel_old_gid_t' typedef kernel_old_gid_t old_gid_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:54:9: error: unknown type name 'kernel_loff_t' typedef kernel_loff_t loff_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:63:9: error: unknown type name 'kernel_size_t' typedef kernel_size_t size_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:68:9: error: unknown type name 'kernel_ssize_t' typedef kernel_ssize_t ssize_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:73:9: error: unknown type name 'kernel_ptrdiff_t' typedef kernel_ptrdiff_t ptrdiff_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:78:9: error: unknown type name 'kernel_time_t' typedef kernel_time_t time_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:83:9: error: unknown type name 'kernel_clock_t' typedef kernel_clock_t clock_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:88:9: error: unknown type name 'kernel_caddr_t' typedef kernel_caddr_t caddr_t; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:242:2: error: unknown type name 'kernel_daddr_t' __kernel_daddr_t f_tfree; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:243:2: error: unknown type name 'kernel_ino_t' kernel_ino_t f_tinode; ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'apparmor_bprm_set_creds': /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: error: 'LSM_UNSAFE_NO_NEW_PRIVS' undeclared (first use in this function) if (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) { ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: note: each undeclared identifier is reported only once for each function it appears in /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_hat': /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:632:13: error: 'struct task_struct' has no member named 'no_new_privs' if (current->no_new_privs) ^ /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_profile': /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:783:13: error: 'struct task_struct' has no member named 'no_new_privs' if (current->no_new_privs && !unconfined(profile)) { ^ make[3]: [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:307: security/apparmor/domain.o] Error 1 make[2]: [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:443: security/apparmor] Error 2 make[1]: [/home/rhino/halium-7.1/kernel/samsung/exynos5420/Makefile:977: security] Error 2 make[1]: Waiting for unfinished jobs.... GZIP kernel/config_data.gz CHK kernel/config_data.h make: [Makefile:130: sub-make] Error 2 make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420' ninja: build stopped: subcommand failed. make: [build/core/ninja.mk:152: ninja_wrapper] Error 1

make failed to build some targets (6 seconds)

4soobs commented 1 year ago

good luck with this, i tried this port and it was pretty difficult, as the boot partition is very, very little.