[OE-core] pkg-config bug crashes 'bitbake glib-2.0-native' in FC15.x86_64

Richard Purdie richard.purdie at linuxfoundation.org
Fri Oct 7 15:10:05 UTC 2011


On Thu, 2011-10-06 at 02:38 -0600, dashesy wrote:
> On Wed, Oct 5, 2011 at 4:05 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > On Wed, 2011-10-05 at 11:01 +0100, Richard Purdie wrote:
> >> On Wed, 2011-10-05 at 03:21 -0600, dashesy wrote:
> >> > Hi,
> >> >
> >> > I am using these in my local.conf with master branch of oe-core:
> >> > DISTRO="angstrom-2010.x"
> >> > MACHINE="beagleboard"
> >> >
> >> > The build for 'bitbake glib-2.0-native' (or actually 'bitbake
> >> > meta-toolchain') will finally reach a run.do_configure for 'package
> >> > glib-2.0-native-1_2.28.8-r5: task do_configure: Started'
> >> > which runs the "oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config"
> >> >  for auto build
> >> > This leads to the following chain
> >> > pkg-config(cross)->gnome-config->pkg-config->glib-config->pkg-config->...
> >> >
> >> > dashesy  21266 21265 21266  0    1 01:56 pts/0    00:00:00 /bin/sh -e
> >> > /home/dashesy/buildroot/oe-core/build/tmp-eglibc/work/x86_64-linux/glib-2.0-native-1_2.28.8-r5/temp/run.do_configure.21265
> >> > root     21870   935 21870  0    1 01:56 ?        00:00:00 sleep 60
> >> > dashesy  22246 21266 22246  0    1 01:56 pts/0    00:00:00 /bin/sh
> >> > /home/dashesy/buildroot/oe-core/build/tmp-eglibc/work/x86_64-linux/glib-2.0-native-1_2.28.8-r5/glib-2.28.8/configure
[...]
> >> > --disable-silent-rules --disable-dependency-tracking --disable-dtrace
> >> > --disable-systemtap --enable-nls --enable-dtrace=no
> >> > dashesy  22671 22246 22671  0    1 01:56 pts/0    00:00:00
> >> > /home/dashesy/buildroot/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config
> >> > --exists --print-errors zlib
> >> > dashesy  22672 22671 22672  0    1 01:56 pts/0    00:00:00 sh -c
> >> > gnome-config --libs zlib > /dev/null 2>&1
> >>
> >> Something odd is happening here. We have a patch in OE-Core against
> >> pkg-config which should disable "leagacy" pkg-config functionality.
> >>
> >> I took a look and it somehow looks like the patch got broken. Could you
> >> try again with
> >>
> >> http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/wip8&id=de51d6ffae1d6a4f594687d5bdef25e731f44dfa
> >>
> >> applied please? I think this should fix this problem.
> >
> > Sorry, this should be:
> >
> > http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/wip8&id=8d04d67271e5698ede8c08d3b6e3d4d7e38ffb0c
> >
> 
> The patch worked, no more recursive calls and bitbake succeeds too, thanks!

Thanks for testing. The fix has been merged into master.

Cheers,

Richard





More information about the Openembedded-core mailing list