[BPI-R4] OpenWRT Snapshot build error - kernel 6.1.86-r1 dependencies missing

Hello world,

any idea how unresolved package dependencies for new kernel could be solved in image builder?

See error log from today:

Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.1.82-1-d9dbb4ef501bca8204690592f8179c05/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.1.82-1-d9dbb4ef501bca8204690592f8179c05/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 * opkg_install_cmd: Cannot install package adguardhome.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nf-reject
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nf-reject6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nf-log
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nf-log6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nft-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nft-offload
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for firewall4:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package firewall4.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-aead
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-md5
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-sha1
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-sha256
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-sha512
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-hw-safexcel
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-crypto-hw-safexcel:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-crypto-hw-safexcel.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-i2c-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-regmap-i2c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-eeprom-at24
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-eeprom-at24:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-eeprom-at24.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-gpio-button-hotplug
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-hwmon-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-thermal
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-hwmon-pwmfan
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-hwmon-pwmfan:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-hwmon-pwmfan.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-i2c-mux
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-i2c-mux-pca954x
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-i2c-mux-pca954x:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-i2c-mux-pca954x.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-leds-gpio
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-rng
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-gf128
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-mac80211
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-mt76x02-common
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-mt76x2
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt76x2:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-mt76x2.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-mt7915e
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt7915e:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-mt7915e.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-mt7916-firmware
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-mt7996e
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-mt7996-firmware
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mt7996-firmware:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-mt7996-firmware.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-phy-aquantia
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-phy-aquantia:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-phy-aquantia.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-rtc-pcf8563
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-sfp
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-sfp:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-sfp.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-usb-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-usb3
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb3:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package kmod-usb3.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nf-ipt
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-ipt-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nf-ipt6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-ip6tables
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-nf-conncount
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-ipt-conntrack-extra
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-ipt-ipopt
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-mwan3:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package luci-app-mwan3.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-lib-poly1305
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-lib-chacha20poly1305
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-kpp
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-crypto-lib-curve25519
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-udptunnel4
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1) for kmod-udptunnel6
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-proto-wireguard:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package luci-proto-wireguard.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package ppp.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp-mod-pppoe:
 * 	kernel (= 6.1.86~d9dbb4ef501bca8204690592f8179c05-r1)
 * opkg_install_cmd: Cannot install package ppp-mod-pppoe.
make[2]: *** [Makefile:189: package_install] Error 255
make[1]: *** [Makefile:154: _call_manifest] Error 2
make: *** [Makefile:279: manifest] Error 2

Selected Packages:

base-files busybox ca-bundle dnsmasq dropbear e2fsprogs f2fsck firewall4 fitblk fstools kmod-crypto-hw-safexcel kmod-eeprom-at24 kmod-gpio-button-hotplug kmod-hwmon-pwmfan kmod-i2c-mux-pca954x kmod-leds-gpio kmod-mt7915e kmod-mt7996-firmware kmod-nft-offload kmod-phy-aquantia kmod-rtc-pcf8563 kmod-sfp kmod-usb3 libc libgcc libustream-mbedtls logd luci mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd parted tune2fs resize2fs cfdisk e2fsprogs luci luci-ssl mount-utils block-mount losetup lsblk luci-proto-wireguard luci-app-attendedsysupgrade auc luci-app-ddns adguardhome luci-app-nut mc luci-mod-rpc curl drill luci-app-mwan3 qrencode kmod-mt7916-firmware kmod-mt76x2 wpad-mbedtls wireless-tools

Ok … dependency errors seem to be solved right now. Now the package adguardhome seems to be missing (again) :-/

adguardhome: package missing in snapshots/packages/aarch64_cortex-a53 tree · Issue #23933 · openwrt/packages · GitHub

i got similar issue (only set the target to bpi-r4) with current git state and updated feeds

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libubox20240126 for libuci20130104
 * pkg_hash_check_unresolved: cannot find dependency libubox20240126 for libubus20231128
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for base-files:
 * 	libubox20240126
 * opkg_install_cmd: Cannot install package base-files.
 * pkg_hash_check_unresolved: cannot find dependency libubox20240126 for libuclient20201210
 * pkg_hash_check_unresolved: cannot find dependency libubox20240126 for libustream-mbedtls20201210

i wonder because of this message before:

Package libubox20240329 (2024.03.29~eb9bcb64-r1) installed in root is up to date.

looks like somewhere a older version is set as depency and not updated

i found it in bin/packages/aarch64_cortex-a53/base/Packages.manifest multiple times…maybe delete this file and let it recreate?

fixed it by running “make distclean” followed by the steps daniel told us (feeds update,…)