initc3 / fabric

Fabric fork with a PoC HoneyBadgerMPC integration
Apache License 2.0
1 stars 0 forks source link

problem doing `make ccenv` #2

Open amiller opened 5 years ago

amiller commented 5 years ago
(hyperbadger) amiller@winterfell:~/projects/fabric$ make unit-tests
cd unit-test && docker-compose down
WARNING: The TEST_PKGS variable is not set. Defaulting to a blank string.
WARNING: The JOB_TYPE variable is not set. Defaulting to a blank string.
Removing network unit-test_default
mkdir -p .build/image/buildenv/payload
cp .build/gotools.tar.bz2 .build/docker/gotools/bin/protoc-gen-go .build/image/buildenv/payload
cp: cannot stat '.build/docker/gotools/bin/protoc-gen-go': No such file or directory
Makefile:282: recipe for target '.build/image/buildenv/payload' failed
make: *** [.build/image/buildenv/payload] Error 1

This seems like it may be resolved here with the following but I didn't see this as part of the instructions https://stackoverflow.com/questions/41040156/cp-cannot-stat-build-docker-gotools-bin-protoc-gen-go-no-such-file-or-direct

amiller commented 5 years ago

I also ran into this error:

./scripts/run-integration-tests.sh
Running integration tests...
Failed to compile integration:

can't load package: package github.com/stretchr/testify/assert: cannot find package "github.com/stretchr/testify/assert" in any of:
    /usr/lib/go-1.10/src/github.com/stretchr/testify/assert (from $GOROOT)
    /home/amiller/go/src/github.com/stretchr/testify/assert (from $GOPATH)
Failed to compile integration:

Seems to be addressed by another dependency: https://stackoverflow.com/questions/42254513/golang-test-error-cannot-find-package-github-com-stretchr-testify-assert-in-a