From d88894e6773ab63ac8b3f4b2edbae88290aaf0d6 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 20 Jul 2020 16:34:19 +0200 Subject: Makefile: set GO111MODULE=off for go get in install_prerequisites Otherwise the versions in go.mod are updated on running `make install_prerequisites` leading to inconsistent vendoring errors: go: inconsistent vendoring in /go/src/github.com/google/syzkaller: golang.org/x/net@v0.0.0-20200625001655-4c5254603344: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/tools@v0.0.0-20200717024301-6ddee64345a6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/net@v0.0.0-20200520182314-0ba52f642ac2: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod golang.org/x/tools@v0.0.0-20200626171337-aa94e735be7f: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod Signed-off-by: Tobias Klauser --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6bbeb3cf7..19a40345b 100644 --- a/Makefile +++ b/Makefile @@ -334,7 +334,7 @@ install_prerequisites: sudo apt-get install -y -q g++-s390x-linux-gnu || true sudo apt-get install -y -q g++-riscv64-linux-gnu || true sudo apt-get install -y -q clang clang-format ragel - go get -u golang.org/x/tools/cmd/goyacc + GO111MODULE=off go get -u golang.org/x/tools/cmd/goyacc check_copyright: ./tools/check-copyright.sh -- cgit mrf-deployment