You are not logged in.

#1 2011-05-30 17:28:16

spk98
Member
Registered: 2011-05-30
Posts: 2

abs core/kernel26 build() failure...

I have a problem with doing makepkg on
the abs core/kernel26. It aborts with an error thusly:

patching file tools/perf/builtin-top.c
patching file tools/perf/util/header.c
patching file tools/perf/util/hist.c
patching file tools/perf/util/PERF-VERSION-GEN
patching file tools/perf/util/scripting-engines/trace-event-python.c
patching file tools/perf/util/symbol.c
patching file tools/perf/util/trace-event-parse.c
patching file tools/perf/util/ui/browsers/map.c
==> ERROR: A failure occurred in build().
    Aborting...

It looks like the patch command done inside the build()
exits with exit code 1 and so build() aborts.
The patch command done internally is:
    patch -Np1 -i /home/scott/work/row44svn/air/scott_sandbox/linux_building/abs_kernel/spkkern64/src/patch-2.6.38.7-1-ARCH
and when I do this by hand I get exit code 1.

Whats happenin? Any tips? (i dont see an ans in any forum search to this).
Thanks

Offline

#2 2011-05-30 18:06:54

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: abs core/kernel26 build() failure...

add a || return 0 after the patch command.


no place like /home
github

Offline

#3 2011-05-30 18:32:12

spk98
Member
Registered: 2011-05-30
Posts: 2

Re: abs core/kernel26 build() failure...

Thanks for the basic clue;
actually; doing:
  <patch-cmd> || echo "caught patch glitch...continuing.."
will let the build() drive on rather than return at that point.
Thanks alot!

Offline

Board footer

Powered by FluxBB