Closed HahahahaChen closed 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
看样子是打补丁失败了,先把补丁文件清空。
建议联系原作者,让他改下补丁(最新提交改了一下makefile,可能是导致补丁失败的原因)
看样子是打补丁失败了,先把补丁文件清空。 建议联系原作者,让他改下补丁(最新提交改了一下makefile,可能是导致补丁失败的原因)
谢谢,找了别人的makefile替换了插件原作者的就好了,不需要补丁了
这是错误的详细情况·: 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