Skip to contentSkip to conversation

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

PATCH In review Paul Menzel 2 participants 2 messages Mar 15, 2011

lore
Share & tools
lore
#0 lore raw

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

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

---
 recipes/avahi/mango-lassi_git.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/avahi/mango-lassi_git.bb +3 -0
index 1faee4b..049ac24 100644
@@ -11,3 +11,6 @@ S = "${WORKDIR}/git"
 
 inherit autotools
 
+do_configure_prepend() {
+    touch config.rpath
+}
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 32 lines · Paul Menzel

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

Quoted 8 lines

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

This patch is ok.

Quoted 24 lines

---
 recipes/avahi/mango-lassi_git.bb |    3 +++

 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/avahi/mango-lassi_git.bb +0 -0
index 1faee4b..049ac24 100644
@@ -11,3 +11,6 @@ S = "${WORKDIR}/git"
 

 inherit autotools

recipes/avahi/mango-lassi_git.bb +3 -1
+do_configure_prepend() {
+    touch config.rpath
+}
--

1.7.4.1

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel