armbian / build

Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
https://www.armbian.com
GNU General Public License v2.0
4.01k stars 2.26k forks source link

the patch problem #5719

Closed Zhonghui-Gao closed 1 year ago

Zhonghui-Gao commented 1 year ago

What happened?

image

How to reproduce?

how I solve this? thx!

Branch

main (main development branch)

On which host OS are you observing this problem?

Jammy

Relevant log URL

No response

Code of Conduct

github-actions[bot] commented 1 year ago

Jira ticket: AR-1868

viraniac commented 1 year ago

In order to answer how you can solve the error, We first need to know how to reproduce the error. Would it be possible for you to upload the complete build log somewhere. From the error report we can't tell what board you are trying to compile this for and for what kernel version.

Zhonghui-Gao commented 1 year ago

In order to answer how you can solve the error, We first need to know how to reproduce the error. Would it be possible for you to upload the complete build log somewhere. From the error report we can't tell what board you are trying to compile this for and for what kernel version.

sry, the share_log cant share by url

Zhonghui-Gao commented 1 year ago

Armbian ANSI build logs for 007c2e8d-72c8-4349-81af-dbaa3a4f9f85 - use "less -SR" to view

Armbian build at Mon Sep 18 09:05:16 CST 2023 on NULL


Repeat build: ./compile.sh build BOARD=hm3568 BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=jammy SHARE_LOG=yes

ARGs: 'PREFER_DOCKER=no' 'BUILD_MINIMAL=no' 'BUILD_DESKTOP=no' 'ARMBIAN_RELAUNCHED=yes' 'BRANCH=edge' 'BOARD=hm3568' 'SET_OWNER_TO_UID=1000' 'RELEASE=jammy' 'KERNEL_CONFIGURE=no' 'SHARE_LOG=yes' 'build'


GIT revision

   Merge branch 'main' into hm3568

GIT status

On branch hm3568 Your branch is up to date with 'origin/hm3568'.

Untracked files: (use "git add ..." to include in what will be committed) userpatches/customize-image.sh userpatches/kernel/rockchip64-edge/hm3568-dts.patch userpatches/kernel/rockchip64-edge/led.patch userpatches/kernel/rockchip64-edge/wol.patch

nothing added to commit but untracked files present (use "git add" to track)

config_early_init.log

--> (0) INFO: Starting single build process [ hm3568 ] --> (0) INFO: Checking [ basic host setup ] --> (0) INFO: Build host OS release [ jammy ] --> (0) INFO: Build host architecture [ amd64 ]

config_source_board_file.log

--> (0) INFO: Sourcing board configuration [ /home/gao/armbian-hm3568/config/boards/hm3568.conf ]

do_main_configuration.log

--> (0) INFO: Starting main configuration --> (0) INFO: Using revision from [ main VERSION file: '23.08.0-trunk' ] --> (0) INFO: Sourcing family configuration [ /home/gao/armbian-hm3568/config/sources/families/rk35xx.conf ] --> (0) INFO: Enabling extension [ rkbin-tools ] --> (0) INFO: Determined BOOT_SOC from BOOTCONFIG [ BOOT_SOC: 'rk3568'; BOOTCONFIG: 'hm-rk3568_defconfig' ] --> (0) INFO: Sourcing arch configuration [ arm64.conf ] --> (0) INFO: Extension manager [ processed 4 Extension Methods calls and 4 Extension Method implementations ]

config_post_main.log

--> (1) INFO: Configuration prepared for BOARD build [ hm3568.conf ] --> (1) EXT: Repeat Build Options (early) [ ./compile.sh build BOARD=hm3568 BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=jammy SHARE_LOG=yes ]

check_dir_for_mount_options.log

--> (1) INFO: Checked directory OK for mount options [ /home/gao/armbian-hm3568/.tmp ('main temporary dir') ]

prepare_host_noninteractive.log

--> (1) INFO: Preparing [ host ] --> (1) COMMAND: update-ccache-symlinks --> (1) INFO: Syncing clock [ host ] --> (1) COMMAND: ntpdate pool.ntp.org 18 Sep 09:04:52 ntpdate[1933675]: adjust time server 202.118.1.81 offset -0.050308 sec --> (8) INFO: Ignoring toolchains [ SKIP_EXTERNAL_TOOLCHAINS: yes ]

aggregate_packages.log

--> (8) INFO: Aggregating packages [ rootfs ] --> (8) INFO: Python3 version [ 3.10.12 - 'Python 3.10.12' ] --> (9) INFO: pip3 version [ 22.0.2: 'pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)' ] --> (9) INFO: Using cached pip packages for Python tools [ 85fcd277f85b8937fcd206c83809af0ac0d675d366d013cacc9851ab5dda88f3 ] --> (9) COMMAND: [...shortened...] /usr/bin/python3 /home/gao/armbian-hm3568/lib/tools/aggregation.py Summary: Aggregation: debootstrap: 5; rootfs: 114; image: 1; desktop: 0; apt-sources: 0; hash: 79c2bd05b5dd31ed --> (9) COMMAND: rm -f /home/gao/armbian-hm3568/.tmp/work-007c2e8d-72c8-4349-81af-dbaa3a4f9f85/tmp.t8ielaBIKA

clean_deprecated_mountpoints.log

--> (9) INFO: artifact [ uboot :: uboot() ]

artifact_prepare_version.log

--> (9) INFO: Producing new & caching [ GIT_INFO_UBOOT ] --> (9) INFO: Fetching SHA1 of 'branch' 'refs/heads/stable-4.19-rock3' [ https://github.com/radxa/u-boot.git ] --> (10) INFO: SHA1 of branch refs/heads/stable-4.19-rock3 [ 'c55987146f4f9b20f7cb2f917ca88300419afe8d' ]

unpack_artifact_from_local_cache.log

--> (11) CACHEHIT: artifact [ present in local cache: uboot-hm3568-edge 23.08.0-trunk--2017.09-Sc559-Paee9-He8c0-Vda90-Bb358 ] --> (11) INFO: artifact [ kernel :: kernel() ]

artifact_prepare_version.log

--> (11) INFO: Producing new & caching [ GIT_INFO_KERNEL ] --> (11) INFO: Fetching SHA1 of 'branch' 'refs/heads/linux-6.4.y' [ https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git ] --> (12) INFO: SHA1 of branch refs/heads/linux-6.4.y [ 'ae4e4fc35b4258626644c162a702e2bce2b79190' ] --> (14) INFO: User patches directory for kernel [ /home/gao/armbian-hm3568/userpatches/kernel/rockchip64-edge ] --> (14) INFO: Using kernel config file [ config/kernel/linux-rockchip64-edge.config ]

artifact_is_available_in_remote_cache.log

--> (14) INFO: Getting ORAS manifest [ ORAS manifest from ghcr.io/armbian/os/kernel-rockchip64-edge:23.08.0-trunk--6.4.16-Sae4e-D6ba1-Padfe-Cbdf4Hfe66-HK01ba-Vc222-B18f9 ] --> (15) INFO: Artifact is not available in remote cache [ ghcr.io/armbian/os/kernel-rockchip64-edge:23.08.0-trunk--6.4.16-Sae4e-D6ba1-Padfe-Cbdf4Hfe66-HK01ba-Vc222-B18f9 ] --> (15) INFO: Kernel build starting [ linux-kernel-worktree/6.4rockchip64arm64 ] --> (15) COMMAND: mkdir -p /home/gao/armbian-hm3568/cache/git-bare --> (15) INFO: Using full Kernel bare tree for 6.4 [ existing worktree points to full ]

kernel_prepare_bare_repo_from_oras_gitball.log

--> (15) CACHEHIT: Kernel bare tree already exists [ /home/gao/armbian-hm3568/cache/git-bare/kernel ] --> (15) INFO: Getting sources from Git [ kernel:6.4 linux-6.4.y ] --> (15) COMMAND: echo /home/gao/armbian-hm3568/cache/sources/linux-kernel-worktree/6.4rockchip64arm64/.git > /home/gao/armbian-hm3568/cache/git-bare/kernel/.git/worktrees/6.4rockchip64arm64/gitdir --> (16) INFO: Fetching updates from remote repository [ kernel:6.4 linux-6.4.y ] --> (16) COMMAND: /usr/bin/git --no-pager fetch --verbose --progress --recurse-submodules=no --no-tags https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-6.4.y --> (17) INFO: git: Fetch from remote completed, rev-parsing... [ 'kernel:6.4' 'linux-6.4.y' 'FETCH_HEAD' ] --> (17) COMMAND: git --no-pager checkout -f -q ae4e4fc35b4258626644c162a702e2bce2b79190 --> (17) COMMAND: git --no-pager clean -q -d -f --> (18) INFO: Using Kernel git revision [ ae4e4fc35b4258626644c162a702e2bce2b79190 at 'Wed Sep 13 15:48:45 CST 2023' ]

kernel_drivers_create_patches.log

--> (18) INFO: Creating patches for kernel drivers [ version: 'sha1_ae4e4fc35b4258626644c162a702e2bce2b79190' family: 'rockchip64-edge' ] --> (18) COMMAND: rm -fv /home/gao/armbian-hm3568/cache/patch/kernel-drivers/_rockchip64_edge --> (18) COMMAND: rm -fv /home/gao/armbian-hm3568/cache/patch/kernel-drivers/6.4_rockchip64 --> (18) COMMAND: git reset --hard ae4e4fc35b4258626644c162a702e2bce2b79190 HEAD is now at ae4e4fc35b42 Linux 6.4.16 --> (18) COMMAND: git clean -fd --> (19) INFO: Preparing driver [ driver_generic_bring_back_ipx ] --> (19) INFO: Reverting upstream-removed [ IPX stuff needed for Wireless Drivers ] --> (19) INFO: applying patch/misc/wireless-bring-back-headers.patch --> (19) INFO: Preparing driver [ driver_rtl8152_rtl8153 ] --> (19) INFO: Preparing driver [ driver_rtl8189ES ] --> (19) INFO: Adding [ Wireless drivers for Realtek 8189ES chipsets branch:master ] --> (19) INFO: Getting sources from Git [ rtl8189es master ] --> (20) INFO: Fetching updates from remote repository [ rtl8189es master ] --> (20) COMMAND: /usr/bin/git --no-pager fetch --recurse-submodules=no --no-tags https://github.com/jwrdegoede/rtl8189ES_linux master From https://github.com/jwrdegoede/rtl8189ES_linux

viraniac commented 1 year ago

@Zhonghui-Gao i believe your problem can simply be solved by running git pull --rebase as I think you are either missing this change or need to revert it.

We are no longer using 6.4 kernels and this is not a device supported by us. Also Issues section is for reporting bugs in build framework, but this is more like you need help for your own fork or device that is not supported by Armbian. Hence I am going to close this issue.

Please feel free to ask for help on our discord channel or on forums though. And please describe things in details next time. Just posting a screenshot doesn't help to understand what might have gone wrong there.

Zhonghui-Gao commented 1 year ago

@Zhonghui-Gao i believe your problem can simply be solved by running git pull --rebase as I think you are either missing this change or need to revert it.

We are no longer using 6.4 kernels and this is not a device supported by us. Also Issues section is for reporting bugs in build framework, but this is more like you need help for your own fork or device that is not supported by Armbian. Hence I am going to close this issue.

Please feel free to ask for help on our discord channel or on forums though. And please describe things in details next time. Just posting a screenshot doesn't help to understand what might have gone wrong there.

thx!