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

Khem Raj raj.khem at gmail.com
Tue Mar 15 16:20:29 UTC 2011


On Tue, Mar 15, 2011 at 3:17 AM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> 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>

This patch is ok.

Acked-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
> +}
> --
> 1.7.4.1
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>




More information about the Openembedded-devel mailing list