[oe-commits] Paul Menzel : mango-lassi: `touch config.rpath` to fix `configure.ac:127: required file `./config.rpath' not found`

git version control git at git.openembedded.org
Sun Mar 20 00:56:07 UTC 2011


Module: openembedded.git
Branch: master
Commit: 4fd09dddd05b4e2f397f2e6603c834480ece9c86
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4fd09dddd05b4e2f397f2e6603c834480ece9c86

Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Tue Mar 15 10:58:26 2011 +0100

mango-lassi: `touch config.rpath` to fix `configure.ac:127: required file `./config.rpath' not found`

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 at users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/avahi/mango-lassi_git.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/avahi/mango-lassi_git.bb b/recipes/avahi/mango-lassi_git.bb
index 1faee4b..049ac24 100644
--- a/recipes/avahi/mango-lassi_git.bb
+++ b/recipes/avahi/mango-lassi_git.bb
@@ -11,3 +11,6 @@ S = "${WORKDIR}/git"
 
 inherit autotools
 
+do_configure_prepend() {
+    touch config.rpath
+}





More information about the Openembedded-commits mailing list