Openembedded Core Discussions
 help / color / mirror / Atom feed
* elfutils patch failure
@ 2013-09-23  9:15 Jack Mitchell
  2013-09-23  9:31 ` Robert Yang
  2013-09-23  9:35 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: Jack Mitchell @ 2013-09-23  9:15 UTC (permalink / raw)
  To: openembedded-core

I updated this morning and I'm now hitting an issue with elfutils in the 
patching stage.

It seems as though this commit c1cbc57eb80d2cab9a80d5e5aa65419f40eefb15 
is causing the issue by adding the redhat-portability patch...

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc-4.8-20130725/configure --prefix=/usr 
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ 
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared 
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-clocale=gnu 
--disable-libstdcxx-pch --enable-gnu-unique-object 
--enable-linker-build-id --enable-cloog-backend=isl 
--disable-cloog-version-check --enable-lto --enable-gold 
--enable-ld=default --enable-plugin --with-plugin-ld=ld.gold 
--with-linker-hash-style=gnu --disable-install-libiberty 
--disable-multilib --disable-libssp --disable-werror 
--enable-checking=release
Thread model: posix
gcc version 4.8.1 20130725 (prerelease) (GCC)

meta              = "master:1d16e8035dda062041394b1e51839a9a7d077cf5"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1  Output:
Applying patch redhat-portability.diff
patching file backends/ChangeLog
patching file backends/Makefile.am
patching file backends/Makefile.in
patching file ChangeLog
patching file config/ChangeLog
patching file config/eu.am
patching file config/Makefile.in
patching file config.h.in
patching file configure
Hunk #1 FAILED at 598.
Hunk #2 FAILED at 612.
Hunk #3 FAILED at 725.
Hunk #4 FAILED at 1378.
Hunk #5 succeeded at 4079 with fuzz 1 (offset 162 lines).
Hunk #6 FAILED at 4077.
Hunk #7 succeeded at 4612 (offset 186 lines).
Hunk #8 FAILED at 5162.
Hunk #9 succeeded at 5530 with fuzz 1 (offset 205 lines).
6 out of 9 hunks FAILED -- rejects in file configure
patching file configure.ac
patching file lib/ChangeLog
patching file lib/eu-config.h
patching file lib/Makefile.in
patching file libasm/ChangeLog
patching file libasm/Makefile.in
patching file libcpu/ChangeLog
patching file libcpu/i386_disasm.c
patching file libcpu/Makefile.in
patching file libdw/ChangeLog
patching file libdw/dwarf_begin_elf.c
patching file libdw/libdw.h
patching file libdw/Makefile.in
patching file libdwfl/ChangeLog
patching file libdwfl/Makefile.in
patching file libebl/ChangeLog
patching file libebl/Makefile.in
patching file libelf/ChangeLog
patching file libelf/common.h
patching file libelf/gnuhash_xlate.h
patching file libelf/Makefile.in
patching file m4/Makefile.in
patching file Makefile.in
patching file src/addr2line.c
patching file src/ChangeLog
patching file src/findtextrel.c
patching file src/ld.h
patching file src/Makefile.am
patching file src/Makefile.in
patching file src/readelf.c
patching file src/strings.c
patching file src/strip.c
patching file tests/ChangeLog
patching file tests/line2addr.c
patching file tests/Makefile.in
Patch redhat-portability.diff does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: 
/home/jack/Work/oe-core.git/test-build/tmp-eglibc/work/x86_64-linux/elfutils-native/0.155-r0/temp/log.do_patch.25742
ERROR: Task 627 
(virtual:native:/home/jack/Work/oe-core.git/meta/recipes-devtools/elfutils/elfutils_0.155.bb, 
do_patch) failed with exit code '1'

Cheers,
Jack.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils patch failure
  2013-09-23  9:15 elfutils patch failure Jack Mitchell
@ 2013-09-23  9:31 ` Robert Yang
  2013-09-23  9:35 ` Burton, Ross
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Yang @ 2013-09-23  9:31 UTC (permalink / raw)
  To: ml; +Cc: openembedded-core


I met the same error today, but when I cleaned and rebuilt, it worked
well, not sure what is wrong.

// Robert

On 09/23/2013 05:15 PM, Jack Mitchell wrote:
> I updated this morning and I'm now hitting an issue with elfutils in the
> patching stage.
>
> It seems as though this commit c1cbc57eb80d2cab9a80d5e5aa65419f40eefb15 is
> causing the issue by adding the redhat-portability patch...
>
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
> Target: x86_64-unknown-linux-gnu
> Configured with: /build/gcc/src/gcc-4.8-20130725/configure --prefix=/usr
> --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
> --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
> --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
> --enable-threads=posix --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
> --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl
> --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default
> --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu
> --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror
> --enable-checking=release
> Thread model: posix
> gcc version 4.8.1 20130725 (prerelease) (GCC)
>
> meta              = "master:1d16e8035dda062041394b1e51839a9a7d077cf5"
>
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Command Error: exit status: 1  Output:
> Applying patch redhat-portability.diff
> patching file backends/ChangeLog
> patching file backends/Makefile.am
> patching file backends/Makefile.in
> patching file ChangeLog
> patching file config/ChangeLog
> patching file config/eu.am
> patching file config/Makefile.in
> patching file config.h.in
> patching file configure
> Hunk #1 FAILED at 598.
> Hunk #2 FAILED at 612.
> Hunk #3 FAILED at 725.
> Hunk #4 FAILED at 1378.
> Hunk #5 succeeded at 4079 with fuzz 1 (offset 162 lines).
> Hunk #6 FAILED at 4077.
> Hunk #7 succeeded at 4612 (offset 186 lines).
> Hunk #8 FAILED at 5162.
> Hunk #9 succeeded at 5530 with fuzz 1 (offset 205 lines).
> 6 out of 9 hunks FAILED -- rejects in file configure
> patching file configure.ac
> patching file lib/ChangeLog
> patching file lib/eu-config.h
> patching file lib/Makefile.in
> patching file libasm/ChangeLog
> patching file libasm/Makefile.in
> patching file libcpu/ChangeLog
> patching file libcpu/i386_disasm.c
> patching file libcpu/Makefile.in
> patching file libdw/ChangeLog
> patching file libdw/dwarf_begin_elf.c
> patching file libdw/libdw.h
> patching file libdw/Makefile.in
> patching file libdwfl/ChangeLog
> patching file libdwfl/Makefile.in
> patching file libebl/ChangeLog
> patching file libebl/Makefile.in
> patching file libelf/ChangeLog
> patching file libelf/common.h
> patching file libelf/gnuhash_xlate.h
> patching file libelf/Makefile.in
> patching file m4/Makefile.in
> patching file Makefile.in
> patching file src/addr2line.c
> patching file src/ChangeLog
> patching file src/findtextrel.c
> patching file src/ld.h
> patching file src/Makefile.am
> patching file src/Makefile.in
> patching file src/readelf.c
> patching file src/strings.c
> patching file src/strip.c
> patching file tests/ChangeLog
> patching file tests/line2addr.c
> patching file tests/Makefile.in
> Patch redhat-portability.diff does not apply (enforce with -f)
> ERROR: Function failed: patch_do_patch
> ERROR: Logfile of failure stored in:
> /home/jack/Work/oe-core.git/test-build/tmp-eglibc/work/x86_64-linux/elfutils-native/0.155-r0/temp/log.do_patch.25742
>
> ERROR: Task 627
> (virtual:native:/home/jack/Work/oe-core.git/meta/recipes-devtools/elfutils/elfutils_0.155.bb,
> do_patch) failed with exit code '1'
>
> Cheers,
> Jack.
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils patch failure
  2013-09-23  9:15 elfutils patch failure Jack Mitchell
  2013-09-23  9:31 ` Robert Yang
@ 2013-09-23  9:35 ` Burton, Ross
  2013-09-23 11:39   ` David Nyström
  1 sibling, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2013-09-23  9:35 UTC (permalink / raw)
  To: Jack Mitchell; +Cc: OE-core

On 23 September 2013 10:15, Jack Mitchell <ml@communistcode.co.uk> wrote:
> patching file configure
> Hunk #1 FAILED at 598.
> Hunk #2 FAILED at 612.
> Hunk #3 FAILED at 725.
> Hunk #4 FAILED at 1378.
> Hunk #5 succeeded at 4079 with fuzz 1 (offset 162 lines).
> Hunk #6 FAILED at 4077.
> Hunk #7 succeeded at 4612 (offset 186 lines).
> Hunk #8 FAILED at 5162.
> Hunk #9 succeeded at 5530 with fuzz 1 (offset 205 lines).
> 6 out of 9 hunks FAILED -- rejects in file configure

Patching a generated file is never a good idea, fix this by deleting
that file from the patch.  To be honest that patch appears to be
changing *far* too much.

Ross


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils patch failure
  2013-09-23  9:35 ` Burton, Ross
@ 2013-09-23 11:39   ` David Nyström
  2013-09-23 11:52     ` Eric Bénard
  0 siblings, 1 reply; 5+ messages in thread
From: David Nyström @ 2013-09-23 11:39 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

+1, saw this error as well.
And an additional patch failure for libtool-native.

Br,
David

On 09/23/2013 11:35 AM, Burton, Ross wrote:
> On 23 September 2013 10:15, Jack Mitchell <ml@communistcode.co.uk> wrote:
>> patching file configure
>> Hunk #1 FAILED at 598.
>> Hunk #2 FAILED at 612.
>> Hunk #3 FAILED at 725.
>> Hunk #4 FAILED at 1378.
>> Hunk #5 succeeded at 4079 with fuzz 1 (offset 162 lines).
>> Hunk #6 FAILED at 4077.
>> Hunk #7 succeeded at 4612 (offset 186 lines).
>> Hunk #8 FAILED at 5162.
>> Hunk #9 succeeded at 5530 with fuzz 1 (offset 205 lines).
>> 6 out of 9 hunks FAILED -- rejects in file configure
>
> Patching a generated file is never a good idea, fix this by deleting
> that file from the patch.  To be honest that patch appears to be
> changing *far* too much.
>
> Ross
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils patch failure
  2013-09-23 11:39   ` David Nyström
@ 2013-09-23 11:52     ` Eric Bénard
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Bénard @ 2013-09-23 11:52 UTC (permalink / raw)
  To: David Nyström; +Cc: OE-core

Le Mon, 23 Sep 2013 13:39:07 +0200,
David Nyström <david.nystrom@enea.com> a écrit :

> +1, saw this error as well.
> And an additional patch failure for libtool-native.
> 
not sure if that helps, but I also had patch errors (on other recipes)
when a recipe which was already built is updated and gets rebuilt : a
clean solved the problem.

Eric


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-23 11:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-23  9:15 elfutils patch failure Jack Mitchell
2013-09-23  9:31 ` Robert Yang
2013-09-23  9:35 ` Burton, Ross
2013-09-23 11:39   ` David Nyström
2013-09-23 11:52     ` Eric Bénard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox