All of lore.kernel.org
 help / color / mirror / Atom feed
* package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest
@ 2020-06-22 17:58 Rahul Kumar
  2020-06-22 18:12 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Rahul Kumar @ 2020-06-22 17:58 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 900 bytes --]

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

* Re: [OE-core] package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest
  2020-06-22 17:58 package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest Rahul Kumar
@ 2020-06-22 18:12 ` Khem Raj
  2020-06-25  7:04   ` Rahul Kumar
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2020-06-22 18:12 UTC (permalink / raw)
  To: Rahul Kumar; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

On Mon, Jun 22, 2020 at 10:59 AM Rahul Kumar <rahulk@mvista.com> wrote:

> 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]
>

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.
> 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.
>
>
> 
>

[-- Attachment #2: Type: text/html, Size: 1611 bytes --]

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

* Re: [OE-core] package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest
  2020-06-22 18:12 ` [OE-core] " Khem Raj
@ 2020-06-25  7:04   ` Rahul Kumar
  2020-06-25  7:44     ` Paul Barker
  0 siblings, 1 reply; 4+ messages in thread
From: Rahul Kumar @ 2020-06-25  7:04 UTC (permalink / raw)
  To: Khem Raj; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]

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 error
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 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: rahulk@mvista.com
<https://plus.google.com/+CodeTwoSoftware>


On Mon, Jun 22, 2020 at 11:42 PM Khem Raj <raj.khem@gmail.com> wrote:

>
>
> On Mon, Jun 22, 2020 at 10:59 AM Rahul Kumar <rahulk@mvista.com> wrote:
>
>> 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]
>>
>
> 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.
>> 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.
>>
>>
>> 
>>
>

[-- Attachment #2: Type: text/html, Size: 4631 bytes --]

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

* Re: [OE-core] package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest
  2020-06-25  7:04   ` Rahul Kumar
@ 2020-06-25  7:44     ` Paul Barker
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Barker @ 2020-06-25  7:44 UTC (permalink / raw)
  To: Rahul Kumar; +Cc: Khem Raj, OE-core

On Thu, 25 Jun 2020 at 08:04, Rahul Kumar <rahulk@mvista.com> wrote:
>
> 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 error
> 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 have stuck here. I am not aware why do_package_qa is 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.

-- 
Paul Barker
Konsulko Group

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

end of thread, other threads:[~2020-06-25  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 17:58 package bzip2-ptest requires /usr/bin/sh, but no providers found in RDEPENDS_bzip2-ptest Rahul Kumar
2020-06-22 18:12 ` [OE-core] " Khem Raj
2020-06-25  7:04   ` Rahul Kumar
2020-06-25  7:44     ` Paul Barker

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.