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
3.88k stars 2.18k forks source link

Error when building image for rockpi-e #2730

Closed fuji246 closed 3 years ago

fuji246 commented 3 years ago

Any thoughts?

[ o.k. ] Preparing [ host ]
[ o.k. ] Build host OS release [ focal ]
[ o.k. ] Syncing clock [ host ]
[ o.k. ] Checking for external GCC compilers 
[ o.k. ] Downloading sources 
[ o.k. ] Checking git sources [ u-boot v2020.10 ]
warning: redirecting to https://source.denx.de/u-boot/u-boot.git/
warning: redirecting to https://source.denx.de/u-boot/u-boot.git/
[ .... ] Up to date 
[ o.k. ] Checking git sources [ linux-mainline linux-5.10.y ]
[ .... ]  Cleaning ....  [ 222 files ]
[ o.k. ] Checking git sources [ sunxi-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ rkbin-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-tools A3700_utils-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-ddr mv_ddr-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-binaries binaries-marvell-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ odroidc2-blobs master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ testing-reports master ]

[ .... ] Up to date 
[ o.k. ] Checking git sources [ amlogic-boot-fip master ]
[ .... ] Up to date 
[ o.k. ] Adjusting [ packaging ]
[ o.k. ] * applying general-packaging-5.10.y.patch 
[ o.k. ] Adding [ Kernel splash file ]
[ o.k. ] * applying bootsplash-5.8.10-0001-Revert-vgacon-remove-software-scrollback-support.patch 
[ o.k. ] * applying bootsplash-5.8.10-0002-Revert-fbcon-remove-now-unusued-softback_lines-curso.patch 
[ o.k. ] * applying bootsplash-5.10.y-0003-Revert-fbcon-remove-soft-scrollback-code.patch 
[ o.k. ] * applying 0001-bootsplash.patch 
[ o.k. ] * applying 0002-bootsplash.patch 
[ o.k. ] * applying 0003-bootsplash.patch 
[ o.k. ] * applying 0004-bootsplash.patch 
[ o.k. ] * applying 0005-bootsplash.patch 
[ o.k. ] * applying 0006-bootsplash.patch 
[ o.k. ] * applying 0007-bootsplash.patch 
[ o.k. ] * applying 0008-bootsplash.patch 
[ o.k. ] * applying 0009-bootsplash.patch 
[ o.k. ] * applying 0010-bootsplash.patch 
[ o.k. ] * applying 0011-bootsplash.patch 
[ o.k. ] * applying 0012-bootsplash.patch 
[ o.k. ] Adding [ Wireless package injections for mac80211 compatible chipsets ]
[ o.k. ] * applying kali-wifi-injection-1-v5.9-post.patch 
[ o.k. ] * applying kali-wifi-injection-2.patch 
[ o.k. ] * applying kali-wifi-injection-3.patch 
[ o.k. ] Adding [ AUFS 5.10 ]
[ o.k. ] Checking git sources [ aufs5 aufs5.10 ]
[ .... ] Up to date 
[ o.k. ] * applying aufs5-kbuild.patch 
[ o.k. ] * applying aufs5-base.patch 
[ o.k. ] * applying aufs5-mmap.patch 
[ o.k. ] * applying aufs5-standalone.patch 
[ o.k. ] Adding [ Drivers for 2.5Gb RTL8152/RTL8153 USB dongles branch:master ]
[ o.k. ] Checking git sources [ rtl8152 master ]
[ .... ] Up to date 
[ o.k. ] Adding [ Wireless drivers for Realtek 8189ES chipsets branch:master ]
[ o.k. ] Checking git sources [ rtl8189es master ]
[ .... ]  Cleaning ....  [ 1 files ]
[ o.k. ] Adding [ Wireless drivers for Realtek 8189FS chipsets branch:rtl8189fs ]
[ o.k. ] Checking git sources [ rtl8189fs rtl8189fs ]
[ .... ]  Cleaning ....  [ 1 files ]
[ o.k. ] Adding [ Wireless drivers for Realtek 8192EU chipsets branch:realtek-4.4.x ]
[ o.k. ] Checking git sources [ rtl8192eu realtek-4.4.x ]
[ .... ] Up to date 
[ o.k. ] Adding [ Wireless drivers for Realtek 8811, 8812, 8814 and 8821 chipsets commit:ad351bd0afeb47d2fb197aff8cde4d7fb5fead9e ]
[ o.k. ] Checking git sources [ rtl8812au ad351bd0afeb47d2fb197aff8cde4d7fb5fead9e ]
[ .... ] Up to date 
[ o.k. ] Adding [ Wireless drivers for Realtek RTL8811CU and RTL8821C chipsets commit:2bebdb9a35c1d9b6e6a928e371fa39d5fcec8a62 ]
[ o.k. ] Checking git sources [ rtl8811cu 2bebdb9a35c1d9b6e6a928e371fa39d5fcec8a62 ]
[ .... ]  Cleaning ....  [ 1 files ]
[ o.k. ] Adding [ Wireless drivers for Realtek 88x2bu chipsets branch:5.6.1_30362.20181109_COEX20180928-6a6a ]
[ o.k. ] Checking git sources [ rtl88x2bu 5.6.1_30362.20181109_COEX20180928-6a6a ]
[ .... ]  Cleaning ....  [ 1 files ]
[ o.k. ] Adding [ Wireless drivers for Realtek 8723DS chipsets branch:master ]
[ o.k. ] Checking git sources [ rtl8723ds master ]
[ .... ]  Cleaning ....  [ 1 files ]
[ o.k. ] Adding [ Wireless drivers for Realtek 8723DU chipsets branch:master ]
[ o.k. ] Checking git sources [ rtl8723du master ]
[ .... ] Up to date 
[ o.k. ] * applying wireless-rtl8723du.patch 
[ o.k. ] Started patching process for [ kernel rockchip64-current ]
[ o.k. ] Looking for user patches in [ userpatches/kernel/rockchip64-current ]
[ o.k. ] * [l][c] add-board-Z28-PRO-as-link-to-Rock64.patch 
[ o.k. ] * [l][c] add-board-helios64.patch 
[ o.k. ] * [l][c] add-board-nanopi-m4v2.patch 
[ o.k. ] * [l][c] add-board-nanopi-r2s.patch 
[ o.k. ] * [l][c] add-board-nanopi-r4s.patch 
[ o.k. ] * [l][c] add-board-orangepi-4.patch 
[ o.k. ] * [l][c] add-board-rk3328-roc-pc.patch 
[ o.k. ] * [l][c] add-board-rk3399-roc-pc-plus.patch 
[ o.k. ] * [l][c] add-board-rockpi-e.patch 
[ o.k. ] * [l][c] add-board-xxx-nanopi-Neo3-with-enabled-I2S-and-spdif.patch 
[ o.k. ] * [l][c] add-boards-to-dts-makefile.patch 
[ o.k. ] * [l][c] add-csgpio-to-rockchip-spi.patch 
[ o.k. ] * [l][c] add-fusb30x-driver.patch 
[ o.k. ] * [l][c] add-maker-friendlyarm.patch 
[ o.k. ] * [l][c] add-rk3328-usb3-phy-driver.patch 
[ o.k. ] * [l][c] board-firefly-rk3399-enable-bluetooth.patch 
[ o.k. ] * [l][c] board-firefly-rk3399-enable-wifi.patch 
[ o.k. ] * [l][c] board-firefly-rk3399-fix-gpu-power.patch 
[ o.k. ] * [l][c] board-helios64-remove-overclock.patch 
[ o.k. ] * [l][c] board-helios64-remove-pcie-ep-gpios.patch 
[ o.k. ] * [l][c] board-nanopi-m4v2-dts-add-sound-card.patch 
[ o.k. ] * [l][c] board-nanopi-m4v2-dts-ethernet-tweak.patch 
[ o.k. ] * [l][c] board-nanopi-r2s-r8152-customise-leds.patch 
[ o.k. ] * [l][c] board-nanopi-r2s-r8152-mac-from-dt.patch 
[ o.k. ] * [l][c] board-pbp-add-dp-alt-mode.patch 
[ o.k. ] * [l][c] board-pbp-add-suspend.patch 
[ o.k. ] * [l][c] board-pbp-fix-wonky-wifi-bt.patch 
[ o.k. ] * [l][c] board-pbp-setup-USB-type-c-port-as-dual-dat.patch 
[ o.k. ] * [l][c] board-rk3328-roc-cc-dts-enable-dmc.patch 
[ o.k. ] * [l][c] board-rk3328-roc-cc-dts-ram-profile.patch 
[ o.k. ] * [l][c] board-rk3328-roc-pc-dts-enable-dmc.patch 
[ o.k. ] * [l][c] board-rk3328-roc-pc-dts-ram-profile.patch 
[ o.k. ] * [l][c] board-roc-rk3399-pc-fix-fusb302-compatible.patch 
[ o.k. ] * [l][c] board-roc-rk3399-pc-fix-reboot.patch 
[ o.k. ] * [l][c] board-rock64-add-HDMI-sound-node.patch 
[ o.k. ] * [l][c] board-rockpi4-0001-arm64-dts-audio-over-hdmi.patch 
[ o.k. ] * [l][c] board-rockpi4-0002-arm64-dts-leds.patch 
[ o.k. ] * [l][c] board-rockpi4-0003-arm64-dts-pcie.patch 
[ o.k. ] * [l][c] board-rockpi4-0004-arm64-dts-upper-port-host.patch 
[ o.k. ] * [l][c] board-rockpi4-0005-arm64-dts-enable-es8316-audio.patch 
[ o.k. ] * [l][c] board-rockpi4-Add-DT-link-for-backward-compatibility.patch 
[ o.k. ] * [l][c] board-rockpi4-FixMMCFreq.patch 
[ o.k. ] * [l][c] board-rockpis-0001-arm64-dts-rockchip-add-ROCK-Pi-S-DTS-support.patch 
[ o.k. ] * [l][c] board-rockpis-0002-Fixes-for-rk3308-rock-pi-s-dts.patch 
[ o.k. ] * [l][c] board-rockpis-0003-WIP-Wireless-support.patch 
[ o.k. ] * [l][c] board-rockpis-0004-ethernet-stmmac-dwmac-rk-Add-MAC-driver-support-for-.patch 
[ o.k. ] * [l][c] board-rockpis-0005-arm64-dts-rk3308-Add-mac-node-at-dtsi-level.patch 
[ o.k. ] * [l][c] board-rockpis-0006-arm64-dts-rockchip-Enable-mac-node-on-rk3308-rock-pi.patch 
[ o.k. ] * [l][c] board-rockpis-0007-arm64-dts-rockchip-add-cpu-s-thermal-config-for-rk33.patch 
[ o.k. ] * [l][c] board-rockpis-0008-thermal-rockchip-add-tsadc-support-for-rk3308.patch 
[ o.k. ] * [l][c] board-rockpis-0009-arm64-dts-rockchip-Enable-tsadc-node-on-rk3308-rock-.patch 
[ o.k. ] * [l][c] board-rockpis-0010-arm64-dts-rockchip-add-i2s_8ch-for-rk3308.patch 
[ o.k. ] * [l][c] board-rockpis-0011-arm64-dts-rockchip-Set-is2_8ch-clocks-on-rk3308-rock.patch 
[ o.k. ] * [l][c] board-rockpis-0012-arm64-dts-rk3308-Add-rk-timer-rtc.patch 
[ o.k. ] * [l][c] board-rockpis-0013-Add-simple-audio-card.patch 
[ o.k. ] * [l][c] board-rockpis-0014-Fix-PCM5102a-tristate.patch 
[ o.k. ] * [l][c] board-rockpis-0015-arm64-dts-rockchip-Move-wireless-wlan-node-into-sdio.patch 
[ o.k. ] * [l][c] board-rockpis-0016-ASoC-rockchip-add-support-for-rockchip-i2s-tdm-contr.patch 
[ o.k. ] * [l][c] board-rockpis-0017-WIP-Sync-rockchip_i2s_tdm-to-BSP-tree.patch 
[ o.k. ] * [l][c] board-rockpis-0018-ASoC-codecs-Add-RK3308-internal-codec-driver.patch 
[ o.k. ] * [l][c] board-rockpis-0019-Sync-rk3308_codec-to-BSP-tree.patch 
[ o.k. ] * [l][c] board-rockpis-0020-arm64-dts-rockchip-Add-acodec-node-for-rk3308.patch 
[ o.k. ] * [l][c] board-rockpis-0021-arm64-dts-rockchip-enable-analog-audio-node-for-rk33.patch 
[ o.k. ] * [l][c] board-rockpis-0022-ASoC-rk3308_codec-replace-codec-to-component.patch 
[ o.k. ] * [l][c] board-rockpis-0024-add-uart2-for-debug-rock-pi-s-dts.patch 
[ o.k. ] * [l][c] board-rockpis-0025-arm64-dts-rk3308-add-usb2-phy-support.patch 
[ o.k. ] * [l][c] board-rockpis-0026-add-usb-host-otg-dts.patch 
[ o.k. ] * [l][c] board-rockpro64-change-rx_delay-for-gmac.patch 
[ o.k. ] * [l][c] board-rockpro64-fix-emmc.patch 
[ o.k. ] * [l][c] board-rockpro64-fix-spi1-flash-speed.patch 
[ o.k. ] * [l][c] board-rockpro64-work-led-heartbeat.patch 
[ warn ] * [l][c] general-add-dwc3-xhci-usb-trb-quirk.patch [ failed ]
[ o.k. ] * [l][c] general-add-overlay-compilation-support.patch 
[ o.k. ] * [l][c] general-add-overlay-configfs.patch 
[ o.k. ] * [l][c] general-add-xtx-spi-nor-chips.patch 
[ warn ] * [l][c] general-bluetooth-add-new-quirk.patch [ failed ]
[ o.k. ] * [l][c] general-btsdio-ignore-uart-devs.patch 
[ o.k. ] * [l][c] general-disable-mtu-validation.patch 
[ o.k. ] * [l][c] general-emmc-hs400es-init-tweak.patch 
[ o.k. ] * [l][c] general-fix-es8316-kernel-panic.patch 
[ o.k. ] * [l][c] general-fix-mmc-signal-voltage-before-reboot.patch 
[ o.k. ] * [l][c] general-increasing_DMA_block_memory_allocation_to_2048.patch 
[ o.k. ] * [l][c] general-possibility-of-disabling-rk808-rtc.patch 
[ o.k. ] * [l][c] general-rkvdec_nv15.patch 
[ o.k. ] * [l][c] general-rockchip-overlays.patch 
[ o.k. ] * [l][c] general-rt5651-add-mclk.patch 
[ o.k. ] * [l][c] overlays-00-add-oc-opp-rk3399.patch 
[ o.k. ] * [l][c] overlays-01-add-oc-opp-rk3328.patch 
[ o.k. ] * [l][c] rk3328-add-dmc-driver.patch 
[ o.k. ] * [l][c] rk3328-audio-and-renegade-supplies.patch 
[ o.k. ] * [l][c] rk3328-dtsi-mmc-vdec-usb3-tweaks.patch 
[ o.k. ] * [l][c] rk3328-fix-mali-node.patch 
[ o.k. ] * [l][c] rk3399-add-sclk-i2sout-src-clock.patch 
[ o.k. ] * [l][c] rk3399-bump-voltages-for-low-opps.patch 
[ o.k. ] * [l][c] rk3399-enable-dwc3-xhci-usb-trb-quirk.patch 
[ warn ] * [l][c] rk3399-pci-rockchip-support-ep-gpio-undefined-case.patch [ failed ]
[ o.k. ] * [l][c] rk3399-sd-drive-level-8ma.patch 
[ o.k. ] * [l][c] rk3399-unlock-temperature.patch 
[ o.k. ] * [l][c] wifi-4003-fix-sha256_state-clashes.patch 
[ o.k. ] * [l][c] wifi-4004-fix-cfg80211-for-5.8.patch 
[ .... ] Compressing sources for the linux-source package 
1.77GiB [10.1MiB/s] [===================================================================================================================================================================================================================================] 102%
[ o.k. ] Compiling current kernel [ 5.10.24 ]
[ o.k. ] Compiler version [ aarch64-linux-gnu-gcc 8.3.0 ]
[ o.k. ] Using kernel config file [ config/kernel/linux-rockchip64-current.config ]
#
# configuration written to .config
#

...

[ error ] ERROR in function compile_kernel [ compilation.sh:413 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 
EvilOlaf commented 3 years ago

Check output/debug folder for the cause.

EvilOlaf commented 3 years ago
[ warn ] * [l][c] general-add-dwc3-xhci-usb-trb-quirk.patch [ failed ]

[ warn ] * [l][c] general-bluetooth-add-new-quirk.patch [ failed ]

[ warn ] * [l][c] rk3399-pci-rockchip-support-ep-gpio-undefined-case.patch [ failed ]

Maybe stuff has been upstreamed and backported to 5.10? I had similar patches failing when playing with 5.12

piter75 commented 3 years ago

@fuji246 Make sure you are using the latest master Those patches were adjusted a few days ago to account for the kernel changes: https://github.com/armbian/build/commit/a3d29f40826ade6a5e2dea214bac5b4c08de8ea8

fuji246 commented 3 years ago

I've updated to master right after it failed the first time.

In output/debug/compilation.log:


        == kernel ==

scripts/Makefile.lib:8: 'always' is deprecated. Please use 'always-y' instead
arch/arm64/boot/dts/rockchip/overlay/rockchip-spi-spidev.dts:22.11-27.6: Warning (spi_bus_reg): /fragment@1/__overlay__/spidev: SPI bus unit address format error, expected "0"
arch/arm64/boot/dts/rockchip/overlay/rockchip-spi-spidev.dts:36.11-41.6: Warning (spi_bus_reg): /fragment@2/__overlay__/spidev: SPI bus unit address format error, expected "0"
arch/arm64/boot/dts/rockchip/overlay/rockchip-spi-spidev.dts:50.11-55.6: Warning (spi_bus_reg): /fragment@3/__overlay__/spidev: SPI bus unit address format error, expected "0"
arch/arm64/boot/dts/rockchip/overlay/rockchip-spi-spidev.dts:64.11-69.6: Warning (spi_bus_reg): /fragment@4/__overlay__/spidev: SPI bus unit address format error, expected "0"
drivers/usb/host/xhci-ring.c: In function ‘xhci_queue_bulk_tx’:
drivers/usb/host/xhci-ring.c:3414:23: error: ‘XHCI_TRB_ENT_QUIRK’ undeclared (first use in this function); did you mean ‘XHCI_EP_LIMIT_QUIRK’?
    if (xhci->quirks & XHCI_TRB_ENT_QUIRK && en_trb_ent)
                       ^~~~~~~~~~~~~~~~~~
                       XHCI_EP_LIMIT_QUIRK
drivers/usb/host/xhci-ring.c:3414:23: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [scripts/Makefile.build:279: drivers/usb/host/xhci-ring.o] Error 1
make[2]: *** [scripts/Makefile.build:496: drivers/usb/host] Error 2
make[1]: *** [scripts/Makefile.build:496: drivers/usb] Error 2
make: *** [Makefile:1807: drivers] Error 2
make: *** Waiting for unfinished jobs....
fuji246 commented 3 years ago

And in patching log:

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/board-rockpro64-fix-emmc.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/board-rockpro64-fix-spi1-flash-speed.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/board-rockpro64-work-led-heartbeat.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-add-dwc3-xhci-usb-trb-quirk.patch
1 out of 2 hunks FAILED -- saving rejects to file drivers/usb/host/xhci.h.rej

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-add-overlay-compilation-support.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-add-overlay-configfs.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-add-xtx-spi-nor-chips.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-bluetooth-add-new-quirk.patch
1 out of 1 hunk FAILED -- saving rejects to file include/net/bluetooth/hci.h.rej

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-btsdio-ignore-uart-devs.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-disable-mtu-validation.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-emmc-hs400es-init-tweak.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-fix-es8316-kernel-panic.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-fix-mmc-signal-voltage-before-reboot.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-increasing_DMA_block_memory_allocation_to_2048.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-possibility-of-disabling-rk808-rtc.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-rkvdec_nv15.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-rockchip-overlays.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-rt5651-add-mclk.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/overlays-00-add-oc-opp-rk3399.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/overlays-01-add-oc-opp-rk3328.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3328-add-dmc-driver.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3328-audio-and-renegade-supplies.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3328-dtsi-mmc-vdec-usb3-tweaks.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3328-fix-mali-node.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3399-add-sclk-i2sout-src-clock.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3399-bump-voltages-for-low-opps.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3399-enable-dwc3-xhci-usb-trb-quirk.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3399-pci-rockchip-support-ep-gpio-undefined-case.patch
1 out of 1 hunk FAILED -- saving rejects to file drivers/pci/controller/pcie-rockchip.c.rej

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3399-sd-drive-level-8ma.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/rk3399-unlock-temperature.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/wifi-4003-fix-sha256_state-clashes.patch

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/wifi-4004-fix-cfg80211-for-5.8.patch
piter75 commented 3 years ago

I've updated to master right after it failed the first time

This line:

Processing file /home/vagrant/armbian/patch/kernel/rockchip64-current/general-add-dwc3-xhci-usb-trb-quirk.patch
1 out of 2 hunks FAILED -- saving rejects to file drivers/usb/host/xhci.h.rej

convinces me that somehow your build is not using the latest master as the file was renamed/disabled 2 days ago by Igor: https://github.com/armbian/build/commit/3c96df8d2577176cb483591f1a9092b5e90901c8

Please post the result of the command: git rev-parse HEAD and the command line that you are using to build the image.

fuji246 commented 3 years ago
vagrant@ubuntu-focal:~/armbian$ git rev-parse HEAD
bf544c21f8778e0b992b835baae9c6ed6b2e2075

I'm wondering should I clean and rebuild, which CLEAN_LEVEL should I use?

EvilOlaf commented 3 years ago

Your git seems to be behind: https://github.com/armbian/build/commit/bf544c21f8778e0b992b835baae9c6ed6b2e2075

If git pull does not do the trick try to start from scratch and clone the whole repo again.

fuji246 commented 3 years ago

forked a new branch seems fixed the issue, thanks a lot! However as I showed above the commit is bf544c21f8778e0b992b835baae9c6ed6b2e2075 which should be the latest, any thoughts on how to clean the build?

piter75 commented 3 years ago

However as I showed above the commit is bf544c21f8778e0b992b835baae9c6ed6b2e2075 which should be the latest

As @EvilOlaf pointed out in his previous reply it is not the latest commit.

forked a new branch seems fixed the issue, thanks a lot!

If you are building with your own branch then you need to rebase it on master or merge from master from time to time.

If you are building with the forked repository then you should sync it with the upstream from time to time. https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork

Only this way you can get the latest changes.

Closing as it is not a build system issue.