Skip to content

Kernal build errors (py3-cmd missing, mismatch between build-tools, kernel-build-tools, repo status, savedefconfig, Hunk errors) and bootlooping #106

@xmicro

Description

@xmicro

So I repo init -u https://github.com/WildKernels/OnePlus_KernelSU_SUSFS.git
-b main
-m manifests/oos16/oneplus_15_w.xml
--depth=1
and then

repo sync -c -j$(nproc) --force-sync --no-clone-bundle --no-tags and it completes. But when I try to run bazel with ./tools/bazel run //common:kernel_aarch64_dist -- --destdir=out/dist I get:

~/op15-kernel/kernel_platform/build/kernel/kleaf/bazel.origin.sh: line 22: ~/op15-kernel/kernel_platform/prebuilts/build-tools/linux_musl-x86/bin/py3-cmd: No such file or directory

[also tried config=fast].

There is not even a directory .../kernel_platform/prebuilts/build-tools; it's in fact kernel-build-tools, and even in there, there's no such thing as py3-cmd.

I tried running on an M4 Mac as well as an Ubuntu 24 machine using OrbStack. And I made sure to make a case insensitive volume cause AI had told me that might be an issue.

I cannot find reference to this file missing anywhere online and AI has been bringing me down rabbit holes for 4 hours getting me nowhere. Also, when I run repo status, there's LOTS of red files with two dashes in front of them (--).

So I'm not sure what's going wrong. I tried redoing the entire thing and getting same issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions