All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [yocto-builds] relocate_sdk.py is failing when installing yocto3.1.2 SDK
       [not found] <TYAPR04MB236735778EF825C895595418F13E0@TYAPR04MB2367.apcprd04.prod.outlook.com>
@ 2020-09-17 16:09 ` Randy MacLeod
  2020-09-18  4:02   ` Ansurivijay Ramana
  0 siblings, 1 reply; 2+ messages in thread
From: Randy MacLeod @ 2020-09-17 16:09 UTC (permalink / raw)
  To: Ansurivijay Ramana, Yocto discussion list

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

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

* Re: [yocto-builds] relocate_sdk.py is failing when installing yocto3.1.2 SDK
  2020-09-17 16:09 ` [yocto-builds] relocate_sdk.py is failing when installing yocto3.1.2 SDK Randy MacLeod
@ 2020-09-18  4:02   ` Ansurivijay Ramana
  0 siblings, 0 replies; 2+ messages in thread
From: Ansurivijay Ramana @ 2020-09-18  4:02 UTC (permalink / raw)
  To: Randy MacLeod, Yocto discussion list

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

Classification: HCL Internal
Hi Randi,

I'm using poky distro.

DISTRO ?= "poky"

Using Ubuntu 16.04 LTS machine. Python version available in ubuntu machine is

/usr/bin/python3 --version
Python 3.5.2


Python version available in distro is 3.8.2

tmp/work/core2-32-poky-linux/python3/3.8.2-r0/



Thanks & Regards,
Vijay

From: Randy MacLeod <randy.macleod@windriver.com>
Sent: Thursday, September 17, 2020 9:40 PM
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

[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don't click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]
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: 10106 bytes --]

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

end of thread, other threads:[~2020-09-18  4:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <TYAPR04MB236735778EF825C895595418F13E0@TYAPR04MB2367.apcprd04.prod.outlook.com>
2020-09-17 16:09 ` [yocto-builds] relocate_sdk.py is failing when installing yocto3.1.2 SDK Randy MacLeod
2020-09-18  4:02   ` Ansurivijay Ramana

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.