Description
This is an issue that was reported in fsouza/go-dockerclient#878: when trying to build go-dockerclient on freebsd, users see an error where github.com/docker/docker/pkg/system fails to build (it's a transient dependency of go-dockerclient).
Not sure if yall care about it or not, but I figured I could open an issue asking whether you'd take a PR before sending one or simply vendoring & fixing on my side.
Thank you very much!
Steps to reproduce the issue:
Clone go-dockerclient and try to build it with GOOS=freebsd:
% git clone --depth=1 https://github.com/fsouza/go-dockerclient.git
% cd go-dockerclient
% GOOS=freebsd go build
Describe the results you received:
Compilation fails with the following error message:
# github.com/docker/docker/pkg/system
../../go/pkg/mod/github.com/docker/[email protected]+incompatible/pkg/system/mknod.go:12:19: cannot use dev (type int) as type uint64 in argument to unix.Mknod
Describe the results you expected:
Successful build.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Output of docker info:
Additional environment details (AWS, VirtualBox, physical, etc.):
Description
This is an issue that was reported in fsouza/go-dockerclient#878: when trying to build go-dockerclient on freebsd, users see an error where
github.com/docker/docker/pkg/systemfails to build (it's a transient dependency of go-dockerclient).Not sure if yall care about it or not, but I figured I could open an issue asking whether you'd take a PR before sending one or simply vendoring & fixing on my side.
Thank you very much!
Steps to reproduce the issue:
Clone go-dockerclient and try to build it with
GOOS=freebsd:Describe the results you received:
Compilation fails with the following error message:
Describe the results you expected:
Successful build.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version:Output of
docker info:Additional environment details (AWS, VirtualBox, physical, etc.):