Patchwork [bitbake-devel,1/1] print a debug message for dynamic pacakge

mail settings
Submitter Robert Yang
Date July 19, 2013, 8:11 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/54039/
State New
Headers show


Robert Yang - July 19, 2013, 8:11 a.m.
We can't know the dynamic pacakge's name exactly, there might be a
problem, for example, when we use:

IMAGE_INSTALL_append += "ncurses-lib12344"

The ncurses-lib12344 matches ncurses' dynamic packages pattern:


so there is no errors before the rootfs creation though there is no

We can warn this, but I think that we'd better not since there are many
dynamic packages, or there would be too many warnings, for example, the
perl and kernel modules, maybe we can print a debug message for it.

[YOCTO #4798]

Signed-off-by: Robert Yang <>
 bitbake/lib/bb/ |    1 +
 1 file changed, 1 insertion(+)


diff --git a/bitbake/lib/bb/ b/bitbake/lib/bb/
index 3d0fb48..cac13ac 100644
--- a/bitbake/lib/bb/
+++ b/bitbake/lib/bb/
@@ -376,5 +376,6 @@  def getRuntimeProviders(dataCache, rdepend):
             regexp_cache[pattern] = regexp
         if regexp.match(rdepend):
             rproviders += dataCache.packages_dynamic[pattern]
+            logger.debug(1, "Assuming %s is a dynamic package, but it may not exist" % rdepend)
     return rproviders