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

无法通过编译,VPS和云编译都试过了,应该是这个备份里的问题 #1

Open
yishan2019 opened this issue Apr 18, 2020 · 2 comments

Comments

@yishan2019
Copy link

无法通过编译,VPS和云编译都试过了,应该是这个备份里的问题。以往都几乎不出错。以下是VPS报错信息:
Applying ./patches/0003-Refine-Usage.patch using plaintext:
patching file src/utils.c

Applying ./patches/999-Fix-Werror-sizeof-pointer-memaccess.patch using plaintext:
patching file src/local.c
Hunk #1 FAILED at 718 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/local.c.rej
Patch failed! Please fix ./patches/999-Fix-Werror-sizeof-pointer-memaccess.patch!
Makefile:64: recipe for target '/home/trojan/master/build_dir/target-mipsel_24kc_musl/shadowsocksr-libev//shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/.prepared_847afd0366bc56a60c70e6468a0930ac_6664517399ebbbc92a37c5bb081b5c53' failed
make[3]: *** [/home/trojan/master/build_dir/target-mipsel_24kc_musl/shadowsocksr-libev//shadowsocksr-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/.prepared_847afd0366bc56a60c70e6468a0930ac_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/trojan/master/feeds/lienol/package/shadowsocksr-libev'
time: package/feeds/lienol/shadowsocksr-libev/compile#7.85#0.51#11.73
package/Makefile:111: recipe for target 'package/feeds/lienol/shadowsocksr-libev/compile' failed
make[2]: *** [package/feeds/lienol/shadowsocksr-libev/compile] Error 2
make[2]: Leaving directory '/home/trojan/master'
package/Makefile:107: recipe for target '/home/trojan/master/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/trojan/master/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/trojan/master'
/home/trojan/master/include/toplevel.mk:218: recipe for target 'world' failed
make: *** [world] Error 2

@zerofo
Copy link

zerofo commented Apr 22, 2020

恩,真的不行。 lienol大 原项目删除后, 有一个 pull requests (add luci-app-passwall )被拒绝了,那个可以的。https://github.com/DreamWalkerXZ/openwrt-package

@helvenk
Copy link

helvenk commented Apr 17, 2021

我今天是第一次编译 Lienol 也遇到这个错误,搜索过来了,网上也没找到解决办法。最后我发现是文件结束符的问题,已经解决了所以过来分享一下(其实错误说明里面已经给了提示了:different line endings)。lienol 那边的 patch 文件应该是在 windows 下修改过的,直接用 lean 那边的替换,或者 dos2unix 转一下就行。文件位置是 ./feeds/lienol/package/shadowsocksr-libev/patches/999-Fix-Werror-sizeof-pointer-memaccess.patch

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

3 participants