]> code.ossystems Code Review - openembedded-core.git/commit
classextend.py: don't extend file for file dependency
authorChangqing Li <changqing.li@windriver.com>
Mon, 16 Sep 2019 05:50:23 +0000 (13:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Sep 2019 10:46:52 +0000 (11:46 +0100)
commita9163120ed52534e7dbf4db50dc2b03bbf69f06b
tree0cac102ae2453b9783950afc29399481dd2c1d65
parentdec1616af9c2709c2ad78722cc4075b765de332d
classextend.py: don't extend file for file dependency

Fix error like:
lib32-e2fsprogs-1.45.3-r0 do_package_qa: QA Issue: /usr/sbin/e2scrub_all
contained in package lib32-e2fsprogs-e2scrub requires /bin/bash,
but no providers found in RDEPENDS_lib32-e2fsprogs-e2scrub

For some lib32 packages(eg: lib32-bash, lib32-sed) which probvides files,
extend is not needed

Eg: RPROVIDES of lib32-bash expects to have /bin/bash, with original
extend, it will become lib32-/bin/bash, then will cause above error

Fix by don't extend file dependency, and skip multilib check for file dependency
in do_package_qa to avoid error like:
WARNING: lib32-bash-5.0-r0 do_package: QA Issue: lib32-bash package lib32-bash
 - suspicious values '/bin/bash /bin/sh' in RPROVIDES [multilib]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib.bbclass
meta/lib/oe/classextend.py