Skip to content

Conversation

@dabao1955
Copy link
Contributor

To fix build error and sync from upstream

dabao1955 and others added 5 commits May 1, 2025 22:56
To fix build error and sync from upstream
log:
[411 / 422] [Prepa] Building UAPI kernel headers kernel_aarch64_uapi_headers
ERROR: /home/runner/work/KernelSU/KernelSU/android-kernel/common/BUILD.bazel:139:22: Building kernel (lto=thin;trim) @//common:kernel_aarch64 failed: missing input file '//common:android/abi_gki_protected_exports_aarch64'
ERROR: /home/runner/work/KernelSU/KernelSU/android-kernel/common/BUILD.bazel:139:22: Building kernel (lto=thin;trim) @//common:kernel_aarch64 failed: 1 input file(s) do not exist
Target //common:kernel_aarch64_dist failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/runner/work/KernelSU/KernelSU/android-kernel/common/BUILD.bazel:139:22 Middleman _middlemen/common_Skernel_Uaarch64_Udist-runfiles failed: 1 input file(s) do not exist
INFO: Elapsed time: 42.167s, Critical Path: 14.17s
INFO: 413 processes: 397 internal, 1 local, 15 processwrapper-sandbox.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target
Error: Process completed with exit code 1.

Fixed by https://t.me/SukiKSU/1/18449
log:
rm common/android/abi_gki_protected_exports_* || echo "No protected exports!"
  [ -f android/abi_gki_protected_exports_aarch64 ] || sed -i '/^[[:space:]]*"protected_exports_list"[[:space:]]*:[[:space:]]*"android\/abi_gki_protected_exports_aarch64",$/d' common/BUILD.bazel
  git config --global user.email "[email protected]"
  git config --global user.name "KernelSUBot"
  cd common/ && git add -A && git commit -a -m "Add KernelSU"
  repo status
  shell: /usr/bin/bash -e {0}
  env:
    CCACHE_COMPILERCHECK: %compiler% -dumpmachine; %compiler% -dumpversion
    CCACHE_NOHASHDIR: true
    CCACHE_HARDLINK: true
rm: cannot remove 'common/android/abi_gki_protected_exports_*': No such file or directory
No protected exports!
sed: can't read common/BUILD.bazel: No such file or directory
Error: Process completed with exit code 2.
@tiann tiann merged commit 1946876 into tiann:main May 2, 2025
20 checks passed
fadlyas07 added a commit to bengal-upstream/KernelSU that referenced this pull request May 3, 2025
* 'main' of https://github.com/tiann/KernelSU:
  ci: Update lkm kernel version (tiann#2567)
  ci: Update llvm version for chrome arcvm kernel build (tiann#2551)
  ci: Fix ubuntu-20.04 deprecation
  build(deps): bump the npm group across 1 directory with 22 updates (tiann#2542)
  build(deps): bump the maven group across 1 directory with 11 updates (tiann#2538)
  [add device]: Samsung Galaxy A15 4G (sma155f) (tiann#2543)
  [add device]: Samsung M30s (M307F) (tiann#2524)
  Fix opuls -> oplus typo (tiann#2536)

Change-Id: Ia6fdf7a9723e857a784a540e3585560103f6769c
include:
- version: "android12-5.10"
sub_level: 226
os_patch_level: 2024-11

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • [ ]

lightsummer233 pushed a commit to lightsummer233/KernelSU that referenced this pull request Jul 5, 2025
To fix build error and sync from upstream

---------

Co-authored-by: ShirkNeko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants