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

Paul Menzel paulepanter at users.sourceforge.net
Tue Mar 15 10:17:47 UTC 2011


Date: Tue, 15 Mar 2011 10:58:26 +0100

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>
---
 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
+}
-- 
1.7.4.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110315/dd1c91c5/attachment-0002.sig>


More information about the Openembedded-devel mailing list