[yocto] Source Command Permission Denied

Saul Wold sgw at linux.intel.com
Tue Jun 3 10:14:53 PDT 2014


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.burton at 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.kashyap at gmail.com> wrote:
>>> its copied!
>>>
>>>
>>> On Tue, Jun 3, 2014 at 9:16 PM, Burton, Ross <ross.burton at intel.com>
>> wrote:
>>>>
>>>> On 3 June 2014 16:39, Kashyap Gada <gada.kashyap at 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
>>>
>>>
>>
>
>
>



More information about the yocto mailing list