[oe] [PATCH] Fix ctorrent build failure by using --disable-maintainer-mode option

Khem Raj raj.khem at gmail.com
Thu Jan 5 18:06:21 UTC 2012


On Thu, Jan 5, 2012 at 4:55 AM, philby john <pjohn at mvista.com> wrote:
> From: Philby John <pjohn at mvista.com>
> Date: Thu, 5 Jan 2012 18:08:00 +0530
> Subject: [PATCH] Fix ctorrent build failure by using --disable-maintainer-mode option
>
> ctorrent package fails with error "aclocal.m4:14: error: this file was
> generated for autoconf dnh3.3.1" as reported here
> lists.linuxtogo.org/pipermail/openembedded-devel/2008-October/006598.html
> Fix this by including --disable-maintainer-mode.
>
> Also since ctcs inherits ctorrent.inc add do_configure() there doing
> nothing.
>
> Signed-off-by: Philby John <pjohn at mvista.com>
> ---
>  recipes/ctorrent/ctcs_1.4.1.bb     |    6 +++++-
>  recipes/ctorrent/ctorrent.inc      |    6 ++++++
>  recipes/ctorrent/ctorrent_3.3.1.bb |    2 +-
>  3 files changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/ctorrent/ctcs_1.4.1.bb b/recipes/ctorrent/ctcs_1.4.1.bb
> index 8680b0c..d1e084e 100644
> --- a/recipes/ctorrent/ctcs_1.4.1.bb
> +++ b/recipes/ctorrent/ctcs_1.4.1.bb
> @@ -5,7 +5,11 @@ RDEPENDS_${PN} = "perl perl-module-strict perl-module-socket perl-module-fcntl \
>             perl-module-errno perl-module-sys-hostname"
>
>  SRC_URI = "${SOURCEFORGE_MIRROR}/dtorrent/ctcs-${PV}.tar.gz"
> -PR="r1"
> +PR="r2"
> +
> +do_configure () {
> +        :
> +}
>
>  do_install () {
>   install -d ${D}/usr/bin
> diff --git a/recipes/ctorrent/ctorrent.inc b/recipes/ctorrent/ctorrent.inc
> index 8005fa9..e04c5d3 100644
> --- a/recipes/ctorrent/ctorrent.inc
> +++ b/recipes/ctorrent/ctorrent.inc
> @@ -8,3 +8,9 @@ DEPENDS = "openssl"
>  SRC_URI = "${SOURCEFORGE_MIRROR}/ctorrent/ctorrent-${PV}.tar.bz2"
>
>  inherit autotools
> +
> +EXTRA_OECONF = "--disable-maintainer-mode"
> +
> +do_configure() {
> +                oe_runconf
> +}

why do you override do_configure ?
is it not able to reconfigure ?




More information about the Openembedded-devel mailing list