hxping7 / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

Can not apply ./135-mma-updates1.patch cleanly #319

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.mkdir -p /opt/brcm
2.mkdir -p /whatever-you-want/broadcom/src/linux
3.tar -C /opt/brcm -jxvf hndtools-mipsel-uclibc-4.4.6-K26-r3826.tar.bz2
4.ln -sf /opt/brcm/hndtools-mipsel-uclibc-4.4.6-K26 
/opt/brcm/hndtools-mipsel-uclibc
5.tar -C /whatever-you-want/broadcom/src/linux -jxvf linux-2.6.22.19.tar.bz2
6.ln -sf linux-2.6.22.19 /whatever-you-want/broadcom/src/linux/linux-2.6
7.svn checkout http://wl500g.googlecode.com/svn/trunk/ 
/whatever-you-want/broadcom/src/1.9.2.7-rtn
8.export PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin
9.cd /whatever-you-want/broadcom/src/1.9.2.7-rtn
10.make kernel

What is the expected output? What do you see instead?
Expected output is patched kernel sources :( but i see this : 

./134-proc-badness.patch
patching file fs/proc/base.c
./134-proc-stack.patch
patching file Documentation/filesystems/proc.txt
Hunk #1 succeeded at 137 (offset -3 lines).
patching file fs/proc/base.c
./135-mma-updates1.patch
Can not apply ./135-mma-updates1.patch cleanly
make[1]: *** [patch] Error 1
make[1]: Leaving directory 
`/whatever-you-want/broadcom/src/1.9.2.7-rtn/kernel-2.6'
make: *** [kernel-patch] Error 2

What version of the product are you using?
same like versions in wiki page 
http://code.google.com/p/wl500g/wiki/CompilingCustomFirmware

Please provide any additional information below.
I need inly some modules for my rtn16, but I can't pass this step :(

Original issue reported on code.google.com by m.altm...@trillinis.com on 3 May 2012 at 8:42

GoogleCodeExporter commented 9 years ago
First of all, you didn't provide exact revision number you checkout.

Most of such cases caused by too old patchutils package on host.

Original comment by lly.dev on 4 May 2012 at 6:05

GoogleCodeExporter commented 9 years ago
Hi,
I'm trying it with many revisions of SVN, latest one, some older (from
date same like the wiki post).. what version of patch tools is needed
? I'm using latest ubuntu release 12.04 with patch version 2.6.1.3

thanks for your message

Michal

Original comment by m.altm...@trillinis.com on 4 May 2012 at 6:56

GoogleCodeExporter commented 9 years ago
I don't know what happens inside Ubuntu, but both OpenSuse & Debian applies 
this patch well. Even OpenSuse 10 contains workable patch 2.5.9 ...

Anyway, if you(or someone else) found what exactly not like your patchutils in 
135-mma-updates1.patch, we will fix it.

Original comment by lly.dev on 4 May 2012 at 10:24

GoogleCodeExporter commented 9 years ago
Ok, I have no problem with some test on clean debian instalation and
post my results.

Thanks and have a nice day

Michal

Original comment by m.altm...@trillinis.com on 4 May 2012 at 10:46

GoogleCodeExporter commented 9 years ago
Hi I tested your HowTo by copy paste method on new debian 6 i386
installation, and it works.. so thanks for your help.

Michal

Original comment by m.altm...@trillinis.com on 24 May 2012 at 5:34

GoogleCodeExporter commented 9 years ago
Hello,

use:
export LC_ALL=C
export LC_COLLATE=C

It works for me. This is common problem for non-english installation.

Original comment by Lukas.Pa...@gmail.com on 16 Jun 2012 at 4:55