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 <[email protected]>
Sent: Thursday, September 17, 2020 9:40 PM
To: Ansurivijay Ramana <[email protected]>; Yocto discussion list 
<[email protected]>
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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#50881): https://lists.yoctoproject.org/g/yocto/message/50881
Mute This Topic: https://lists.yoctoproject.org/mt/76912603/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to