constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 148 forks source link

gb build do not work correctly on windows (can work correctly on linux) #732

Open makefriend8 opened 6 years ago

makefriend8 commented 6 years ago

gb build the same project on windows

FATAL: command "build" failed: failed to resolve import path "github.com/matrix-org/dendrite/clientapi": import "golang.org/x/sys/windows": not found: CreateFile c:\code\go\dendrite\src\golang.org\x\sys\windows: The system cannot find the path specified.

gb env GB_PROJECT_DIR="c:\code\go\dendrite" GB_SRC_PATH="c:\code\go\dendrite\src;c:\code\go\dendrite\vendor\src" GB_PKG_DIR="c:\code\go\dendrite\pkg\windows-amd64" GB_BIN_SUFFIX="-windows-amd64" GB_GOROOT="c:\go"

on linux begin to download the dependency.(and work ok)