All of lore.kernel.org
 help / color / mirror / Atom feed
* fixup_perms failure on linux-libc-headers
@ 2012-06-12  9:07 Giuseppe Condorelli
  2012-06-12 13:57 ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Giuseppe Condorelli @ 2012-06-12  9:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

Hi All,

building linux-libc-headers, at the do_package step I'm falling in this
error.

Error executing a python function in
/oelinux/condorg/openembedded-core/meta-stlinux/recipes-kernel/linux-libc-headers/
linux-libc-headers_2.6.32.bb:
OSError: [Errno 1] Operation not permitted:
'/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'

It seems the fixup_perms python function is failing to change permissions.
I've aligned oe-core repository to the best so far yesterday afternoon.
I'm confident the problem should appear also for other packages during
build.

Any help, please?

Best Regards,
Giuseppe

[-- Attachment #2: Type: text/html, Size: 901 bytes --]

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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-12  9:07 fixup_perms failure on linux-libc-headers Giuseppe Condorelli
@ 2012-06-12 13:57 ` Khem Raj
  2012-06-12 18:43   ` Mark Hatle
  2012-06-13 12:34   ` Giuseppe Condorelli
  0 siblings, 2 replies; 9+ messages in thread
From: Khem Raj @ 2012-06-12 13:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
<giuseppe.condorelli@gmail.com> wrote:
> OSError: [Errno 1] Operation not permitted:
> '/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'

what is your host machine ? did you also update bitbake ?



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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-12 13:57 ` Khem Raj
@ 2012-06-12 18:43   ` Mark Hatle
  2012-06-13  8:02     ` Giuseppe Condorelli
  2012-06-13 12:34   ` Giuseppe Condorelli
  1 sibling, 1 reply; 9+ messages in thread
From: Mark Hatle @ 2012-06-12 18:43 UTC (permalink / raw)
  To: openembedded-core

On 6/12/12 8:57 AM, Khem Raj wrote:
> On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
> <giuseppe.condorelli@gmail.com>  wrote:
>> OSError: [Errno 1] Operation not permitted:
>> '/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'
>
> what is your host machine ? did you also update bitbake ?

It also could be the filesystem.  What filesystem type are you using?  (on the 
host system...)  If you are using something like fat32, you may run into 
problems like this because it does not have the ability to change permissions 
and modes.. since the underlying filesystem does not support them.

--Mark



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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-12 18:43   ` Mark Hatle
@ 2012-06-13  8:02     ` Giuseppe Condorelli
  2012-06-13 14:26       ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Giuseppe Condorelli @ 2012-06-13  8:02 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

Hi Khem, Mark,

I've not changed the location of the local repository since it was created
months ago.
This problem appeared yesterday and I cannot find a why.
For information, I'm on a FC14 host machine and the repository is on a
physical hdd and not
mounted from NFS for example.

Cheers,
Giuseppe



2012/6/12 Mark Hatle <mark.hatle@windriver.com>

> On 6/12/12 8:57 AM, Khem Raj wrote:
>
>> On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
>> <giuseppe.condorelli@gmail.com**>  wrote:
>>
>>> OSError: [Errno 1] Operation not permitted:
>>> '/oelinux/condorg/**openembedded-core/stlinux-3.0-**
>>> build/tmp-uclibc/work/sh4-oe-**linux-uclibc/linux-libc-**
>>> headers-2.6.32-r1/package/usr'
>>>
>>
>> what is your host machine ? did you also update bitbake ?
>>
>
> It also could be the filesystem.  What filesystem type are you using?  (on
> the host system...)  If you are using something like fat32, you may run
> into problems like this because it does not have the ability to change
> permissions and modes.. since the underlying filesystem does not support
> them.
>
> --Mark
>
>
> ______________________________**_________________
> Openembedded-core mailing list
> Openembedded-core@lists.**openembedded.org<Openembedded-core@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-core<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core>
>

[-- Attachment #2: Type: text/html, Size: 2531 bytes --]

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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-12 13:57 ` Khem Raj
  2012-06-12 18:43   ` Mark Hatle
@ 2012-06-13 12:34   ` Giuseppe Condorelli
  1 sibling, 0 replies; 9+ messages in thread
From: Giuseppe Condorelli @ 2012-06-13 12:34 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

Sorry guys, I forgot to reply that I'm using the bitbake 1.15.2.
Have I to update it? Since now I was based on the best so far archive file
for bitbake.

2012/6/12 Khem Raj <raj.khem@gmail.com>

> On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
> <giuseppe.condorelli@gmail.com> wrote:
> > OSError: [Errno 1] Operation not permitted:
> >
> '/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'
>
> what is your host machine ? did you also update bitbake ?
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 1362 bytes --]

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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-13  8:02     ` Giuseppe Condorelli
@ 2012-06-13 14:26       ` Khem Raj
  2012-06-13 14:48         ` Giuseppe Condorelli
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2012-06-13 14:26 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Jun 13, 2012 at 1:02 AM, Giuseppe Condorelli
<giuseppe.condorelli@gmail.com> wrote:
> Hi Khem, Mark,
>
> I've not changed the location of the local repository since it was created
> months ago.
> This problem appeared yesterday and I cannot find a why.

can you bisect and see if its some patch in OE or bitbake ?

> For information, I'm on a FC14 host machine and the repository is on a
> physical hdd and not
> mounted from NFS for example.
>
> Cheers,
> Giuseppe
>
>
>
> 2012/6/12 Mark Hatle <mark.hatle@windriver.com>
>>
>> On 6/12/12 8:57 AM, Khem Raj wrote:
>>>
>>> On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
>>> <giuseppe.condorelli@gmail.com>  wrote:
>>>>
>>>> OSError: [Errno 1] Operation not permitted:
>>>>
>>>> '/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'
>>>
>>>
>>> what is your host machine ? did you also update bitbake ?
>>
>>
>> It also could be the filesystem.  What filesystem type are you using?  (on
>> the host system...)  If you are using something like fat32, you may run into
>> problems like this because it does not have the ability to change
>> permissions and modes.. since the underlying filesystem does not support
>> them.
>>
>> --Mark
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-13 14:26       ` Khem Raj
@ 2012-06-13 14:48         ` Giuseppe Condorelli
  2012-06-13 15:16           ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Giuseppe Condorelli @ 2012-06-13 14:48 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 2723 bytes --]

Solved right now!
I was forced to re-run the oe-init-build-dev script, maybe something was
broken and
restarting by scratch solved the issue.

Just another question. I have appended to core-image-minimal the
IMAGE_DEVICE_TABLES
to point to an own .txt file containing the devices to create for the image
(as well as I did in old oe-classic).
After the build, looking at the rootfs of the core-image-minimal directory
I see the /dev empyt and also the
log.do_rootfs reports that "min. I/O units was not specified".
Any differencies against the old implementation?

Many thanks Khem,
Giuseppe

2012/6/13 Khem Raj <raj.khem@gmail.com>

> On Wed, Jun 13, 2012 at 1:02 AM, Giuseppe Condorelli
> <giuseppe.condorelli@gmail.com> wrote:
> > Hi Khem, Mark,
> >
> > I've not changed the location of the local repository since it was
> created
> > months ago.
> > This problem appeared yesterday and I cannot find a why.
>
> can you bisect and see if its some patch in OE or bitbake ?
>
> > For information, I'm on a FC14 host machine and the repository is on a
> > physical hdd and not
> > mounted from NFS for example.
> >
> > Cheers,
> > Giuseppe
> >
> >
> >
> > 2012/6/12 Mark Hatle <mark.hatle@windriver.com>
> >>
> >> On 6/12/12 8:57 AM, Khem Raj wrote:
> >>>
> >>> On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
> >>> <giuseppe.condorelli@gmail.com>  wrote:
> >>>>
> >>>> OSError: [Errno 1] Operation not permitted:
> >>>>
> >>>>
> '/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'
> >>>
> >>>
> >>> what is your host machine ? did you also update bitbake ?
> >>
> >>
> >> It also could be the filesystem.  What filesystem type are you using?
>  (on
> >> the host system...)  If you are using something like fat32, you may run
> into
> >> problems like this because it does not have the ability to change
> >> permissions and modes.. since the underlying filesystem does not support
> >> them.
> >>
> >> --Mark
> >>
> >>
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core@lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 4270 bytes --]

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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-13 14:48         ` Giuseppe Condorelli
@ 2012-06-13 15:16           ` Khem Raj
  2012-06-13 15:23             ` Giuseppe Condorelli
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2012-06-13 15:16 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Jun 13, 2012 at 7:48 AM, Giuseppe Condorelli
<giuseppe.condorelli@gmail.com> wrote:
> Solved right now!
> I was forced to re-run the oe-init-build-dev script, maybe something was
> broken and
> restarting by scratch solved the issue.
>
> Just another question. I have appended to core-image-minimal the
> IMAGE_DEVICE_TABLES
> to point to an own .txt file containing the devices to create for the image
> (as well as I did in old oe-classic).
> After the build, looking at the rootfs of the core-image-minimal directory I
> see the /dev empyt and also the
> log.do_rootfs reports that "min. I/O units was not specified".
> Any differencies against the old implementation?


Dont think so. Do you use USE_DEVFS set to 1 ? if not then it should
have worked.

>
> Many thanks Khem,
> Giuseppe
>
> 2012/6/13 Khem Raj <raj.khem@gmail.com>
>>
>> On Wed, Jun 13, 2012 at 1:02 AM, Giuseppe Condorelli
>> <giuseppe.condorelli@gmail.com> wrote:
>> > Hi Khem, Mark,
>> >
>> > I've not changed the location of the local repository since it was
>> > created
>> > months ago.
>> > This problem appeared yesterday and I cannot find a why.
>>
>> can you bisect and see if its some patch in OE or bitbake ?
>>
>> > For information, I'm on a FC14 host machine and the repository is on a
>> > physical hdd and not
>> > mounted from NFS for example.
>> >
>> > Cheers,
>> > Giuseppe
>> >
>> >
>> >
>> > 2012/6/12 Mark Hatle <mark.hatle@windriver.com>
>> >>
>> >> On 6/12/12 8:57 AM, Khem Raj wrote:
>> >>>
>> >>> On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
>> >>> <giuseppe.condorelli@gmail.com>  wrote:
>> >>>>
>> >>>> OSError: [Errno 1] Operation not permitted:
>> >>>>
>> >>>>
>> >>>> '/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'
>> >>>
>> >>>
>> >>> what is your host machine ? did you also update bitbake ?
>> >>
>> >>
>> >> It also could be the filesystem.  What filesystem type are you using?
>> >>  (on
>> >> the host system...)  If you are using something like fat32, you may run
>> >> into
>> >> problems like this because it does not have the ability to change
>> >> permissions and modes.. since the underlying filesystem does not
>> >> support
>> >> them.
>> >>
>> >> --Mark
>> >>
>> >>
>> >> _______________________________________________
>> >> Openembedded-core mailing list
>> >> Openembedded-core@lists.openembedded.org
>> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >
>> >
>> >
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core@lists.openembedded.org
>> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



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

* Re: fixup_perms failure on linux-libc-headers
  2012-06-13 15:16           ` Khem Raj
@ 2012-06-13 15:23             ` Giuseppe Condorelli
  0 siblings, 0 replies; 9+ messages in thread
From: Giuseppe Condorelli @ 2012-06-13 15:23 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 3806 bytes --]

I confirm the USE_DEVFS is set to zero by default.
I'll investigate for a solution, thanks.

Giuseppe

2012/6/13 Khem Raj <raj.khem@gmail.com>

> On Wed, Jun 13, 2012 at 7:48 AM, Giuseppe Condorelli
> <giuseppe.condorelli@gmail.com> wrote:
> > Solved right now!
> > I was forced to re-run the oe-init-build-dev script, maybe something was
> > broken and
> > restarting by scratch solved the issue.
> >
> > Just another question. I have appended to core-image-minimal the
> > IMAGE_DEVICE_TABLES
> > to point to an own .txt file containing the devices to create for the
> image
> > (as well as I did in old oe-classic).
> > After the build, looking at the rootfs of the core-image-minimal
> directory I
> > see the /dev empyt and also the
> > log.do_rootfs reports that "min. I/O units was not specified".
> > Any differencies against the old implementation?
>
>
> Dont think so. Do you use USE_DEVFS set to 1 ? if not then it should
> have worked.
>
> >
> > Many thanks Khem,
> > Giuseppe
> >
> > 2012/6/13 Khem Raj <raj.khem@gmail.com>
> >>
> >> On Wed, Jun 13, 2012 at 1:02 AM, Giuseppe Condorelli
> >> <giuseppe.condorelli@gmail.com> wrote:
> >> > Hi Khem, Mark,
> >> >
> >> > I've not changed the location of the local repository since it was
> >> > created
> >> > months ago.
> >> > This problem appeared yesterday and I cannot find a why.
> >>
> >> can you bisect and see if its some patch in OE or bitbake ?
> >>
> >> > For information, I'm on a FC14 host machine and the repository is on a
> >> > physical hdd and not
> >> > mounted from NFS for example.
> >> >
> >> > Cheers,
> >> > Giuseppe
> >> >
> >> >
> >> >
> >> > 2012/6/12 Mark Hatle <mark.hatle@windriver.com>
> >> >>
> >> >> On 6/12/12 8:57 AM, Khem Raj wrote:
> >> >>>
> >> >>> On Tue, Jun 12, 2012 at 2:07 AM, Giuseppe Condorelli
> >> >>> <giuseppe.condorelli@gmail.com>  wrote:
> >> >>>>
> >> >>>> OSError: [Errno 1] Operation not permitted:
> >> >>>>
> >> >>>>
> >> >>>>
> '/oelinux/condorg/openembedded-core/stlinux-3.0-build/tmp-uclibc/work/sh4-oe-linux-uclibc/linux-libc-headers-2.6.32-r1/package/usr'
> >> >>>
> >> >>>
> >> >>> what is your host machine ? did you also update bitbake ?
> >> >>
> >> >>
> >> >> It also could be the filesystem.  What filesystem type are you using?
> >> >>  (on
> >> >> the host system...)  If you are using something like fat32, you may
> run
> >> >> into
> >> >> problems like this because it does not have the ability to change
> >> >> permissions and modes.. since the underlying filesystem does not
> >> >> support
> >> >> them.
> >> >>
> >> >> --Mark
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> Openembedded-core mailing list
> >> >> Openembedded-core@lists.openembedded.org
> >> >>
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Openembedded-core mailing list
> >> > Openembedded-core@lists.openembedded.org
> >> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >> >
> >>
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core@lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 6304 bytes --]

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

end of thread, other threads:[~2012-06-13 15:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12  9:07 fixup_perms failure on linux-libc-headers Giuseppe Condorelli
2012-06-12 13:57 ` Khem Raj
2012-06-12 18:43   ` Mark Hatle
2012-06-13  8:02     ` Giuseppe Condorelli
2012-06-13 14:26       ` Khem Raj
2012-06-13 14:48         ` Giuseppe Condorelli
2012-06-13 15:16           ` Khem Raj
2012-06-13 15:23             ` Giuseppe Condorelli
2012-06-13 12:34   ` Giuseppe Condorelli

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.