[yocto] Error while adding a new recipe
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 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Error while adding a new recipe
On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava 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 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Error while adding a new recipe
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 wrote: > On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava > 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 > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Error while adding a new recipe
On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava 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 wrote: >> >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava >> 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 > > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Error while adding a new recipe
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 wrote: > On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava > 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 wrote: > >> > >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava > >> 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 > > > > > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Error while adding a new recipe
On Thu, Jul 12, 2012 at 1:03 AM, Navani Srivastava 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 wrote: >> >> On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava >> 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 wrote: >> >> >> >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava >> >> 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 >> > >> > > > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Error while adding a new recipe
I did the mentioned modification and it worked.. Thanks a lot.. On Thu, Jul 12, 2012 at 7:33 AM, Khem Raj wrote: > On Thu, Jul 12, 2012 at 1:03 AM, Navani Srivastava > 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 wrote: > >> > >> On Wed, Jul 11, 2012 at 9:03 PM, Navani Srivastava > >> 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 wrote: > >> >> > >> >> On Wed, Jul 11, 2012 at 5:28 AM, Navani Srivastava > >> >> 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 > >> > > >> > > > > > > ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto