[OE-core] autoconf broken? (was [oe] gtk+-native configure fails)

Andreas Müller schnitzeltony at googlemail.com
Thu Jul 26 15:02:39 UTC 2012


On Thu, Jul 26, 2012 at 4:47 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Thu, Jul 26, 2012 at 04:22:02PM +0200, Andreas Müller wrote:
>> On Thu, Jul 26, 2012 at 3:21 PM, Richard Purdie
>> <richard.purdie at linuxfoundation.org> wrote:
>> > On Thu, 2012-07-26 at 14:59 +0200, Andreas Müller wrote:
>> >> On Thu, Jul 26, 2012 at 1:24 PM, Andreas Müller
>> >> <schnitzeltony at googlemail.com> wrote:
>> >> > I think it is not gtk+-native specific but some autoconf trouble. I
>> >> > tried a build from scratch and get:
>> >> >
>> >> > | configure.ac:171: warning: macro 'AM_PATH_GLIB_2_0' not found in library
>> >> > | configure.ac:195: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
>> >> > | autoreconf: running:
>> >> > /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
>> >> > --include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/m4/
>> >> > --include=/home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
>> >> > --include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/aclocal-copy/
>> >> > --force --warnings=cross
>> >> > | configure.ac:171: error: possibly undefined macro: AM_PATH_GLIB_2_0
>> >> > |       If this token and others are legitimate, please use m4_pattern_allow.
>> >> > |       See the Autoconf documentation.
>> >> > | configure.ac:195: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
>> >> > | autoreconf: /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
>> >> > failed with exit status: 1
>> >> > | ERROR: autoreconf execution failed.
>> >> > | ERROR: Function failed: do_configure (see
>> >> > /home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/temp/log.do_configure.24422
>> >> > for further information)
>> >> > NOTE: package atk-native-2.2.0-r3: task do_configure: Failed
>> >> >
>> >> > | configure.ac:171: warning: macro 'AM_PATH_GLIB_2_0' not found in library
>> >> > | configure.ac:195: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
>> >> > | autoreconf: running:
>> >> > /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
>> >> > --include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/m4/
>> >> > --include=/home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
>> >> > --include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/aclocal-copy/
>> >> > --force --warnings=cross
>> >> > | configure.ac:171: error: possibly undefined macro: AM_PATH_GLIB_2_0
>> >> > |       If this token and others are legitimate, please use m4_pattern_allow.
>> >> > |       See the Autoconf documentation.
>> >> > | configure.ac:195: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
>> >> > | autoreconf: /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
>> >> > failed with exit status: 1
>> >> > | ERROR: autoreconf execution failed.
>> >> > | ERROR: Function failed: do_configure (see
>> >> > /home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/temp/log.do_configure.24422
>> >> > for further information)
>> >> > NOTE: package atk-native-2.2.0-r3: task do_configure: Failed
>> >> >
>> >> > Suggestions?
>> >> >
>> >> > Andreas
>> >>
>> >> FYI I reverted the autoconf 2.68 -> 2.69 patch
>> >> (effb75d42098b3e367d393215fd5d52a0191e954) / start build from scratch
>> >> but the error is still same.
>> >
>> > A missing glib-2-0-native dependency for atk-native?
>> >
>> I built glib-2.0-native manually and can now build atk-native.
>> meta-oe's gtk+-native complained
>> | No package 'pango' found
>> | No package 'cairo' found
>> | No package 'gdk-pixbuf-2.0' found
>>
>> What makes me wonder (atk depends on glib-2.0):
>> AFAIK there were times when a recipe 'zzz' depending on 'foo' and
>> having BBCLASSEXTEND = "native", then 'zzz-native' depended on
>> 'foo-native'. Is that (still true) true? If not is it a bug or a
>> feature?
>
> Maybe you're refering to this issue:
> http://git.openembedded.org/openembedded-core/commit/?id=46db11c4a789034b7040faf127ab865148bedad8
>
> which was together with PACKAGECONF and resulted in similar errors from
> gtk+-native.
>
> But I haven't seen this issue in my last rebuild from scratch (about
> week ago) maybe it got broken after that.
>
> Cheers,
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
bitbake -e atk-native | grep ^DEPENDS

says

DEPENDS_GETTEXT="gettext-native"
DEPENDS="gtk-doc-stub-native"

Is it possible that

DEPENDS_virtclass-native_append = " gtk-doc-stub-native"

in gtk-doc.bbclass breaks dependency-chain?

Andreas




More information about the Openembedded-core mailing list