Skip to content

[Bug]: Failed patch "board-helios64-remove-pcie-ep-gpios" on main for NanoPi R3S-LTSย #9342

@clarkmcc

Description

@clarkmcc

What happened?

๐Ÿณ|๐Ÿ”จ]                                                      Summary of failed patches                                                    
[๐Ÿณ|๐Ÿ”จ]   โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
[๐Ÿณ|๐Ÿ”จ]   โ”‚ Patch                โ”‚ Patching output                          โ”‚ Rejects                                                    โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
[๐Ÿณ|๐Ÿ”จ]   โ”‚ board-helios64-remov โ”‚ patching file                            โ”‚ --- arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚ e-pcie-ep-gpios      โ”‚ "arch/arm64/boot/dts/rockchip/rk3399-kob โ”‚ +++ arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚ ol-helios64.dts"                         โ”‚ @@ -800,7 +800,6 @@ &pcie_phy {                            โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚ Hunk #1 FAILED at 800.                   โ”‚  };                                                        โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚ 1 out of 1 hunk FAILED -- saving rejects โ”‚                                                            โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚ to file "/tmp/tmpskfl4odm"               โ”‚  &pcie0 {                                                  โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚                                          โ”‚ -   ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;           โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚                                          โ”‚     max-link-speed = <2>;                                  โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚                                          โ”‚     num-lanes = <2>;                                       โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚                                          โ”‚     pinctrl-names = "default";                             โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ”‚                      โ”‚                                          โ”‚                                                            โ”‚
[๐Ÿณ|๐Ÿ”จ]   โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
[๐Ÿณ|๐Ÿ”จ]   Traceback (most recent call last):
[๐Ÿณ|๐Ÿ”จ]     File "/armbian/lib/tools/patching.py", line 491, in <module>
[๐Ÿณ|๐Ÿ”จ]       raise exit_with_exception
[๐Ÿณ|๐Ÿ”จ]   Exception: Failed to apply 1 patches.
[๐Ÿณ|๐Ÿ’ฅ] Error 1 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:223
    run_host_command_logged_raw() --> lib/functions/logging/runners.sh:223
        run_host_command_logged() --> lib/functions/logging/runners.sh:205
    kernel_main_patching_python() --> lib/functions/compilation/kernel-patching.sh:64
                  do_with_hooks() --> lib/functions/general/extensions.sh:617
                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:242
    artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34
       obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280
       build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:392
    main_default_build_packages() --> lib/functions/main/build-packages.sh:102
   full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:31
          do_with_default_build() --> lib/functions/main/default-build.sh:42
         cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
        armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
                 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:208
                           main() --> compile.sh:50
 ]
[๐Ÿณ|๐Ÿ’ฅ] Cleaning up [ please wait for cleanups to finish ]

How to reproduce?

When running the following compile command, the build fails

./compile.sh build BOARD=nanopi-r3s-lts BRANCH=current BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=trixie ROOTFS_TYPE=btrfs SHARE_LOG=yes

I ran this off of the current main branch 95a7ba43bc5fa4de91bd2d75f0296b5618c5cb9c

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Debian 13 Trixie

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

https://paste.armbian.com/raniconodu

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it should

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions