All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] insane.bbclass: in file-rdeps do not look into RDEPENDS recursively
@ 2019-08-07 10:29 Alexander Kanavin
  2019-08-07 10:29 ` [PATCH 2/7] stress-ng: add a patch to remove unneeded bash dependency Alexander Kanavin
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Alexander Kanavin @ 2019-08-07 10:29 UTC (permalink / raw)
  To: openembedded-core

Recursive RDEPENDS resolution requires that all of the dependent
recipes' packaging has completed. There is no mechanism to ensure that
and therefore races were observed.

This change effectively requires recipes to list their runtime file
dependencies explicitly rather than have them pulled indirectly.
This may require a bit of fixing in layers, but should result
in a better definition of runtime file dependencies.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/classes/insane.bbclass | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 35c4fdb4913..9b886d13805 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -722,25 +722,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d):
                             filerdepends[subkey] = key[13:]
 
             if filerdepends:
-                next = rdepends
                 done = rdepends[:]
-                # Find all the rdepends on the dependency chain
-                while next:
-                    new = []
-                    for rdep in next:
-                        rdep_data = oe.packagedata.read_subpkgdata(rdep, d)
-                        sub_rdeps = rdep_data.get("RDEPENDS_" + rdep)
-                        if not sub_rdeps:
-                            continue
-                        for sub_rdep in bb.utils.explode_deps(sub_rdeps):
-                            if sub_rdep in done:
-                                continue
-                            if oe.packagedata.has_subpkgdata(sub_rdep, d):
-                                # It's a new rdep
-                                done.append(sub_rdep)
-                                new.append(sub_rdep)
-                    next = new
-
                 # Add the rprovides of itself
                 if pkg not in done:
                     done.insert(0, pkg)
-- 
2.17.1



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

end of thread, other threads:[~2019-08-13  9:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07 10:29 [PATCH 1/7] insane.bbclass: in file-rdeps do not look into RDEPENDS recursively Alexander Kanavin
2019-08-07 10:29 ` [PATCH 2/7] stress-ng: add a patch to remove unneeded bash dependency Alexander Kanavin
2019-08-07 10:29 ` [PATCH 3/7] elfutils: use PRIVATE_LIBS for the ptest package Alexander Kanavin
2019-08-07 10:29 ` [PATCH 4/7] apt: add a missing perl runtime dependency Alexander Kanavin
2019-08-07 10:29 ` [PATCH 5/7] attr: " Alexander Kanavin
2019-08-07 10:29 ` [PATCH 6/7] ofono: correct the python3 " Alexander Kanavin
2019-08-07 10:29 ` [PATCH 7/7] bluez5: " Alexander Kanavin
2019-08-07 22:08 ` [PATCH 1/7] insane.bbclass: in file-rdeps do not look into RDEPENDS recursively Richard Purdie
2019-08-08 15:44   ` Alexander Kanavin
2019-08-08 19:29     ` Khem Raj
2019-08-09  1:34       ` Khem Raj
2019-08-09  9:45         ` Alexander Kanavin
2019-08-09 15:19           ` Khem Raj
2019-08-09 16:36             ` Alexander Kanavin
2019-08-12 19:00           ` Khem Raj
2019-08-12 19:50             ` Alexander Kanavin
2019-08-12 20:50               ` richard.purdie
2019-08-13  9:48                 ` Alexander Kanavin

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.