All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] providers.py: print a debug message for dynamic pacakge
@ 2013-07-19  8:11 Robert Yang
  2013-07-19  8:11 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2013-07-19  8:11 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 31e6eee860b5f9f4ac9ef0889bcff5648de6e3f9:

  poky-tiny.conf: blacklist core-image-weston option (2013-07-18 21:26:58 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib robert/dynamic
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/dynamic

Robert Yang (1):
  providers.py: print a debug message for dynamic pacakge

 bitbake/lib/bb/providers.py |    1 +
 1 file changed, 1 insertion(+)

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] providers.py: print a debug message for dynamic pacakge
  2013-07-19  8:11 [PATCH 0/1] providers.py: print a debug message for dynamic pacakge Robert Yang
@ 2013-07-19  8:11 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2013-07-19  8:11 UTC (permalink / raw)
  To: bitbake-devel

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:

PACKAGES_DYNAMIC = "^${PN}-lib.*"

so there is no errors before the rootfs creation though there is no
ncurses-lib12344.

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 <liezhi.yang@windriver.com>
---
 bitbake/lib/bb/providers.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 3d0fb48..cac13ac 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -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
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-19  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19  8:11 [PATCH 0/1] providers.py: print a debug message for dynamic pacakge Robert Yang
2013-07-19  8:11 ` [PATCH 1/1] " Robert Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.