Action-Build icon indicating copy to clipboard operation
Action-Build copied to clipboard

Several different errors trying to build kernels ReSukiSU/OnePlus 15: stdout: fatal: couldn't find remote ref refs, make: *** [Makefile:242: __sub-make] Error 2, and can't find ReSukiSU git module

Open xmicro opened this issue 6 months ago • 18 comments

I get the following error on my very first build... I'm trying to built for regular SukiSU (default branch) on OnePlus 15. The only settings I changed were to use SuSFS release branch and checked off the box to get the most recent versions of it.

Run cd kernel_workspace
使用OnePlusOSS/kernel_manifest(oneplus/sm8850)初始化仓库...

repo has been initialized in /home/runner/work/Action-Build/Action-Build/kernel_workspace
error: Unable to fully sync the tree
error: Downloading network changes failed.
Failing repos (network):
kernel_platform/prebuilts/asuite
kernel_platform/prebuilts/tradefed
Try re-running with "-j1 --fail-fast" to exit at the first error.
================================================================================
Repo command failed due to the following `SyncError` errors:
GitCommandError: 'fetch --no-auto-gc --quiet clo-la --recurse-submodules=no --no-tags +refs/heads/*:refs/remotes/clo-la/* +refs/heads/ks-kernel.lnx.5.0.r3-rel:refs/remotes/clo-la/ks-kernel.lnx.5.0.r3-rel' on kernel_platform/prebuilts/asuite failed
stdout: fatal: couldn't find remote ref refs/heads/ks-kernel.lnx.5.0.r3-rel
GitCommandError: 'fetch --no-auto-gc --quiet clo-la --recurse-submodules=no --no-tags +refs/heads/*:refs/remotes/clo-la/* +refs/heads/ks-kernel.lnx.5.0.r3-rel:refs/remotes/clo-la/ks-kernel.lnx.5.0.r3-rel' on kernel_platform/tools/tradefederation/prebuilts failed
stdout: fatal: couldn't find remote ref refs/heads/ks-kernel.lnx.5.0.r3-rel
Error: Process completed with exit code 1.

Update: This first issue above was not from running Canary. Running Canary led to the 2nd make/makefile issue you see below (ReSukiSU was still broken at that point). That was fixed, but currently there's still a 3rd issue that the owner mentioned is due to Bazel/kleaf. For now, both https://github.com/huangdihd/OnePlus_ReSukiSU_SUSFS and https://github.com/Bouteillepleine/SukiSu_Ultra_Oneplus- are working if anyone needs builds now. If you're using OnePlus 15 and want ReSukiSU, I also have completed builds under my forks for both of those above repos. But I'm still hopeful this repo will be fixed soon as well as it has more options than the others. :)

xmicro avatar May 28 '26 06:05 xmicro

选择Canary后缀的清单

Numbersf avatar May 28 '26 06:05 Numbersf

选择Canary后缀的清单

Another error now (I switched to Canary)

CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member),
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) /
| ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

xmicro avatar May 28 '26 06:05 xmicro

选择Canary后缀的清单

Another error now (I switched to Canary)

CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member),
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) /
| ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

Numbersf avatar May 28 '26 06:05 Numbersf

选择Canary后缀的清单

Another error now (I switched to Canary) CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member),
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) /
| ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

SukiSU-Ultra is neglected? But it has a latest contribution 19 hours ago, and latest release 2 months ago. OK, I can try ReSukiSU, but you said that will break too, why is that? Do you know when it will be fixed? I will try both ReSukiSU and KernelSU Next I suppose.

xmicro avatar May 28 '26 07:05 xmicro

选择Canary后缀的清单

Another error now (I switched to Canary) CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member),
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) /
| ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

SukiSU-Ultra is neglected? But it has a latest contribution 19 hours ago, and latest release 2 months ago. OK, I can try ReSukiSU, but you said that will break too, why is that? Do you know when it will be fixed? I will try both ReSukiSU and KernelSU Next I suppose.

SukiSU Ultra has only fixed the issue on the main branch — the builtin variant is still broken, so building remains impossible.

KernelSU-Next and ReSukiSU have run into a separate issue: they haven't synced SUSFS changes from 7 hours ago. At this point, KernelSU may be the only one that's still working.

Numbersf avatar May 28 '26 07:05 Numbersf

选择Canary后缀的清单

Another error now (I switched to Canary) CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member), | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) / | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

SukiSU-Ultra is neglected? But it has a latest contribution 19 hours ago, and latest release 2 months ago. OK, I can try ReSukiSU, but you said that will break too, why is that? Do you know when it will be fixed? I will try both ReSukiSU and KernelSU Next I suppose.

SukiSU Ultra has only fixed the issue on the main branch — the builtin variant is still broken, so building remains impossible.

KernelSU-Next and ReSukiSU have run into a separate issue: they haven't synced SUSFS changes from 7 hours ago. At this point, KernelSU may be the only one that's still working.

Can't we just use the main branch instead of the builtin one? What's the difference?

I checked off the pull from the latest SuSFS dev branch as well, not sure if that would help.

Maybe having an option to pull from different branches or the latest/CI builds of each root module (SukiSU, KSUN, ReSuki) would be helpful for building? And just for reducing potential outdated issues like this in the future since we could also pull from the latest ones.

xmicro avatar May 28 '26 07:05 xmicro

选择Canary后缀的清单

Another error now (I switched to Canary) CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member), | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) / | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

SukiSU-Ultra is neglected? But it has a latest contribution 19 hours ago, and latest release 2 months ago. OK, I can try ReSukiSU, but you said that will break too, why is that? Do you know when it will be fixed? I will try both ReSukiSU and KernelSU Next I suppose.

SukiSU Ultra has only fixed the issue on the main branch — the builtin variant is still broken, so building remains impossible.

KernelSU-Next and ReSukiSU have run into a separate issue: they haven't synced SUSFS changes from 7 hours ago. At this point, KernelSU may be the only one that's still working.

Can't we just use the main branch instead of the builtin one? What's the difference?

I checked off the pull from the latest SuSFS dev branch as well, not sure if that would help.

Maybe having an option to pull from different branches or the latest/CI builds of each module would be helpful for building? And just for reducing potential outdated issues like this in the future since we could also pull from the latest ones.

ReSukiSU is essentially the builtin branch merged into main — it was originally forked from SukiSU Ultra. In the field highlighted by the red box, enter a number representing how many SUSFS upstream commits to roll back. This may fix the issues with ReSukiSU and KernelSU-Next. My suggestion is to enter 1 there for now. IMG_20260528_151636.png

Numbersf avatar May 28 '26 07:05 Numbersf

选择Canary后缀的清单

Another error now (I switched to Canary) CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member), | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) / | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

SukiSU-Ultra is neglected? But it has a latest contribution 19 hours ago, and latest release 2 months ago. OK, I can try ReSukiSU, but you said that will break too, why is that? Do you know when it will be fixed? I will try both ReSukiSU and KernelSU Next I suppose.

SukiSU Ultra has only fixed the issue on the main branch — the builtin variant is still broken, so building remains impossible. KernelSU-Next and ReSukiSU have run into a separate issue: they haven't synced SUSFS changes from 7 hours ago. At this point, KernelSU may be the only one that's still working.

Can't we just use the main branch instead of the builtin one? What's the difference? I checked off the pull from the latest SuSFS dev branch as well, not sure if that would help. Maybe having an option to pull from different branches or the latest/CI builds of each module would be helpful for building? And just for reducing potential outdated issues like this in the future since we could also pull from the latest ones.

ReSukiSU is essentially the builtin branch merged into main — it was originally forked from SukiSU Ultra. In the field highlighted by the red box, enter a number representing how many SUSFS upstream commits to roll back. This may fix the issues with ReSukiSU and KernelSU-Next. My suggestion is to enter 1 there for now. IMG_20260528_151636.png

I will try this. But also I meant getting the latest version of ReSukiSU (CI version)/KSUN/SukiSU not just main version to build.

xmicro avatar May 28 '26 08:05 xmicro

选择Canary后缀的清单

Another error now (I switched to Canary) CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member), | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) / | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

SukiSU-Ultra is neglected? But it has a latest contribution 19 hours ago, and latest release 2 months ago. OK, I can try ReSukiSU, but you said that will break too, why is that? Do you know when it will be fixed? I will try both ReSukiSU and KernelSU Next I suppose.

SukiSU Ultra has only fixed the issue on the main branch — the builtin variant is still broken, so building remains impossible. KernelSU-Next and ReSukiSU have run into a separate issue: they haven't synced SUSFS changes from 7 hours ago. At this point, KernelSU may be the only one that's still working.

Can't we just use the main branch instead of the builtin one? What's the difference? I checked off the pull from the latest SuSFS dev branch as well, not sure if that would help. Maybe having an option to pull from different branches or the latest/CI builds of each module would be helpful for building? And just for reducing potential outdated issues like this in the future since we could also pull from the latest ones.

ReSukiSU is essentially the builtin branch merged into main — it was originally forked from SukiSU Ultra. In the field highlighted by the red box, enter a number representing how many SUSFS upstream commits to roll back. This may fix the issues with ReSukiSU and KernelSU-Next. My suggestion is to enter 1 there for now. IMG_20260528_151636.png

Setting it to "1" worked. Confirmed the kernel works as well, thanks. Will check back in a few days to try to rebuild with latest hopefully.

xmicro avatar May 28 '26 09:05 xmicro

选择Canary后缀的清单

Another error now (I switched to Canary) CC drivers/interconnect/debugfs-client.o -- SukiSU-Ultra version: 40787 [v4.1.2-Numbersf@builtin[513dd547]] -- KERNEL_VERSION: 6.12 -- KERNEL_TYPE: GKI 2.0 -- SukiSU-Ultra: using KSU_MANUAL_HOOK -- KPM is enabled -- SukiSU-Ultra/compat: modern static_key_interface found -- SUSFS_VERSION: v2.1.0 CC drivers/kernelsu/ksu.o AR drivers/interconnect/built-in.a CC drivers/android/debug_kinfo.o CC drivers/hid/hid-wiimote-core.o CC [M] drivers/pps/pps.o In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:132:35: error: no member named 'cb_mutex' in 'struct netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:53:49: note: expanded from macro 'DEFINE_MEMBER' 53 | .size = sizeof(((struct struct_name *)0)->member), | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../drivers/kernelsu/kpm/super_access.c:132:1: error: no member named 'cb_mutex' in 'netlink_kernel_cfg' 132 | DEFINE_MEMBER(netlink_kernel_cfg, cb_mutex) | ^ ~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:54:17: note: expanded from macro 'DEFINE_MEMBER' 54 | .offset = offsetof(struct struct_name, member) }, | ^ ~~~~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ In file included from ../drivers/kernelsu/ksu.c:56: ../drivers/kernelsu/kpm/super_access.c:138:1: error: invalid application of 'sizeof' to an incomplete type 'struct DynamicStructMember[]' 138 | DYNAMIC_STRUCT_END(netlink_kernel_cfg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/kernelsu/kpm/super_access.c:61:24: note: expanded from macro 'DYNAMIC_STRUCT_END' 61 | .count = sizeof(struct_name##_members) / | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/kernelsu/ksu.c:86: ../drivers/kernelsu/hook/lsm_hook.c:121:58: error: incompatible pointer types passing 'char[4]' to parameter of type 'const struct lsm_id *' [-Werror,-Wincompatible-pointer-types] 121 | security_add_hooks(ksu_hooks, ARRAY_SIZE(ksu_hooks), "ksu"); | ^~~~~ ../include/linux/lsm_hooks.h:140:32: note: passing argument to parameter 'lsmid' here 140 | const struct lsm_id *lsmid); | ^ 4 errors generated. make[5]: *** [../scripts/Makefile.build:240: drivers/kernelsu/ksu.o] Error 1 make[4]: *** [../scripts/Makefile.build:508: drivers/kernelsu] Error 2 make[4]: *** Waiting for unfinished jobs.... CC drivers/hid/hid-wiimote-modules.o RUSTC [M] drivers/android/binder/rust_binder.o CC [M] drivers/pps/kapi.o CC drivers/hid/hid-wiimote-debug.o CC [M] drivers/pps/sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/android/binder/rust_binderfs.o CC [M] drivers/hid/hid-uclogic-rdesc-test.o CC [M] drivers/android/binder/rust_binder_events.o AR drivers/hid/built-in.a LD [M] drivers/hid/hid-uclogic-test.o CC [M] drivers/android/binder/rust_binder_hooks.o CC [M] drivers/android/binder/page_range_helper.o AR drivers/android/built-in.a LD [M] drivers/android/rust_binder.o make[3]: *** [../scripts/Makefile.build:508: drivers] Error 2 make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:1993: .] Error 2 make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/Makefile:242: __sub-make] Error 2 make[1]: Leaving directory '/home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/out' make: *** [Makefile:242: __sub-make] Error 2 Error: Process completed with exit code 2.

SukiSU-Ultra长时间无人维护,builtin炸掉了,所以现在无法构建 建议切换ReSukiSU,不过最新消息是,就在刚才,ReSukiSU也炸掉了,不过这个应该会修复的更快

SukiSU-Ultra is neglected? But it has a latest contribution 19 hours ago, and latest release 2 months ago. OK, I can try ReSukiSU, but you said that will break too, why is that? Do you know when it will be fixed? I will try both ReSukiSU and KernelSU Next I suppose.

SukiSU Ultra has only fixed the issue on the main branch — the builtin variant is still broken, so building remains impossible. KernelSU-Next and ReSukiSU have run into a separate issue: they haven't synced SUSFS changes from 7 hours ago. At this point, KernelSU may be the only one that's still working.

Can't we just use the main branch instead of the builtin one? What's the difference? I checked off the pull from the latest SuSFS dev branch as well, not sure if that would help. Maybe having an option to pull from different branches or the latest/CI builds of each module would be helpful for building? And just for reducing potential outdated issues like this in the future since we could also pull from the latest ones.

ReSukiSU is essentially the builtin branch merged into main — it was originally forked from SukiSU Ultra. In the field highlighted by the red box, enter a number representing how many SUSFS upstream commits to roll back. This may fix the issues with ReSukiSU and KernelSU-Next. My suggestion is to enter 1 there for now. IMG_20260528_151636.png

Any status on getting latest SuSFS to work? There was just a dev branch update that fixed a major glitch that was affecting mounting on OnePlus phones that I really can't live without because otherwise everything breaks after a few days, storage shows as incorrect, apps crash, etc. I tried building again but it's still failing. (Trying to get latest SuSFS not older build using the 1 trick.)

xmicro avatar Jun 01 '26 05:06 xmicro

Merged

Numbersf avatar Jun 02 '26 23:06 Numbersf

Merged

It's still not building properly. It's been giving this newer error even before the previous commits (maybe not exactly but both related to ReSukiSU git module).

ERROR: /home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/BUILD.bazel:235:14: Building kernel (trim;zstd_dwarf_compression_disabled) //common:kernel_aarch64 failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
-- Baseband-guard: flask.h found, skip generation
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
-- Baseband-guard: CONFIG_BBG enabled, now checking...
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/1942/execroot/_main/common/drivers/kernelsu/Kbuild:73: *** You should use ReSukiSU as a git submodule instead of copying code directly.  Stop.
-- Kernel Version: 6.12
make[4]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/1942/execroot/_main/common/scripts/Makefile.build:508: drivers/kernelsu] Error 2
-- Baseband_guard: Found DEFINE_LSM,now checking CONFIG_LSM...
make[4]: *** Waiting for unfinished jobs....
-- CONFIG_LSM value: landlock,lockdown,yama,loadpin,safesetid,selinux,baseband_guard,smack,tomoyo,apparmor,ipe,bpf
make[3]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/1942/execroot/_main/common/scripts/Makefile.build:508: drivers] Error 2
-- Baseband-guard: Okay, Baseband_guard was found in CONFIG_LSM
make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/1942/execroot/_main/common/Makefile:1993: .] Error 2
-- BBG was enabled!
make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/1942/execroot/_main/common/Makefile:242: __sub-make] Error 2
-- BBG version: 7fb7abf0
make: *** [Makefile:242: __sub-make] Error 2
-- BBG repo: https://github.com/OnePlusOSS/android_kernel_modules_and_devicetree_oneplus_sm8850
kernel: Checking config_data for CONFIG_IP6_NF_NAT...
kernel: Found CONFIG_IP6_NF_NAT=y - modifying to display as 'n'
kernel: Successfully modified CONFIG_IP6_NF_NAT display in config_data
kernel: Final CONFIG_IP6_NF_NAT value in config_data: 
CONFIG_IP6_NF_NAT=n
-- Can't find ReSukiSU git submodule!
-- If you are using bazel to build this kernel,
-- Please go to Kbuild and change KSU_SRC to the absolute path of the KSU kernel folder.
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/soc-repo/BUILD.bazel:287:13 Middleman _middlemen/soc-repo_Scanoe_Uperf_Uall_Uoplus_Uddk_Umodules_Udist-runfiles failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 1577.854s, Critical Path: 1422.78s
INFO: 5952 processes: 3864 internal, 2088 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
Error: Process completed with exit code 1.

xmicro avatar Jun 03 '26 05:06 xmicro

bazel+kleaf构建还有一点问题

Numbersf avatar Jun 03 '26 05:06 Numbersf

bazel+kleaf构建还有一点问题

😭 Bazel always has some issue.

xmicro avatar Jun 03 '26 05:06 xmicro

Hey I'm still getting the "can't find ReSukiSU git module" bug. Any idea when this will be fixed? Repo hasn't worked in over a month for me.

Newest error:

ERROR: /home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/BUILD.bazel:235:14: Building kernel (trim;zstd_dwarf_compression_disabled) //common:kernel_aarch64 failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)

kernel: Checking config_data for CONFIG_IP6_NF_NAT...
kernel: Found CONFIG_IP6_NF_NAT=y - modifying to display as 'n'
kernel: Successfully modified CONFIG_IP6_NF_NAT display in config_data
kernel: Final CONFIG_IP6_NF_NAT value in config_data: 
CONFIG_IP6_NF_NAT=n
-- Can't find ReSukiSU git submodule!
-- If you are using bazel to build this kernel,
-- Please go to Kbuild and change KSU_SRC to the absolute path of the KSU kernel folder.
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/lib/lz4/lz4hc.c:78:9: error: 'MIN' macro redefined [-Werror,-Wmacro-redefined]
   78 | #define MIN(a, b) ((a) < (b) ? (a) : (b))
      |         ^
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/include/linux/minmax.h:329:9: note: previous definition is here
  329 | #define MIN(a,b) __cmp(min,a,b)
      |         ^
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/lib/lz4/lz4hc.c:79:9: error: 'MAX' macro redefined [-Werror,-Wmacro-redefined]
   79 | #define MAX(a, b) ((a) > (b) ? (a) : (b))
      |         ^
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/include/linux/minmax.h:330:9: note: previous definition is here
  330 | #define MAX(a,b) __cmp(max,a,b)
      |         ^
2 errors generated.
make[5]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:240: lib/lz4/lz4hc.o] Error 1
make[4]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: lib/lz4] Error 2
make[3]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: lib] Error 2
make[3]: *** Waiting for unfinished jobs....
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/drivers/kernelsu/Kbuild:67: *** You should use ReSukiSU as a git submodule instead of copying code directly.  Stop.
make[4]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: drivers/kernelsu] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: drivers] Error 2
make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/Makefile:1993: .] Error 2
make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/Makefile:242: __sub-make] Error 2
make: *** [Makefile:242: __sub-make] Error 2
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/soc-repo/BUILD.bazel:287:13 Middleman _middlemen/soc-repo_Scanoe_Uperf_Uall_Uoplus_Uddk_Umodules_Udist-runfiles failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
[6,049 / 6,971] checking cached actions
INFO: Elapsed time: 1199.433s, Critical Path: 1029.83s
INFO: 6049 processes: 3871 internal, 2178 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
Error: Process completed with exit code 1.

https://github.com/xmicro/Action-Build/actions/runs/27998677025/job/82866132472

xmicro avatar Jun 23 '26 03:06 xmicro

@Numbersf

xmicro avatar Jun 23 '26 03:06 xmicro

Hey I'm still getting the "can't find ReSukiSU git module" bug. Any idea when this will be fixed? Repo hasn't worked in over a month for me.

Newest error:

ERROR: /home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/common/BUILD.bazel:235:14: Building kernel (trim;zstd_dwarf_compression_disabled) //common:kernel_aarch64 failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)

kernel: Checking config_data for CONFIG_IP6_NF_NAT...
kernel: Found CONFIG_IP6_NF_NAT=y - modifying to display as 'n'
kernel: Successfully modified CONFIG_IP6_NF_NAT display in config_data
kernel: Final CONFIG_IP6_NF_NAT value in config_data: 
CONFIG_IP6_NF_NAT=n
-- Can't find ReSukiSU git submodule!
-- If you are using bazel to build this kernel,
-- Please go to Kbuild and change KSU_SRC to the absolute path of the KSU kernel folder.
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/lib/lz4/lz4hc.c:78:9: error: 'MIN' macro redefined [-Werror,-Wmacro-redefined]
   78 | #define MIN(a, b) ((a) < (b) ? (a) : (b))
      |         ^
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/include/linux/minmax.h:329:9: note: previous definition is here
  329 | #define MIN(a,b) __cmp(min,a,b)
      |         ^
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/lib/lz4/lz4hc.c:79:9: error: 'MAX' macro redefined [-Werror,-Wmacro-redefined]
   79 | #define MAX(a, b) ((a) > (b) ? (a) : (b))
      |         ^
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/include/linux/minmax.h:330:9: note: previous definition is here
  330 | #define MAX(a,b) __cmp(max,a,b)
      |         ^
2 errors generated.
make[5]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:240: lib/lz4/lz4hc.o] Error 1
make[4]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: lib/lz4] Error 2
make[3]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: lib] Error 2
make[3]: *** Waiting for unfinished jobs....
/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/drivers/kernelsu/Kbuild:67: *** You should use ReSukiSU as a git submodule instead of copying code directly.  Stop.
make[4]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: drivers/kernelsu] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/scripts/Makefile.build:508: drivers] Error 2
make[2]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/Makefile:1993: .] Error 2
make[1]: *** [/home/runner/work/Action-Build/Action-Build/kernel_workspace/bazel-cache/b8a3cdb159b90447877980a9699fb7d4/sandbox/processwrapper-sandbox/2039/execroot/_main/common/Makefile:242: __sub-make] Error 2
make: *** [Makefile:242: __sub-make] Error 2
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/Action-Build/Action-Build/kernel_workspace/kernel_platform/soc-repo/BUILD.bazel:287:13 Middleman _middlemen/soc-repo_Scanoe_Uperf_Uall_Uoplus_Uddk_Umodules_Udist-runfiles failed: (Exit 2): bash failed: error executing KernelBuild command (from target //common:kernel_aarch64) /bin/bash -c ... (remaining 1 argument skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
[6,049 / 6,971] checking cached actions
INFO: Elapsed time: 1199.433s, Critical Path: 1029.83s
INFO: 6049 processes: 3871 internal, 2178 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
Error: Process completed with exit code 1.

https://github.com/xmicro/Action-Build/actions/runs/27998677025/job/82866132472

Issue 1 has been fixed; I will test and process issue 2 later. https://github.com/Numbersf/lz4_oplus/commit/2a38894c02111059582c34834f1cb30c9e2289ce

Numbersf avatar Jun 23 '26 05:06 Numbersf

@Numbersf

All have been fixed.

Numbersf avatar Jun 24 '26 05:06 Numbersf