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

更新最新源码后编译报错 #11472

Closed
bi4tms opened this issue Aug 21, 2023 · 2 comments
Closed

更新最新源码后编译报错 #11472

bi4tms opened this issue Aug 21, 2023 · 2 comments

Comments

@bi4tms
Copy link

bi4tms commented Aug 21, 2023

刚刚拉取最新源码编译报错,应该是dropbear问题,源码如下:
make[3]: Entering directory '/home/x86.6.1/lede/package/network/services/dropbear'
touch /home/x86.6.1/lede/build_dir/target-x86_64_musl/dropbear-2022.83/.prepared_0812b09a9e3433b72225ce8bf917a325_6664517399ebbbc92a37c5bb081b5c53_check
. /home/x86.6.1/lede/include/shell.sh; bzcat /home/x86.6.1/lede/dl/dropbear-2022.83.tar.bz2 | tar -C /home/x86.6.1/lede/build_dir/target-x86_64_musl/dropbear-2022.83/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/x86.6.1/lede/build_dir/target-x86_64_musl/dropbear-2022.83

Applying ./patches/001-fix-MAX_UNAUTH_CLIENTS-regression.patch using plaintext:
patching file runopts.h
Hunk #1 FAILED at 79.
1 out of 1 hunk FAILED -- saving rejects to file runopts.h.rej
patching file svr-main.c
Hunk #1 FAILED at 71.
Hunk #2 FAILED at 102.
Hunk #3 FAILED at 115.
Hunk #4 FAILED at 347.
Hunk #5 FAILED at 359.
5 out of 5 hunks FAILED -- saving rejects to file svr-main.c.rej
patching file svr-runopts.c
Hunk #1 FAILED at 138.
Hunk #2 FAILED at 175.
Hunk #3 FAILED at 250.
Hunk #4 succeeded at 445 with fuzz 1 (offset 19 lines).
3 out of 4 hunks FAILED -- saving rejects to file svr-runopts.c.rej
Patch failed! Please fix ./patches/001-fix-MAX_UNAUTH_CLIENTS-regression.patch!
make[3]: *** [Makefile:223: /home/x86.6.1/lede/build_dir/target-x86_64_musl/dropbear-2022.83/.prepared_0812b09a9e3433b72225ce8bf917a325_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/x86.6.1/lede/package/network/services/dropbear'
time: package/network/services/dropbear/compile#0.85#0.15#0.90
ERROR: package/network/services/dropbear failed to build.
make[2]: *** [package/Makefile:116: package/network/services/dropbear/compile] Error 1
make[2]: Leaving directory '/home/x86.6.1/lede'
make[1]: *** [package/Makefile:110: /home/x86.6.1/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/x86.6.1/lede'
make: *** [/home/x86.6.1/lede/include/toplevel.mk:231:world] 错误 2

@1105384898
Copy link

和你一样的错误

@ywt114
Copy link

ywt114 commented Aug 21, 2023

commit b428d5e有bug

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

4 participants