Skip to:
What happened?
```
Wrote 194 lines to /home/jfliu/dev/armbian/build/cache/sources/linux-kernel-worktree/6.12_rockchip64_arm64/arch/arm64/boot/dts/rockchip/MakefileSummary: kernel patching: 187 total patches; 187 applied; 25 with problems; 24 needs_rebase; 1 not_mbox; 1 invalid_diffTraceback (most recent call last):File "/home/jfliu/dev/armbian/build/lib/tools/patching.py", line 444, in <module>from rich.syntax import SyntaxFile "/home/jfliu/dev/armbian/build/cache/pip/base/lib/python3.12/site-packages/rich/syntax.py", line 21, in <module>from pygments.lexer import LexerModuleNotFoundError: No module named 'pygments'--> (167) ERROR: Error 1 occurred in main shell [ at /home/jfliu/dev/armbian/build/lib/functions/logging/runners.sh:211run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211run_host_command_logged() --> lib/functions/logging/runners.sh:193kernel_main_patching_python() --> lib/functions/compilation/kernel-patching.sh:64do_with_hooks() --> lib/functions/general/extensions.sh:567do_with_logging() --> lib/functions/logging/section-logging.sh:81kernel_main_patching() --> lib/functions/compilation/kernel-patching.sh:79compile_kernel() --> lib/functions/compilation/kernel.sh:54artifact_kernel_build_from_sources() --> lib/functions/artifacts/artifact-kernel.sh:240artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280do_with_default_build() --> lib/functions/main/default-build.sh:42cli_artifact_run() --> lib/functions/cli/cli-artifact.sh:70armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176main() --> compile.sh:50]-->--> command failed with error code 1 after 7 seconds```
How to reproduce?
`PREFER_DOCKER=no ./compile.sh kernel-dtb BOARD=rock-5b BRANCH=current`
Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Ubuntu 24.04 Noble
Are you building on Windows WSL2?
[ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2
Relevant log URL
https://paste.armbian.eu/ifusuxucid
Code of Conduct
[x] I agree to follow this project's Code of Conduct
Raised by: https://github.com/amazingfate
https://github.com/armbian/build/issues/7920
What happened?
```
Wrote 194 lines to /home/jfliu/dev/armbian/build/cache/sources/linux-kernel-worktree/6.12_rockchip64_arm64/arch/arm64/boot/dts/rockchip/Makefile
Summary: kernel patching: 187 total patches; 187 applied; 25 with problems; 24 needs_rebase; 1 not_mbox; 1 invalid_diff
Traceback (most recent call last):
File "/home/jfliu/dev/armbian/build/lib/tools/patching.py", line 444, in <module>
from rich.syntax import Syntax
File "/home/jfliu/dev/armbian/build/cache/pip/base/lib/python3.12/site-packages/rich/syntax.py", line 21, in <module>
from pygments.lexer import Lexer
ModuleNotFoundError: No module named 'pygments'
--> (167) ERROR: Error 1 occurred in main shell [ at /home/jfliu/dev/armbian/build/lib/functions/logging/runners.sh:211
run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211
run_host_command_logged() --> lib/functions/logging/runners.sh:193
kernel_main_patching_python() --> lib/functions/compilation/kernel-patching.sh:64
do_with_hooks() --> lib/functions/general/extensions.sh:567
do_with_logging() --> lib/functions/logging/section-logging.sh:81
kernel_main_patching() --> lib/functions/compilation/kernel-patching.sh:79
compile_kernel() --> lib/functions/compilation/kernel.sh:54
artifact_kernel_build_from_sources() --> lib/functions/artifacts/artifact-kernel.sh:240
artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34
obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280
do_with_default_build() --> lib/functions/main/default-build.sh:42
cli_artifact_run() --> lib/functions/cli/cli-artifact.sh:70
armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
main() --> compile.sh:50
]
-->--> command failed with error code 1 after 7 seconds
```
How to reproduce?
`PREFER_DOCKER=no ./compile.sh kernel-dtb BOARD=rock-5b BRANCH=current`
Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Ubuntu 24.04 Noble
Are you building on Windows WSL2?
[ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2
Relevant log URL
https://paste.armbian.eu/ifusuxucid
Code of Conduct
[x] I agree to follow this project's Code of Conduct
Raised by: https://github.com/amazingfate
https://github.com/armbian/build/issues/7920