We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug (描述bug) 编译时git操作报错 fatal: Not a git repository (or any parent up to mount point /) 可以继续编译,但会有大量上述错误信息
fatal: Not a git repository (or any parent up to mount point /)
To Reproduce (复现方法) 下载release的代码包,例如 https://github.com/apache/incubator-brpc/archive/0.9.6.tar.gz,执行config_brpc.sh; make
https://github.com/apache/incubator-brpc/archive/0.9.6.tar.gz
config_brpc.sh; make
Expected behavior (期望行为)
Versions (各种版本) OS: CentOS 6 Compiler: gcc 4.9.2 brpc: 0.9.6 protobuf: 3.5.2
Additional context/screenshots (更多上下文/截图) 错误来自于Makefile中的git命令(已省略其它不相关内容):
CPPFLAGS+=-DBRPC_REVISION=\"$(shell git rev-parse --short HEAD)\"
使用release的代码包时,没有git目录导致报错
The text was updated successfully, but these errors were encountered:
Fixed in #984
Sorry, something went wrong.
No branches or pull requests
Describe the bug (描述bug)
编译时git操作报错
fatal: Not a git repository (or any parent up to mount point /)
可以继续编译,但会有大量上述错误信息
To Reproduce (复现方法)
下载release的代码包,例如
https://github.com/apache/incubator-brpc/archive/0.9.6.tar.gz
,执行config_brpc.sh; make
Expected behavior (期望行为)
Versions (各种版本)
OS: CentOS 6
Compiler: gcc 4.9.2
brpc: 0.9.6
protobuf: 3.5.2
Additional context/screenshots (更多上下文/截图)
错误来自于Makefile中的git命令(已省略其它不相关内容):
使用release的代码包时,没有git目录导致报错
The text was updated successfully, but these errors were encountered: