Skip to contentSkip to conversation

Howto use yocto meta-toolchain?

DISCUSSION Marco 3 participants 5 messages Dec 3, 2012 – Dec 4, 2012

lore
Share & tools
lore

Marco

author
#0 lore raw

Hi,
after build meta-toolchain (for beagleboard, for example) I have this script

15:32 koan@quad:~/yocto-8-danny/poky/build

$ ll tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh
-rwxr-xr-x 1 koan koan 16143 2012-12-03 15:25 tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh

Then I argued I had to launch it to install the Yocto toolchain, but I get an error

15:32 koan@quad:~/yocto-8-danny/poky/build

$ sudo tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh
[sudo] password for koan:
Enter target directory for SDK (default: /opt/poky/1.3):
You are about to install the SDK to "/opt/poky/1.3". Proceed[Y/n]?
Extracting SDK...done
Setting it up...find: `/opt/poky/1.3/sysroots/x86_64-pokysdk-linux/lib': No such file or directory
SDK could not be set up. Relocate script failed. Abort!

What's wrong?
I wasn't able to find any document about it in YP website.

TIA

Signature · 1 line
Marco
#1 lore raw

Hi Marco,

Can you filed a bug about this in bugzilla? Also, you don't need to sudo to run the install script, if you choose the default location which is /opt/poky/1.3, it'll prompt you for the password, or you can specify a directory under your $HOME dir. In your bug, can you provide some detail how you build the toolchain, e.g. the local.conf file changes, etc.?

Thanks,
Jessica

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Marco
Sent: Monday, December 03, 2012 7:00 AM
To: [email protected]
Subject: [yocto] Howto use yocto meta-toolchain?

Hi,
after build meta-toolchain (for beagleboard, for example) I have this script

15:32 koan@quad:~/yocto-8-danny/poky/build

$ ll tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh
-rwxr-xr-x 1 koan koan 16143 2012-12-03 15:25 tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh

Then I argued I had to launch it to install the Yocto toolchain, but I get an error

15:32 koan@quad:~/yocto-8-danny/poky/build

$ sudo tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh
[sudo] password for koan:
Enter target directory for SDK (default: /opt/poky/1.3):
You are about to install the SDK to "/opt/poky/1.3". Proceed[Y/n]?
Extracting SDK...done
Setting it up...find: `/opt/poky/1.3/sysroots/x86_64-pokysdk-linux/lib':
No such file or directory
SDK could not be set up. Relocate script failed. Abort!

What's wrong?
I wasn't able to find any document about it in YP website.

TIA
--
Marco
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#2 lore raw

Il 03/12/2012 18:46, Zhang, Jessica ha scritto:

Quoted 4 lines

Hi Marco,

Can you filed a bug about this in bugzilla? Also, you don't need to sudo to run the install script, if you choose the default location which is /opt/poky/1.3, it'll prompt you for the password, or you can specify a directory under your $HOME dir. In your bug, can you provide some detail how you build the toolchain, e.g. the local.conf file changes, etc.?

Jessica,
thank you for answering.

Bugzilla classification is different from its documentation. Where do you suggest to place my bug?
https://wiki.yoctoproject.org/wiki/Bugzilla_Configuration_and_Bug_Tracking

Actually if I don't sudo to run the install script it doesn't work:

$ tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh
Enter target directory for SDK (default: /opt/poky/1.3):
You are about to install the SDK to "/opt/poky/1.3". Proceed[Y/n]?
Error: Unable to create target directory. Do you have permissions?
Signature · 1 line
Marco
#3 lore raw
Quoted 6 lines · Marco

Il 03/12/2012 18:46, Zhang, Jessica ha scritto:

Quoted 4 lines

Hi Marco,

Can you filed a bug about this in bugzilla? Also, you don't need to sudo to run the install script, if you choose the default location which is /opt/poky/1.3, it'll prompt you for the password, or you can specify a directory under your $HOME dir. In your bug, can you provide some detail how you build the toolchain, e.g. the local.conf file changes, etc.?

Quoted 6 lines

Jessica,
thank you for answering.

Bugzilla classification is different from its documentation. Where do you suggest to place my bug?
https://wiki.yoctoproject.org/wiki/Bugzilla_Configuration_and_Bug_Tracking

You can place it for ADT.

Quoted 9 lines

Actually if I don't sudo to run the install script it doesn't work:

$ tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.3.sh
Enter target directory for SDK (default: /opt/poky/1.3):
You are about to install the SDK to "/opt/poky/1.3". Proceed[Y/n]?
Error: Unable to create target directory. Do you have permissions?

The latest changes which are now in master, should fix that. You will be asked to insert the password. However, there still is a patch pending in order for this to work properly (I just saw the problem today and sent a patch on oe-core mailing list).

However, going back to your initial problem. Is that a tarball you downloaded or one you built yourself? If you're filling a bug, provide as much details as possible in order to replicate your issue.

Thanks,
Laurentiu