The SDK fails a local build on an Apple M1 Macbook Pro arm64 architecture with an error of:
Unable to find image 'hyperledger/fabric-tools:arm64-2.2.0' locally
docker: Error response from daemon: manifest for hyperledger/fabric-tools:arm64-2.2.0 not found: manifest unknown: manifest unknown.
This is with Go 1.18 which I know isn't supported yet. I changed the ci.properties to allow building with Go 1.18. Everything worked up until the missing Fabric Tools repo, which is a showstopper at present.
I set up my local SDK repo with GO111MODULE=off go get -u github.com/myitcv/gobin and make depend and had the following output afterwards when running make:
$ make
Checking Go version
go version go1.18 darwin/arm64
Running check_license.sh
Examining working directory changes
All files are excluded from having license headers
rm -Rf /tmp/enroll_user /tmp/msp /tmp/keyvaluestore /tmp/hfc-kvs /tmp/state /tmp/state-store
rm -f integration-report.xml report.xml
go clean
FIXTURE_PROJECT_NAME=fabsdkgo DOCKER_REMOVE_FORCE=false test/scripts/clean_integration.sh
Removing docker-compose network created from fixtures ...
[+] Running 1/0
⠿ fabsdkgo Warning: No resource found to remove 0.0s
Crypto config directory does not exist - will need to populate fixture
Generating crypto directory ...
Unable to find image 'hyperledger/fabric-tools:arm64-2.2.0' locally
docker: Error response from daemon: manifest for hyperledger/fabric-tools:arm64-2.2.0 not found: manifest unknown: manifest unknown.
See 'docker run --help'.
make[1]: *** [crypto-gen] Error 125
make: *** [populate-fixtures-stable-noforce] Error 2
The SDK fails a local build on an Apple M1 Macbook Pro arm64 architecture with an error of:
This is with Go 1.18 which I know isn't supported yet. I changed the ci.properties to allow building with Go 1.18. Everything worked up until the missing Fabric Tools repo, which is a showstopper at present.
I set up my local SDK repo with
GO111MODULE=off go get -u github.com/myitcv/gobin
andmake depend
and had the following output afterwards when runningmake
: