OpenHarmony开发者论坛

标题: 请问,编译dayu210报错,该怎么解决呢? 环境安装啥的都排查了,编译rk3568是成功的。 [打印本页]

作者: evantao    时间: 2024-4-10 16:19
标题: 请问,编译dayu210报错,该怎么解决呢? 环境安装啥的都排查了,编译rk3568是成功的。
[md][OHOS ERROR] [10423/59861] ACTION //device/board/hihope/dayu210/kernel:kernel(//build/toolchain/ohos:ohos_clang_arm64)
[OHOS ERROR] FAILED: ../kernel/src_tmp/linux-5.10/boot_linux
[OHOS ERROR] /usr/bin/env ../../device/board/hihope/dayu210/kernel/build_kernel.sh ../../kernel/linux/linux-5.10 /mnt/data/openharmony/oh_4.1_release/code/out/rk3588/packages/phone/images /mnt/data/openharmony/oh_4.1_release/code/device/board/hihope/dayu210 vendor/hihope/dayu210 /mnt/data/openharmony/oh_4.1_release/code HiHope rk3588 hihope enable_ramdisk
[OHOS ERROR] /mnt/data/openharmony/oh_4.1_release/code/kernel/linux/linux-5.10 /mnt/data/openharmony/oh_4.1_release/code/out/rk3588
[OHOS ERROR] cp kernel source
[OHOS ERROR] HDF patch
[OHOS ERROR] patching file arch/arm64/kernel/vmlinux.lds.S
[OHOS ERROR] Hunk #1 succeeded at 201 with fuzz 2.
[OHOS ERROR] patching file drivers/Kconfig
[OHOS ERROR] patching file drivers/Makefile
[OHOS ERROR] Hunk #1 succeeded at 192 with fuzz 1 (offset 1 line).
[OHOS ERROR] patching file drivers/hdf/Makefile
[OHOS ERROR] patching file drivers/hid/Makefile
[OHOS ERROR] patching file drivers/hid/hid-core.c
[OHOS ERROR] Hunk #2 succeeded at 1536 (offset 10 lines).
[OHOS ERROR] Hunk #3 succeeded at 1951 (offset 14 lines).
[OHOS ERROR] Hunk #4 succeeded at 2125 (offset 14 lines).
[OHOS ERROR] Hunk #5 succeeded at 2143 (offset 14 lines).
[OHOS ERROR] Hunk #6 succeeded at 2231 (offset 14 lines).
[OHOS ERROR] patching file drivers/hid/hid-input.c
[OHOS ERROR] Hunk #2 succeeded at 1441 (offset 21 lines).
[OHOS ERROR] Hunk #3 succeeded at 1900 (offset 21 lines).
[OHOS ERROR] Hunk #4 succeeded at 2021 (offset 21 lines).
[OHOS ERROR] patching file drivers/input/misc/Makefile
[OHOS ERROR] patching file drivers/input/misc/rk805-pwrkey.c
[OHOS ERROR] patching file drivers/input/mousedev.c
[OHOS ERROR] patching file drivers/usb/core/notify.c
[OHOS ERROR] patching file include/linux/hid.h
[OHOS ERROR] Hunk #1 succeeded at 624 (offset 2 lines).
[OHOS ERROR] patching file include/linux/usb.h
[OHOS ERROR] Hunk #1 succeeded at 2029 (offset 10 lines).
[OHOS ERROR] /mnt/data/openharmony/oh_4.1_release/code/out/kernel/src_tmp/linux-5.10
[OHOS ERROR] kernel patch
[OHOS ERROR] patching file Makefile
[OHOS ERROR] Hunk #1 succeeded at 500 (offset 7 lines).
[OHOS ERROR] Hunk #2 succeeded at 954 (offset -4 lines).
[OHOS ERROR] Hunk #3 succeeded at 1391 (offset -4 lines).
[OHOS ERROR] patching file arch/arm64/Makefile
[OHOS ERROR] patching file arch/arm64/boot/Makefile
[OHOS ERROR] patching file arch/arm64/kernel/cpuinfo.c
[OHOS ERROR] patching file drivers/clk/rockchip/Kconfig
[OHOS ERROR] patching file drivers/clk/rockchip/clk-cpu.c
[OHOS ERROR] patching file drivers/clk/rockchip/clk-ddr.c
[OHOS ERROR] patching file drivers/clk/rockchip/clk-half-divider.c
[OHOS ERROR] patching file drivers/clk/rockchip/clk-pll.c
[OHOS ERROR] patching file drivers/clk/rockchip/clk.c
[OHOS ERROR] patching file drivers/clk/rockchip/clk.h
[OHOS ERROR] patching file drivers/clocksource/Kconfig
[OHOS ERROR] patching file drivers/clocksource/timer-rockchip.c
[OHOS ERROR] patching file drivers/cpufreq/cpufreq-dt-platdev.c
[OHOS ERROR] patching file drivers/cpufreq/cpufreq-dt.c
[OHOS ERROR] patching file drivers/cpufreq/cpufreq.c
[OHOS ERROR] patching file drivers/cpufreq/cpufreq_userspace.c
[OHOS ERROR] patching file drivers/cpuidle/driver.c
[OHOS ERROR] patching file drivers/cpuidle/governor.c
[OHOS ERROR] patching file drivers/devfreq/devfreq.c
[OHOS ERROR] patching file drivers/devfreq/event/rockchip-dfi.c
[OHOS ERROR] patching file drivers/dma-buf/Kconfig
[OHOS ERROR] patching file drivers/dma-buf/Makefile
[OHOS ERROR] patching file drivers/dma-buf/dma-buf-sysfs-stats.c
[OHOS ERROR] patching file drivers/dma-buf/dma-buf.c
[OHOS ERROR] patching file drivers/dma-buf/dma-fence.c
[OHOS ERROR] patching file drivers/dma-buf/dma-heap.c
[OHOS ERROR] Hunk #5 FAILED at 144.
[OHOS ERROR] Hunk #6 succeeded at 175 (offset -3 lines).
[OHOS ERROR] Hunk #7 succeeded at 241 (offset -3 lines).
[OHOS ERROR] Hunk #8 succeeded at 294 (offset -3 lines).
[OHOS ERROR] Hunk #9 succeeded at 312 (offset -3 lines).
[OHOS ERROR] Hunk #10 succeeded at 350 (offset -3 lines).
[OHOS ERROR] Hunk #11 succeeded at 379 (offset -3 lines).
[OHOS ERROR] 1 out of 11 hunks FAILED -- saving rejects to file drivers/dma-buf/dma-heap.c.rej
[OHOS ERROR] patching file drivers/dma-buf/heaps/Kconfig
[OHOS ERROR] patching file drivers/dma-buf/heaps/Makefile
[OHOS ERROR] patching file drivers/dma-buf/heaps/cma_heap.c
[OHOS ERROR] patching file drivers/dma-buf/heaps/system_heap.c
[OHOS ERROR] patching file drivers/dma-buf/sw_sync.c
[OHOS ERROR] patching file drivers/dma-buf/sync_debug.h
[OHOS ERROR] patching file drivers/gpio/gpiolib-of.c
[OHOS ERROR] patching file drivers/gpio/gpiolib-of.h
[OHOS ERROR] patching file drivers/gpu/drm/Kconfig
[OHOS ERROR] patching file drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
[OHOS ERROR] patching file drivers/gpu/drm/bridge/analogix/analogix_dp_core.h
[OHOS ERROR] patching file drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c
[OHOS ERROR] patching file drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h
[OHOS ERROR] patching file drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h
[OHOS ERROR] patching file drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c
[OHOS ERROR] patching file drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
[OHOS ERROR] patching file drivers/gpu/drm/bridge/synopsys/dw-hdmi.h
[OHOS ERROR] patching file drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_atomic_helper.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_atomic_state_helper.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_atomic_uapi.c
[OHOS ERROR] Hunk #1 succeeded at 461 (offset 2 lines).
[OHOS ERROR] Hunk #2 succeeded at 513 (offset 2 lines).
[OHOS ERROR] patching file drivers/gpu/drm/drm_auth.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_color_mgmt.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_debugfs.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_edid.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_file.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_fourcc.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_ioctl.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_lease.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_mipi_dsi.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_mode_config.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_modes.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_prime.c
[OHOS ERROR] patching file drivers/gpu/drm/drm_vblank.c
[OHOS ERROR] patching file drivers/gpu/drm/panel/panel-simple.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/cdn-dp-core.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/cdn-dp-core.h
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/inno_hdmi.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_drv.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_drv.h
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_fb.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_fb.h
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_gem.c
[OHOS ERROR] Hunk #9 succeeded at 540 with fuzz 2.
[OHOS ERROR] Hunk #10 succeeded at 604 (offset -3 lines).
[OHOS ERROR] Hunk #11 succeeded at 621 (offset -3 lines).
[OHOS ERROR] Hunk #12 succeeded at 637 (offset -3 lines).
[OHOS ERROR] Hunk #13 succeeded at 650 (offset -3 lines).
[OHOS ERROR] Hunk #14 succeeded at 689 (offset -3 lines).
[OHOS ERROR] Hunk #15 succeeded at 711 (offset -3 lines).
[OHOS ERROR] Hunk #16 succeeded at 755 (offset -3 lines).
[OHOS ERROR] Hunk #17 succeeded at 764 (offset -3 lines).
[OHOS ERROR] Hunk #18 succeeded at 855 (offset -3 lines).
[OHOS ERROR] Hunk #19 succeeded at 902 (offset -3 lines).
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_gem.h
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_vop.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_drm_vop.h
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_lvds.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_rgb.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_rgb.h
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_vop_reg.c
[OHOS ERROR] patching file drivers/gpu/drm/rockchip/rockchip_vop_reg.h
[OHOS ERROR] patching file drivers/i2c/busses/i2c-rk3x.c
[OHOS ERROR] patching file drivers/i2c/i2c-core-base.c
[OHOS ERROR] patching file drivers/iio/adc/rockchip_saradc.c
[OHOS ERROR] patching file drivers/input/Makefile
[OHOS ERROR] patching file drivers/input/misc/Kconfig
[OHOS ERROR] patching file drivers/input/misc/rk805-pwrkey.c
[OHOS ERROR] Hunk #1 succeeded at 13 with fuzz 2.
[OHOS ERROR] Hunk #2 succeeded at 60 (offset 20 lines).
[OHOS ERROR] patching file drivers/iommu/Kconfig
[OHOS ERROR] patching file drivers/iommu/dma-iommu.c
[OHOS ERROR] patching file drivers/iommu/iommu.c
[OHOS ERROR] patching file drivers/iommu/iova.c
[OHOS ERROR] patching file drivers/iommu/rockchip-iommu.c
[OHOS ERROR] Hunk #41 succeeded at 1818 with fuzz 2.
[OHOS ERROR] Hunk #42 succeeded at 1852 (offset 2 lines).
[OHOS ERROR] Hunk #43 succeeded at 1866 (offset 2 lines).
[OHOS ERROR] Hunk #44 succeeded at 1878 (offset 2 lines).
[OHOS ERROR] Hunk #45 succeeded at 1894 (offset 2 lines).
[OHOS ERROR] patching file drivers/irqchip/irq-gic-v3-its.c
[OHOS ERROR] patching file drivers/irqchip/irq-gic-v3.c
[OHOS ERROR] patching file drivers/irqchip/irq-gic-v4.c
[OHOS ERROR] patching file drivers/media/platform/Kconfig
[OHOS ERROR] patching file drivers/media/platform/Makefile
[OHOS ERROR] patching file drivers/media/usb/uvc/uvc_driver.c
[OHOS ERROR] Hunk #2 succeeded at 2332 (offset -10 lines).
[OHOS ERROR] patching file drivers/media/v4l2-core/v4l2-async.c
[OHOS ERROR] patching file drivers/mfd/rk808.c
[OHOS ERROR] patching file drivers/mmc/core/block.c
[OHOS ERROR] patching file drivers/mmc/core/block.h
[OHOS ERROR] patching file drivers/mmc/core/core.c
[OHOS ERROR] patching file drivers/mmc/core/core.h
[OHOS ERROR] patching file drivers/mmc/core/mmc.c
[OHOS ERROR] patching file drivers/mmc/core/mmc_ops.c
[OHOS ERROR] patching file drivers/mmc/core/queue.c
[OHOS ERROR] patching file drivers/mmc/core/sd.c
[OHOS ERROR] patching file drivers/mmc/core/sdio.c
[OHOS ERROR] patching file drivers/mmc/core/slot-gpio.c
[OHOS ERROR] patching file drivers/mmc/host/Kconfig
[OHOS ERROR] patching file drivers/mmc/host/Makefile
[OHOS ERROR] patching file drivers/mmc/host/cqhci.h
[OHOS ERROR] patching file drivers/mmc/host/dw_mmc-rockchip.c
[OHOS ERROR] patching file drivers/mmc/host/dw_mmc.c
[OHOS ERROR] patching file drivers/mmc/host/dw_mmc.h
[OHOS ERROR] patching file drivers/mmc/host/sdhci-of-dwcmshc.c
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
[OHOS ERROR] Hunk #22 succeeded at 1952 with fuzz 2 (offset -3 lines).
[OHOS ERROR] Hunk #23 succeeded at 1976 (offset -6 lines).
[OHOS ERROR] Hunk #24 succeeded at 1987 (offset -6 lines).
[OHOS ERROR] Hunk #25 succeeded at 1998 (offset -6 lines).
[OHOS ERROR] Hunk #26 succeeded at 2045 (offset -6 lines).
[OHOS ERROR] Hunk #27 succeeded at 2104 (offset -6 lines).
[OHOS ERROR] Hunk #28 succeeded at 2118 (offset -6 lines).
[OHOS ERROR] Hunk #29 succeeded at 2229 (offset -6 lines).
[OHOS ERROR] Hunk #30 succeeded at 2253 (offset -6 lines).
[OHOS ERROR] Hunk #31 succeeded at 2273 (offset -6 lines).
[OHOS ERROR] Hunk #32 succeeded at 2311 (offset -6 lines).
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/hwif.h
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
[OHOS ERROR] Hunk #6 succeeded at 1357 (offset 1 line).
[OHOS ERROR] Hunk #7 succeeded at 2359 (offset 1 line).
[OHOS ERROR] Hunk #8 succeeded at 2713 (offset 1 line).
[OHOS ERROR] Hunk #9 succeeded at 2723 (offset 1 line).
[OHOS ERROR] Hunk #10 succeeded at 2779 (offset 1 line).
[OHOS ERROR] Hunk #11 succeeded at 3701 (offset 1 line).
[OHOS ERROR] Hunk #12 succeeded at 3719 (offset 1 line).
[OHOS ERROR] Hunk #13 succeeded at 5091 (offset 5 lines).
[OHOS ERROR] Hunk #14 succeeded at 5463 (offset 5 lines).
[OHOS ERROR] Hunk #15 succeeded at 5494 (offset 5 lines).
[OHOS ERROR] patching file drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
[OHOS ERROR] patching file drivers/nvmem/core.c
[OHOS ERROR] patching file drivers/nvmem/rockchip-efuse.c
[OHOS ERROR] patching file drivers/nvmem/rockchip-otp.c
[OHOS ERROR] patching file drivers/opp/debugfs.c
[OHOS ERROR] patching file drivers/opp/of.c
[OHOS ERROR] patching file drivers/pci/controller/Makefile
[OHOS ERROR] patching file drivers/pci/controller/dwc/pcie-designware.c
[OHOS ERROR] patching file drivers/pci/controller/dwc/pcie-designware.h
[OHOS ERROR] patching file drivers/pci/controller/pcie-rockchip-host.c
[OHOS ERROR] patching file drivers/pci/controller/pcie-rockchip.c
[OHOS ERROR] patching file drivers/pci/controller/pcie-rockchip.h
[OHOS ERROR] patching file drivers/phy/rockchip/Makefile
[OHOS ERROR] patching file drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
[OHOS ERROR] patching file drivers/phy/rockchip/phy-rockchip-inno-usb2.c
[OHOS ERROR] patching file drivers/phy/rockchip/phy-rockchip-pcie.c
[OHOS ERROR] patching file drivers/phy/rockchip/phy-rockchip-typec.c
[OHOS ERROR] Hunk #15 succeeded at 1379 (offset -1 lines).
[OHOS ERROR] Hunk #16 succeeded at 1432 (offset -1 lines).
[OHOS ERROR] Hunk #17 succeeded at 1513 (offset -1 lines).
[OHOS ERROR] Hunk #18 succeeded at 1523 (offset -1 lines).
[OHOS ERROR] Hunk #19 succeeded at 1543 (offset -1 lines).
[OHOS ERROR] Hunk #20 succeeded at 1552 (offset -1 lines).
[OHOS ERROR] Hunk #21 succeeded at 1575 (offset -1 lines).
[OHOS ERROR] Hunk #22 succeeded at 1614 (offset -1 lines).
[OHOS ERROR] patching file drivers/phy/rockchip/phy-rockchip-usb.c
[OHOS ERROR] patching file drivers/pinctrl/Kconfig
[OHOS ERROR] patching file drivers/pinctrl/pinctrl-rk805.c
[OHOS ERROR] patching file drivers/pinctrl/pinctrl-rockchip.c
[OHOS ERROR] Hunk #11 FAILED at 936.
[OHOS ERROR] Hunk #12 FAILED at 974.
[OHOS ERROR] Hunk #13 FAILED at 983.
[OHOS ERROR] Hunk #14 FAILED at 1014.
[OHOS ERROR] Hunk #28 FAILED at 2558.
[OHOS ERROR] Hunk #29 succeeded at 2612 (offset 9 lines).
[OHOS ERROR] Hunk #30 succeeded at 2772 (offset 9 lines).
[OHOS ERROR] Hunk #31 succeeded at 2902 (offset 9 lines).
[OHOS ERROR] Hunk #32 succeeded at 2913 (offset 9 lines).
[OHOS ERROR] Hunk #33 succeeded at 2936 (offset 9 lines).
[OHOS ERROR] Hunk #34 succeeded at 2974 (offset 9 lines).
[OHOS ERROR] Hunk #35 succeeded at 3007 (offset 9 lines).
[OHOS ERROR] Hunk #36 succeeded at 3052 (offset 9 lines).
[OHOS ERROR] Hunk #37 succeeded at 3075 (offset 9 lines).
[OHOS ERROR] Hunk #38 succeeded at 3104 (offset 9 lines).
[OHOS ERROR] Hunk #39 succeeded at 3134 (offset 9 lines).
[OHOS ERROR] Hunk #40 succeeded at 3240 (offset 9 lines).
[OHOS ERROR] Hunk #41 succeeded at 3356 (offset 9 lines).
[OHOS ERROR] Hunk #42 succeeded at 3364 (offset 9 lines).
[OHOS ERROR] Hunk #43 succeeded at 3379 (offset 9 lines).
[OHOS ERROR] Hunk #44 succeeded at 3391 (offset 9 lines).
[OHOS ERROR] Hunk #45 succeeded at 3398 (offset 9 lines).
[OHOS ERROR] Hunk #46 succeeded at 3422 (offset 9 lines).
[OHOS ERROR] Hunk #47 succeeded at 3453 (offset 9 lines).
[OHOS ERROR] Hunk #48 succeeded at 3548 (offset 9 lines).
[OHOS ERROR] Hunk #49 succeeded at 3661 (offset 9 lines).
[OHOS ERROR] Hunk #50 succeeded at 3744 (offset 9 lines).
[OHOS ERROR] Hunk #51 succeeded at 3771 (offset 9 lines).
[OHOS ERROR] Hunk #52 succeeded at 3973 (offset 9 lines).
[OHOS ERROR] Hunk #53 succeeded at 4050 (offset 9 lines).
[OHOS ERROR] Hunk #54 succeeded at 4211 (offset 9 lines).
[OHOS ERROR] Hunk #55 succeeded at 4273 (offset 9 lines).
[OHOS ERROR] Hunk #56 succeeded at 4293 (offset 9 lines).
[OHOS ERROR] 5 out of 56 hunks FAILED -- saving rejects to file drivers/pinctrl/pinctrl-rockchip.c.rej
[OHOS ERROR] patching file drivers/power/reset/reboot-mode.c
[OHOS ERROR] patching file drivers/power/reset/syscon-reboot-mode.c
[OHOS ERROR] patching file drivers/power/supply/power_supply_core.c
[OHOS ERROR] Hunk #2 succeeded at 532 (offset 3 lines).
[OHOS ERROR] patching file drivers/power/supply/power_supply_sysfs.c
[OHOS ERROR] patching file drivers/pwm/pwm-rockchip.c
[OHOS ERROR] patching file drivers/pwm/sysfs.c
[OHOS ERROR] patching file drivers/soc/rockchip/grf.c
[OHOS ERROR] patching file drivers/soc/rockchip/io-domain.c
[OHOS ERROR] patching file drivers/soc/rockchip/pm_domains.c
[OHOS ERROR] patching file drivers/spi/spi-rockchip.c
[OHOS ERROR] patching file drivers/spi/spidev.c
[OHOS ERROR] patching file drivers/staging/android/Makefile
[OHOS ERROR] patching file drivers/thermal/rockchip_thermal.c
[OHOS ERROR] patching file drivers/tty/serial/8250/8250.h
[OHOS ERROR] Hunk #5 succeeded at 354 (offset 7 lines).
[OHOS ERROR] patching file drivers/tty/serial/8250/8250_core.c
[OHOS ERROR] Hunk #4 succeeded at 1260 (offset 1 line).
[OHOS ERROR] patching file drivers/tty/serial/8250/8250_dma.c
[OHOS ERROR] patching file drivers/tty/serial/8250/8250_dw.c
[OHOS ERROR] patching file drivers/tty/serial/8250/8250_dwlib.c
[OHOS ERROR] patching file drivers/tty/serial/8250/8250_port.c
[OHOS ERROR] Hunk #1 succeeded at 123 (offset 1 line).
[OHOS ERROR] Hunk #2 succeeded at 1537 (offset 1 line).
[OHOS ERROR] Hunk #3 succeeded at 1873 (offset 1 line).
[OHOS ERROR] Hunk #4 succeeded at 1890 (offset 1 line).
[OHOS ERROR] Hunk #5 FAILED at 1900.
[OHOS ERROR] Hunk #6 succeeded at 1911 (offset 2 lines).
[OHOS ERROR] Hunk #7 succeeded at 1941 (offset 4 lines).
[OHOS ERROR] Hunk #8 succeeded at 2448 (offset 10 lines).
[OHOS ERROR] Hunk #9 succeeded at 2646 (offset 10 lines).
[OHOS ERROR] Hunk #10 succeeded at 2669 (offset 10 lines).
[OHOS ERROR] Hunk #11 succeeded at 2859 (offset 10 lines).
[OHOS ERROR] Hunk #12 succeeded at 2873 (offset 10 lines).
[OHOS ERROR] Hunk #13 succeeded at 2892 (offset 10 lines).
[OHOS ERROR] Hunk #14 succeeded at 2918 (offset 10 lines).
[OHOS ERROR] 1 out of 14 hunks FAILED -- saving rejects to file drivers/tty/serial/8250/8250_port.c.rej
[OHOS ERROR] patching file drivers/usb/class/cdc-acm.c
[OHOS ERROR] patching file drivers/usb/class/cdc-acm.h
[OHOS ERROR] patching file drivers/usb/common/Kconfig
[OHOS ERROR] patching file drivers/usb/common/debug.c
[OHOS ERROR] patching file drivers/usb/core/config.c
[OHOS ERROR] patching file drivers/usb/core/driver.c
[OHOS ERROR] patching file drivers/usb/core/hcd.c
[OHOS ERROR] Hunk #1 succeeded at 1696 (offset 4 lines).
[OHOS ERROR] Hunk #2 succeeded at 1710 (offset 4 lines).
[OHOS ERROR] Hunk #3 succeeded at 1738 (offset 4 lines).
[OHOS ERROR] Hunk #4 succeeded at 1749 (offset 4 lines).
[OHOS ERROR] Hunk #5 succeeded at 1764 (offset 4 lines).
[OHOS ERROR] Hunk #6 succeeded at 2665 (offset 4 lines).
[OHOS ERROR] Hunk #7 succeeded at 2803 (offset 4 lines).
[OHOS ERROR] Hunk #8 succeeded at 2821 (offset 4 lines).
[OHOS ERROR] Hunk #9 succeeded at 2870 (offset 4 lines).
[OHOS ERROR] Hunk #10 succeeded at 2880 (offset 4 lines).
[OHOS ERROR] Hunk #11 succeeded at 2889 (offset 4 lines).
[OHOS ERROR] patching file drivers/usb/core/hub.c
[OHOS ERROR] Hunk #1 succeeded at 1120 (offset 8 lines).
[OHOS ERROR] Hunk #2 succeeded at 1235 (offset 8 lines).
[OHOS ERROR] Hunk #3 succeeded at 1837 (offset 8 lines).
[OHOS ERROR] Hunk #4 succeeded at 4731 (offset 100 lines).
[OHOS ERROR] Hunk #5 FAILED at 4943.
[OHOS ERROR] Hunk #6 succeeded at 5197 (offset 80 lines).
[OHOS ERROR] Hunk #7 succeeded at 5252 (offset 80 lines).
[OHOS ERROR] Hunk #8 succeeded at 5261 (offset 80 lines).
[OHOS ERROR] Hunk #9 FAILED at 5202.
[OHOS ERROR] Hunk #10 succeeded at 5382 (offset 80 lines).
[OHOS ERROR] Hunk #11 succeeded at 5406 (offset 80 lines).
[OHOS ERROR] Hunk #12 succeeded at 5930 (offset 76 lines).
[OHOS ERROR] Hunk #13 succeeded at 5939 (offset 76 lines).
[OHOS ERROR] 2 out of 13 hunks FAILED -- saving rejects to file drivers/usb/core/hub.c.rej
[OHOS ERROR] patching file drivers/usb/core/quirks.c
[OHOS ERROR] patching file drivers/usb/dwc2/core.h
[OHOS ERROR] patching file drivers/usb/dwc2/gadget.c
[OHOS ERROR] patching file drivers/usb/dwc2/hcd.c
[OHOS ERROR] patching file drivers/usb/dwc2/hcd_intr.c
[OHOS ERROR] patching file drivers/usb/dwc2/hcd_queue.c
[OHOS ERROR] patching file drivers/usb/dwc2/params.c
[OHOS ERROR] patching file drivers/usb/dwc2/platform.c
[OHOS ERROR] Hunk #1 FAILED at 128.
[OHOS ERROR] Hunk #2 succeeded at 151 (offset -12 lines).
[OHOS ERROR] Hunk #3 succeeded at 180 with fuzz 2 (offset -12 lines).
[OHOS ERROR] Hunk #4 succeeded at 336 (offset -12 lines).
[OHOS ERROR] Hunk #5 succeeded at 391 (offset -12 lines).
[OHOS ERROR] Hunk #6 succeeded at 545 (offset -12 lines).
[OHOS ERROR] Hunk #7 succeeded at 613 (offset -12 lines).
[OHOS ERROR] Hunk #8 succeeded at 665 (offset -12 lines).
[OHOS ERROR] Hunk #9 FAILED at 710.
[OHOS ERROR] Hunk #10 succeeded at 757 (offset -12 lines).
[OHOS ERROR] Hunk #11 succeeded at 797 (offset -12 lines).
[OHOS ERROR] 2 out of 11 hunks FAILED -- saving rejects to file drivers/usb/dwc2/platform.c.rej
[OHOS ERROR] patching file drivers/usb/dwc3/core.c
[OHOS ERROR] Hunk #26 succeeded at 1670 (offset -2 lines).
[OHOS ERROR] Hunk #27 succeeded at 1681 (offset -2 lines).
[OHOS ERROR] Hunk #28 succeeded at 1729 (offset -4 lines).
[OHOS ERROR] Hunk #29 succeeded at 1755 (offset -3 lines).
[OHOS ERROR] Hunk #30 succeeded at 1942 (offset -3 lines).
[OHOS ERROR] Hunk #31 succeeded at 1952 (offset -3 lines).
[OHOS ERROR] Hunk #32 succeeded at 2001 (offset -3 lines).
[OHOS ERROR] Hunk #33 succeeded at 2018 (offset -3 lines).
[OHOS ERROR] patching file drivers/usb/dwc3/core.h
[OHOS ERROR] patching file drivers/usb/dwc3/debug.h
[OHOS ERROR] patching file drivers/usb/dwc3/debugfs.c
[OHOS ERROR] Hunk #1 succeeded at 454 (offset 14 lines).
[OHOS ERROR] Hunk #2 FAILED at 642.
[OHOS ERROR] Hunk #3 FAILED at 666.
[OHOS ERROR] 2 out of 3 hunks FAILED -- saving rejects to file drivers/usb/dwc3/debugfs.c.rej
[OHOS ERROR] patching file drivers/usb/dwc3/drd.c
[OHOS ERROR] patching file drivers/usb/dwc3/ep0.c
[OHOS ERROR] patching file drivers/usb/dwc3/gadget.c
[OHOS ERROR] Hunk #1 succeeded at 312 (offset 1 line).
[OHOS ERROR] Hunk #2 succeeded at 407 (offset 1 line).
[OHOS ERROR] Hunk #3 succeeded at 631 (offset 1 line).
[OHOS ERROR] Hunk #4 succeeded at 835 (offset 1 line).
[OHOS ERROR] Hunk #5 succeeded at 921 (offset 1 line).
[OHOS ERROR] Hunk #6 succeeded at 995 (offset 1 line).
[OHOS ERROR] Hunk #7 succeeded at 1158 (offset 1 line).
[OHOS ERROR] Hunk #8 succeeded at 1208 (offset 1 line).
[OHOS ERROR] Hunk #9 succeeded at 1260 (offset 1 line).
[OHOS ERROR] Hunk #10 succeeded at 1267 (offset 1 line).
[OHOS ERROR] Hunk #11 succeeded at 1603 (offset 1 line).
[OHOS ERROR] Hunk #12 succeeded at 1844 (offset 26 lines).
[OHOS ERROR] Hunk #13 succeeded at 1957 (offset 26 lines).
[OHOS ERROR] Hunk #14 succeeded at 2019 (offset 26 lines).
[OHOS ERROR] Hunk #15 succeeded at 2041 (offset 26 lines).
[OHOS ERROR] Hunk #16 succeeded at 2089 (offset 26 lines).
[OHOS ERROR] Hunk #17 succeeded at 2295 (offset 26 lines).
[OHOS ERROR] Hunk #18 succeeded at 2413 (offset 26 lines).
[OHOS ERROR] Hunk #19 succeeded at 2441 (offset 26 lines).
[OHOS ERROR] Hunk #20 succeeded at 2488 with fuzz 1 (offset 28 lines).
[OHOS ERROR] Hunk #21 succeeded at 2542 (offset 28 lines).
[OHOS ERROR] Hunk #22 succeeded at 2555 (offset 28 lines).
[OHOS ERROR] Hunk #23 succeeded at 2598 (offset 28 lines).
[OHOS ERROR] Hunk #24 succeeded at 2616 (offset 28 lines).
[OHOS ERROR] Hunk #25 succeeded at 2653 (offset 28 lines).
[OHOS ERROR] Hunk #26 succeeded at 2751 (offset 28 lines).
[OHOS ERROR] Hunk #27 succeeded at 2803 (offset 28 lines).
[OHOS ERROR] Hunk #28 succeeded at 2902 (offset 28 lines).
[OHOS ERROR] Hunk #29 succeeded at 2929 (offset 28 lines).
[OHOS ERROR] Hunk #30 succeeded at 2974 (offset 28 lines).
[OHOS ERROR] Hunk #31 succeeded at 3229 (offset 28 lines).
[OHOS ERROR] Hunk #32 succeeded at 3249 (offset 28 lines).
[OHOS ERROR] Hunk #33 succeeded at 3274 (offset 28 lines).
[OHOS ERROR] Hunk #34 succeeded at 3306 (offset 28 lines).
[OHOS ERROR] Hunk #35 succeeded at 3412 (offset 28 lines).
[OHOS ERROR] Hunk #36 succeeded at 3550 (offset 28 lines).
[OHOS ERROR] Hunk #37 succeeded at 3559 (offset 28 lines).
[OHOS ERROR] Hunk #38 succeeded at 3568 (offset 28 lines).
[OHOS ERROR] Hunk #39 succeeded at 3580 with fuzz 1 (offset 28 lines).
[OHOS ERROR] Hunk #40 FAILED at 3606.
[OHOS ERROR] Hunk #41 succeeded at 3741 (offset 16 lines).
[OHOS ERROR] Hunk #42 succeeded at 3767 (offset 16 lines).
[OHOS ERROR] Hunk #43 succeeded at 3793 (offset 16 lines).
[OHOS ERROR] Hunk #44 succeeded at 3889 (offset 16 lines).
[OHOS ERROR] Hunk #45 succeeded at 4034 (offset 16 lines).
[OHOS ERROR] Hunk #46 succeeded at 4042 (offset 16 lines).
[OHOS ERROR] Hunk #47 succeeded at 4057 (offset 16 lines).
[OHOS ERROR] Hunk #48 succeeded at 4125 (offset 16 lines).
[OHOS ERROR] Hunk #49 succeeded at 4138 (offset 16 lines).
[OHOS ERROR] Hunk #50 succeeded at 4148 (offset 16 lines).
[OHOS ERROR] Hunk #51 succeeded at 4306 (offset 21 lines).
[OHOS ERROR] Hunk #52 succeeded at 4333 (offset 21 lines).
[OHOS ERROR] Hunk #53 succeeded at 4350 (offset 21 lines).
[OHOS ERROR] Hunk #54 succeeded at 4408 (offset 21 lines).
[OHOS ERROR] 1 out of 54 hunks FAILED -- saving rejects to file drivers/usb/dwc3/gadget.c.rej
[OHOS ERROR] patching file drivers/usb/dwc3/gadget.h
[OHOS ERROR] patching file drivers/usb/dwc3/trace.c
[OHOS ERROR] patching file drivers/usb/gadget/composite.c
[OHOS ERROR] patching file drivers/usb/gadget/configfs.c
[OHOS ERROR] patching file drivers/usb/gadget/epautoconf.c
[OHOS ERROR] patching file drivers/usb/gadget/function/f_fs.c
[OHOS ERROR] patching file drivers/usb/gadget/function/f_mass_storage.c
[OHOS ERROR] patching file drivers/usb/gadget/function/f_uvc.c
[OHOS ERROR] patching file drivers/usb/gadget/function/u_audio.h
[OHOS ERROR] patching file drivers/usb/gadget/function/u_ether.h
[OHOS ERROR] patching file drivers/usb/gadget/function/u_ether_configfs.h
[OHOS ERROR] patching file drivers/usb/gadget/function/u_serial.c
[OHOS ERROR] patching file drivers/usb/gadget/function/u_uac2.h
[OHOS ERROR] patching file drivers/usb/gadget/function/u_uvc.h
[OHOS ERROR] patching file drivers/usb/gadget/function/uvc.h
[OHOS ERROR] patching file drivers/usb/gadget/function/uvc_configfs.c
[OHOS ERROR] Hunk #2 succeeded at 825 (offset 57 lines).
[OHOS ERROR] Hunk #3 succeeded at 1137 (offset 57 lines).
[OHOS ERROR] Hunk #4 succeeded at 1256 (offset 57 lines).
[OHOS ERROR] Hunk #5 succeeded at 1391 (offset 57 lines).
[OHOS ERROR] Hunk #6 succeeded at 1404 (offset 57 lines).
[OHOS ERROR] Hunk #7 succeeded at 1449 (offset 57 lines).
[OHOS ERROR] Hunk #8 succeeded at 1462 (offset 57 lines).
[OHOS ERROR] Hunk #9 succeeded at 1473 (offset 57 lines).
[OHOS ERROR] Hunk #10 succeeded at 1506 (offset 57 lines).
[OHOS ERROR] Hunk #11 succeeded at 1950 (offset 57 lines).
[OHOS ERROR] Hunk #12 succeeded at 2398 (offset 57 lines).
[OHOS ERROR] Hunk #13 succeeded at 2412 (offset 57 lines).
[OHOS ERROR] Hunk #14 succeeded at 2427 (offset 57 lines).
[OHOS ERROR] Hunk #15 succeeded at 2502 (offset 57 lines).
[OHOS ERROR] Hunk #16 succeeded at 2520 (offset 57 lines).
[OHOS ERROR] Hunk #17 succeeded at 2536 (offset 57 lines).
[OHOS ERROR] Hunk #18 succeeded at 2751 (offset 57 lines).
[OHOS ERROR] Hunk #19 succeeded at 2819 (offset 57 lines).
[OHOS ERROR] patching file drivers/usb/gadget/function/uvc_queue.c
[OHOS ERROR] patching file drivers/usb/gadget/function/uvc_v4l2.c
[OHOS ERROR] patching file drivers/usb/gadget/function/uvc_video.c
[OHOS ERROR] patching file drivers/usb/gadget/udc/Kconfig
[OHOS ERROR] patching file drivers/usb/gadget/udc/core.c
[OHOS ERROR] patching file drivers/usb/gadget/udc/trace.c
[OHOS ERROR] patching file drivers/usb/host/Makefile
[OHOS ERROR] patching file drivers/usb/host/ehci-platform.c
[OHOS ERROR] patching file drivers/usb/host/ehci.h
[OHOS ERROR] patching file drivers/usb/host/fotg210.h
[OHOS ERROR] patching file drivers/usb/host/ohci-platform.c
[OHOS ERROR] patching file drivers/usb/host/xhci-hub.c
[OHOS ERROR] patching file drivers/usb/host/xhci-mem.c
[OHOS ERROR] patching file drivers/usb/host/xhci-pci.c
[OHOS ERROR] patching file drivers/usb/host/xhci-plat.c
[OHOS ERROR] patching file drivers/usb/host/xhci-plat.h
[OHOS ERROR] patching file drivers/usb/host/xhci-ring.c
[OHOS ERROR] patching file drivers/usb/host/xhci-trace.c
[OHOS ERROR] patching file drivers/usb/host/xhci.c
[OHOS ERROR] Hunk #1 succeeded at 21 (offset 1 line).
[OHOS ERROR] Hunk #2 succeeded at 66 (offset 1 line).
[OHOS ERROR] Hunk #3 succeeded at 74 (offset 1 line).
[OHOS ERROR] Hunk #4 succeeded at 149 (offset 1 line).
[OHOS ERROR] Hunk #5 succeeded at 163 (offset 1 line).
[OHOS ERROR] Hunk #6 succeeded at 196 (offset 1 line).
[OHOS ERROR] Hunk #7 succeeded at 210 (offset 1 line).
[OHOS ERROR] Hunk #8 succeeded at 699 (offset 4 lines).
[OHOS ERROR] Hunk #9 succeeded at 735 (offset 4 lines).
[OHOS ERROR] Hunk #10 succeeded at 784 (offset 4 lines).
[OHOS ERROR] Hunk #11 succeeded at 997 (offset 4 lines).
[OHOS ERROR] Hunk #12 succeeded at 1095 (offset 4 lines).
[OHOS ERROR] Hunk #13 succeeded at 1111 (offset 4 lines).
[OHOS ERROR] Hunk #14 succeeded at 1147 (offset 4 lines).
[OHOS ERROR] Hunk #15 succeeded at 1167 (offset 4 lines).
[OHOS ERROR] Hunk #16 succeeded at 1262 (offset 4 lines).
[OHOS ERROR] Hunk #17 succeeded at 1311 (offset 4 lines).
[OHOS ERROR] Hunk #18 succeeded at 1322 (offset 4 lines).
[OHOS ERROR] Hunk #19 succeeded at 1333 (offset 4 lines).
[OHOS ERROR] Hunk #20 succeeded at 1478 (offset 4 lines).
[OHOS ERROR] Hunk #21 succeeded at 1496 (offset 4 lines).
[OHOS ERROR] Hunk #22 succeeded at 1701 (offset 4 lines).
[OHOS ERROR] Hunk #23 succeeded at 1752 (offset 4 lines).
[OHOS ERROR] Hunk #24 succeeded at 1813 (offset 4 lines).
[OHOS ERROR] Hunk #25 succeeded at 1820 (offset 4 lines).
[OHOS ERROR] Hunk #26 succeeded at 1835 (offset 4 lines).
[OHOS ERROR] Hunk #27 succeeded at 1910 (offset 4 lines).
[OHOS ERROR] Hunk #28 succeeded at 1934 (offset 4 lines).
[OHOS ERROR] Hunk #29 succeeded at 2844 (offset 4 lines).
[OHOS ERROR] Hunk #30 succeeded at 2976 (offset 4 lines).
[OHOS ERROR] Hunk #31 succeeded at 2995 (offset 4 lines).
[OHOS ERROR] Hunk #32 succeeded at 3019 (offset 4 lines).
[OHOS ERROR] Hunk #33 succeeded at 3164 (offset 4 lines).
[OHOS ERROR] Hunk #34 succeeded at 3202 (offset 4 lines).
[OHOS ERROR] Hunk #35 succeeded at 3228 (offset 4 lines).
[OHOS ERROR] Hunk #36 succeeded at 3752 (offset 4 lines).
[OHOS ERROR] Hunk #37 succeeded at 3844 (offset 4 lines).
[OHOS ERROR] Hunk #38 succeeded at 3872 (offset 4 lines).
[OHOS ERROR] Hunk #39 succeeded at 4004 (offset 4 lines).
[OHOS ERROR] Hunk #40 succeeded at 4142 (offset 4 lines).
[OHOS ERROR] Hunk #41 succeeded at 4233 (offset 4 lines).
[OHOS ERROR] Hunk #42 succeeded at 4297 (offset 4 lines).
[OHOS ERROR] Hunk #43 succeeded at 4329 (offset 4 lines).
[OHOS ERROR] Hunk #44 succeeded at 4977 (offset 4 lines).
[OHOS ERROR] Hunk #45 succeeded at 4990 (offset 4 lines).
[OHOS ERROR] Hunk #46 succeeded at 5049 (offset 4 lines).
[OHOS ERROR] Hunk #47 succeeded at 5092 (offset 4 lines).
[OHOS ERROR] Hunk #48 succeeded at 5158 (offset 4 lines).
[OHOS ERROR] Hunk #49 succeeded at 5276 (offset 4 lines).
[OHOS ERROR] Hunk #50 succeeded at 5424 (offset 4 lines).
[OHOS ERROR] patching file drivers/usb/host/xhci.h
[OHOS ERROR] patching file drivers/usb/serial/cp210x.c
[OHOS ERROR] Hunk #1 succeeded at 246 (offset 1 line).
[OHOS ERROR] Hunk #2 succeeded at 269 (offset 1 line).
[OHOS ERROR] Hunk #3 succeeded at 1340 (offset 1 line).
[OHOS ERROR] Hunk #4 succeeded at 1753 (offset 1 line).
[OHOS ERROR] Hunk #5 succeeded at 1763 (offset 1 line).
[OHOS ERROR] Hunk #6 succeeded at 1775 (offset 1 line).
[OHOS ERROR] Hunk #7 succeeded at 2095 (offset 1 line).
[OHOS ERROR] Hunk #8 succeeded at 2115 (offset 1 line).
[OHOS ERROR] patching file drivers/usb/serial/option.c
[OHOS ERROR] Hunk #7 succeeded at 565 with fuzz 2.
[OHOS ERROR] Hunk #8 succeeded at 1068 (offset 5 lines).
[OHOS ERROR] Hunk #9 succeeded at 1109 (offset 5 lines).
[OHOS ERROR] Hunk #10 FAILED at 1119.
[OHOS ERROR] Hunk #11 succeeded at 1244 (offset 7 lines).
[OHOS ERROR] Hunk #12 FAILED at 1253.
[OHOS ERROR] Hunk #13 succeeded at 1304 (offset 15 lines).
[OHOS ERROR] Hunk #14 succeeded at 1316 (offset 15 lines).
[OHOS ERROR] Hunk #15 succeeded at 1692 (offset 15 lines).
[OHOS ERROR] Hunk #16 succeeded at 1939 (offset 15 lines).
[OHOS ERROR] Hunk #17 succeeded at 1998 (offset 15 lines).
[OHOS ERROR] Hunk #18 succeeded at 2140 (offset 15 lines).
[OHOS ERROR] Hunk #19 FAILED at 2139.
[OHOS ERROR] 3 out of 19 hunks FAILED -- saving rejects to file drivers/usb/serial/option.c.rej
[OHOS ERROR] patching file drivers/usb/serial/qcserial.c
[OHOS ERROR] patching file drivers/usb/storage/scsiglue.c
[OHOS ERROR] patching file drivers/usb/storage/unusual_devs.h
[OHOS ERROR] patching file drivers/usb/storage/unusual_uas.h
[OHOS ERROR] Hunk #3 succeeded at 124 with fuzz 2 (offset 7 lines).
[OHOS ERROR] Hunk #4 succeeded at 151 (offset 7 lines).
[OHOS ERROR] patching file drivers/usb/typec/altmodes/Kconfig
[OHOS ERROR] patching file drivers/usb/typec/altmodes/displayport.c
[OHOS ERROR] Hunk #6 succeeded at 121 with fuzz 2 (offset 4 lines).
[OHOS ERROR] Hunk #7 succeeded at 142 (offset 4 lines).
[OHOS ERROR] Hunk #8 succeeded at 155 (offset 4 lines).
[OHOS ERROR] Hunk #9 succeeded at 186 (offset 4 lines).
[OHOS ERROR] Hunk #10 succeeded at 216 (offset 4 lines).
[OHOS ERROR] Hunk #11 succeeded at 230 (offset 4 lines).
[OHOS ERROR] Hunk #12 succeeded at 448 (offset 4 lines).
[OHOS ERROR] Hunk #13 succeeded at 474 (offset 4 lines).
[OHOS ERROR] Hunk #14 succeeded at 511 (offset 4 lines).
[OHOS ERROR] Hunk #15 succeeded at 549 (offset 8 lines).
[OHOS ERROR] Hunk #16 succeeded at 578 (offset 8 lines).
[OHOS ERROR] Hunk #17 succeeded at 598 (offset 8 lines).
[OHOS ERROR] patching file drivers/usb/typec/class.c
[OHOS ERROR] patching file drivers/usb/typec/ucsi/Kconfig
[OHOS ERROR] patching file drivers/video/backlight/pwm_bl.c
[OHOS ERROR] patching file drivers/video/fbdev/kyro/fbdev.c
[OHOS ERROR] patching file include/drm/bridge/analogix_dp.h
[OHOS ERROR] patching file include/drm/bridge/dw_hdmi.h
[OHOS ERROR] patching file include/drm/bridge/dw_mipi_dsi.h
[OHOS ERROR] patching file include/drm/drm_connector.h
[OHOS ERROR] patching file include/drm/drm_crtc.h
[OHOS ERROR] patching file include/drm/drm_drv.h
[OHOS ERROR] patching file include/drm/drm_edid.h
[OHOS ERROR] patching file include/drm/drm_file.h
[OHOS ERROR] patching file include/drm/drm_mipi_dsi.h
[OHOS ERROR] patching file include/drm/drm_mode_config.h
[OHOS ERROR] patching file include/drm/drm_mode_object.h
[OHOS ERROR] patching file include/drm/drm_prime.h
[OHOS ERROR] patching file include/dt-bindings/soc/rockchip,boot-mode.h
[OHOS ERROR] patching file include/linux/clk-provider.h
[OHOS ERROR] patching file include/linux/dma-buf.h
[OHOS ERROR] patching file include/linux/dma-fence.h
[OHOS ERROR] patching file include/linux/dma-heap.h
[OHOS ERROR] patching file include/linux/dma-iommu.h
[OHOS ERROR] patching file include/linux/dma-mapping.h
[OHOS ERROR] patching file include/linux/energy_model.h
[OHOS ERROR] patching file include/linux/extcon.h
[OHOS ERROR] patching file include/linux/freezer.h
[OHOS ERROR] patching file include/linux/iommu.h
[OHOS ERROR] patching file include/linux/iova.h
[OHOS ERROR] patching file include/linux/irqchip/arm-gic-v3.h
[OHOS ERROR] patching file include/linux/irqchip/arm-gic-v4.h
[OHOS ERROR] patching file include/linux/mfd/rk808.h
[OHOS ERROR] patching file include/linux/mmc/core.h
[OHOS ERROR] patching file include/linux/mmc/host.h
[OHOS ERROR] patching file include/linux/mmc/mmc.h
[OHOS ERROR] patching file include/linux/mmc/pm.h
[OHOS ERROR] patching file include/linux/mmu_context.h
[OHOS ERROR] patching file include/linux/power_supply.h
[OHOS ERROR] Hunk #3 succeeded at 438 (offset 1 line).
[OHOS ERROR] patching file include/linux/pwm.h
[OHOS ERROR] patching file include/linux/reboot-mode.h
[OHOS ERROR] patching file include/linux/reboot.h
[OHOS ERROR] patching file include/linux/sched.h
[OHOS ERROR] patching file include/linux/soc/rockchip/pvtm.h
[OHOS ERROR] patching file include/linux/soc/rockchip/rk_fiq_debugger.h
[OHOS ERROR] patching file include/linux/soc/rockchip/rk_sdmmc.h
[OHOS ERROR] patching file include/linux/soc/rockchip/rk_vendor_storage.h
[OHOS ERROR] patching file include/linux/soc/rockchip/rockchip_decompress.h
[OHOS ERROR] patching file include/linux/soc/rockchip/rockchip_thunderboot_crypto.h
[OHOS ERROR] patching file include/linux/soc/rockchip/rockchip_thunderboot_service.h
[OHOS ERROR] patching file include/linux/stmmac.h
[OHOS ERROR] patching file include/linux/usb/composite.h
[OHOS ERROR] patching file include/linux/usb/gadget.h
[OHOS ERROR] patching file include/linux/usb/hcd.h
[OHOS ERROR] patching file include/linux/usb/otg.h
[OHOS ERROR] patching file include/linux/usb/pd.h
[OHOS ERROR] patching file include/linux/usb/pd_ext_sdb.h
[OHOS ERROR] patching file include/linux/usb/pd_vdo.h
[OHOS ERROR] patching file include/linux/usb/phy.h
[OHOS ERROR] patching file include/linux/usb/quirks.h
[OHOS ERROR] patching file include/linux/usb/tcpm.h
[OHOS ERROR] patching file include/linux/usb/typec.h
[OHOS ERROR] patching file include/linux/usb/typec_altmode.h
[OHOS ERROR] patching file include/linux/usb/typec_tbt.h
[OHOS ERROR] patching file include/linux/usb/usbnet.h
[OHOS ERROR] patching file include/media/v4l2-async.h
[OHOS ERROR] patching file include/soc/rockchip/rockchip_sip.h
[OHOS ERROR] patching file include/sound/hdmi-codec.h
[OHOS ERROR] patching file include/sound/hwdep.h
[OHOS ERROR] patching file include/sound/pcm_iec958.h
[OHOS ERROR] patching file include/uapi/drm/drm_fourcc.h
[OHOS ERROR] patching file include/uapi/linux/dma-buf.h
[OHOS ERROR] patching file include/uapi/linux/media-bus-format.h
[OHOS ERROR] patching file include/uapi/linux/serial_reg.h
[OHOS ERROR] patching file include/uapi/linux/usb/g_uvc.h
[OHOS ERROR] patching file include/uapi/linux/usb/video.h
[OHOS ERROR] Hunk #1 succeeded at 597 (offset 30 lines).
[OHOS ERROR] patching file include/uapi/linux/v4l2-controls.h
[OHOS ERROR] patching file include/uapi/linux/videodev2.h
[OHOS ERROR] patching file init/Kconfig
[OHOS ERROR] Hunk #1 succeeded at 1364 (offset 12 lines).
[OHOS ERROR] Hunk #2 succeeded at 1728 (offset 12 lines).
[OHOS ERROR] patching file init/initramfs.c
[OHOS ERROR] patching file init/main.c
[OHOS ERROR] patching file ipc/msg.c
[OHOS ERROR] patching file ipc/namespace.c
[OHOS ERROR] patching file ipc/sem.c
[OHOS ERROR] patching file ipc/shm.c
[OHOS ERROR] patching file ipc/util.c
[OHOS ERROR] patching file kernel/cgroup/legacy_freezer.c
[OHOS ERROR] patching file kernel/cpu.c
[OHOS ERROR] patching file kernel/irq/generic-chip.c
[OHOS ERROR] patching file kernel/power/Makefile
[OHOS ERROR] patching file kernel/power/energy_model.c
[OHOS ERROR] Hunk #3 succeeded at 255 (offset -3 lines).
[OHOS ERROR] Hunk #4 succeeded at 325 (offset -3 lines).
[OHOS ERROR] patching file kernel/power/power.h
[OHOS ERROR] patching file kernel/power/process.c
[OHOS ERROR] patching file kernel/power/suspend.c
[OHOS ERROR] patching file kernel/reboot.c
[OHOS ERROR] patching file kernel/sched/core.c
[OHOS ERROR] Hunk #6 succeeded at 1679 with fuzz 1 (offset 3 lines).
[OHOS ERROR] Hunk #7 succeeded at 1799 (offset 3 lines).
[OHOS ERROR] Hunk #8 succeeded at 2464 (offset 3 lines).
[OHOS ERROR] Hunk #9 succeeded at 2658 (offset 3 lines).
[OHOS ERROR] Hunk #10 succeeded at 3056 (offset 3 lines).
[OHOS ERROR] Hunk #11 succeeded at 3315 (offset 3 lines).
[OHOS ERROR] Hunk #12 succeeded at 5767 (offset 3 lines).
[OHOS ERROR] Hunk #13 succeeded at 5799 (offset 3 lines).
[OHOS ERROR] Hunk #14 succeeded at 7107 (offset 3 lines).
[OHOS ERROR] Hunk #15 succeeded at 9245 (offset 3 lines).
[OHOS ERROR] patching file kernel/sched/fair.c
[OHOS ERROR] Hunk #5 succeeded at 5411 (offset 59 lines).
[OHOS ERROR] Hunk #6 succeeded at 10978 (offset 166 lines).
[OHOS ERROR] patching file kernel/sched/loadavg.c
[OHOS ERROR] patching file kernel/sched/pelt.c
[OHOS ERROR] patching file kernel/sched/rt.c
[OHOS ERROR] patching file kernel/sched/sched-pelt.h
[OHOS ERROR] patching file kernel/sched/sched.h
[OHOS ERROR] Hunk #1 succeeded at 1914 (offset 3 lines).
[OHOS ERROR] patching file kernel/sched/topology.c
[OHOS ERROR] patching file kernel/sched/wait.c
[OHOS ERROR] patching file mm/memblock.c
[OHOS ERROR] patching file net/bluetooth/l2cap_sock.c
[OHOS ERROR] patching file net/bluetooth/sco.c
[OHOS ERROR] patching file scripts/Makefile.lib
[OHOS ERROR] patching file scripts/kconfig/parser.y
[OHOS ERROR] patching file security/selinux/hooks.c
[OHOS ERROR] Hunk #1 succeeded at 103 (offset 2 lines).
[OHOS ERROR] patching file security/selinux/ss/avtab.h
[OHOS ERROR] patching file security/selinux/ss/context.h
[OHOS ERROR] patching file sound/soc/rockchip/Kconfig
[OHOS ERROR] patching file sound/soc/rockchip/Makefile
[OHOS ERROR] patching file sound/soc/rockchip/rockchip_i2s.h
[OHOS ERROR] patching file sound/soc/rockchip/rockchip_pdm.h

[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR]     return func(*args, **kwargs)
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/modules/ohos_build_module.py", line 67, in run
[OHOS ERROR]     raise exception
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR]     super().run()
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/modules/interface/build_module_interface.py", line 72, in run
[OHOS ERROR]     raise exception
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/modules/interface/build_module_interface.py", line 70, in run
[OHOS ERROR]     self._target_compilation()
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation
[OHOS ERROR]     self.target_compiler.run()
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/services/ninja.py", line 38, in run
[OHOS ERROR]     self._execute_ninja_cmd()
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/services/ninja.py", line 69, in _execute_ninja_cmd
[OHOS ERROR]     SystemUtil.exec_command(
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/util/system_util.py", line 64, in exec_command
[OHOS ERROR]     LogUtil.get_failed_log(log_path)
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/util/log_util.py", line 193, in get_failed_log
[OHOS ERROR]     LogUtil.get_compiler_failed_log(log_path)
[OHOS ERROR]   File "/mnt/data/openharmony/oh_4.1_release/code/build/hb/util/log_util.py", line 180, in get_compiler_failed_log
[OHOS ERROR]     raise OHOSException(
[OHOS ERROR] exceptions.ohos_exception.OHOSException: COMPILE Failed! Please check error in /mnt/data/openharmony/oh_4.1_release/code/out/rk3588/error.log, and for more build information in /mnt/data/openharmony/oh_4.1_release/code/out/rk3588/build.log
[OHOS ERROR]

[OHOS ERROR] Code:        4000
[OHOS ERROR]
[OHOS ERROR] Reason:      COMPILE Failed! Please check error in /mnt/data/openharmony/oh_4.1_release/code/out/rk3588/error.log, and for more build information in /mnt/data/openharmony/oh_4.1_release/code/out/rk3588/build.log
[OHOS ERROR]
[OHOS ERROR] Error Type:  Ninja build error
[OHOS ERROR]
[OHOS ERROR] Description: An unknown error occurred while executing 'ninja -C'.
[OHOS ERROR]
[OHOS ERROR] Solution:    no solution
[OHOS ERROR]
=====build  error=====
[/md]
作者: 论坛小助手    时间: 2024-4-15 20:03
错误日志显示了多个patching操作失败,这通常意味着在应用补丁(patch)到源代码时发生了错误
作者: 论坛小助手    时间: 2024-4-15 20:04
试试以下操作:检查补丁文件、检查源代码、清理构建环境、分步应用补丁、
或者仔细检查error.log和build.log文件,这些文件通常包含了更详细的错误信息,可以帮助定位问题;
检查配置文件:确认您的设备配置文件(如.config)是否正确配置了所有必要的选项。
作者: zzzz111    时间: 2024-5-22 14:50
标题: 请问,编译dayu210报错,该怎么解决呢? 环境安装啥的都排查了,编译rk3568是成功的。
[md]请问解决了吗,我也是patch这块错误
[/md]
作者: xiaowangyaoqiang    时间: 2024-9-3 10:27
回复 zzzz111: 请问这个问题解决了吗




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5