All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Müller" <schnitzeltony@googlemail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: gcc-cross-initial patching fails
Date: Wed, 22 Feb 2012 21:57:49 +0100	[thread overview]
Message-ID: <CALbNGRSXmsD9+A_bCXBzCwMv_wOyUYmY-TWZOdeNU+LdAxZNHw@mail.gmail.com> (raw)
In-Reply-To: <CALbNGRSt8==s56Ef4EHKDx5i1WP6ww8gb9T7XBzi2G879DPRNw@mail.gmail.com>

On Wed, Feb 22, 2012 at 9:56 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Wed, Feb 22, 2012 at 9:13 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
>> At build from scratch I get
>>
>> ERROR: Command Error: exit status: 1  Output:
>> Applying patch gcc45-no-add-needed.patch
>> patching file gcc/config/alpha/elf.h
>> patching file gcc/config/ia64/linux.h
>> patching file gcc/config/linux.h
>> Hunk #1 succeeded at 89 (offset -12 lines).
>> patching file gcc/config/rs6000/sysv4.h
>> Hunk #1 FAILED at 908.
>> 1 out of 1 hunk FAILED -- rejects in file gcc/config/rs6000/sysv4.h
>> Patch gcc45-no-add-needed.patch does not apply (enforce with -f)
>> ERROR: Function failed: patch_do_patch
>> ERROR: Logfile of failure stored in:
>> /home/Superandy/tmp/oe-core-eglibc/work-shared/gcc-4.5-r45+svnr181733/temp/log.do_patch.5367
>> NOTE: package gcc-cross-initial-4.5-r45+svnr181733: task do_patch: Failed
>> ERROR: Task 2829
>> (/home/Superandy/data/oe-core/sources/meta-openembedded/meta-oe/recipes-devtools/gcc/gcc-cross-initial_4.5.bb,
>> do_patch) failed with exit code '1'
>>
>> git log does not help me much -  what goes wrong?
>>
> After looking around a bit I think this one is better on oe-core list.
> Maybe it is related to the last two patches:
>
> commit 6546096d068b51cc9cf4557cdb35aee6f62838d5
> Author: Lianhao Lu <lianhao.lu@intel.com>
> Date:   Tue Feb 14 10:57:52 2012 +0800
>
>    gcc: Excluding the DATE/SRCDATE from do_patch dependency.
>
>    Corrected the error introduced by commit afb400e of dropping
>    DATE/SRCDATE out of the vardepsexlude list of do_patch.
>
>    Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
>
> diff --git a/meta/recipes-devtools/gcc/gcc-common.inc
> b/meta/recipes-devtools/gcc/gcc-common.inc
> index 57668f9..df6021a 100644
> --- a/meta/recipes-devtools/gcc/gcc-common.inc
> +++ b/meta/recipes-devtools/gcc/gcc-common.inc
> @@ -109,4 +109,4 @@ do_headerfix[vardepvalue] = "PATH"
>  # We need to ensure that for the shared work directory, the do_patch
> singatures match
>  # The real WORKDIR location isn't a dependency for the shared workdir.
>  src_patches[vardepsexclude] = "WORKDIR"
> -should_apply[vardepsexclude] = "PN"
> +should_apply[vardepsexclude] += "PN"
>
> commit afb400e9c3ddac604906bde44df5da29a6c134d9
> Author: Lianhao Lu <lianhao.lu@intel.com>
> Date:   Fri Feb 10 11:42:18 2012 +0800
>
>    gcc: Ensure same sstate hashes for shared soruce directory
>
>    Ensure do_patch have the same sstate hashes for nativesdk variants of
>    gcc family recipes, since they share the same source directory.
>
>    Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
>
> diff --git a/meta/recipes-devtools/gcc/gcc-common.inc
> b/meta/recipes-devtools/gcc/gcc-common.inc
> index e89a7c0..57668f9 100644
> --- a/meta/recipes-devtools/gcc/gcc-common.inc
> +++ b/meta/recipes-devtools/gcc/gcc-common.inc
> @@ -109,3 +109,4 @@ do_headerfix[vardepvalue] = "PATH"
>  # We need to ensure that for the shared work directory, the do_patch
> singatures match
>  # The real WORKDIR location isn't a dependency for the shared workdir.
>  src_patches[vardepsexclude] = "WORKDIR"
> +should_apply[vardepsexclude] = "PN"
>

AArgh wrong list - sorry

Andreas



      reply	other threads:[~2012-02-22 21:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 20:13 gcc-cross-initial patching fails Andreas Müller
2012-02-22 20:15 ` McClintock Matthew-B29882
2012-02-22 21:18   ` Khem Raj
2012-02-22 21:31     ` Gary Thomas
2012-02-22 21:39     ` [oe] " Andreas Müller
2012-02-22 21:39       ` Andreas Müller
2012-02-23 10:11       ` Andreas Müller
2012-02-23 17:50         ` Andreas Müller
2012-02-23 19:18       ` [oe] " Koen Kooi
2012-02-23 19:18         ` [OE-core] " Koen Kooi
2012-02-27 11:37         ` [oe] " Andreas Müller
2012-02-27 12:19           ` Richard Purdie
2012-02-27 13:31             ` Andreas Müller
2012-02-27 17:09               ` Khem Raj
2012-02-22 20:56 ` Andreas Müller
2012-02-22 20:57   ` Andreas Müller [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=CALbNGRSXmsD9+A_bCXBzCwMv_wOyUYmY-TWZOdeNU+LdAxZNHw@mail.gmail.com \
    --to=schnitzeltony@googlemail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.