* Issues with parallel build? (Was: gtk+native missing dep ?)
@ 2010-05-14 17:47 Andrea Adami
2010-05-14 17:55 ` Tom Rini
2010-05-14 22:12 ` Leon Woestenberg
0 siblings, 2 replies; 11+ messages in thread
From: Andrea Adami @ 2010-05-14 17:47 UTC (permalink / raw)
To: openembedded-devel
On Sat, May 8, 2010 at 1:12 PM, Andrea Adami <andrea.adami@gmail.com> wrote:
> PARALLEL_MAKE = "-j5"
> #BB_NUMBER_THREADS = "4"
> BB_NUMBER_THREADS = "2"
>
> fixed the things. This time the dependencies were (correctly) built before...
>
> Andrea
>
I repeated the build of console-image and gtk+-native always fails
using 4 threads.
Anyone can confirm?
Regards
Andrea
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-14 17:47 Issues with parallel build? (Was: gtk+native missing dep ?) Andrea Adami
@ 2010-05-14 17:55 ` Tom Rini
2010-05-14 21:21 ` Andrea Adami
2010-05-15 8:35 ` Michael Lippautz
2010-05-14 22:12 ` Leon Woestenberg
1 sibling, 2 replies; 11+ messages in thread
From: Tom Rini @ 2010-05-14 17:55 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2010-05-14 at 19:47 +0200, Andrea Adami wrote:
> On Sat, May 8, 2010 at 1:12 PM, Andrea Adami <andrea.adami@gmail.com> wrote:
> > PARALLEL_MAKE = "-j5"
> > #BB_NUMBER_THREADS = "4"
> > BB_NUMBER_THREADS = "2"
> >
> > fixed the things. This time the dependencies were (correctly) built before...
> >
> > Andrea
> >
>
> I repeated the build of console-image and gtk+-native always fails
> using 4 threads.
> Anyone can confirm?
With DISTRO= ? I do most of my builds with 4 and haven't seen this.
But with a failure log on gtk+-native, figuring out the missing dep
shouldn't be too bad.
--
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-14 17:55 ` Tom Rini
@ 2010-05-14 21:21 ` Andrea Adami
2010-05-15 0:04 ` Tom Rini
2010-05-15 8:35 ` Michael Lippautz
1 sibling, 1 reply; 11+ messages in thread
From: Andrea Adami @ 2010-05-14 21:21 UTC (permalink / raw)
To: openembedded-devel
> With DISTRO= ? I do most of my builds with 4 and haven't seen this.
> But with a failure log on gtk+-native, figuring out the missing dep
> shouldn't be too bad.
FWIW distro is Angstrom, devel branch.
DEPENDS_virtclass-native = "libpng-native atk-native pango-native
cairo-native libxrender-native libxext-native"
It's not a problem of missing deps, I suppose, because
PARALLEL_MAKE = "-j5"
#BB_NUMBER_THREADS = "4"
BB_NUMBER_THREADS = "2"
fixed the things. This time the dependencies were (correctly) built before.
Short resume:
i repeatdly see (Angstrom) console-image failing *from scratch*
because gtk+native do_compile errors out with:
Cannot load module
/oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la:
/oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/mo
dules/input/.libs/im-xim.so: undefined symbol: g_realloc_n
| /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la
does not export GTK+ IM module API:
/oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0
g_realloc_n is defined in glib-2.0
I've inspected the workdir and I've noticed "atk-native" and
"pango-native" builds were not finished when gt+-native broke.
Both atk-native and pango-native (and cairo-native, which was built)
have glib-2 as explicit dependency, so something seems wrong...
Regards
Andrea
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-14 17:47 Issues with parallel build? (Was: gtk+native missing dep ?) Andrea Adami
2010-05-14 17:55 ` Tom Rini
@ 2010-05-14 22:12 ` Leon Woestenberg
1 sibling, 0 replies; 11+ messages in thread
From: Leon Woestenberg @ 2010-05-14 22:12 UTC (permalink / raw)
To: openembedded-devel
Hello,
On Fri, May 14, 2010 at 7:47 PM, Andrea Adami <andrea.adami@gmail.com> wrote:
> I repeated the build of console-image and gtk+-native always fails
> using 4 threads.
> Anyone can confirm?
>
I can confirm this happens, but not always for me.
Tthus probably racy.
Regards,
--
Leon
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-14 21:21 ` Andrea Adami
@ 2010-05-15 0:04 ` Tom Rini
2010-05-16 18:52 ` Richard Purdie
0 siblings, 1 reply; 11+ messages in thread
From: Tom Rini @ 2010-05-15 0:04 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2010-05-14 at 23:21 +0200, Andrea Adami wrote:
> > With DISTRO= ? I do most of my builds with 4 and haven't seen this.
> > But with a failure log on gtk+-native, figuring out the missing dep
> > shouldn't be too bad.
>
> FWIW distro is Angstrom, devel branch.
>
> DEPENDS_virtclass-native = "libpng-native atk-native pango-native
> cairo-native libxrender-native libxext-native"
>
> It's not a problem of missing deps, I suppose, because
>
> PARALLEL_MAKE = "-j5"
> #BB_NUMBER_THREADS = "4"
> BB_NUMBER_THREADS = "2"
> fixed the things. This time the dependencies were (correctly) built before.
Right. Lower number of threads means less stuff going on at once. I've
seen a lot of dep issues that only show up once you have a lot of
threads, or have packaged staging (which then marks off a lot of things
in the dep graph).
> Short resume:
>
> i repeatdly see (Angstrom) console-image failing *from scratch*
> because gtk+native do_compile errors out with:
>
> Cannot load module
> /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la:
> /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/mo
> dules/input/.libs/im-xim.so: undefined symbol: g_realloc_n
> | /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la
> does not export GTK+ IM module API:
> /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0
>
> g_realloc_n is defined in glib-2.0
>
> I've inspected the workdir and I've noticed "atk-native" and
> "pango-native" builds were not finished when gtk+-native broke.
> Both atk-native and pango-native (and cairo-native, which was built)
> have glib-2 as explicit dependency, so something seems wrong...
So, it really sounds like a bitbake bug. Doing a bitbake -e on gtk
+-native gives:
DEPENDS_virtclass-native="autoconf-native automake-native libtool-native
gnu-config-native coreutils-native libpng-native atk-native pango-native
cairo-native libxrender-native libxext-native"
DEPENDS="autoconf-native automake-native libtool-native
gnu-config-native coreutils-native libpng-native atk-native pango-native
cairo-native libxrender-native libxext-native"
So it's supposed to be waiting on all of that stuff, but it's not. And
I'm sure RP will need to know what version of bitbake you're using.
--
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-14 17:55 ` Tom Rini
2010-05-14 21:21 ` Andrea Adami
@ 2010-05-15 8:35 ` Michael Lippautz
2010-05-15 15:52 ` Andrea Adami
1 sibling, 1 reply; 11+ messages in thread
From: Michael Lippautz @ 2010-05-15 8:35 UTC (permalink / raw)
To: openembedded-devel
> On Fri, 2010-05-14 at 19:47 +0200, Andrea Adami wrote:
> > On Sat, May 8, 2010 at 1:12 PM, Andrea Adami <andrea.adami@gmail.com> wrote:
> > I repeated the build of console-image and gtk+-native always fails
> > using 4 threads.
> > Anyone can confirm?
Have seen such issues using 4 threads in other recipes too (can't
remember the names though)
Seems to be some race condition. (Using Angstrom, dunno if relevant)
Regards,
Michael
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-15 8:35 ` Michael Lippautz
@ 2010-05-15 15:52 ` Andrea Adami
0 siblings, 0 replies; 11+ messages in thread
From: Andrea Adami @ 2010-05-15 15:52 UTC (permalink / raw)
To: openembedded-devel
I'm using bitbake 1.10
commit bef07c6dc7e3b7b8c995d70ea429d141278b6eb6
Author: Chris Larson <chris_larson@mentor.com>
Date: Thu Apr 15 08:04:35 2010 -0700
Bump version from 1.9.0 to 1.10.0
I'd like to add that it seems a bit strange to see all that stuff in
the deps of console-image...but this was already discussed and in this
thread is OT ;)
Regards
Andrea
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-15 0:04 ` Tom Rini
@ 2010-05-16 18:52 ` Richard Purdie
2010-05-19 22:57 ` Andrea Adami
0 siblings, 1 reply; 11+ messages in thread
From: Richard Purdie @ 2010-05-16 18:52 UTC (permalink / raw)
To: Tom Rini; +Cc: openembedded-devel
On Fri, 2010-05-14 at 17:04 -0700, Tom Rini wrote:
> On Fri, 2010-05-14 at 23:21 +0200, Andrea Adami wrote:
> > Short resume:
> >
> > i repeatdly see (Angstrom) console-image failing *from scratch*
> > because gtk+native do_compile errors out with:
> >
> > Cannot load module
> > /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la:
> > /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/mo
> > dules/input/.libs/im-xim.so: undefined symbol: g_realloc_n
> > | /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la
> > does not export GTK+ IM module API:
> > /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0
> >
> > g_realloc_n is defined in glib-2.0
> >
> > I've inspected the workdir and I've noticed "atk-native" and
> > "pango-native" builds were not finished when gtk+-native broke.
> > Both atk-native and pango-native (and cairo-native, which was built)
> > have glib-2 as explicit dependency, so something seems wrong...
>
> So, it really sounds like a bitbake bug. Doing a bitbake -e on gtk
> +-native gives:
> DEPENDS_virtclass-native="autoconf-native automake-native libtool-native
> gnu-config-native coreutils-native libpng-native atk-native pango-native
> cairo-native libxrender-native libxext-native"
> DEPENDS="autoconf-native automake-native libtool-native
> gnu-config-native coreutils-native libpng-native atk-native pango-native
> cairo-native libxrender-native libxext-native"
>
> So it's supposed to be waiting on all of that stuff, but it's not. And
> I'm sure RP will need to know what version of bitbake you're using.
There is insufficient evidence here to point at any one thing. I will
say that the threading dependency code has been around for a while and
most bugs like this turn out to be issues in the metadata, not bitbake.
When you say they were "not finished", what do you mean exactly?
Its normal they would still be packaging for example whilst gtk+ builds
since any dependency is on the populate_sysroot task of
pango-native/atk-native.
Cheers,
Richard
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-16 18:52 ` Richard Purdie
@ 2010-05-19 22:57 ` Andrea Adami
2010-06-08 15:33 ` Andrea Adami
2010-10-20 3:33 ` Denys Dmytriyenko
0 siblings, 2 replies; 11+ messages in thread
From: Andrea Adami @ 2010-05-19 22:57 UTC (permalink / raw)
To: openembedded-devel
Same issue happens during rebuild from packaged staging
Cannot load module
/oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la:
/oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/.libs/im-xim.so:
undefined symbol: g_realloc_n
| /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la
does not export GTK+ IM module API:
/oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/.libs/im-xim.so:
undefined symbol: g_realloc_n
...
NOTE: package gtk+-native-2.20.0-r8.0: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of
virtual:native:/oe/openembedded/recipes/gtk+/gtk+_2.20.0.bb do_compile
failed
...
Andrea
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-19 22:57 ` Andrea Adami
@ 2010-06-08 15:33 ` Andrea Adami
2010-10-20 3:33 ` Denys Dmytriyenko
1 sibling, 0 replies; 11+ messages in thread
From: Andrea Adami @ 2010-06-08 15:33 UTC (permalink / raw)
To: openembedded-devel
Bump: issue seems still present :/
Don't know how related/unrelated but on @beagle irc I spotted this bits:
[17:06] <gst-kaps1> On Angstrom, gst-inspect doesnt work
[17:07] <gst-kaps1> it says g_malloc_n symbol not found ?
[17:10] <ant_work> gst-kaps1: interesting. Have you had any build-issue?
[17:11] <gst-kaps1> ant_work: no
Andrea
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Issues with parallel build? (Was: gtk+native missing dep ?)
2010-05-19 22:57 ` Andrea Adami
2010-06-08 15:33 ` Andrea Adami
@ 2010-10-20 3:33 ` Denys Dmytriyenko
1 sibling, 0 replies; 11+ messages in thread
From: Denys Dmytriyenko @ 2010-10-20 3:33 UTC (permalink / raw)
To: openembedded-devel
On Thu, May 20, 2010 at 12:57:23AM +0200, Andrea Adami wrote:
> Same issue happens during rebuild from packaged staging
>
>
> Cannot load module
> /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la:
> /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/.libs/im-xim.so:
> undefined symbol: g_realloc_n
> | /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/im-xim.la
> does not export GTK+ IM module API:
> /oe/build/tmp/work/i686-linux/gtk+-native-2.20.0-r8.0/gtk+-2.20.0/modules/input/.libs/im-xim.so:
> undefined symbol: g_realloc_n
If anybody cares, this issue is still present with the latest glib/gtk+ on
Angstrom with 4+ threads...
--
Denys
>
> ...
>
> NOTE: package gtk+-native-2.20.0-r8.0: task do_compile: Failed
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of
> virtual:native:/oe/openembedded/recipes/gtk+/gtk+_2.20.0.bb do_compile
> failed
> ...
>
> Andrea
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-10-20 3:34 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-14 17:47 Issues with parallel build? (Was: gtk+native missing dep ?) Andrea Adami
2010-05-14 17:55 ` Tom Rini
2010-05-14 21:21 ` Andrea Adami
2010-05-15 0:04 ` Tom Rini
2010-05-16 18:52 ` Richard Purdie
2010-05-19 22:57 ` Andrea Adami
2010-06-08 15:33 ` Andrea Adami
2010-10-20 3:33 ` Denys Dmytriyenko
2010-05-15 8:35 ` Michael Lippautz
2010-05-15 15:52 ` Andrea Adami
2010-05-14 22:12 ` Leon Woestenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox