Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aria2编译通不过 #173

Open
ChaingTsung opened this issue Jun 22, 2024 · 0 comments
Open

aria2编译通不过 #173

ChaingTsung opened this issue Jun 22, 2024 · 0 comments

Comments

@ChaingTsung
Copy link

. /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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant