* empty dirs in glib-2.0
@ 2012-02-25 12:26 Kövesdi György
2012-02-25 14:55 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Kövesdi György @ 2012-02-25 12:26 UTC (permalink / raw)
To: openembedded-core
Hi,
Compiling the Angstrom Linux, in the file openembedded-core/meta/recipes-
core/glib-2.0/glib-2.0_2.30.2.bb (a85f283ffae5407b23532ce2262142ee2d986af2)
there are the followings:
do_install_append() {
# remove some unpackaged files
rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyc
rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyo
# and empty dirs
rmdir ${D}${libdir}/gio/modules/
rmdir ${D}${libdir}/gio/
}
I have problems with the "empty dirs" section: the directory is not empty and
therefore the installation fails here.
I replaced it with "rm -rf ..." and now it worx but i do not sure it is a good
solution.
Why these directories are expected to be empty? What does it mean if they are
not?
Thanx in advance
Gyorgy Kovesdi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: empty dirs in glib-2.0
2012-02-25 12:26 empty dirs in glib-2.0 Kövesdi György
@ 2012-02-25 14:55 ` Richard Purdie
2012-02-27 10:30 ` Gyorgy Kovesdi
0 siblings, 1 reply; 8+ messages in thread
From: Richard Purdie @ 2012-02-25 14:55 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Sat, 2012-02-25 at 13:26 +0100, Kövesdi György wrote:
> Hi,
>
> Compiling the Angstrom Linux, in the file openembedded-core/meta/recipes-
> core/glib-2.0/glib-2.0_2.30.2.bb (a85f283ffae5407b23532ce2262142ee2d986af2)
> there are the followings:
>
> do_install_append() {
> # remove some unpackaged files
> rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyc
> rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyo
> # and empty dirs
> rmdir ${D}${libdir}/gio/modules/
> rmdir ${D}${libdir}/gio/
> }
>
> I have problems with the "empty dirs" section: the directory is not empty and
> therefore the installation fails here.
> I replaced it with "rm -rf ..." and now it worx but i do not sure it is a good
> solution.
> Why these directories are expected to be empty? What does it mean if they are
> not?
rmdir was used specifically so we'd know if the directory wasn't empty.
What files are in there?
Are there any .bbappends to the glib recipe in any of your other layers?
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: empty dirs in glib-2.0
2012-02-25 14:55 ` Richard Purdie
@ 2012-02-27 10:30 ` Gyorgy Kovesdi
2012-02-27 10:41 ` Jack Mitchell
2012-02-27 10:44 ` Gyorgy Kovesdi
0 siblings, 2 replies; 8+ messages in thread
From: Gyorgy Kovesdi @ 2012-02-27 10:30 UTC (permalink / raw)
To: openembedded-core
> rmdir was used specifically so we'd know if the directory wasn't empty.
> What files are in there?
...../usr/lib/gio/modules:
total 32K
drwxr-xr-x 2 kgy users 4.0K Feb 27 11:26 .
drwxr-xr-x 3 kgy users 4.0K Feb 27 11:26 ..
-rwxr-xr-x 1 kgy users 2.0K Feb 27 11:26 libgiofam.la
-rwxr-xr-x 1 kgy users 20K Feb 27 11:26 libgiofam.so
It is reproducible now, even in a brand new checkout.
Regards
Gyorgy Kovesdi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: empty dirs in glib-2.0
2012-02-27 10:30 ` Gyorgy Kovesdi
@ 2012-02-27 10:41 ` Jack Mitchell
2012-02-27 11:05 ` Ni Qingliang
2012-02-27 10:44 ` Gyorgy Kovesdi
1 sibling, 1 reply; 8+ messages in thread
From: Jack Mitchell @ 2012-02-27 10:41 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 27/02/12 10:30, Gyorgy Kovesdi wrote:
>> rmdir was used specifically so we'd know if the directory wasn't empty.
>> What files are in there?
> ...../usr/lib/gio/modules:
>
> total 32K
> drwxr-xr-x 2 kgy users 4.0K Feb 27 11:26 .
> drwxr-xr-x 3 kgy users 4.0K Feb 27 11:26 ..
> -rwxr-xr-x 1 kgy users 2.0K Feb 27 11:26 libgiofam.la
> -rwxr-xr-x 1 kgy users 20K Feb 27 11:26 libgiofam.so
>
> It is reproducible now, even in a brand new checkout.
>
> Regards
> Gyorgy Kovesdi
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
I can confirm I also just ran into this issue on an Angstrom Master
checkout.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: empty dirs in glib-2.0
2012-02-27 10:30 ` Gyorgy Kovesdi
2012-02-27 10:41 ` Jack Mitchell
@ 2012-02-27 10:44 ` Gyorgy Kovesdi
1 sibling, 0 replies; 8+ messages in thread
From: Gyorgy Kovesdi @ 2012-02-27 10:44 UTC (permalink / raw)
To: openembedded-core
> It is reproducible now, even in a brand new checkout.
The revision of the glib-2.0_2.30.2.bb file is 4642ae91cee2978956a61cf15df7ea62e3eb1726
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: empty dirs in glib-2.0
2012-02-27 10:41 ` Jack Mitchell
@ 2012-02-27 11:05 ` Ni Qingliang
2012-02-27 12:08 ` Andrea Adami
2012-02-27 12:17 ` Richard Purdie
0 siblings, 2 replies; 8+ messages in thread
From: Ni Qingliang @ 2012-02-27 11:05 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Same problem!!!
On Mon, 2012-02-27 at 18:41 +0800, Jack Mitchell wrote:
> On 27/02/12 10:30, Gyorgy Kovesdi wrote:
> >> rmdir was used specifically so we'd know if the directory wasn't empty.
> >> What files are in there?
> > ...../usr/lib/gio/modules:
> >
> > total 32K
> > drwxr-xr-x 2 kgy users 4.0K Feb 27 11:26 .
> > drwxr-xr-x 3 kgy users 4.0K Feb 27 11:26 ..
> > -rwxr-xr-x 1 kgy users 2.0K Feb 27 11:26 libgiofam.la
> > -rwxr-xr-x 1 kgy users 20K Feb 27 11:26 libgiofam.so
> >
> > It is reproducible now, even in a brand new checkout.
> >
> > Regards
> > Gyorgy Kovesdi
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> I can confirm I also just ran into this issue on an Angstrom Master
> checkout.
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Yi Qingliang
niqingliang@insigma.com.cn
https://niqingliang2003.wordpress.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: empty dirs in glib-2.0
2012-02-27 11:05 ` Ni Qingliang
@ 2012-02-27 12:08 ` Andrea Adami
2012-02-27 12:17 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Andrea Adami @ 2012-02-27 12:08 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Mon, Feb 27, 2012 at 12:05 PM, Ni Qingliang
<niqingliang@insigma.com.cn> wrote:
> Same problem!!!
>
> On Mon, 2012-02-27 at 18:41 +0800, Jack Mitchell wrote:
>> On 27/02/12 10:30, Gyorgy Kovesdi wrote:
>> >> rmdir was used specifically so we'd know if the directory wasn't empty.
>> >> What files are in there?
>> > ...../usr/lib/gio/modules:
>> >
>> > total 32K
>> > drwxr-xr-x 2 kgy users 4.0K Feb 27 11:26 .
>> > drwxr-xr-x 3 kgy users 4.0K Feb 27 11:26 ..
>> > -rwxr-xr-x 1 kgy users 2.0K Feb 27 11:26 libgiofam.la
>> > -rwxr-xr-x 1 kgy users 20K Feb 27 11:26 libgiofam.so
>> >
>> > It is reproducible now, even in a brand new checkout.
>> >
>> > Regards
>> > Gyorgy Kovesdi
>> >
>> >
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core@lists.openembedded.org
>> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>> I can confirm I also just ran into this issue on an Angstrom Master
>> checkout.
>>
You can fix the issue adding --disable-fam like in glib-2.0/glib.inc
-EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap"
+EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap
--disable-fam"
The issue has been ackowledged, more tests are going on.
Fix will follow soon.
Regards
Andrea
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> --
> Yi Qingliang
> niqingliang@insigma.com.cn
> https://niqingliang2003.wordpress.com
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: empty dirs in glib-2.0
2012-02-27 11:05 ` Ni Qingliang
2012-02-27 12:08 ` Andrea Adami
@ 2012-02-27 12:17 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2012-02-27 12:17 UTC (permalink / raw)
To: niqingliang, Patches and discussions about the oe-core layer
On Mon, 2012-02-27 at 19:05 +0800, Ni Qingliang wrote:
> Same problem!!!
>
> On Mon, 2012-02-27 at 18:41 +0800, Jack Mitchell wrote:
> > On 27/02/12 10:30, Gyorgy Kovesdi wrote:
> > >> rmdir was used specifically so we'd know if the directory wasn't empty.
> > >> What files are in there?
> > > ...../usr/lib/gio/modules:
> > >
> > > total 32K
> > > drwxr-xr-x 2 kgy users 4.0K Feb 27 11:26 .
> > > drwxr-xr-x 3 kgy users 4.0K Feb 27 11:26 ..
> > > -rwxr-xr-x 1 kgy users 2.0K Feb 27 11:26 libgiofam.la
> > > -rwxr-xr-x 1 kgy users 20K Feb 27 11:26 libgiofam.so
> > >
> > > It is reproducible now, even in a brand new checkout.
> > >
> > > Regards
> > > Gyorgy Kovesdi
> > >
> >
> > I can confirm I also just ran into this issue on an Angstrom Master
> > checkout.
We need to add --disable-fam to EXTRA_OECONF. Since a lot of people are
hitting this, I've pushed such a patch directly.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-02-27 12:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-25 12:26 empty dirs in glib-2.0 Kövesdi György
2012-02-25 14:55 ` Richard Purdie
2012-02-27 10:30 ` Gyorgy Kovesdi
2012-02-27 10:41 ` Jack Mitchell
2012-02-27 11:05 ` Ni Qingliang
2012-02-27 12:08 ` Andrea Adami
2012-02-27 12:17 ` Richard Purdie
2012-02-27 10:44 ` Gyorgy Kovesdi
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.