[Aboriginal] Kernel patching failure with 1.2.4.1

Patrick Lauer patrick at gentoo.org
Mon Sep 2 04:23:08 PDT 2013


On 09/02/2013 05:31 PM, Rob Landley wrote:
> On 08/30/2013 12:58:35 AM, Patrick Lauer wrote:
>> On 08/18/2013 11:57 AM, Patrick Lauer wrote:
>> > Trying to build 1.2.4.1 fails when fetching/patching kernel:
>>
>> > patching file init/Kconfig
>> > Hunk #1 succeeded at 1797 (offset 131 lines).
>> > Applying
>> >
>> /home/me/code/aboriginal-1.2.4.1/sources/patches/linux-noperl-timeconst.patch
>>
>> > The next patch would create the file kernel/Makefile,
>> > which already exists!  Assume -R? [n]
>> > Apply anyway? [n]
>> > Skipping patch.
>> > 1 out of 1 hunk ignored
>> > patching file kernel/timeconst.bc
>> > patching file kernel/Makefile
>> > Hunk #1 succeeded at 126 (offset 1 line).
>> >
>> > Exiting due to errors (host download linux)
>> >
>> > Exiting due to errors (  )
>>
>> This is due to a change in behaviour with patch - version <=2.6.1 work
>> fine, >=2.7 fail.
> 
> And _this_ is why I build host-tools.sh to isolate the build from crappy
> random gnu regressions. (Alas, there's a chicken and egg problem in
> protecting download.sh or host-tools.sh from this stuff.)

Then you'd end up at some point carrying your own statically-built
everything, only relying on some archiver like cpio/tar/zip for the
initial unpacking

> 
> Where do I get a test system that displays this problem? (I don't have
> anything with patch 2.7 installed. Should I build a linux from scratch,
> or is there something I can install into a qemu image by just fetching
> an iso...?)

I upgraded patch on my server, so you can reproduce it there.

> 
> Rob


 1378120988.0


More information about the Aboriginal mailing list