You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this library in the terraform-provider-docker and we support multiple OS and Arch combinations.
Unfortunately I cannot release because the build fails for due to library for freebsd and solaris.
Here is a little script to reproduce it (you can ignore the unsupported GOOS/GOARCH pair errors):
#!/bin/bashforosin linux darwin windows freebsd openbsd solaris;doforarchin 386 amd64 arm;doecho"Building: $os - $arch";
GOARCH=$arch GOOS=$os go build .donedone
Building: linux - 386
Building: linux - amd64
Building: linux - arm
Building: darwin - 386
Building: darwin - amd64
Building: darwin - arm
Building: windows - 386
Building: windows - amd64
Building: windows - arm
cmd/go: unsupported GOOS/GOARCH pair windows/arm
Building: freebsd - 386
# github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
vendor/github.com/docker/docker/pkg/archive/archive_unix.go:65:9: cannot use s.Ino (type uint32) as type uint64 in assignment
vendor/github.com/docker/docker/pkg/archive/changes_unix.go:32:35: cannot use fi.Sys().(*syscall.Stat_t).Ino (type uint32) as type uint64 inreturn argument
Building: freebsd - amd64
# github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
vendor/github.com/docker/docker/pkg/archive/archive_unix.go:65:9: cannot use s.Ino (type uint32) as type uint64 in assignment
vendor/github.com/docker/docker/pkg/archive/changes_unix.go:32:35: cannot use fi.Sys().(*syscall.Stat_t).Ino (type uint32) as type uint64 inreturn argument
Building: freebsd - arm
# github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/archive
vendor/github.com/docker/docker/pkg/archive/archive_unix.go:65:9: cannot use s.Ino (type uint32) as type uint64 in assignment
vendor/github.com/docker/docker/pkg/archive/changes_unix.go:32:35: cannot use fi.Sys().(*syscall.Stat_t).Ino (type uint32) as type uint64 inreturn argument
Building: openbsd - 386
Building: openbsd - amd64
Building: openbsd - arm
Building: solaris - 386
cmd/go: unsupported GOOS/GOARCH pair solaris/386
Building: solaris - amd64
# github.com/fsouza/go-dockerclient/vendor/github.com/docker/docker/pkg/term
vendor/github.com/docker/docker/pkg/term/tc.go:12:27: undefined: Termios
vendor/github.com/docker/docker/pkg/term/tc.go:17:27: undefined: Termios
vendor/github.com/docker/docker/pkg/term/term.go:24:10: undefined: Termios
Building: solaris - arm
cmd/go: unsupported GOOS/GOARCH pair solaris/arm
I tried several things:
updating all deps of github.com/docker/docker to 864b36255dce627443b18e7e44549d506a71f14a
Hey @mavogel, sorry for such a delayed response and thanks for reporting. I'll do some investigations around this and see what the correct solution would be.
Hi,
I am using this library in the terraform-provider-docker and we support multiple OS and Arch combinations.
Unfortunately I cannot release because the build fails for due to library for
freebsd
andsolaris
.Here is a little script to reproduce it (you can ignore the
unsupported GOOS/GOARCH pair
errors):I tried several things:
github.com/docker/docker
to864b36255dce627443b18e7e44549d506a71f14a
golang.org/x/sys/windows@c11f84a56e43e20a78cee75a7c034031ecf57d1f
golang.org/x/sys/unix@c11f84a56e43e20a78cee75a7c034031ecf57d1f
Did not solve the problem...
My questions:
thx in advance :) Manu
The text was updated successfully, but these errors were encountered: