22.03 Image Builder Container Issue

It looks like the image builder container(s), for 22.03, have a problem; I get kernel dependency issues, such as the ones below.

 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-nf-reject
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-nf-reject6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-nf-log
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-nf-log6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-crypto-hash
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-crypto-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-nft-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-nft-offload
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.127-1-8be2e70cc27cd83c8ae2d14fe1cabd62) for kmod-nf-nat6

I've encountered this issue on both rockchip-armv8 and realtek-rtl838x, so I assume all 22.03 tags are affected. I don't have this problem on snapshot and I didn't have this issue about a week ago, on 22.03. The tags in question seemed to be updated about 4 days ago, so I'm guessing it is related to that. Unfortunately, I won't have time to investigate further. Hopefully someone here can run with it.

Seems to work today. Maybe clear out your openwrt-imagebuilder-* directory to ensure no stale files are present.

This issue seems to be ongoing. I tested it today, for the first time since I made that post, against RC5. The problem still doesn't occur on snapshot or the latest release of v21, which happens to be 21.02.3. If I build the images, without any custom packages, it seems to work. Adding packages seems to cause the issue to occur, so I'm guessing that it is related to refreshing the package data.

Does anyone have any ideas as to how I can get around this? I am using a fresh container, every time, so it isn't a caching issue.

I had a bit of time to get a repro. See below.

docker pull openwrtorg/imagebuilder:rockchip-armv8-openwrt-22.03
docker run -it --rm openwrtorg/imagebuilder:rockchip-armv8-openwrt-22.03 make image

Here is the full output.

Generate local signing keys...
Generate local certificate...
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python2-cleanup'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'rsync'... ok.
Checking 'which'... ok.
Checking 'ldconfig-stub'... ok.
Building images for rockchip - FriendlyARM NanoPi R2S
Packages: base-files busybox ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools kernel kmod-gpio-button-hotplug kmod-nft-offload kmod-usb-net-rtl8152 libc libgcc libustream-wolfssl logd mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd

Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/Packages.gz
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/Packages.gz
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/kmods/5.10.131-1-2c3adcb4d64c1a71efe6a7aac8661f5b/Packages.gz
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/kmods/5.10.131-1-2c3adcb4d64c1a71efe6a7aac8661f5b/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/packages/Packages.gz
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/build/openwrt/build_dir/target-aarch64_generic_musl/root-rockchip/../../../../../../home/build/openwrt/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.

Installing packages...
Installing libc (1.2.3-4) to root...
Installing libgcc1 (11.2.0-4) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/libgcc1_11.2.0-4_aarch64_generic.ipk
Configuring libgcc1.
Configuring libc.
Installing kernel (5.10.131-1-2c3adcb4d64c1a71efe6a7aac8661f5b) to root...
Configuring kernel.
Installing base-files (1488-r19592-596efe1356) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/base-files_1488-r19592-596efe1356_aarch64_generic.ipk
Installing libubox20220515 (2022-05-15-d2223ef9-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libubox20220515_2022-05-15-d2223ef9-1_aarch64_generic.ipk
Installing libuci20130104 (2021-10-22-f84f49f0-6) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libuci20130104_2021-10-22-f84f49f0-6_aarch64_generic.ipk
Installing libnl-tiny1 (2021-11-21-8e0555fb-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libnl-tiny1_2021-11-21-8e0555fb-1_aarch64_generic.ipk
Installing libubus20220601 (2022-06-01-2bebf93c-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libubus20220601_2022-06-01-2bebf93c-1_aarch64_generic.ipk
Installing libjson-c5 (0.15-2) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libjson-c5_0.15-2_aarch64_generic.ipk
Installing libblobmsg-json20220515 (2022-05-15-d2223ef9-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libblobmsg-json20220515_2022-05-15-d2223ef9-1_aarch64_generic.ipk
Installing ubusd (2022-06-01-2bebf93c-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/ubusd_2022-06-01-2bebf93c-1_aarch64_generic.ipk
Installing ubus (2022-06-01-2bebf93c-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/ubus_2022-06-01-2bebf93c-1_aarch64_generic.ipk
Installing jshn (2022-05-15-d2223ef9-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/jshn_2022-05-15-d2223ef9-1_aarch64_generic.ipk
Installing netifd (2022-06-01-39ef9fe1-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/netifd_2022-06-01-39ef9fe1-1_aarch64_generic.ipk
Installing jsonfilter (2018-02-04-c7e938d6-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/jsonfilter_2018-02-04-c7e938d6-1_aarch64_generic.ipk
Installing usign (2020-05-23-f1f65026-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/usign_2020-05-23-f1f65026-1_aarch64_generic.ipk
Installing openwrt-keyring (2022-03-25-62471e69-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/openwrt-keyring_2022-03-25-62471e69-3_aarch64_generic.ipk
Installing ubox (2021-08-03-205defb5-2) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/ubox_2021-08-03-205defb5-2_aarch64_generic.ipk
Installing fstools (2022-06-02-93369be0-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/fstools_2022-06-02-93369be0-1_aarch64_generic.ipk
Installing fwtool (2019-11-12-8f7fe925-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/fwtool_2019-11-12-8f7fe925-1_aarch64_generic.ipk
Installing busybox (1.35.0-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/busybox_1.35.0-3_aarch64_generic.ipk
Installing ca-bundle (20211016-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/ca-bundle_20211016-1_all.ipk
Installing dnsmasq (2.86-13) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/dnsmasq_2.86-13_aarch64_generic.ipk
Installing dropbear (2022.82-2) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/dropbear_2022.82-2_aarch64_generic.ipk
Installing e2fsprogs (1.46.5-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/e2fsprogs_1.46.5-1_aarch64_generic.ipk
Installing libpthread (1.2.3-4) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/libpthread_1.2.3-4_aarch64_generic.ipk
Installing librt (1.2.3-4) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/librt_1.2.3-4_aarch64_generic.ipk
Installing libuuid1 (2.37.3-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libuuid1_2.37.3-3_aarch64_generic.ipk
Installing libblkid1 (2.37.3-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libblkid1_2.37.3-3_aarch64_generic.ipk
Installing libcomerr0 (1.46.5-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libcomerr0_1.46.5-1_aarch64_generic.ipk
Installing libss2 (1.46.5-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libss2_1.46.5-1_aarch64_generic.ipk
Installing libext2fs2 (1.46.5-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libext2fs2_1.46.5-1_aarch64_generic.ipk
Installing firewall4 (2022-06-17-15c38317-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/firewall4_2022-06-17-15c38317-1_aarch64_generic.ipk
Package fstools (2022-06-02-93369be0-1) installed in root is up to date.
Package kernel (5.10.131-1-2c3adcb4d64c1a71efe6a7aac8661f5b) installed in root is up to date.
Installing kmod-gpio-button-hotplug (5.10.131-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/kmods/5.10.131-1-2c3adcb4d64c1a71efe6a7aac8661f5b/kmod-gpio-button-hotplug_5.10.131-3_aarch64_generic.ipk
Installing kmod-nft-offload (5.10.134-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/kmod-nft-offload_5.10.134-1_aarch64_generic.ipk
Installing kmod-usb-net-rtl8152 (5.10.131-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/kmods/5.10.131-1-2c3adcb4d64c1a71efe6a7aac8661f5b/kmod-usb-net-rtl8152_5.10.131-1_aarch64_generic.ipk
Package libc (1.2.3-4) installed in root is up to date.
Package libgcc1 (11.2.0-4) installed in root is up to date.
Installing libustream-wolfssl20201210 (2022-01-16-868fd881-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libustream-wolfssl20201210_2022-01-16-868fd881-1_aarch64_generic.ipk
Installing libwolfssl5.4.0.ee39414e (5.4.0-stable-5) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libwolfssl5.4.0.ee39414e_5.4.0-stable-5_aarch64_generic.ipk
Installing logd (2021-08-03-205defb5-2) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/logd_2021-08-03-205defb5-2_aarch64_generic.ipk
Installing mkf2fs (1.14.0-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/mkf2fs_1.14.0-3_aarch64_generic.ipk
Installing libf2fs6 (1.14.0-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libf2fs6_1.14.0-3_aarch64_generic.ipk
Installing mtd (26) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/mtd_26_aarch64_generic.ipk
Package netifd (2022-06-01-39ef9fe1-1) installed in root is up to date.
Installing nftables-json (1.0.2-2) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/nftables-json_1.0.2-2_aarch64_generic.ipk
Installing odhcp6c (2022-07-13-9212bfcb-18) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/odhcp6c_2022-07-13-9212bfcb-18_aarch64_generic.ipk
Installing odhcpd-ipv6only (2021-08-11-01b4e604-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/odhcpd-ipv6only_2021-08-11-01b4e604-1_aarch64_generic.ipk
Installing opkg (2022-02-24-d038e5b6-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/opkg_2022-02-24-d038e5b6-1_aarch64_generic.ipk
Installing libuclient20201210 (2021-05-14-6a6011df-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libuclient20201210_2021-05-14-6a6011df-1_aarch64_generic.ipk
Installing uclient-fetch (2021-05-14-6a6011df-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/uclient-fetch_2021-05-14-6a6011df-1_aarch64_generic.ipk
Installing partx-utils (2.37.3-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/partx-utils_2.37.3-3_aarch64_generic.ipk
Installing libsmartcols1 (2.37.3-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libsmartcols1_2.37.3-3_aarch64_generic.ipk
Installing ppp (2.4.9.git-2021-01-04-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/ppp_2.4.9.git-2021-01-04-3_aarch64_generic.ipk
Installing ppp-mod-pppoe (2.4.9.git-2021-01-04-3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/ppp-mod-pppoe_2.4.9.git-2021-01-04-3_aarch64_generic.ipk
Installing procd (2022-06-01-7a009685-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/procd_2022-06-01-7a009685-1_aarch64_generic.ipk
Installing libjson-script20220515 (2022-05-15-d2223ef9-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/libjson-script20220515_2022-05-15-d2223ef9-1_aarch64_generic.ipk
Installing procd-seccomp (2022-06-01-7a009685-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/procd-seccomp_2022-06-01-7a009685-1_aarch64_generic.ipk
Installing procd-ujail (2022-06-01-7a009685-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/procd-ujail_2022-06-01-7a009685-1_aarch64_generic.ipk
Installing uboot-envtools (2022.01-27) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/rockchip/armv8/packages/uboot-envtools_2022.01-27_aarch64_generic.ipk
Installing uci (2021-10-22-f84f49f0-6) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/uci_2021-10-22-f84f49f0-6_aarch64_generic.ipk
Package uclient-fetch (2021-05-14-6a6011df-1) installed in root is up to date.
Installing urandom-seed (3) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/urandom-seed_3_aarch64_generic.ipk
Installing getrandom (2021-08-03-205defb5-2) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/getrandom_2021-08-03-205defb5-2_aarch64_generic.ipk
Installing urngd (2020-01-21-c7f7b6b6-1) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/aarch64_generic/base/urngd_2020-01-21-c7f7b6b6-1_aarch64_generic.ipk
Configuring libpthread.
Configuring librt.
Configuring libuuid1.
Configuring libf2fs6.
Configuring mkf2fs.
Configuring libubox20220515.
Configuring libuclient20201210.
Configuring uclient-fetch.
Configuring opkg.
Configuring libubus20220601.
Configuring libjson-c5.
Configuring libblobmsg-json20220515.
Configuring ubusd.
Configuring ubus.
Configuring libuci20130104.
Configuring busybox.
Configuring libnl-tiny1.
Configuring libwolfssl5.4.0.ee39414e.
Configuring libustream-wolfssl20201210.
Configuring getrandom.
Configuring procd-ujail.
Configuring jshn.
Configuring netifd.
Configuring jsonfilter.
Configuring usign.
Configuring openwrt-keyring.
Configuring ubox.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring libblkid1.
Configuring libsmartcols1.
Configuring partx-utils.
Configuring uboot-envtools.
Configuring dnsmasq.
Configuring libjson-script20220515.
Configuring procd.
Configuring odhcp6c.
Configuring uci.
Configuring dropbear.
Configuring mtd.
Configuring odhcpd-ipv6only.
Configuring procd-seccomp.
Configuring urandom-seed.
Configuring libcomerr0.
Configuring kmod-gpio-button-hotplug.
Configuring logd.
Configuring libss2.
Configuring libext2fs2.
Configuring nftables-json.
Configuring e2fsprogs.
Configuring kmod-nft-offload.
Configuring ca-bundle.
Configuring urngd.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nf-reject
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nf-ipt
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nf-log
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-ipt-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nf-reject6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nf-log6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-crypto-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nft-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nft-offload
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-nf-nat6
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for firewall4:
 * 	kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b)
 * opkg_install_cmd: Cannot install package firewall4.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-gpio-button-hotplug
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-usb-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-usb-net
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-usb-net-cdc-ether
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-usb-net-rtl8152
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-rtl8152:
 * 	kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b)
 * opkg_install_cmd: Cannot install package kmod-usb-net-rtl8152.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b) for kmod-lib-crc-ccitt
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp:
 * 	kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b)
 * opkg_install_cmd: Cannot install package ppp.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp-mod-pppoe:
 * 	kernel (= 5.10.134-1-2c3adcb4d64c1a71efe6a7aac8661f5b)
 * opkg_install_cmd: Cannot install package ppp-mod-pppoe.
make[2]: *** [Makefile:169: package_install] Error 255
make[1]: *** [Makefile:124: _call_image] Error 2
make: *** [Makefile:242: image] Error 2

@aparcar, do you have any idea what might be going on here?