All of lore.kernel.org
 help / color / mirror / Atom feed
* Howto use yocto meta-toolchain?
@ 2012-12-03 15:00 Marco
  2012-12-03 17:46 ` Zhang, Jessica
  0 siblings, 1 reply; 5+ messages in thread
From: Marco @ 2012-12-03 15:00 UTC (permalink / raw)
  To: yocto

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


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

* Re: Howto use yocto meta-toolchain?
  2012-12-03 15:00 Howto use yocto meta-toolchain? Marco
@ 2012-12-03 17:46 ` Zhang, Jessica
  2012-12-04 11:22   ` Marco
  0 siblings, 1 reply; 5+ messages in thread
From: Zhang, Jessica @ 2012-12-03 17:46 UTC (permalink / raw)
  To: koansoftware@gmail.com, yocto@yoctoproject.org

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: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Marco
Sent: Monday, December 03, 2012 7:00 AM
To: yocto@yoctoproject.org
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
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

* Re: Howto use yocto meta-toolchain?
  2012-12-03 17:46 ` Zhang, Jessica
@ 2012-12-04 11:22   ` Marco
  2012-12-04 12:37     ` Laurentiu Palcu
  0 siblings, 1 reply; 5+ messages in thread
From: Marco @ 2012-12-04 11:22 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto@yoctoproject.org

Il 03/12/2012 18:46, Zhang, Jessica ha scritto:
> 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?

-- 
Marco


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

* Re: Howto use yocto meta-toolchain?
  2012-12-04 11:22   ` Marco
@ 2012-12-04 12:37     ` Laurentiu Palcu
  2012-12-04 16:30       ` Marco
  0 siblings, 1 reply; 5+ messages in thread
From: Laurentiu Palcu @ 2012-12-04 12:37 UTC (permalink / raw)
  To: koansoftware; +Cc: yocto@yoctoproject.org



On 12/04/2012 01:22 PM, Marco wrote:
> Il 03/12/2012 18:46, Zhang, Jessica ha scritto:
>> 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
You can place it for ADT.

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


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

* Re: Howto use yocto meta-toolchain?
  2012-12-04 12:37     ` Laurentiu Palcu
@ 2012-12-04 16:30       ` Marco
  0 siblings, 0 replies; 5+ messages in thread
From: Marco @ 2012-12-04 16:30 UTC (permalink / raw)
  To: Laurentiu Palcu; +Cc: yocto@yoctoproject.org

Il 04/12/2012 13:37, Laurentiu Palcu ha scritto:
> script it doesn't work


https://bugzilla.yoctoproject.org/show_bug.cgi?id=3532


-- 
Marco


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

end of thread, other threads:[~2012-12-04 16:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03 15:00 Howto use yocto meta-toolchain? Marco
2012-12-03 17:46 ` Zhang, Jessica
2012-12-04 11:22   ` Marco
2012-12-04 12:37     ` Laurentiu Palcu
2012-12-04 16:30       ` Marco

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.