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

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


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?

Andreas




More information about the Openembedded-core mailing list