kiddin9 / openwrt-packages

openwrt packages
GNU General Public License v2.0
1.61k stars 587 forks source link

dns2tcp编译报错,补丁失效 #95

Open HahahahaChen opened 1 year ago

HahahahaChen commented 1 year ago

这是错误的详细情况·: HEAD is now at 558b07e Update README.md Packing checkout... touch /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5/.prepared_e95070423ea6a8a85a889c519746504f_6664517399ebbbc92a37c5bb081b5c53_check . /home/chen/openwrt/include/shell.sh; gzip -dc /home/chen/openwrt/dl/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5.tar.gz | tar -C /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/. /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5

Applying ./patches/001-build-with-gcc-O3-optimizations.patch using plaintext: patching file Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej Patch failed! Please fix ./patches/001-build-with-gcc-O3-optimizations.patch! make[3]: [Makefile:54: /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5/.prepared_e95070423ea6a8a85a889c519746504f_6664517399ebbbc92a37c5bb081b5c53] Error 1 make[3]: Leaving directory '/home/chen/openwrt/feeds/kiddin9/dns2tcp' time: package/feeds/kiddin9/dns2tcp/compile#0.38#0.14#2.58 ERROR: package/feeds/kiddin9/dns2tcp failed to build. make[2]: [package/Makefile:116: package/feeds/kiddin9/dns2tcp/compile] Error 1 make[2]: Leaving directory '/home/chen/openwrt' make[1]: [package/Makefile:110: /home/chen/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/chen/openwrt' make: [/home/chen/openwrt/include/toplevel.mk:230:world] 错误 2 2023-04-17 13-12-25屏幕截图

Mike-qian commented 1 year ago

1.运行make dirclean 2.删除dns2tcp目录下全部文件用https://github.com/Mike-qian/dns2tcp.git替换

HahahahaChen commented 1 year ago

1.运行make dirclean 2.删除dns2tcp目录下全部文件用https://github.com/Mike-qian/dns2tcp.git替换

谢谢,之前已经解决了,用了别的作者的替换了