Skip to content

错误ninja failed with: exit status 1 #9

@Merlyx

Description

@Merlyx

FAILED: /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/boot.img
/bin/bash -c "(/home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/host/linux-x86/bin/mkbootimg --kernel /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/kernel --ramdisk /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/ramdisk.img --base 0x40078000 --pagesize 2048 --cmdline "bootopt=64S3,32N2,64N2 product.version=PD1986_A_1.7.6 fingerprint.abbr=10/QP1A.190711.020 buildvariant=user buildvariant=eng" --os_version 16.1.0 --os_patch_level 2099-12-31 --ramdisk_offset 0x07c08000 --tags_offset 0x0bc08000 --dtb device/vivo/k6889v1_64/prebuilt/dtb.img --header_version 2 --output /home/runner/work/action_build_orangefox/action_build_orangefox/workspace/out/target/product/k6889v1_64/boot.img ) && (true )"
usage: mkbootimg [-h] --kernel KERNEL [--ramdisk RAMDISK] [--second SECOND]
[--recovery_dtbo RECOVERY_DTBO] [--cmdline CMDLINE]
[--base BASE] [--kernel_offset KERNEL_OFFSET]
[--ramdisk_offset RAMDISK_OFFSET]
[--second_offset SECOND_OFFSET] [--os_version OS_VERSION]
[--os_patch_level OS_PATCH_LEVEL] [--tags_offset TAGS_OFFSET]
[--board BOARD]
[--pagesize {2048,4096,8192,16384,32768,65536,131072}] [--id]
[--header_version HEADER_VERSION] [--dt DT] -o OUTPUT
mkbootimg: error: unrecognized arguments: --dtb device/vivo/k6889v1_64/prebuilt/dtb.img
[ 57% 7280/12663] //external/llvm/utils/TableGen:llvm-tblgen clang++ X86RecognizableInstr.cpp [linux_glibc]
ninja: build stopped: subcommand failed.
16:44:00 ninja failed with: exit status 1

使用了大佬提供的脚本,
然而出现上述报错,似乎mkbootimg 的命令对不上。
看了好久也不知道从哪修起
特来请教下大佬有什么解决方案 感谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions