enna: do_configure failed: automake: unknown warning category `cross'
Dear OE folks,
I am trying to write the recipe for Enna [1].
$ more enna.inc
HOMEPAGE = "http://${PN}.geexbox.org/"
SECTION = "x11/multimedia"
LICENSE = "LGPLv2.1+"
DEPENDS = "curl dbus eet evas edje ecore edbus elementary emotion"
DEPENDS += "libmusicbrainz lightmediascanner libxml2 taglib libvalhalla libplayer" INC_PR = "r1"
SRC_URI = "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=${PN}"
inherit autotools pkgconfigNow I am getting the following error message during configure.
[…]
automake: unknown warning category cross' configure.ac:27: installing ./compile' configure.ac:7: installing ./config.guess' configure.ac:35: required file ./config.rpath' not found configure.ac:7: installing ./config.sub' configure.ac:11: installing ./install-sh' configure.ac:11: installing ./missing' src/bin/Makefile.am: installing ./depcomp'
autoreconf: automake failed with exit status: 1
FATAL: autoreconf execution failed.
I am using automake 1.10.3 and it looks like I need 1.11.1.
I found this commit [2], but this workaround
# Needs automake 1.11.x, which isn't safe to use yet in OE
do_configure() {
oe_runconf
}did not work for me. The error was then that ./configure was not found. So autogen.sh needs to be run and I just found the following hint.
do_configure_prepend() {
sh autogen.sh
}But this fails with the error that C programs cannot be executed.
Any hint is appreciated.
Thanks,
Paul
PS: You need libvalhalla 2.0.0 for which I send a patch a moment ago (PV = 1.0.0+hg).
[1] http://enna.geexbox.org/
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=a353f4ee7229c686bfc61417cab979ffa1735d55
DESCRIPTION = "Enna is a media center application based on EFL."
HOMEPAGE = "http://${PN}.geexbox.org/"
SECTION = "x11/multimedia"
LICENSE = "LGPLv2.1+"
DEPENDS = "curl dbus eet evas edje ecore edbus elementary emotion"
DEPENDS += "libmusicbrainz lightmediascanner libxml2 taglib libvalhalla libplayer automake-native-1.11.1"
INC_PR = "r1"
SRC_URI = "http://${PN}.geexbox.org/releases/${P}.tar.bz2;name=${PN}"
inherit autotools pkgconfig
#do_configure_prepend() {
# sh autogen.sh
#}
# Needs automake 1.11.x, which isn't safe to use yet in OE #do_configure() {
# oe_runconf
#}
require enna.inc
PV = "0.4.0"
PR = "${INC_PR}.0"PR_append = "+hgr${NOTQUITESRCREV}"
NOTQUITESRCREV = "ebf6faef0136"
S = "${WORKDIR}/${PN}"
Am Samstag 27 März 2010 23:54:59 schrieb Paul Menzel:
Quoted 4 lines
Dear OE folks,
I am trying to write the recipe for Enna [1].
There already is a recipe for the svn version of enna, so no need to make a new one. Just upgrade the old one:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/e17/enna_svn.bb
Am Sonntag, den 28.03.2010, 08:40 +0200 schrieb Thomas Zimmermann:
Quoted 1 line
Am Samstag 27 März 2010 23:54:59 schrieb Paul Menzel:
[…]
Quoted 5 lines
Quoted 1 line
I am trying to write the recipe for Enna [1].
There already is a recipe for the svn version of enna, so no need to make a new one. Just upgrade the old one:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/e17/enna_svn.bb
I know. But it is not useful since almost everything changed (SRC_URI, DEPENDS, …)
So consider my recipe as a upgraded recipe. But I still get the same problems.
Maybe I should send my current status as patches.
Thanks,
Paul
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 4 lines · Paul Menzel
Dear OE folks,
I am trying to write the recipe for Enna [1].
[..]
Quoted 7 lines
Now I am getting the following error message during
configure.[…]
configure.ac:35: required file `./config.rpath' not found
Any hint is appreciated.
do_configure_prepend() {
autopoint || touch config.rpath
}regards,
Koen
Quoted 16 lines
Thanks,
Paul
PS: You need libvalhalla 2.0.0 for which I send a patch a moment ago (PV = 1.0.0+hg).
[1] http://enna.geexbox.org/
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=a353f4ee7229c686bfc61417cab979ffa1735d55
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLrxmCMkyGM64RGpERAsCvAKCOI+BHxOjDZfRkVYofwBExceRqbQCfbUTz b4EvYfPHHM1cxk2rog0E5Lo=
=iLSz
-----END PGP SIGNATURE-----
Am Sonntag, den 28.03.2010, 10:55 +0200 schrieb Koen Kooi:
Quoted 9 lines · Paul Menzel
Quoted 1 line
I am trying to write the recipe for Enna [1].
[..]
Quoted 3 lines
Now I am getting the following error message during
configure.[…]
Quoted 7 lines
Quoted 3 lines
configure.ac:35: required file `./config.rpath' not found
Any hint is appreciated.
do_configure_prepend() { autopoint || touch config.rpath }
Thanks that worked!
Sorry for the next question. Is that workaround needed because of not having Automake 1.11.1? Or is the recommended fix, that upstream ships config.rpath?
[…]
Thanks,
Paul
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 18 lines · Paul Menzel
Am Sonntag, den 28.03.2010, 10:55 +0200 schrieb Koen Kooi:
Quoted 9 lines · Paul Menzel
Quoted 1 line
I am trying to write the recipe for Enna [1].
[..]
Quoted 3 lines
Now I am getting the following error message during
configure.[…]Quoted 7 lines
Quoted 3 lines
configure.ac:35: required file `./config.rpath' not found
Any hint is appreciated.
do_configure_prepend() { autopoint || touch config.rpath }
Quoted 5 lines
Thanks that worked!
Sorry for the next question. Is that workaround needed because of not having Automake 1.11.1? Or is the recommended fix, that upstream ships
config.rpath?
It's a caused by this:
../../classes/autotools.bbclass:EXTRA_AUTORECONF = "--exclude=autopoint"
I don't know why we exclude it deliberately, but some recipes do need it. And hence we try to run autopoint in efl.bbclass and create an empty config.rpath when it fails.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLr67lMkyGM64RGpERAtG5AJ9xP8FP79T6+z61wtDTafs3keETgACgnA0S Xc/1dzbc9EOB9aeV3gICJcY=
=BXrI
-----END PGP SIGNATURE-----
PATCH 1/1 autotool.bbclass: Remove `EXTRA_AUTORECONF = "--exclude=autopoint"`.
In commit 0f235b0f42575bfb50dd891cf44aa08c2e404a67 [1] autotools.bbclass was imported from BitKeeper. According to rwhitby on IRC the original author of autotool.bbclass cannot be found out anymore, so the reason why Autopoint has to be excluded not known.
Having EXTRA_AUTORECONF = "--exclude=autopoint" in autotools.bbclass forces the usage of same hacks to prevent failure of do_configure [2].
configure.ac:35: required file `./config.rpath' not found
I ran a build from scratch with EXTRA_AUTORECONF = "--exclude=autopoint" from autotools.bbclass and did not see any regressions.
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=0f235b0f42575bfb50dd891cf44aa08c2e404a67
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-March/018818.html
--- classes/autotools.bbclass | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
classes/autotools.bbclass +0 -1
@@ -35,7 +35,6 @@ inherit siteinfo export CONFIG_SITE = "${@siteinfo_get_files(d)}" acpaths = "default" -EXTRA_AUTORECONF = "--exclude=autopoint" def autotools_set_crosscompiling(d): if not bb.data.inherits_class('native', d):
Signature · 1 line
1.7.0.3
Re: [PATCH] autotool.bbclass: Remove `EXTRA_AUTORECONF = "--exclude=autopoint"`.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Paul Menzel
In commit
0f235b0f42575bfb50dd891cf44aa08c2e404a67[1]autotools.bbclasswas imported from BitKeeper. According to rwhitby on IRC the original author ofautotool.bbclasscannot be found out anymore, so the reason why Autopoint has to be excluded not known.Having
EXTRA_AUTORECONF = "--exclude=autopoint"inautotools.bbclassforces the usage of same hacks to prevent failure ofdo_configure[2].configure.ac:35: required file `./config.rpath' not found
I ran a build from scratch with
EXTRA_AUTORECONF = "--exclude=autopoint"fromautotools.bbclassand did not see any regressions.
I wonder if we only should run autopoint if there are AM_GNU_GETTEXT* macros in configure.{in,ac}, or does autopoint take care of that automagically?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLsfDIMkyGM64RGpERAr5dAKCl8GLU8pRCw+IkXw4cWyoII2S27wCguWQG IdFWfa67U2/EDL5UZu5+4Sc=
=7vtE
-----END PGP SIGNATURE-----
Re: [PATCH] autotool.bbclass: Remove `EXTRA_AUTORECONF = "--exclude=autopoint"`.
Quoted 3 lines · Koen Kooi
I wonder if we only should run autopoint if there are AM_GNU_GETTEXT* macros in configure.{in,ac}, or does autopoint take care of that automagically?
Autoreconf has some (limited) logic to figure out whether autopoint is needed. I think that ought to be sufficient.
p.
Re: [PATCH] autotool.bbclass: Remove `EXTRA_AUTORECONF = "--exclude=autopoint"`.
Quoted 7 lines · Phil Blundell
Quoted 3 lines · Koen Kooi
I wonder if we only should run autopoint if there are AM_GNU_GETTEXT* macros in configure.{in,ac}, or does autopoint take care of that automagically?
Autoreconf has some (limited) logic to figure out whether autopoint is needed. I think that ought to be sufficient.
It will check source timestamps. Is there something else that it will do to decide on invoking autopoint (other than seeing AM_GNU_GETTEXT)
Quoted 10 lines
p.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH] autotool.bbclass: Remove `EXTRA_AUTORECONF = "--exclude=autopoint"`.
In reply to Phil Blundell-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Phil Blundell
Quoted 3 lines · Koen Kooi
I wonder if we only should run autopoint if there are AM_GNU_GETTEXT* macros in configure.{in,ac}, or does autopoint take care of that automagically?
Autoreconf has some (limited) logic to figure out whether autopoint is needed. I think that ought to be sufficient.
So can we get some acks on this patch from autotools savvy people?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLs07GMkyGM64RGpERAnb6AJwI7A4RiAqakz4+E1+yIM1208tgGwCfTHNi WtEHoTLG83SEkCTpFw2zIR8=
=xIxY
-----END PGP SIGNATURE-----
Re: [PATCH] autotool.bbclass: Remove `EXTRA_AUTORECONF = "--exclude=autopoint"`.
Quoted 5 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 1 line · Phil Blundell
On Tue, 2010-03-30 at 14:38 +0200, Koen Kooi wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
I wonder if we only should run autopoint if there are AM_GNU_GETTEXT* macros in configure.{in,ac}, or does autopoint take care of that automagically?
Autoreconf has some (limited) logic to figure out whether autopoint is needed. I think that ought to be sufficient.
So can we get some acks on this patch from autotools savvy people?
I think we should also try few builds from scratch. I am interested in uclibc based builds.
Quoted 18 lines
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFLs07GMkyGM64RGpERAnb6AJwI7A4RiAqakz4+E1+yIM1208tgGwCfTHNi WtEHoTLG83SEkCTpFw2zIR8=
=xIxY
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [PATCH] autotool.bbclass: Remove `EXTRA_AUTORECONF = "--exclude=autopoint"`.
In reply to Paul MenzelQuoted 2 lines · Paul Menzel
I ran a build from scratch with
EXTRA_AUTORECONF = "--exclude=autopoint"fromautotools.bbclassand did not see any regressions.
There are regressions in projects using 'intltool' (e.g. 'pmount'); ./configure will fail with 'po/Makefile.in.in was not created by intltoolize' there.
A solution might be the swapping of 'intltoolize' + 'autoreconf' calls in autotools.bbclass. I did not extensive tests yet but this swapping might be (independent from '--exclude=autopoint' removal) a good idea because 'intltoolize' checks for 'intltool.m4' version information in 'aclocal.m4' which are added by 'autoreconf'.
Enrico