[OE-core] [PATCH 1/1] stress-ng: Add bash to DEPENDS

Robert Yang liezhi.yang at windriver.com
Tue Aug 6 11:01:43 UTC 2019



On 8/6/19 6:43 PM, Richard Purdie wrote:
> On Tue, 2019-08-06 at 15:05 +0800, Robert Yang wrote:
>> Fixed:
>> $ bitbake stress-ng bash -ccleansstate && bitbake stress-ng
>> ERROR: stress-ng-0.10.00-r0 do_package_qa: QA Issue: /usr/share/bash-completion/completions/stress-ng contained in package stress-ng-bash-completion requires /bin/bash, but no providers found in RDEPENDS_stress-ng-bash-completion? [file-rdeps]
>>
>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>> ---
>>   meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb b/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb
>> index f7faf97..904eb0c 100644
>> --- a/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb
>> +++ b/meta/recipes-extended/stress-ng/stress-ng_0.10.00.bb
>> @@ -11,7 +11,7 @@ SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \
>>   SRC_URI[md5sum] = "46aa41d37690324ceab4febfcc549018"
>>   SRC_URI[sha256sum] = "d09dd2a1aea549e478995bf9be90b38906a4cdf33ea7b245ef9d46aa5213c074"
>>   
>> -DEPENDS = "coreutils-native"
>> +DEPENDS = "coreutils-native bash"
> 
> Technically you just want to make this an RDEPENDS of the appropriate
> package, which would give some small dependency improvement too.

Yes, exactly, I will send a V2 for it. What mis-leaded me was that
stress-ng-bash-completion RDEPENDS on bash-completion, and bash-completion
RDEPENDS on bash, so bash is on the dependencies chain, but stress-ng can't
find it, and there is no qa issues if we build bash firstly:

$ bitbake bash
$ bitbake stress-ng
No qa issues.

So the reproducer is:
$ bitbake stress-ng bash -ccleansstate && bitbake stress-ng

This might be a bug?

// Robert

> 
> Cheers,
> 
> Richard
> 
> 


More information about the Openembedded-core mailing list