gearboxworks / launch

Running in Docker made trivial
2 stars 0 forks source link

Windows build error. #52

Closed MickMake closed 3 years ago

MickMake commented 3 years ago

v2.0.0 of launch has trouble building on Windows.

mick@MickNote:Documents/GitHub/launch $ buildtool build
Building with GoReleaser...
Building with GoReleaser in 1 paths...
./ => .goreleaser.yml

   • releasing...
   • loading config file       file=.goreleaser.yml
   • running before hooks
      • running go mod download
      • running go generate ./...
   • loading environment variables
   • getting and validating git state
      • releasing v1.7.5, commit a33f3875f60f58657e729f91f9a3d89dfcb8b5ae
      • pipe skipped              error=disabled during snapshot mode
   • parsing tag
   • setting defaults
      • snapshotting
      • github/gitlab/gitea releases
      • project name
      • building binaries
      • creating source archive
      • archives
      • linux packages
      • snapcraft packages
      • calculating checksums
      • signing artifacts
      • docker images
      • artifactory
      • blobs
      • homebrew tap formula
      • scoop manifests
   • snapshotting
   • checking ./dist
      • --rm-dist is set, cleaning it up
   • writing effective config file
      • writing                   config=dist/config.yaml
   • generating changelog
      • pipe skipped              error=not available for snapshots
   • building binaries
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_windows_amd64/launch.exe
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_linux_386/launch
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_linux_amd64/launch
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_darwin_386/launch
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_darwin_amd64/launch
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_linux_arm_6/launch
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_linux_arm64/launch
      • building                  binary=/Users/mick/Documents/GitHub/launch/dist/launch_windows_386/launch.exe
   ⨯ release failed after 165.67s error=failed to build for windows_amd64: go: finding module for package github.com/Microsoft/hcsshim/osversion
go: downloading github.com/Microsoft/hcsshim v0.8.16
go: found github.com/Microsoft/hcsshim/osversion in github.com/Microsoft/hcsshim v0.8.16
go: downloading golang.org/x/text v0.3.4
go: downloading golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/imdario/mergo v0.3.11
go: downloading golang.org/x/net v0.0.0-20201224014010-6772e930b67b
go: downloading golang.org/x/sys v0.0.0-20210324051608-47abb6519492
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3
go: downloading google.golang.org/grpc v1.33.2
go: downloading google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a
go: downloading github.com/golang/protobuf v1.4.3
# github.com/docker/docker/pkg/system
../../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190717161051-705d9623b7c1/pkg/system/filesys_windows.go:111:24: cannot use uintptr(unsafe.Pointer(&sd[0])) (type uintptr) as type *"golang.org/x/sys/windows".SECURITY_DESCRIPTOR in assignment

BUILDTOOL: ERROR: [toolPath.New()] - [exit status 1]
mikeschinkel commented 3 years ago

@MickMake @kazishafin https://github.com/testcontainers/testcontainers-go/issues/143