-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
BugSomething isn't working as it shouldSomething isn't working as it shouldGood first issueFeel free to contribute :)Feel free to contribute :)
Description
What happened?
I try to buid armbian for my Allwinner A64 device,and I choose the config of bananapim64
When I attempt to enable kernel-config, the error
Failed to apply patch build/cache/patch/kernel-drivers/sha1_***_sunxi64_edge_*_*-*.patch
occurs and the compilation fails.
Full logs :
run_log_1.log
Relevant logs:
[🔨] Applying 514 patches from 509 files of which 1 driver patches, 508 patches in series...
[🔨] - Root Makefile '/media/cxk/disk1/build/cache/sources/linux-kernel-worktree/6.18__sunxi64__arm64/Makefile' date: '1770043627.5854273'
[🔨] -> 001/514: /media/cxk/disk1/build/cache/patch/kernel-drivers/sha1_d905362ff5b86f6b619953ada8e0af84158db2e9_sunxi64_edge_1d5996ac_6ab0c5ba-01ba4719(:1)
[🔨] Patch ->/media/cxk/disk1/build/cache/patch/kernel-drivers/sha1_d905362ff5b86f6b619953ada8e0af84158db2e9_sunxi64_edge_1d5996ac_6ab0c5ba-01ba4719(:1) <- needs fixing: can't find file to patch.
[🔨] Root Makefile is newer than patch '/media/cxk/disk1/build/cache/patch/kernel-drivers/sha1_d905362ff5b86f6b619953ada8e0af84158db2e9_sunxi64_edge_1d5996ac_6ab0c5ba-01ba4719.patch', using Makefile date
[🔨] Problem with ->/media/cxk/disk1/build/cache/patch/kernel-drivers/sha1_d905362ff5b86f6b619953ada8e0af84158db2e9_sunxi64_edge_1d5996ac_6ab0c5ba-01ba4719(:1) <-: Failed to apply patch /media/cxk/disk1/build/cache/patch/kernel-drivers/sha1_d905362ff5b86f6b619953ada8e0af84158db2e9_sunxi64_edge_1d5996ac_6ab0c5ba-01ba4719.patch
[🔨] -> 002/514: patches.megous/a711-6.18/0001-nfc-pn544-Add-support-for-VBAT-PVDD-regulators(:1) (+29/-2)[1M] {i2c.c}
[🔨] Root Makefile is newer than patch '/media/cxk/disk1/build/patch/kernel/archive/sunxi-6.18/patches.megous/a711-6.18/0001-nfc-pn544-Add-support-for-VBAT-PVDD-regulators.patch', using Makefile date
......
[🔨] -> 514/514: patches.armbian/include-uapi-drm_fourcc-add-ARM-tiled-format-modifier(:1) (+9/-0)[1M] {drm_fourcc.h}
[🔨] Root Makefile is newer than patch '/media/cxk/disk1/build/patch/kernel/archive/sunxi-6.18/patches.armbian/include-uapi-drm_fourcc-add-ARM-tiled-format-modifier.patch', using Makefile date
[🔨] Failed to apply 1 patches: ->/media/cxk/disk1/build/cache/patch/kernel-drivers/sha1_d905362ff5b86f6b619953ada8e0af84158db2e9_sunxi64_edge_1d5996ac_6ab0c5ba-01ba4719(:1) <-
......
[🔨] Traceback (most recent call last):
[🔨] File "/media/cxk/disk1/build/lib/tools/patching.py", line 491, in <module>
[🔨] raise exit_with_exception
[🔨] Exception: Failed to apply 1 patches.
When I checked the file sha1_d905362ff5b86f6b619953ada8e0af84158db2e9_sunxi64_edge_1d5996ac_6ab0c5ba-01ba4719.patch, I found it contains 2778111 lines. I cannot uoload it because it's too big.
The compilation proceeds only when I disable the 'kernel-config' option.
How to reproduce?
cxk@cxk-N100:/media/cxk/disk1/build$ ./compile.sh BOARD=bananapim64 BRANCH=edge kernel-config DEBUG=yes
Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Ubuntu 22.04 Jammy
Are you building on Windows WSL2?
- Yes, my Ubuntu/Debian/OtherOS is running on WSL2
Relevant log URL
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't working as it shouldSomething isn't working as it shouldGood first issueFeel free to contribute :)Feel free to contribute :)