Bug Description / 问题描述
配置:6.1.138 KernelSU SUSFS 最新 和 6.6.118 KernelSU SUSFS 最新
报错部分(编译内核步骤):
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 849s local
ERROR: /home/runner/work/ABK/ABK/android14-6.1-138/common/BUILD.bazel:139:22: Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64 failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/sucompat.c:147:19: error: call to undeclared function 'ksu_adb_root_handle_execve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret = ksu_adb_root_handle_execve(filename->name, (void ***)&envp_user->ptr.compat);
^
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/sucompat.c:147:19: note: did you mean 'ksu_adb_root_handle_execveat'?
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/adb_root.h:5:6: note: 'ksu_adb_root_handle_execveat' declared here
long ksu_adb_root_handle_execveat(const char *filename, void __user ***envp_user_ptr);
^
1 error generated.
make[4]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:250: drivers/kernelsu/feature/sucompat.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:503: drivers/kernelsu] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:503: drivers] Error 2
make[1]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/Makefile:2056: .] Error 2
make: *** [Makefile:256: __sub-make] Error 2
-- Baseband-guard: flask.h found, skip generation
-- Baseband-guard/compat: found file_ioctl_compat
-- Baseband-guard/compat: found selinux_state
-- Baseband-guard/compat: found modern block device api
-- Baseband-guard: CONFIG_BBG enabled, now checking...
-- Kernel Version: 6.1
-- Baseband_guard: Found DEFINE_LSM,now checking CONFIG_LSM...
-- CONFIG_LSM value: landlock,lockdown,yama,loadpin,safesetid,integrity,selinux,xingguang_ddk,baseband_guard,smack,tomoyo,apparmor,bpf
-- Baseband-guard: Okay, Baseband_guard was found in CONFIG_LSM
-- BBG was enabled!
-- BBG version: a54e0dc6
-- BBG repo: https://github.com/vc-teahouse/Baseband-guard
-- KernelSU: Git repo detected at /home/runner/work/ABK/ABK/android14-6.1-138/KernelSU
-- KernelSU version: 32589
-- KSU_NEW_DCACHE_FLUSH: 1
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
Target //common:kernel_aarch64_dist failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/ABK/ABK/android14-6.1-138/common/BUILD.bazel:139:22 Middleman _middlemen/common_Skernel_Uaarch64_Udist-runfiles failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
INFO: Elapsed time: 895.806s, Critical Path: 868.64s
INFO: 414 processes: 396 internal, 2 local, 16 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
Steps to Reproduce / 复现步骤
No response
Device Info / 设备信息
- Device / 设备: REDMI K70 Pro
- Android Version / 安卓版本: 16
- Kernel Version / 内核版本: 6.1.138
- KernelSU Version / KernelSU版本: 32589
- SUSFS Version / SUSFS版本:开启SUSFS后未修改
Workflow Config / 编译工作流参数
========================================
内核构建配置摘要
Android 版本 : android14
内核版本 : 6.1
子版本号 : 138
补丁级别 : 2025-06
KSU 变体 : Official
KSU 分支 : Latest(最新)
管理器包名 : app/signing/abk-manager-cert.env
构建时间 : #1 SMP PREEMPT Wed Dec 3 02:05:30 UTC 2025
SUSFS 状态 : true
ZRAM 增强 : false
ZRAM 完整算法 : false
ZRAM 额外算法 : 无
BBG 补丁 : true
DDK LSM : true
NTsync 补丁 : false
Networing 增强: false
KPM 功能 : false
KPM 密码 : 默认
Re-Kernel : false
虚拟化支持 : off
自定义注入 : true
内核选项覆盖 : false
Stock Config : 自动检测 config/stock_defconfig
Logs / 日志
Extracting Bazel installation...
WARNING: Ignoring JAVA_HOME, because it must point to a JDK, not a JRE.
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 5c10a018-665e-47c7-bce5-cbf12947e8fd
Loading:
Loading:
Loading: 1 packages loaded
Loading: 1 packages loaded
currently loading: common
Analyzing: target //common:kernel_aarch64_dist (2 packages loaded)
Analyzing: target //common:kernel_aarch64_dist (2 packages loaded, 0 targets configured)
Analyzing: target //common:kernel_aarch64_dist (56 packages loaded, 10109 targets configured)
INFO: Analyzed target //common:kernel_aarch64_dist (56 packages loaded, 93705 targets configured).
checking cached actions
INFO: Found 1 target...
[0 / 7] [Prepa] Writing script common/kernel_aarch64_dist ... (3 actions, 0 running)
[35 / 399] [Prepa] Expanding template build/kernel/abi_verify_ksymtab [for tool]
[51 / 414] [Prepa] Writing file common/android/gki_system_dlkm_modules_arm64
[159 / 422] [Prepa] Creating symlinks to in-tree tools @//build/kernel:hermetic-tools/head
[391 / 422] [Prepa] Creating symlinks to in-tree tools @//build/kernel:hermetic-tools/whoami [for tool]
[400 / 422] Creating symlinks to @//build/kernel:hermetic-tools; 0s remote-cache, processwrapper-sandbox ... (3 actions, 2 running)
[400 / 422] Creating symlinks to @//build/kernel:hermetic-tools; 1s remote-cache, processwrapper-sandbox ... (4 actions running)
[401 / 422] Creating symlinks to @//build/kernel:hermetic-tools; 2s remote-cache, processwrapper-sandbox ... (3 actions running)
[404 / 422] Executing genrule //build/kernel:gki_certification_tools; 0s remote-cache, processwrapper-sandbox
[404 / 422] Executing genrule //build/kernel:gki_certification_tools; 1s remote-cache, processwrapper-sandbox ... (2 actions running)
[406 / 422] Executing genrule //build/kernel:gki_certification_tools; 2s remote-cache, processwrapper-sandbox ... (3 actions running)
[407 / 422] Executing genrule //build/kernel:gki_certification_tools; 3s remote-cache, processwrapper-sandbox ... (2 actions running)
[409 / 422] Creating abi_symbollist.raw @//common:kernel_aarch64_raw_kmi_symbol_list; 0s remote-cache, processwrapper-sandbox
[410 / 422] Creating kernel config (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64_config; 0s local
[411 / 422] [Prepa] Building UAPI kernel headers kernel_aarch64_uapi_headers
[411 / 422] Preparing for module build (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64_modules_prepare; 1s local ... (3 actions running)
[411 / 422] Preparing for module build (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64_modules_prepare; 10s local ... (3 actions running)
[412 / 422] Preparing for module build (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64_modules_prepare; 27s local ... (2 actions running)
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 29s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 38s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 68s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 128s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 188s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 248s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 308s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 368s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 428s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 488s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 548s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 609s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 669s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 729s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 789s local
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 849s local
ERROR: /home/runner/work/ABK/ABK/android14-6.1-138/common/BUILD.bazel:139:22: Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64 failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/sucompat.c:147:19: error: call to undeclared function 'ksu_adb_root_handle_execve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret = ksu_adb_root_handle_execve(filename->name, (void ***)&envp_user->ptr.compat);
^
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/sucompat.c:147:19: note: did you mean 'ksu_adb_root_handle_execveat'?
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/adb_root.h:5:6: note: 'ksu_adb_root_handle_execveat' declared here
long ksu_adb_root_handle_execveat(const char *filename, void __user ***envp_user_ptr);
^
1 error generated.
make[4]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:250: drivers/kernelsu/feature/sucompat.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:503: drivers/kernelsu] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:503: drivers] Error 2
make[1]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/Makefile:2056: .] Error 2
make: *** [Makefile:256: __sub-make] Error 2
-- Baseband-guard: flask.h found, skip generation
-- Baseband-guard/compat: found file_ioctl_compat
-- Baseband-guard/compat: found selinux_state
-- Baseband-guard/compat: found modern block device api
-- Baseband-guard: CONFIG_BBG enabled, now checking...
-- Kernel Version: 6.1
-- Baseband_guard: Found DEFINE_LSM,now checking CONFIG_LSM...
-- CONFIG_LSM value: landlock,lockdown,yama,loadpin,safesetid,integrity,selinux,xingguang_ddk,baseband_guard,smack,tomoyo,apparmor,bpf
-- Baseband-guard: Okay, Baseband_guard was found in CONFIG_LSM
-- BBG was enabled!
-- BBG version: a54e0dc6
-- BBG repo: https://github.com/vc-teahouse/Baseband-guard
-- KernelSU: Git repo detected at /home/runner/work/ABK/ABK/android14-6.1-138/KernelSU
-- KernelSU version: 32589
-- KSU_NEW_DCACHE_FLUSH: 1
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
Target //common:kernel_aarch64_dist failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/ABK/ABK/android14-6.1-138/common/BUILD.bazel:139:22 Middleman _middlemen/common_Skernel_Uaarch64_Udist-runfiles failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
INFO: Elapsed time: 895.806s, Critical Path: 868.64s
INFO: 414 processes: 396 internal, 2 local, 16 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
+ exit 1
Bug Description / 问题描述
配置:6.1.138 KernelSU SUSFS 最新 和 6.6.118 KernelSU SUSFS 最新
报错部分(编译内核步骤):
[413 / 422] Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64; 849s local
ERROR: /home/runner/work/ABK/ABK/android14-6.1-138/common/BUILD.bazel:139:22: Building kernel (ksu.fragment;lto=thin;trim) @//common:kernel_aarch64 failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/sucompat.c:147:19: error: call to undeclared function 'ksu_adb_root_handle_execve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret = ksu_adb_root_handle_execve(filename->name, (void ***)&envp_user->ptr.compat);
^
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/sucompat.c:147:19: note: did you mean 'ksu_adb_root_handle_execveat'?
/home/runner/work/ABK/ABK/android14-6.1-138/common/drivers/kernelsu/feature/adb_root.h:5:6: note: 'ksu_adb_root_handle_execveat' declared here
long ksu_adb_root_handle_execveat(const char *filename, void __user ***envp_user_ptr);
^
1 error generated.
make[4]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:250: drivers/kernelsu/feature/sucompat.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:503: drivers/kernelsu] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/scripts/Makefile.build:503: drivers] Error 2
make[1]: *** [/home/runner/work/ABK/ABK/android14-6.1-138/common/Makefile:2056: .] Error 2
make: *** [Makefile:256: __sub-make] Error 2
-- Baseband-guard: flask.h found, skip generation
-- Baseband-guard/compat: found file_ioctl_compat
-- Baseband-guard/compat: found selinux_state
-- Baseband-guard/compat: found modern block device api
-- Baseband-guard: CONFIG_BBG enabled, now checking...
-- Kernel Version: 6.1
-- Baseband_guard: Found DEFINE_LSM,now checking CONFIG_LSM...
-- CONFIG_LSM value: landlock,lockdown,yama,loadpin,safesetid,integrity,selinux,xingguang_ddk,baseband_guard,smack,tomoyo,apparmor,bpf
-- Baseband-guard: Okay, Baseband_guard was found in CONFIG_LSM
-- BBG was enabled!
-- BBG version: a54e0dc6
-- BBG repo: https://github.com/vc-teahouse/Baseband-guard
-- KernelSU: Git repo detected at /home/runner/work/ABK/ABK/android14-6.1-138/KernelSU
-- KernelSU version: 32589
-- KSU_NEW_DCACHE_FLUSH: 1
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
Target //common:kernel_aarch64_dist failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/ABK/ABK/android14-6.1-138/common/BUILD.bazel:139:22 Middleman _middlemen/common_Skernel_Uaarch64_Udist-runfiles failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
INFO: Elapsed time: 895.806s, Critical Path: 868.64s
INFO: 414 processes: 396 internal, 2 local, 16 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
Steps to Reproduce / 复现步骤
No response
Device Info / 设备信息
Workflow Config / 编译工作流参数
========================================
内核构建配置摘要
Android 版本 : android14
内核版本 : 6.1
子版本号 : 138
补丁级别 : 2025-06
KSU 变体 : Official
KSU 分支 : Latest(最新)
管理器包名 : app/signing/abk-manager-cert.env
构建时间 : #1 SMP PREEMPT Wed Dec 3 02:05:30 UTC 2025
SUSFS 状态 : true
ZRAM 增强 : false
ZRAM 完整算法 : false
ZRAM 额外算法 : 无
BBG 补丁 : true
DDK LSM : true
NTsync 补丁 : false
Networing 增强: false
KPM 功能 : false
KPM 密码 : 默认
Re-Kernel : false
虚拟化支持 : off
自定义注入 : true
内核选项覆盖 : false
Stock Config : 自动检测 config/stock_defconfig
Logs / 日志