* autoconf broken? (was [oe] gtk+-native configure fails)
@ 2012-07-26 11:24 Andreas Müller
2012-07-26 12:59 ` Andreas Müller
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Müller @ 2012-07-26 11:24 UTC (permalink / raw)
To: openembedded-core
On Wed, Jul 25, 2012 at 5:43 PM, Henning Heinold
<heinold@inf.fu-berlin.de> wrote:
> On Wed, Jul 25, 2012 at 01:47:03PM +0200, Andreas Müller wrote:
>> Ciao,
>>
>> with the latest sources gtk+-nataive (and maybe also gtk+ - but I
>> don't get that far) configure fails with
>>
>> | configure.in:1587: warning: PKG_PROG_PKG_CONFIG is m4_require'd but
>> not m4_defun'd
>> | aclocal.m4:1818: GTK_DOC_CHECK is expanded from...
>> | configure.in:1587: the top level
>> | configure.in:151: error: possibly undefined macro: dnl
>
> uhm,
>
> 'dnl' besides ';' was the comment sqeuenz. So this is odd and maybee changed in newer
> autotools versions.
>
>> | If this token and others are legitimate, please use m4_pattern_allow.
>> | See the Autoconf documentation.
>> | 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/gtk+-native-2.24.8-r5/temp/log.do_configure.22156
>> for further information)
>>
>> Supporting hints welcome :-)
>>
>> Andreas
>
> Bye Henning
>
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autoconf broken? (was [oe] gtk+-native configure fails)
2012-07-26 11:24 autoconf broken? (was [oe] gtk+-native configure fails) Andreas Müller
@ 2012-07-26 12:59 ` Andreas Müller
2012-07-26 13:21 ` Richard Purdie
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Müller @ 2012-07-26 12:59 UTC (permalink / raw)
To: openembedded-core
On Thu, Jul 26, 2012 at 1:24 PM, Andreas Müller
<schnitzeltony@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.
Andreas
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autoconf broken? (was [oe] gtk+-native configure fails)
2012-07-26 12:59 ` Andreas Müller
@ 2012-07-26 13:21 ` Richard Purdie
2012-07-26 14:22 ` Andreas Müller
0 siblings, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2012-07-26 13:21 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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@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?
Cheers,
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autoconf broken? (was [oe] gtk+-native configure fails)
2012-07-26 13:21 ` Richard Purdie
@ 2012-07-26 14:22 ` Andreas Müller
2012-07-26 14:47 ` Martin Jansa
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Müller @ 2012-07-26 14:22 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, Jul 26, 2012 at 3:21 PM, Richard Purdie
<richard.purdie@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@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autoconf broken? (was [oe] gtk+-native configure fails)
2012-07-26 14:22 ` Andreas Müller
@ 2012-07-26 14:47 ` Martin Jansa
2012-07-26 15:02 ` Andreas Müller
0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2012-07-26 14:47 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 4346 bytes --]
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@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@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@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autoconf broken? (was [oe] gtk+-native configure fails)
2012-07-26 14:47 ` Martin Jansa
@ 2012-07-26 15:02 ` Andreas Müller
2012-07-26 15:11 ` Richard Purdie
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Müller @ 2012-07-26 15:02 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, Jul 26, 2012 at 4:47 PM, Martin Jansa <martin.jansa@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@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@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@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: autoconf broken? (was [oe] gtk+-native configure fails)
2012-07-26 15:02 ` Andreas Müller
@ 2012-07-26 15:11 ` Richard Purdie
0 siblings, 0 replies; 7+ messages in thread
From: Richard Purdie @ 2012-07-26 15:11 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2012-07-26 at 17:02 +0200, Andreas Müller wrote:
> 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?
Its entirely possible unfortunately :(
I'm not entirely sure how to fix this right now but I'm thinking about
it. I'm hoping droping that line in the class might be enough.
Cheers,
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-07-26 15:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 11:24 autoconf broken? (was [oe] gtk+-native configure fails) Andreas Müller
2012-07-26 12:59 ` Andreas Müller
2012-07-26 13:21 ` Richard Purdie
2012-07-26 14:22 ` Andreas Müller
2012-07-26 14:47 ` Martin Jansa
2012-07-26 15:02 ` Andreas Müller
2012-07-26 15:11 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox