Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Ross Burton <ross.burton@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] webkit-gtk: work around Make bug by re-running make
Date: Wed, 12 Sep 2012 09:49:56 -0700	[thread overview]
Message-ID: <5050BD34.5040200@linux.intel.com> (raw)
In-Reply-To: <1347292942-7241-1-git-send-email-ross.burton@intel.com>

On 09/10/2012 09:02 AM, Ross Burton wrote:
> GNU make 3.82 has a bug where it drops required dependencies.
> https://bugs.webkit.org/show_bug.cgi?id=79498 is the WebKitGTK+
> bug, and http://savannah.gnu.org/bugs/?30653 is the GNU Make bug.
>
> Work around this by running make again if it fails just in case the failure is
> due to the bug.
>
> Based on a patch by Andreas Müller <schnitzeltony@googlemail.com>.
>
> [ YOCTO #2816 ]
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>   meta/recipes-sato/webkit/webkit-gtk_1.8.2.bb |   22 ++++++++++++++++++++++
>   1 file changed, 22 insertions(+)
>

Merged into OE-Core

Thanks
	Sau!


> diff --git a/meta/recipes-sato/webkit/webkit-gtk_1.8.2.bb b/meta/recipes-sato/webkit/webkit-gtk_1.8.2.bb
> index cf4129d..8beb6eb 100644
> --- a/meta/recipes-sato/webkit/webkit-gtk_1.8.2.bb
> +++ b/meta/recipes-sato/webkit/webkit-gtk_1.8.2.bb
> @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md
>                       file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
>                       file://Source/JavaScriptCore/parser/Parser.h;endline=23;md5=b57c8a2952a8d0e655988fa0ecb2bf7f"
>
> +PR = "r1"
> +
>   # Choice of language backends - icu has issues on Big Endian machines so use pango
>   ICU_LIB = "icu"
>   ICU_LIB_powerpc = "pango"
> @@ -77,6 +79,26 @@ do_configure_append() {
>   	done
>   }
>
> +# A dirty hack for GNU make 3.82 bug which means it drops required
> +# dependencies. https://bugs.webkit.org/show_bug.cgi?id=79498 is the WebKitGTK+
> +# bug, and http://savannah.gnu.org/bugs/?30653 is the GNU Make bug.  This is
> +# fixed in Make CVS, so 3.83 won't have this problem.
> +do_compile() {
> +    if [ x"$MAKE" = x ]; then MAKE=make; fi
> +    bbnote ${MAKE} ${EXTRA_OEMAKE} "$@"
> +    for error_count in 1 2 3; do
> +        bbnote "Attempt $error_count of 3"
> +        exit_code=0
> +        ${MAKE} ${EXTRA_OEMAKE} "$@" || exit_code=1
> +        if [ $exit_code = 0 ]; then
> +            break
> +        fi
> +    done
> +    if [ ! $exit_code = 0 ]; then
> +        die "oe_runmake failed"
> +    fi
> +}
> +
>   do_install_append() {
>   	rmdir ${D}${libexecdir}
>   }
>



      parent reply	other threads:[~2012-09-12 17:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-10 16:02 [PATCH] webkit-gtk: work around Make bug by re-running make Ross Burton
2012-09-10 21:14 ` Colin Walters
2012-09-10 21:23   ` Colin Walters
2012-09-10 22:18     ` Richard Purdie
2012-09-11  9:13     ` Burton, Ross
2012-09-12 16:49 ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5050BD34.5040200@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox