Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Randy MacLeod" <randy.macleod@windriver.com>
To: Ansurivijay Ramana <ansurivijay.r@hcl.com>,
	Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: [yocto-builds] relocate_sdk.py is failing when installing yocto3.1.2 SDK
Date: Thu, 17 Sep 2020 12:09:58 -0400	[thread overview]
Message-ID: <1fcf121b-4486-76cb-b6b5-a75f04701018@windriver.com> (raw)
In-Reply-To: <TYAPR04MB236735778EF825C895595418F13E0@TYAPR04MB2367.apcprd04.prod.outlook.com>

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

Hi Vijay,

I have redirected this thread to the main yocto list.
The yocto-builds list is for automated build outputs
rather than discussions.


What distro are you using?
What version of python3 is provided by that distro?
On Ubu-20.04, fyi:
$ grep python3 /.../oe-core.git/scripts/relocate_sdk.py
#!/usr/bin/env python3
$ python3 --version
Python 3.8.2

../Randy

On 2020-09-17 9:49 a.m., Ansurivijay Ramana wrote:
>
> Classification: *HCL Internal*
>
> Hi ,
>
> I have added my layer and builded the SDK in yocto 3.1.2 but 
> relocate_sdk.py is failing when installing.
>
> Please help me in fixing this.
>
> ./poky-glibc-x86_64-core-image-sato-sdk-core2-32-qemux86-toolchain-3.1.2.sh
>
> Poky (Yocto Project Reference Distro) SDK installer version 3.1.2
>
> =================================================================
>
> Enter target directory for SDK (default: /opt/poky/3.1.2): 
> /home/vijay/build/test3
>
> You are about to install the SDK to "/home/vijay/build/test3". Proceed 
> [Y/n]? Y
>
> Extracting 
> SDK.........................................................................................................................................................................................................................................................................done
>
> Setting it up...Traceback (most recent call last):
>
>   File "/home/vijay/build/test3/relocate_sdk.py", line 244, in <module>
>
>     change_dl_sysdirs(e)
>
>   File "/home/vijay/build/test3/relocate_sdk.py", line 118, in 
> change_dl_sysdirs
>
>     sh_offset, sh_size = struct.unpack("<24xQQ24x", sh_hdr)
>
> struct.error: unpack requires a string argument of length 64
>
> SDK could not be set up. Relocate script failed. Abort!
>
> Thanks & Regards,
>
> Vijay
>
> ::DISCLAIMER::
> ------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and 
> intended for the named recipient(s) only. E-mail transmission is not 
> guaranteed to be secure or error-free as information could be 
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
> may contain viruses in transmission. The e mail and its contents (with 
> or without referred errors) shall therefore not attach any liability 
> on the originator or HCL or its affiliates. Views or opinions, if any, 
> presented in this email are solely those of the author and may not 
> necessarily reflect the views or opinions of HCL or its affiliates. 
> Any form of reproduction, dissemination, copying, disclosure, 
> modification, distribution and / or publication of this message 
> without the prior written consent of authorized representative of HCL 
> is strictly prohibited. If you have received this email in error 
> please delete it and notify the sender immediately. Before opening any 
> email and/or attachments, please check them for viruses and other defects.
> ------------------------------------------------------------------------
>
> 
>

-- 
# Randy MacLeod
# Wind River Linux


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

       reply	other threads:[~2020-09-17 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <TYAPR04MB236735778EF825C895595418F13E0@TYAPR04MB2367.apcprd04.prod.outlook.com>
2020-09-17 16:09 ` Randy MacLeod [this message]
2020-09-18  4:02   ` [yocto-builds] relocate_sdk.py is failing when installing yocto3.1.2 SDK Ansurivijay Ramana

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=1fcf121b-4486-76cb-b6b5-a75f04701018@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=ansurivijay.r@hcl.com \
    --cc=yocto@yoctoproject.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