Hi all, after an ./script/feeds update when i try to build openwrt I get an error on batman-adv package:
Applying ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet.patch using plaintext: patching file translation-table.c Hunk #1 FAILED at 1054. Hunk #2 succeeded at 632 with fuzz 2 (offset -448 lines). 1 out of 2 hunks FAILED -- saving rejects to file translation-table.c.rej Patch failed! Please fix ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet.patch!
Rgds
Hi,
after an ./script/feeds update when i try to build openwrt I get an error on batman-adv package:
Applying ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet .patch using plaintext: patching file translation-table.c Hunk #1 FAILED at 1054. Hunk #2 succeeded at 632 with fuzz 2 (offset -448 lines). 1 out of 2 hunks FAILED -- saving rejects to file translation-table.c.rej Patch failed! Please fix ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet. patch!
works for me. Do you have additional patches in your patches folder which are incompatible ?
Regards, Marek
No my patch folder was empty before update. Now the only way to compile batman-adv is to revert to last version.
N.B. Here the command executed after first time error
1. svn clean; 2. svn distclean; 3. make -j 3
So I build a vergin openwrt with only batman-adv module but the error persist.
2011/10/18 Marek Lindner lindner_marek@yahoo.de:
Hi,
after an ./script/feeds update when i try to build openwrt I get an error on batman-adv package:
Applying ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet .patch using plaintext: patching file translation-table.c Hunk #1 FAILED at 1054. Hunk #2 succeeded at 632 with fuzz 2 (offset -448 lines). 1 out of 2 hunks FAILED -- saving rejects to file translation-table.c.rej Patch failed! Please fix ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet. patch!
works for me. Do you have additional patches in your patches folder which are incompatible ?
Regards, Marek
opps sorry
1. make clean 2. make distclean 3. make -j 3
2011/10/18 Filippo Sallemi tonyputi@gmail.com:
No my patch folder was empty before update. Now the only way to compile batman-adv is to revert to last version.
N.B. Here the command executed after first time error
- svn clean;
- svn distclean;
- make -j 3
So I build a vergin openwrt with only batman-adv module but the error persist.
2011/10/18 Marek Lindner lindner_marek@yahoo.de:
Hi,
after an ./script/feeds update when i try to build openwrt I get an error on batman-adv package:
Applying ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet .patch using plaintext: patching file translation-table.c Hunk #1 FAILED at 1054. Hunk #2 succeeded at 632 with fuzz 2 (offset -448 lines). 1 out of 2 hunks FAILED -- saving rejects to file translation-table.c.rej Patch failed! Please fix ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet. patch!
works for me. Do you have additional patches in your patches folder which are incompatible ?
Regards, Marek
-- Filippo Sallemi
Hi Filippo,
On Tue, Oct 18, 2011 at 07:36:27 +0200, Filippo Sallemi wrote:
opps sorry
- make clean
- make distclean
- make -j 3
it works here..
can I suggest you to run "make V=99" and write down what the log says? In this way that we can better understand what it is going on.
Moreover..did you get the last version of that patch? In the ml sometimes you can find several version of the same patch. Please ensure it is the last one (version 2)
Cheers,
2011/10/18 Filippo Sallemi tonyputi@gmail.com:
No my patch folder was empty before update. Now the only way to compile batman-adv is to revert to last version.
N.B. Here the command executed after first time error
- svn clean;
- svn distclean;
- make -j 3
So I build a vergin openwrt with only batman-adv module but the error persist.
2011/10/18 Marek Lindner lindner_marek@yahoo.de:
Hi,
after an ./script/feeds update when i try to build openwrt I get an error on batman-adv package:
Applying ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet .patch using plaintext: patching file translation-table.c Hunk #1 FAILED at 1054. Hunk #2 succeeded at 632 with fuzz 2 (offset -448 lines). 1 out of 2 hunks FAILED -- saving rejects to file translation-table.c.rej Patch failed! Please fix ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet. patch!
works for me. Do you have additional patches in your patches folder which are incompatible ?
Regards, Marek
-- Filippo Sallemi
-- Filippo Sallemi
On Tuesday, October 18, 2011 19:51:47 Antonio Quartulli wrote:
Moreover..did you get the last version of that patch? In the ml sometimes you can find several version of the same patch. Please ensure it is the last one (version 2)
He is talking about the patch that is part of the batman-adv package in OpenWRT. I included the last version of your fixes, so that people can enjoy a (mostly) bugfree batman-adv without having to search on the mailing list.
Regards, Marek
On Tuesday 18 October 2011 13:59:18 Filippo Sallemi wrote:
Hi all, after an ./script/feeds update when i try to build openwrt I get an error on batman-adv package:
Applying ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet. patch using plaintext: patching file translation-table.c Hunk #1 FAILED at 1054. Hunk #2 succeeded at 632 with fuzz 2 (offset -448 lines). 1 out of 2 hunks FAILED -- saving rejects to file translation-table.c.rej Patch failed! Please fix ./patches/batman-adv_correctly_set_the_data_field_in_the_TT_REPONSE_packet.p atch!
Please create a new checkout of openwrt, add the feed, add batman-adv to the config and build it with V=99 (the clean checkout not an old one). Add the .config and the log to you mail.
Thanks, Sven
b.a.t.m.a.n@lists.open-mesh.org