package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest
Hi community members,
I am working on Yocto Newcommer Bug 13444 - Add test suite for bzip2 Patch link
https://patchwork.openembedded.org/patch/173009/
but upstream build, reported below error .
step1b: ERROR: bzip2-1.0.8-r0 do_package_qa: QA Issue: /usr/lib/bzip2/ptest/bzip2-tests/.git/hooks/update.sample contained in package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest? [file-rdeps]
step1b: ERROR: bzip2-1.0.8-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
I am already using below line to my patch.
RDEPENDS_${PN}-ptest += "make bash perl"
can anyone please help me on this.
Quoted 6 lines · Rahul Kumar
Hi community members,
I am working on Yocto Newcommer Bug 13444 - Add test suite for bzip2 Patch link
https://patchwork.openembedded.org/patch/173009/
Quoted 6 lines
but upstream build, reported below error .
step1b: ERROR: bzip2-1.0.8-r0do_package_qa: QA Issue:/usr/lib/bzip2/ptest/bzip2-tests/.git/hooks/update.samplecontained in package bzip2-ptest requires/usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest? [file-rdeps]
Create a patch to update.sample where it asks for /bin/sh instead
step1b: ERROR: bzip2-1.0.8-r0 do_package_qa: QA run found fatal errors.
Quoted 10 lines
Please consider fixing them.
I am already using below line to my patch.
RDEPENDS_${PN}-ptest += "make bash perl"can anyone please help me on this.
Hi khem Raj,
Create a patch to update.sample where it asks for /bin/sh instead
I don't think we can create a patch to update.sample file because this is git hidden file.
.git/hooks/update.sample
In my Patch fetching bzip2-tests.git repository as mentioned below Is there any issue with below line.
SRC_URI = "https://sourceware.org/pub/${BPN}/${BPN}-${PV}.tar.gz \ git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests \
At my local system i am not able to face this issue but when this patch built with open source auto-builder then reporting below errordo_package_qa: QA Issue:/usr/lib/bzip2/ptest/bzip2-tests/.git/hooks/update.sample contained in package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest? [file-rdeps]
step1b: ERROR: bzip2-1.0.8-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
I have stuck here. I am not aware why do_package_qa is reporting errors with git hidden files.
*Thanks & Regards,*
Rahul Kumar
Software Engineer,Linux Solutions Engineering
Group,Montavista Software LLC
Email Id: [email protected]
<https://plus.google.com/+CodeTwoSoftware>
Quoted 32 lines · Khem Raj
Quoted 6 lines · Rahul Kumar
Hi community members,
I am working on Yocto Newcommer Bug 13444 - Add test suite for bzip2 Patch link
https://patchwork.openembedded.org/patch/173009/Quoted 6 lines
but upstream build, reported below error .
step1b: ERROR: bzip2-1.0.8-r0do_package_qa: QA Issue:/usr/lib/bzip2/ptest/bzip2-tests/.git/hooks/update.samplecontained in package bzip2-ptest requires/usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest? [file-rdeps]Create a patch to update.sample where it asks for
/bin/shinsteadstep1b: ERROR: bzip2-1.0.8-r0
do_package_qa: QA run found fatal errors.Quoted 10 lines
Please consider fixing them.
I am already using below line to my patch.
RDEPENDS_${PN}-ptest += "make bash perl"can anyone please help me on this.
Quoted 10 lines · Rahul Kumar
Hi khem Raj,
Create a patch to update.sample where it asks for
/bin/shinsteadI don't think we can create a patch to update.sample file because this is git hidden file.
.git/hooks/update.sample
In my Patch fetching bzip2-tests.git repository as mentioned below Is there any issue with below line.
Quoted 8 lines
SRC_URI = "https://sourceware.org/pub/${BPN}/${BPN}-${PV}.tar.gz \ git://sourceware.org/git/bzip2-tests.git;name=bzip2-tests \At my local system i am not able to face this issue but when this patch built with open source auto-builder then reporting below error
do_package_qa: QA Issue:/usr/lib/bzip2/ptest/bzip2-tests/.git/hooks/update.samplecontained in package bzip2-ptest requires/usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest? [file-rdeps]
step1b: ERROR: bzip2-1.0.8-r0do_package_qa: QA run found fatal errors. Please consider fixing them.I have stuck here. I am not aware why
do_package_qais reporting errors with git hidden files.
Do you need to install the whole git repository? Typically this issue wouldn't be seen as .git would not be part of the installed package.
Perhaps instead of running cp -rf $(srcdir)/../git $(DESTDIR)/bzip2-tests you need to copy a more specific subset of files & directories.
Signature · 2 lines
Paul Barker Konsulko Group