mango-lassi: `touch config.rpath` to fix `configure.ac:127: required file `./config...
authorPaul Menzel <paulepanter@users.sourceforge.net>
Tue, 15 Mar 2011 09:58:26 +0000 (10:58 +0100)
committerKhem Raj <raj.khem@gmail.com>
Sun, 20 Mar 2011 00:47:53 +0000 (17:47 -0700)
Task configure fails with the following error message.

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "<unknown>"
METADATA_REVISION = "b1fbaf6"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v20110315"
TARGET_FPU        = "hard"

[…]
autoreconf: running: /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/bin/autoheader --include=/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/aclocal-1.11 --include=/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/aclocal --force --warnings=cross
autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
automake: unknown warning category `cross'
configure.ac:39: installing `./compile'
configure.ac:127: installing `./config.guess'
configure.ac:127: required file `./config.rpath' not found
configure.ac:127: installing `./config.sub'
configure.ac:27: installing `./install-sh'
configure.ac:27: installing `./missing'
Makefile.am: installing `./depcomp'
autoreconf: automake failed with exit status: 1
+ oefatal 'autoreconf execution failed.'
+ echo FATAL: 'autoreconf execution failed.'
FATAL: autoreconf execution failed.
+ exit 1

`touch config.rpath` in `do_configure_perpend() {}` fixes the issues.

Mango Lasso includes `bootstrap.sh` [1] which also does the same. Using `bootstrap.sh` [1] for configuring Mango Lassi is not considered because `pulseaudio_git.bb` [2] also uses the proposed fix.

[1] http://git.0pointer.de/?p=mango-lassi.git;a=blob;f=bootstrap.sh;h=089d445b3cce3374b48fc083f1f87983c4100052;hb=HEAD
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/pulseaudio/pulseaudio_git.bb?id=fcb12f3a4448621ccc75d37dcad4a01820fdf89d#n27

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/avahi/mango-lassi_git.bb

index 1faee4b..049ac24 100644 (file)
@@ -11,3 +11,6 @@ S = "${WORKDIR}/git"
 
 inherit autotools
 
+do_configure_prepend() {
+    touch config.rpath
+}