]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
package_manager/ipk: give out useful reason about an unmatched package
authorChen Qi <Qi.Chen@windriver.com>
Fri, 12 Sep 2025 03:33:25 +0000 (20:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Sep 2025 16:52:52 +0000 (17:52 +0100)
commit4bcb97ab4d7622d04dbf71930ea1784c8d57c136
tree33228fc0b2e9378a95a383a192bd51b64f1ddbe8
parentca6c1dd0148c4776bd556fccfd71153fc72d2e3d
package_manager/ipk: give out useful reason about an unmatched package

Give out useful information when a package could not be matched.

Before the change:

  error: opkg_solver_install: No candidates to install catch2 (null)!

With this patch:

  error: opkg_solver_install: No candidates to install catch2 (null)!
  ...
  catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc']
  Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager/ipk/__init__.py