OpenWRT patches not working

2 posts / 0 new
Last post
colind
colind's picture
OpenWRT patches not working

Hi All,

I have downloaded the OpenWRT patches from the downloads section and unfortunately the openwrt_build.sh script no longer works with the version of OpenWRT it obtains from trunk.  A list of HUNK errors are presented during the patching.

I modified the script to checkout from the tags version of OpenWRT, both 8.09.1 and 8.09.2.  In both cases the patches apply cleanly from the script, however the compilation fails in both tags copying the configure patches over for uclibc as can be seen below.

prepare uClibc version 0.9.30.1
bzcat /home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/dl/uClibc-0.9.30.1.tar.bz2 | /bin/tar -C /home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/build_dir/toolchain-mipsel_gcc3.4.6/uClibc-0.9.30.1/.. -xf -
ls: ./patches/0.9.30.1: No such file or directory
cp -fpR ././config/0.9.30.1/mipsel /home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/build_dir/toolchain-mipsel_gcc3.4.6/uClibc-0.9.30.1/.config
cp: cannot stat `././config/0.9.30.1/mipsel': No such file or directory
make[3]: *** [/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/build_dir/toolchain-mipsel_gcc3.4.6/uClibc-0.9.30.1/.prepared75e439a8e4b01e71364f835a80e5e0f4] Error 1
make[3]: Leaving directory `/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/toolchain/uClibc'
make[2]: *** [toolchain/uClibc/prepare] Error 2
make[2]: Leaving directory `/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze'
make[1]: *** [/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze/staging_dir/mipsel/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/home/Epitiro/openwrt_8.09_trunk_2.4_Netgear/kamikaze'
make: *** [world] Error 2

Does anyone know what revision of OpenWRT the scripts provided here were applied too?  Is anyone still working with OpenWRT on the WNR3500L.  Has anyone been able to make it compile?

Many Thanks

Colin

David Ayers
David Ayers's picture
It's great that you are

It's great that you are working on providing patches for the released versions of OpenWRT.  But if the patches are based on SVN, I wonder why they are being kept here instead of being integrated upstream?  Have there been upstream submission efforts?