Build issue with Fabric version fabric-2.5.6 #4757
Unanswered
ManishaMahapatra1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build the development environment for hyperledger fabric from : https://github.com/hyperledger/fabric, during the verification of build environment I'm facing goimports error, when I'm running make basic-checks for performing the basic checks for license, spelling, trailing spaces and linter, I'm getting following error (Ist image).
![image](https://private-user-images.githubusercontent.com/48158615/314404311-86a1aa77-bb1b-4e17-b68e-21fee77103d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NDM0NDcsIm5iZiI6MTcyNTU0MzE0NywicGF0aCI6Ii80ODE1ODYxNS8zMTQ0MDQzMTEtODZhMWFhNzctYmIxYi00ZTE3LWI2OGUtMjFmZWU3NzEwM2QxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDEzMzIyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExMjY0MDUyZmZiZmEyNGZmYWU1YjU0MTM5MGRmYTI3MGE4YTgxZGUwYjM4ZDc2N2VmMjU3ZjY5MmJkN2M5YzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.voGPW3LzE1yKpAl2akNxVWjLHDCd-Ft64yyoyO1aw3k)
![image](https://private-user-images.githubusercontent.com/48158615/314404379-9ad8ce48-e263-4a83-8638-c183867014c5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NDM0NDcsIm5iZiI6MTcyNTU0MzE0NywicGF0aCI6Ii80ODE1ODYxNS8zMTQ0MDQzNzktOWFkOGNlNDgtZTI2My00YTgzLTg2MzgtYzE4Mzg2NzAxNGM1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDEzMzIyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiNDllMGJiYjNhOTdiMjJiMzgyNWE1NDAzODVjNzdmYzM1ZTQ3YWMxZGMxODg1YzlkOWU4ZDUxYmIwZjZkNTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gukKNp90_DIH2dxdXOcvvsKuLygVphki1kePHANz9wE)
On checking the respective files, found : err = ioutil.WriteFile(ks.getPathForAlias(alias, "sk"), rawKey, 0o600) i.e. file permissions values could be source of error. If it converted to num only then another error with fumpt shows (2nd image).
Please can anyone assist on this on the environment setup.
Beta Was this translation helpful? Give feedback.
All reactions