small-package icon indicating copy to clipboard operation
small-package copied to clipboard

aria2编译通不过

Open ChaingTsung opened this issue 8 months ago • 0 comments

. /home/yoki/openwrt/include/shell.sh; xzcat /home/yoki/openwrt/dl/aria2-1.37.0.tar.xz | tar -C /home/yoki/openwrt/build_dir/target-x86_64_musl/aria2-1.37.0/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/. /home/yoki/openwrt/build_dir/target-x86_64_musl/aria2-1.37.0

Applying /home/yoki/openwrt/package/small-package/aria2/patches/0001-options-unlock-connection-per-server-limit.patch using plaintext: patching file src/OptionHandlerFactory.cc

Applying /home/yoki/openwrt/package/small-package/aria2/patches/0002-download-retry-on-slow-speed-and-reset.patch using plaintext: patching file src/DownloadCommand.cc patching file src/SocketBuffer.cc patching file src/SocketCore.cc Hunk #1 succeeded at 1016 (offset 7 lines).

Applying /home/yoki/openwrt/package/small-package/aria2/patches/0003-option-add-option-to-retry-on-http-4xx.patch using plaintext: patching file src/HttpSkipResponseCommand.cc patching file src/OptionHandlerFactory.cc patching file src/prefs.cc Hunk #1 succeeded at 326 (offset -1 lines). patching file src/prefs.h Hunk #1 succeeded at 279 (offset -1 lines). patching file src/usage_text.h

Applying /home/yoki/openwrt/package/small-package/aria2/patches/0004-Disable-auto-added-Want-Digest-header.patch using plaintext: patching file src/AbstractProxyRequestCommand.cc patching file src/HttpRequestCommand.cc patching file src/OptionHandlerFactory.cc patching file src/prefs.cc Hunk #1 FAILED at 437. 1 out of 1 hunk FAILED -- saving rejects to file src/prefs.cc.rej patching file src/prefs.h Hunk #1 FAILED at 389. 1 out of 1 hunk FAILED -- saving rejects to file src/prefs.h.rej patching file src/usage_text.h Hunk #1 succeeded at 563 (offset 3 lines). Patch failed! Please fix /home/yoki/openwrt/package/small-package/aria2/patches/0004-Disable-auto-added-Want-Digest-header.patch! make[3]: *** [Makefile:127: /home/yoki/openwrt/build_dir/target-x86_64_musl/aria2-1.37.0/.prepared_c1a10a22e29ceeeaa08b0ba4fb28a98f_6664517399ebbbc92a37c5bb081b5c53] Error 1 make[3]: Leaving directory '/home/yoki/openwrt/package/small-package/aria2' time: package/small-package/aria2/compile#0.22#0.06#0.26 ERROR: package/small-package/aria2 failed to build. make[2]: *** [package/Makefile:173: package/small-package/aria2/compile] Error 1 make[2]: Leaving directory '/home/yoki/openwrt' make[1]: *** [package/Makefile:167: /home/yoki/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/yoki/openwrt' make: *** [/home/yoki/openwrt/include/toplevel.mk:248: world] Error 2

ChaingTsung avatar Jun 22 '24 09:06 ChaingTsung