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

Build Fabric Private Chaincode Failure #416

Closed
licc15 opened this issue Jul 26, 2020 · 1 comment
Closed

Build Fabric Private Chaincode Failure #416

licc15 opened this issue Jul 26, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@licc15
Copy link

licc15 commented Jul 26, 2020

Describe the bug
<--!
Error happens when building Fabric Private Chaincode
Errors are "recipe for target 'build' failed"
-->

To Reproduce
<--!
Add steps to reproduce the behavior, e.g.

  1. cd $GOPATH/src/github.com/hyperledger-labs/fabric-private-chaincode
  2. make
  3. error happens
    -->

Expected behavior
<--!
how to solve this problem, to build fabric private chaincode successfully.
-->

Log-filesScreenshots
<--!
Step 22/39 : RUN git config --global user.name $GIT_USER_NAME && git config --global user.email $GIT_USER_EMAIL
---> Running in 9a9f03b5f5c5
The command '/bin/sh -c git config --global user.name $GIT_USER_NAME && git config --global user.email $GIT_USER_EMAIL' returned a non-zero code: 1
Makefile:146: recipe for target 'dev' failed
make[2]: *** [dev] Error 1
make[2]: 离开目录“/home/blockchaindev/GOPATH/src/github.com/hyperledger-labs/fabric-private-chaincode/utils/docker”
Makefile:11: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: 离开目录“/home/blockchaindev/GOPATH/src/github.com/hyperledger-labs/fabric-private-chaincode/utils”
Makefile:22: recipe for target 'build' failed

-->

Environment (please complete the following information):

@licc15 licc15 added the bug Something isn't working label Jul 26, 2020
@licc15 licc15 closed this as completed Jul 26, 2020
@g2flyer
Copy link
Contributor

g2flyer commented Jul 26, 2020

Your failure is due to not having configured a git user name and/or email address. As i'm already in the process of modifying the dockerfile and corresponding makefiles, i'll address that in PR #414. I guess you figured it out given that you closed the bug :-)

g2flyer added a commit to g2flyer/fabric-secure-chaincode that referenced this issue Jul 27, 2020
Signed-off-by: Michael Steiner <[email protected]>
g2flyer added a commit to g2flyer/fabric-secure-chaincode that referenced this issue Aug 4, 2020
Signed-off-by: Michael Steiner <[email protected]>
bvavala pushed a commit that referenced this issue Aug 5, 2020
Signed-off-by: Michael Steiner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants