Re: [yocto] Source Command Permission Denied

2014-06-05 Thread Kashyap Gada
Its a different ntfs partition. I mount it manually.


On Tue, Jun 3, 2014 at 10:44 PM, Saul Wold s...@linux.intel.com wrote:

 On 06/03/2014 09:20 AM, Kashyap Gada wrote:

 Thank you Ross.

 I actually ran into another problem in bitbaking core-image-sato from the
 getting started guide at the yocto site which led me into changing to a
 setup which doesnot include mounting of any drive to my ubuntu
 distribution. the problem is as follows.

 While compiling of e2fsprogs-1.42.9-r0 do_compile (pid 5276)

 the details of the error log generated is as follows


 SNIP


  chmod: cannot operate on dangling symlink 'prof_err.h'
 chmod: prof_err.h: new permissions are r-xrwxrwx, not r-xr-xr-x
 chmod: prof_err.c: new permissions are r-xrwxrwx, not r-xr-xr-x


 Looks like your still having some sort of permissions issue. Where exactly
 are you doing your build?  What type of filesystem?

 Sau!



  make[2]: *** [prof_err.h] Error 1
 make[2]: *** Waiting for unfinished jobs
 make[2]: Leaving directory
 `/mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky-
 linux/e2fsprogs/1.42.9-r0/build/misc'
 make[1]: *** [all-progs-recursive] Error 1
 make[1]: Leaving directory
 `/mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky-
 linux/e2fsprogs/1.42.9-r0/build'
 make: *** [all] Error 2
 ERROR: oe_runmake failed
 WARNING: exit code 1 from a shell command.
 ERROR: Function failed: do_compile (log file is located at
 /mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky-
 linux/e2fsprogs/1.42.9-r0/temp/log.do_compile.5276)




 Sorry for attaching this to this list.



 On Tue, Jun 3, 2014 at 9:20 PM, Burton, Ross ross.bur...@intel.com
 wrote:

  So you probably lost every executable mode when you did that.  Make a
 fresh clone and reapply your changes, that will be easier than finding
 every file that isn't executable when it should be.

 Ross

 On 3 June 2014 16:49, Kashyap Gada gada.kash...@gmail.com wrote:

 its copied!


 On Tue, Jun 3, 2014 at 9:16 PM, Burton, Ross ross.bur...@intel.com

 wrote:


 On 3 June 2014 16:39, Kashyap Gada gada.kash...@gmail.com wrote:

 bash: /home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission
 denied


 The permissions on that file don't involve +x.  Is that a fresh
 checkout of poky or copied from the removable media?

 Ross








-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-06-05 Thread Burton, Ross
On Thursday, 5 June 2014, Kashyap Gada gada.kash...@gmail.com wrote:

 Its a different ntfs partition. I mount it manually.


Using NTFS is certainly going to complicate things because the permissions
model is different, can you use a Linux file system (such as ext4) instead
of a Windows one?

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-06-05 Thread Kashyap Gada
Yes, I have already dropped my plan for continuing further on that setup. I
have got a new computer and started the complete process again.

Thanks for the help. :-)


On Thu, Jun 5, 2014 at 12:04 PM, Burton, Ross ross.bur...@intel.com wrote:

 On Thursday, 5 June 2014, Kashyap Gada gada.kash...@gmail.com wrote:

 Its a different ntfs partition. I mount it manually.


 Using NTFS is certainly going to complicate things because the permissions
 model is different, can you use a Linux file system (such as ext4) instead
 of a Windows one?

 Ross

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-06-03 Thread Burton, Ross
On 3 June 2014 16:39, Kashyap Gada gada.kash...@gmail.com wrote:
 bash: /home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission denied

The permissions on that file don't involve +x.  Is that a fresh
checkout of poky or copied from the removable media?

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-06-03 Thread Kashyap Gada
its copied!


On Tue, Jun 3, 2014 at 9:16 PM, Burton, Ross ross.bur...@intel.com wrote:

 On 3 June 2014 16:39, Kashyap Gada gada.kash...@gmail.com wrote:
  bash: /home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission
 denied

 The permissions on that file don't involve +x.  Is that a fresh
 checkout of poky or copied from the removable media?

 Ross

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-06-03 Thread Burton, Ross
So you probably lost every executable mode when you did that.  Make a
fresh clone and reapply your changes, that will be easier than finding
every file that isn't executable when it should be.

Ross

On 3 June 2014 16:49, Kashyap Gada gada.kash...@gmail.com wrote:
 its copied!


 On Tue, Jun 3, 2014 at 9:16 PM, Burton, Ross ross.bur...@intel.com wrote:

 On 3 June 2014 16:39, Kashyap Gada gada.kash...@gmail.com wrote:
  bash: /home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission
  denied

 The permissions on that file don't involve +x.  Is that a fresh
 checkout of poky or copied from the removable media?

 Ross


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-06-03 Thread Saul Wold

On 06/03/2014 09:20 AM, Kashyap Gada wrote:

Thank you Ross.

I actually ran into another problem in bitbaking core-image-sato from the
getting started guide at the yocto site which led me into changing to a
setup which doesnot include mounting of any drive to my ubuntu
distribution. the problem is as follows.

While compiling of e2fsprogs-1.42.9-r0 do_compile (pid 5276)

the details of the error log generated is as follows



SNIP


chmod: cannot operate on dangling symlink 'prof_err.h'
chmod: prof_err.h: new permissions are r-xrwxrwx, not r-xr-xr-x
chmod: prof_err.c: new permissions are r-xrwxrwx, not r-xr-xr-x


Looks like your still having some sort of permissions issue. Where 
exactly are you doing your build?  What type of filesystem?


Sau!



make[2]: *** [prof_err.h] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory
`/mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky-linux/e2fsprogs/1.42.9-r0/build/misc'
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory
`/mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky-linux/e2fsprogs/1.42.9-r0/build'
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at
/mnt/kashyap/hda/yocto/poky/build/tmp/work/i586-poky-linux/e2fsprogs/1.42.9-r0/temp/log.do_compile.5276)




Sorry for attaching this to this list.



On Tue, Jun 3, 2014 at 9:20 PM, Burton, Ross ross.bur...@intel.com wrote:


So you probably lost every executable mode when you did that.  Make a
fresh clone and reapply your changes, that will be easier than finding
every file that isn't executable when it should be.

Ross

On 3 June 2014 16:49, Kashyap Gada gada.kash...@gmail.com wrote:

its copied!


On Tue, Jun 3, 2014 at 9:16 PM, Burton, Ross ross.bur...@intel.com

wrote:


On 3 June 2014 16:39, Kashyap Gada gada.kash...@gmail.com wrote:

bash: /home/kashyap/yocto/poky/scripts/oe-setup-builddir: Permission
denied


The permissions on that file don't involve +x.  Is that a fresh
checkout of poky or copied from the removable media?

Ross










--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-05-30 Thread Burton, Ross
On 30 May 2014 05:06, Kashyap Gada gada.kash...@gmail.com wrote:
 bash:
 /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir:
 Permission denied

You appear to be running Yocto on external media and your system has
likely mounted it with the noexec flags to prevent malicious
programs.  You'll want to remount it with the exec flag, using mount
-o exec,remount /media/kashyap/3E0800DC08009555 should do the trick.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Source Command Permission Denied

2014-05-30 Thread Kashyap Gada
Thank You. I did the following and it worked.

First Found the drive using

$ sudo fdisk -l

Then Selected the desired drive and create a directory in the /mnt path

$ sudo mkdir hda

Now Mount the sda5(can be different for you)

$ sudo mount -t auto -v /dev/sda5 /mnt/hda

after the work is done can unmount using

sudo unmount /dev/sda5 (not checked this part yet)

Thanks
Kashyap Gada
smartsys india
gada(.)kashyap(@)gmail(.)com

$sudo mount -t


On Fri, May 30, 2014 at 4:40 PM, Burton, Ross ross.bur...@intel.com wrote:

 On 30 May 2014 05:06, Kashyap Gada gada.kash...@gmail.com wrote:
  bash:
  /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir:
  Permission denied

 You appear to be running Yocto on external media and your system has
 likely mounted it with the noexec flags to prevent malicious
 programs.  You'll want to remount it with the exec flag, using mount
 -o exec,remount /media/kashyap/3E0800DC08009555 should do the trick.

 Ross

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Source Command Permission Denied

2014-05-29 Thread Kashyap Gada
Hello Community,
This is my first question please excuse if I'm making a silly mistake. I am
just starting learning the yocto project to develop custom linux os. I was
following the few commands to download and setup poky on my build system
from the quick start guide at .

$ git clone http://git.yoctoproject.org/git/poky
 $ cd poky
 $ git checkout -b daisy origin/daisy
 $ source oe-init-build-env

Executing the last line gives me the following issue


kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ ls

 bitbakemeta-selftest   oe-init-build-env scripts

 documentation  meta-skeleton   oe-init-build-env-memres

 LICENSEmeta-yocto  README

 meta   meta-yocto-bsp  README.hardware

 kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$ source
 oe-init-build-env

 bash:
 /media/kashyap/3E0800DC08009555/yocto/poky/scripts/oe-setup-builddir:
 Permission denied

 kashyap@Kashyap-VAIO:/media/kashyap/3E0800DC08009555/yocto/poky$



I tried searching over the internet about the possible issues but couldn't
figure out the problem here.
Anyone please help.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto