From: Khem Raj <raj.khem@gmail.com>
To: Ridish RA <Ridish.RA@lntinfotech.com>
Cc: KalyanKumar Nagabhirava <KalyanKumar.Nagabhirava@lntinfotech.com>,
"openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Re: Errors when using populate_sdk - has anyone encountered this before?
Date: Thu, 30 Jan 2014 09:59:43 -0800 [thread overview]
Message-ID: <1761269.AxNLyBI4PD@leo> (raw)
In-Reply-To: <EFF5E6A1D0DAA14BA6B30C755A7B0FE13131B2C8EC@BLRINMSMBX01.bglrodc.lntinfotech.com>
[-- Attachment #1: Type: text/plain, Size: 9055 bytes --]
On Thursday, January 30, 2014 10:55:39 PM Ridish RA wrote:
> Hi Khem Raj,
>
> Please do find the build configuration below:
>
> ridish@sanjay-Precision-M4500:~/RDK-RI-NICO-2/build-qemux86$ bitbake
> rdk-generic-image -c populate_sdk Loading cache: 100%
> |##########################################################################
> ########################################################################|
> ETA: 00:00:00 Loaded 1942 entries from dependency cache.
> Parsing recipes: 100%
> |##########################################################################
> ######################################################################|
> Time: 00:00:08 Parsing of 1546 .bb files complete (1543 cached, 3 parsed).
> 1946 targets, 107 skipped, 0 masked, 0 errors. NOTE: Resolving any missing
> task queue dependencies
> NOTE: multiple providers are available for eglibc (eglibc,
> external-linaro-toolchain) NOTE: consider defining a PREFERRED_PROVIDER
> entry to match eglibc NOTE: multiple providers are available for jpeg
> (jpeg, libjpeg-turbo) NOTE: consider defining a PREFERRED_PROVIDER entry to
> match jpeg
you also need to pin egibc and jpeg something like below
PREFERRED_PROVIDER_eglibc = "eglibc"
PREFERRED_PROVIDER_jpeg = "jpeg"
in one of your distro conf files. IMO look at how angstrom is doing it
>
> Build Configuration:
> BB_VERSION = "1.20.0"
> BUILD_SYS = "i686-linux"
> NATIVELSBSTRING = "Ubuntu-12.04"
> TARGET_SYS = "i586-rdk-linux"
> MACHINE = "qemux86"
> DISTRO = "rdk"
> DISTRO_VERSION = "0.1+snapshot-20140130"
> TUNE_FEATURES = "m32 i586"
> TARGET_FPU = ""
> meta = "(nobranch):198623d80d31f19c963e61d03cbcb12dd318dfdf"
> toolchain-layer
> meta-multimedia
> meta-oe
> meta-networking
> meta-ruby = "(nobranch):fdf74512fc4e8514ad74458601adb96916f7cf72"
> meta-linaro
> meta-linaro-toolchain =
> "(nobranch):8aaf10d8dda34bc02d4ef62d0501b83603b6f827" meta-rdk =
> "contrib/ndec/rdk-ri:b0bcf359aed07d86a2175df01d2bcae069e7c867" meta-qt5
> = "(nobranch):cefaba69a785c5221463f0eb496b749d5ddf8a5a" meta-rdk-cpc
> = "(nobranch):80e239735dd5f1e08026d66df6b25b0f5a782bfb"
OK you seem to be on dora branches of all repos. Follow my last email and set
QEMUVER = "1.5.0" with other things I suggested
>
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Command Error: exit status: 1 Output:
> Applying patch relocatable_sdk.patch
> can't find file to patch at input line 13
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
>
> |Upstream-Status: Inappropriate [SDK specific]
> |
> |In order to be able to change the dynamic loader path when relocating
> |binaries, the interp section has to be made big enough to accomodate
> |the new path (4096 is the maximum path length in Linux).
> |
> |Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> |
> |Index: qemu-1.4.0/ldscripts/i386.ld
> |===================================================================
> |--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000 -0800
> |+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418 -0800
>
> --------------------------
> No file to patch. Skipping patch.
> 1 out of 1 hunk ignored
> can't find file to patch at input line 26
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
>
> |Index: qemu-1.4.0/ldscripts/x86_64.ld
> |===================================================================
> |--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-15
> |15:05:35.000000000 -0800 +++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28
> |22:55:36.138816418 -0800
> --------------------------
> No file to patch. Skipping patch.
> 1 out of 1 hunk ignored
> Patch relocatable_sdk.patch does not apply (enforce with -f)
> ERROR: Function failed: patch_do_patch
> ERROR: Logfile of failure stored in:
> /home/ridish/RDK-RI-NICO-2/build-qemux86/tmp/work/i686-nativesdk-rdksdk-lin
> ux/nativesdk-qemu/1.6.0+gitAUTOINC+0706f7c85b-r2/temp/log.do_patch.21651
> ERROR: Task 1574
> (virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/recip
> es-devtools/qemu/qemu_git.bb, do_patch) failed with exit code '1'
>
>
> Thanks,
> Ridish
> Ph: +1 (510)-434-6793
> ________________________________________
> From: Khem Raj [raj.khem@gmail.com]
> Sent: Thursday, January 30, 2014 8:53 AM
> To: Dorairaj, Sanjay
> Cc: openembedded-devel@lists.openembedded.org; KalyanKumar Nagabhirava;
> Ridish RA; Nicolas Dechesne Subject: Re: Errors when using populate_sdk -
> has anyone encountered this before?
>
> Hi Sanjay
>
> On Thu, Jan 30, 2014 at 5:35 AM, Dorairaj, Sanjay
>
> <Sanjay_Dorairaj@cable.comcast.com> wrote:
> > Hi All,
> >
> > We are getting build error when using populate_sdk for our RDK builds. Has
> > anyone seen this?
>
> Would be nice if you included you Build Configuration that bitbake
> prints at beginning of build step
>
> > For generating sdk we use "bitbake -c populate_sdk rdk-generic-image"
> > command , we are getting below error:
> >
> > ==========================================================================
> > =
> > ==========================
> > NOTE: Applying patch 'relocatable_sdk.patch'
> > (../meta-linaro/meta-linaro/recipes-devtools/qemu/files/relocatable_sdk.pa
> > t
> > ch)
>
> OK so it seems you have meta-linaro in the layer mix. Besides
> toolchain it provided many other recipes, qemu is one of them
> and I am not sure if you are interested to use qemu also from
> meta-linaro, if you are then some of Linaro developers manitnaining
> meta-linaro might know better. It could just be an oversight. But you
> could pin to use OE-Core qemu
>
> so in your distro.conf or local.conf add
>
> PREFERRED_PROVIDER_qemu-native = "qemu-native"
> PREFERRED_VERSION_qemu = "${QEMUVER}"
> PREFERRED_VERSION_qemu-native = "${QEMUVER}"
> PREFERRED_VERSION_nativesdk-qemu = "${QEMUVER}"
>
> where QEMUVER = "1.5.0" if you are on dora and "1.7.0" if you are on
> master branch of OE-Core layer
>
> > ERROR: Command Error: exit status: 1 Output:
> > Applying patch relocatable_sdk.patch
> > can't find file to patch at input line 13
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> >
> > |Upstream-Status: Inappropriate [SDK specific]
> > |
> > |In order to be able to change the dynamic loader path when relocating
> > |binaries, the interp section has to be made big enough to accomodate
> > |the new path (4096 is the maximum path length in Linux).
> > |
> > |Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> > |
> > |Index: qemu-1.4.0/ldscripts/i386.ld
> > |===================================================================
> > |--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000
> > |-0800
> > |+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418
> > |-0800
> >
> > --------------------------
> > No file to patch. Skipping patch.
> > 1 out of 1 hunk ignored
> > can't find file to patch at input line 26
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> >
> > |Index: qemu-1.4.0/ldscripts/x86_64.ld
> > |===================================================================
> > |--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-15
> >
> > 15:05:35.000000000 -0800
> >
> > |+++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28 22:55:36.138816418
> > |-0800
> >
> > --------------------------
> > No file to patch. Skipping patch.
> > 1 out of 1 hunk ignored
> > Patch relocatable_sdk.patch does not apply (enforce with -f)
> > ERROR: Function failed: patch_do_patch
> > ERROR: Logfile of failure stored in:
> > /home/ridish/RDK-RI-NICO-2/build-qemux86/tmp/work/i686-nativesdk-rdksdk-li
> > n
> > ux/nativesdk-qemu/1.6.0+gitAUTOINC+0169c51155-r2/temp/log.do_patch.15188
> > ERROR: Task 1574
> > (virtual:nativesdk:/home/ridish/RDK-RI-NICO-2/meta-linaro/meta-linaro/reci
> > p
> > es-devtools/qemu/qemu_git.bb, do_patch) failed with exit code '1'
> >
> >
> > Regards,
> >
> >
> > Sanjay
>
> The contents of this e-mail and any attachment(s) may contain confidential
> or privileged information for the intended recipient(s). Unintended
> recipients are prohibited from taking action on the basis of information in
> this e-mail and using or disseminating the information, and must notify
> the sender and delete it from their system. L&T Infotech will not accept
> responsibility or liability for the accuracy or completeness of, or the
> presence of any virus or disabling code in this e-mail"
--
-Khem
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2014-01-30 17:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-30 12:49 [PATCHv2][for-dora] php: update SRC_URI for new download location Chase Maupin
2014-01-30 13:35 ` Errors when using populate_sdk - has anyone encountered this before? Dorairaj, Sanjay
2014-01-30 16:53 ` Khem Raj
[not found] ` <EFF5E6A1D0DAA14BA6B30C755A7B0FE13131B2C8EC@BLRINMSMBX01.bglrodc.lntinfotech.com>
2014-01-30 17:59 ` Khem Raj [this message]
[not found] ` <EFF5E6A1D0DAA14BA6B30C755A7B0FE13131B2C8ED@BLRINMSMBX01.bglrodc.lntinfotech.com>
[not found] ` <EFF5E6A1D0DAA14BA6B30C755A7B0FE13131B2C8EF@BLRINMSMBX01.bglrodc.lntinfotech.com>
2014-01-30 21:07 ` Nicolas Dechesne
2014-01-30 22:03 ` Koen Kooi
2014-01-30 22:07 ` Koen Kooi
2014-01-30 23:12 ` Dorairaj, Sanjay
2014-01-30 23:22 ` Ridish Rema Aravindan
2014-01-30 22:42 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1761269.AxNLyBI4PD@leo \
--to=raj.khem@gmail.com \
--cc=KalyanKumar.Nagabhirava@lntinfotech.com \
--cc=Ridish.RA@lntinfotech.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox