OpenWRT opkg - misleading message when missing dependencies

I need a hand to report this one upstream:

http://lists.openwrt.org/pipermail/openwrt-devel/2021-April/034906.html

Basically, a ‘missing dependencies’ error message has become a ‘wrong architecture’ error message so you can’t actually tell what packages are missing.

I think commit 1bf042dd06751b693a8544d2317e5b969d666b69 libopkg: pkg_hash: print unresolved dependencies from git.openwrt.org Git - project/opkg-lede.git/summary was reverted at some point, getting rid of the useful message.

Dunno whether it was updates or me reading properly but the error message is better now:

 * pkg_hash_check_unresolved: cannot find dependency libreadline8 for gdb
 * pkg_hash_check_unresolved: cannot find dependency libgmp10 for gdb
 * pkg_hash_fetch_best_installation_candidate: Packages for gdb found, but incompatible with the architectures configured