All of lore.kernel.org
 help / color / mirror / Atom feed
* Error while adding a new recipe
@ 2012-07-11 12:28 Navani Srivastava
  2012-07-11 14:34 ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Navani Srivastava @ 2012-07-11 12:28 UTC (permalink / raw)
  To: yocto

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

Hi,

I am working on poky-denzil-1.0 and I have added a recipe to copy pre-built
binaries and some documents to specified path of rootfs. I am able to copy
documents in rootfs successfully but while copying binaries to rootfs, I am
getting following error -

NOTE: package colorado-1.0-r0: task do_package: Started
ERROR: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment
--remove-section=.note
'/home/navani/poky_test/build/tmp/work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/package/home/Leica/Bin/colorado_gui_bk''
strip command failed
ERROR: QA Issue: Architecture did not match (40 to 3) on
/work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/navani/poky_test/build/tmp/work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/temp/log.do_package.29705
NOTE: package colorado-1.0-r0: task do_package: Failed
ERROR: Task 151 (/home/navani/poky_test/meta-EB/recipes-colorado/colorado/
colorado_1.0.bb, do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1127 tasks of which 1119 didn't need to be
rerun and 1 failed.

Any help is appreciable.

Thanks and Regards
Navani Kamal Srivastava

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

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

* Re: Error while adding a new recipe
  2012-07-11 12:28 Error while adding a new recipe Navani Srivastava
@ 2012-07-11 14:34 ` Khem Raj
  2012-07-12  4:03   ` Navani Srivastava
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-07-11 14:34 UTC (permalink / raw)
  To: Navani Srivastava; +Cc: yocto

On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
<navani.srivastava@gmail.com> wrote:
> ERROR: QA Issue: Architecture did not match (40 to 3) on
> /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk

what is this file ?
is it some precompiled binary or some firmware blob ?
you need to package is separately and then may be skip stripping just
that one package


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

* Re: Error while adding a new recipe
  2012-07-11 14:34 ` Khem Raj
@ 2012-07-12  4:03   ` Navani Srivastava
  2012-07-12  7:38     ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Navani Srivastava @ 2012-07-12  4:03 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

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

Thanks for your reply..
It is a pre-built-binary which I am trying to put in a specific path of
rootfs.
I didn't get what does it mean by "packaging it seperately"..

On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
> <navani.srivastava@gmail.com> wrote:
> > ERROR: QA Issue: Architecture did not match (40 to 3) on
> >
> /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
>
> what is this file ?
> is it some precompiled binary or some firmware blob ?
> you need to package is separately and then may be skip stripping just
> that one package
>

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

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

* Re: Error while adding a new recipe
  2012-07-12  4:03   ` Navani Srivastava
@ 2012-07-12  7:38     ` Khem Raj
  2012-07-12  8:03       ` Navani Srivastava
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-07-12  7:38 UTC (permalink / raw)
  To: Navani Srivastava; +Cc: yocto

On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava
<navani.srivastava@gmail.com> wrote:
> Thanks for your reply..
> It is a pre-built-binary which I am trying to put in a specific path of
> rootfs.
> I didn't get what does it mean by "packaging it seperately"..

is this the only file in this package ? you might add
INHIBIT_PACKAGE_STRIP = "1" to the recipe then
but be aware this will disable stripping the binaries and if you have
other legit binaries that this
recipe is generating then they wont be stripped as well.

>
> On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
>> <navani.srivastava@gmail.com> wrote:
>> > ERROR: QA Issue: Architecture did not match (40 to 3) on
>> >
>> > /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
>>
>> what is this file ?
>> is it some precompiled binary or some firmware blob ?
>> you need to package is separately and then may be skip stripping just
>> that one package
>
>


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

* Re: Error while adding a new recipe
  2012-07-12  7:38     ` Khem Raj
@ 2012-07-12  8:03       ` Navani Srivastava
  2012-07-12 14:33         ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Navani Srivastava @ 2012-07-12  8:03 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto, navani.srivastava

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

Sorry, but it didn't worked for me..
.bb file is something like-

"PACKAGES = "colorado"

SRC_URI = " file://colorado_gui_bk"

do_install () {
#
# Create directories and install device independent scripts
#
         install -d ${D}/{homedir}/Test
         install -d ${D}${homedir}/Test/Bin
#       install -m 0755         ${WORKDIR}/colorado_gui_bk
${D}${homedir}/Test/Bin
        cp ${WORKDIR}/colorado_gui_bk              ${D}${homedir}/Test/Bin
}
#FILES_${PN}-dbg += "\
#  ${homedir}/Test/Bin/.debug/colorado_gui_bk \
#"

INHIBIT_PACKAGE_STRIP = "1"
"
Please review if anything else need to be added..


On Thu, Jul 12, 2012 at 1:08 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava
> <navani.srivastava@gmail.com> wrote:
> > Thanks for your reply..
> > It is a pre-built-binary which I am trying to put in a specific path of
> > rootfs.
> > I didn't get what does it mean by "packaging it seperately"..
>
> is this the only file in this package ? you might add
> INHIBIT_PACKAGE_STRIP = "1" to the recipe then
> but be aware this will disable stripping the binaries and if you have
> other legit binaries that this
> recipe is generating then they wont be stripped as well.
>
> >
> > On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >>
> >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
> >> <navani.srivastava@gmail.com> wrote:
> >> > ERROR: QA Issue: Architecture did not match (40 to 3) on
> >> >
> >> >
> /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
> >>
> >> what is this file ?
> >> is it some precompiled binary or some firmware blob ?
> >> you need to package is separately and then may be skip stripping just
> >> that one package
> >
> >
>

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

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

* Re: Error while adding a new recipe
  2012-07-12  8:03       ` Navani Srivastava
@ 2012-07-12 14:33         ` Khem Raj
  2012-07-15  6:59           ` Navani Srivastava
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-07-12 14:33 UTC (permalink / raw)
  To: Navani Srivastava; +Cc: yocto, navani.srivastava

On Thu, Jul 12, 2012 at 1:03 AM, Navani Srivastava
<navani.srivastava@gmail.com> wrote:
> Sorry, but it didn't worked for me..
> .bb file is something like-
>
> "PACKAGES = "colorado"
>
> SRC_URI = " file://colorado_gui_bk"
>
> do_install () {
> #
> # Create directories and install device independent scripts
> #
>          install -d ${D}/{homedir}/Test
>          install -d ${D}${homedir}/Test/Bin
> #       install -m 0755         ${WORKDIR}/colorado_gui_bk
> ${D}${homedir}/Test/Bin
>         cp ${WORKDIR}/colorado_gui_bk              ${D}${homedir}/Test/Bin
> }
> #FILES_${PN}-dbg += "\
> #  ${homedir}/Test/Bin/.debug/colorado_gui_bk \
> #"
>
> INHIBIT_PACKAGE_STRIP = "1"

add

INSANE_SKIP_${PN} = "arch"
as well

> "
> Please review if anything else need to be added..
>
>
>
> On Thu, Jul 12, 2012 at 1:08 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava
>> <navani.srivastava@gmail.com> wrote:
>> > Thanks for your reply..
>> > It is a pre-built-binary which I am trying to put in a specific path of
>> > rootfs.
>> > I didn't get what does it mean by "packaging it seperately"..
>>
>> is this the only file in this package ? you might add
>> INHIBIT_PACKAGE_STRIP = "1" to the recipe then
>> but be aware this will disable stripping the binaries and if you have
>> other legit binaries that this
>> recipe is generating then they wont be stripped as well.
>>
>> >
>> > On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> >>
>> >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
>> >> <navani.srivastava@gmail.com> wrote:
>> >> > ERROR: QA Issue: Architecture did not match (40 to 3) on
>> >> >
>> >> >
>> >> > /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
>> >>
>> >> what is this file ?
>> >> is it some precompiled binary or some firmware blob ?
>> >> you need to package is separately and then may be skip stripping just
>> >> that one package
>> >
>> >
>
>


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

* Re: Error while adding a new recipe
  2012-07-12 14:33         ` Khem Raj
@ 2012-07-15  6:59           ` Navani Srivastava
  0 siblings, 0 replies; 7+ messages in thread
From: Navani Srivastava @ 2012-07-15  6:59 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto, navani.srivastava

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

I did the mentioned modification and it worked..
Thanks a lot..

On Thu, Jul 12, 2012 at 7:33 AM, Khem Raj <raj.khem@gmail.com> wrote:

> On Thu, Jul 12, 2012 at 1:03 AM, Navani Srivastava
> <navani.srivastava@gmail.com> wrote:
> > Sorry, but it didn't worked for me..
> > .bb file is something like-
> >
> > "PACKAGES = "colorado"
> >
> > SRC_URI = " file://colorado_gui_bk"
> >
> > do_install () {
> > #
> > # Create directories and install device independent scripts
> > #
> >          install -d ${D}/{homedir}/Test
> >          install -d ${D}${homedir}/Test/Bin
> > #       install -m 0755         ${WORKDIR}/colorado_gui_bk
> > ${D}${homedir}/Test/Bin
> >         cp ${WORKDIR}/colorado_gui_bk
>  ${D}${homedir}/Test/Bin
> > }
> > #FILES_${PN}-dbg += "\
> > #  ${homedir}/Test/Bin/.debug/colorado_gui_bk \
> > #"
> >
> > INHIBIT_PACKAGE_STRIP = "1"
>
> add
>
> INSANE_SKIP_${PN} = "arch"
> as well
>
> > "
> > Please review if anything else need to be added..
> >
> >
> >
> > On Thu, Jul 12, 2012 at 1:08 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >>
> >> On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava
> >> <navani.srivastava@gmail.com> wrote:
> >> > Thanks for your reply..
> >> > It is a pre-built-binary which I am trying to put in a specific path
> of
> >> > rootfs.
> >> > I didn't get what does it mean by "packaging it seperately"..
> >>
> >> is this the only file in this package ? you might add
> >> INHIBIT_PACKAGE_STRIP = "1" to the recipe then
> >> but be aware this will disable stripping the binaries and if you have
> >> other legit binaries that this
> >> recipe is generating then they wont be stripped as well.
> >>
> >> >
> >> > On Wed, Jul 11, 2012 at 8:04 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >> >>
> >> >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava
> >> >> <navani.srivastava@gmail.com> wrote:
> >> >> > ERROR: QA Issue: Architecture did not match (40 to 3) on
> >> >> >
> >> >> >
> >> >> >
> /work/armv6-vfp-poky-linux-gnueabi/colorado-1.0-r0/packages-split/colorado/home/Leica/Bin/colorado_gui_bk
> >> >>
> >> >> what is this file ?
> >> >> is it some precompiled binary or some firmware blob ?
> >> >> you need to package is separately and then may be skip stripping just
> >> >> that one package
> >> >
> >> >
> >
> >
>

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

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

end of thread, other threads:[~2012-07-15  7:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-11 12:28 Error while adding a new recipe Navani Srivastava
2012-07-11 14:34 ` Khem Raj
2012-07-12  4:03   ` Navani Srivastava
2012-07-12  7:38     ` Khem Raj
2012-07-12  8:03       ` Navani Srivastava
2012-07-12 14:33         ` Khem Raj
2012-07-15  6:59           ` Navani Srivastava

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.