Yocto: Gives error on ". ./setup-environment build" command

1,140 views
Skip to first unread message

mayur....@mindastoneridge.com

unread,
Aug 12, 2014, 12:58:25 AM8/12/14
to wand...@googlegroups.com, Sandeep Gound

Hello All,

I am seeting up yocto distribution on my ubuntu based host system for wandboard solo.

Firstly I got an error while executing bitbake command.

The error was regarding space constraints. then I changed the drive & make available 70Gb space for the yocto distribution.

Again I started from first step given in "http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard" link. (that is, Install Required Host Packages).

It takes me 1 day to reach at "Setup environment and build an image" step.

Now I am getting stuck at ". ./setup-environment build", it gives me below error on executing this command.

msil@msil-ThinkCentre-Edge71:/media/msil/Drive1/Yocto_Distribution/fsl-community-bsp$ . ./setup-environment build
Configuring for wandboard-solo
bash: /media/msil/Drive1/Yocto_Distribution/fsl-community-bsp/sources/poky/scripts/oe-setup-builddir: Permission denied


Can someone tell me why this is happens? what is wrong with me?

Thanks & Regards,
Mayur Gaikwad



“The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.”

mayur....@mindastoneridge.com

unread,
Aug 12, 2014, 6:51:02 AM8/12/14
to wand...@googlegroups.com, sand...@mindastoneridge.com
Dear All,

Please Reply as soon as possible on my query since I was getting stuck on this for long time & I want to move ahead.

thanks

John Weber

unread,
Aug 12, 2014, 7:51:20 AM8/12/14
to wand...@googlegroups.com, sand...@mindastoneridge.com


On Tuesday, August 12, 2014, <mayur....@mindastoneridge.com> wrote:
Dear All,

Please Reply as soon as possible on my query since I was getting stuck on this for long time & I want to move ahead.

thanks


On Tuesday, August 12, 2014 10:28:25 AM UTC+5:30, mayur....@mindastoneridge.com wrote:

Hello All,

I am seeting up yocto distribution on my ubuntu based host system for wandboard solo.

Firstly I got an error while executing bitbake command.

The error was regarding space constraints. then I changed the drive & make available 70Gb space for the yocto distribution.

Again I started from first step given in "http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard" link. (that is, Install Required Host Packages).

It takes me 1 day to reach at "Setup environment and build an image" step. 


Now I am getting stuck at ". ./setup-environment build", it gives me below error on executing this command.

msil@msil-ThinkCentre-Edge71:/media/msil/Drive1/Yocto_Distribution/fsl-community-bsp$ . ./setup-environment build
Configuring for wandboard-solo
bash: /media/msil/Drive1/Yocto_Distribution/fsl-community-bsp/sources/poky/scripts/oe-setup-builddir: Permission denied


Can someone tell me why this is happens? what is wrong with me?

Thanks & Regards,
Mayur Gaikwad
 
  
 

First off, please do not send an email to the mailing list asking for help and then send another email 5 hours later asking for it again.   Please give a couple of days before pinging again.

1 day to install host packages and download the source repositories is a long time.  I can't remember how much time it takes me but it's not more than 10 minutes. 

You didn't happen to install any of these as root, did you?  I suspect that you dint follow the steps as written in the wiki article. 

mayur....@mindastoneridge.com

unread,
Aug 13, 2014, 7:25:16 AM8/13/14
to wand...@googlegroups.com, sand...@mindastoneridge.com
Hi John,

I have noticed one thing during this setup is that, when i used any local drive (other than root directory or home directory) then it gives me that problem.
you can observe this in below command response, the underlined part is shown the directory on which the set up is installing.

Part (1)


msil@msil-ThinkCentre-Edge71:/media/msil/Drive1/Yocto_Distribution/fsl-community-bsp$ . ./setup-environment build
Configuring for wandboard-solo
bash: /media/msil/Drive1/Yocto_Distribution/fsl-community-bsp/sources/poky/scripts/oe-setup-builddir: Permission denied
 



Part (2)

msil@msil-ThinkCentre-Edge71:~/YoctoBSP/fsl-community-bsp$ . ./setup-environment build
Configuring for wandboard-solo


Some BSPs depend on libraries and packages which are covered by Freescale's
End User License Agreement (EULA). To have the right to use these binaries in
your images, you need to read and accept the following...

LA_OPT27 v4 June 2013

FREESCALE SEMICONDUCTOR SOFTWARE LICENSE AGREEMENT
Do you accept the EULA you just read? (y/n) y
EULA has been accepted.

................................................................
.............................................................
...................................................

................................................................
.............................................................
...................................................

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

Your build environment has been configured with:

    MACHINE=wandboard-solo
    SDKMACHINE=i686
    DISTRO=poky
    EULA=1
msil@msil-ThinkCentre-Edge71:~/YoctoBSP/fsl-community-bsp/build$


if I continue the Part (2) then it takes "bitbake core-image-minimal" command but after that it gives me error as:

WARNING: Failed to fetch URL ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz;name=libtar, attempting MIRRORS if available
WARNING: The free space of /home/msil/YoctoBSP/fsl-community-bsp/build/tmp (rootfs) is running low (0.999GB left)
ERROR: No new tasks can be executed since the disk space monitor action is "STOPTASKS"!
WARNING: The free space of /home/msil/YoctoBSP/fsl-community-bsp/downloads (rootfs) is running low (0.999GB left)
ERROR: No new tasks can be executed since the disk space monitor action is "STOPTASKS"!
WARNING: The free space of /home/msil/YoctoBSP/fsl-community-bsp/build/sstate-cache (rootfs) is running low (0.999GB left)
ERROR: No new tasks can be executed since the disk space monitor action is "STOPTASKS"!
Waiting for 1 running tasks to finish:


Since my home directory or root directory available only 976MB of space it gives error & I cannot manage more size with in this directory.

I have other directory (Drive1) which has 80GB space available but when i am trying to setup in to that directory then it gives me an error which is explain in Part (1).

So I am confused how to go ahead.

Hope this explanation is sufficient to understand my problem. Still you have any doubt to clarify my problem then please revert me.

Waiting for your kind support ahead.

Thanks,
Mayur Gaikwad  

Robert Nelson

unread,
Aug 13, 2014, 8:14:27 AM8/13/14
to wand...@googlegroups.com, sand...@mindastoneridge.com
On Wed, Aug 13, 2014 at 6:25 AM, <mayur....@mindastoneridge.com> wrote:
> Hi John,
>
> I have noticed one thing during this setup is that, when i used any local
> drive (other than root directory or home directory) then it gives me that
> problem.
> you can observe this in below command response, the underlined part is shown
> the directory on which the set up is installing.
>
> Part (1)
>
>
> msil@msil-ThinkCentre-Edge71:/media/msil/Drive1/Yocto_Distribution/fsl-community-bsp$
> . ./setup-environment build
> Configuring for wandboard-solo
> bash:
> /media/msil/Drive1/Yocto_Distribution/fsl-community-bsp/sources/poky/scripts/oe-setup-builddir:
> Permission denied

Maybe "actually setup" your permissions on that drive first... Let me
guess, it's fat/ntfs probally too..

>
> “The contents of this e-mail message and any attachments are confidential
> and are intended solely for addressee. The information may also be legally
> privileged. This transmission is sent in trust, for the sole purpose of
> delivery to the intended recipient. If you have received this transmission
> in error, any use, reproduction or dissemination of this transmission is
> strictly prohibited. If you are not the intended recipient, please
> immediately notify the sender by reply e-mail or phone and delete this
> message and its attachments, if any.”

I've tried to delete it, but you keep sending more... This is a public list..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

mayur....@mindastoneridge.com

unread,
Aug 16, 2014, 7:50:50 AM8/16/14
to wand...@googlegroups.com, sand...@mindastoneridge.com
Hi Robert,

Thanks for your immediate reply.

I have checked at my end, the directory (root directory) on which its working properly is having ext3 or ext4 file system where as the directory on which its giving error is having NTFS file system.

Is this difference matters while installing setups ? If this is the only reason for the misbehave then please suggest me the corrective method.

Thanks

John Weber

unread,
Aug 16, 2014, 4:12:02 PM8/16/14
to wand...@googlegroups.com
Hi Mayur,

On 8/16/14, 6:50 AM, mayur....@mindastoneridge.com wrote:
> Hi Robert,
>
> Thanks for your immediate reply.
>
> I have checked at my end, the directory (root directory) on which its working
> properly is having ext3 or ext4 file system where as the directory on which
> its giving error is having NTFS file system.
That was a very good guess Robert!
>
> Is this difference matters while installing setups ? If this is the only
> reason for the misbehave then please suggest me the corrective method.
Work with just Linux filesystems.

John

Reply all
Reply to author
Forward
0 new messages