Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make all is broken #2116

Closed
anfernee opened this issue Oct 24, 2017 · 6 comments · Fixed by #2135
Closed

make all is broken #2116

anfernee opened this issue Oct 24, 2017 · 6 comments · Fixed by #2135

Comments

@anfernee
Copy link
Member

anfernee commented Oct 24, 2017

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG

Please provide the following details:

Environment:

go version
go version go1.9 linux/amd64

Minikube version (use minikube version):

What happened:

make all
CGO_ENABLED=1 go build -tags static_build -ldflags="-X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-24T16:35:13Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-24T16:35:13Z  -X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -s -w -extldflags '-static'" -o ./out/localkube ./cmd/localkube
# k8s.io/minikube/cmd/localkube
/tmp/go-link-032058094/000008.o: In function `_cgo_a5acef59ed3f_Cfunc_dlopen':
/tmp/go-build/k8s.io/minikube/vendor/github.com/coreos/pkg/dlopen/_obj/cgo-gcc-prolog:76: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-032058094/000002.o: In function `mygetgrouplist':
/tmp/workdir/go/src/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-032058094/000002.o: In function `mygetgrgid_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:38: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-032058094/000002.o: In function `mygetgrnam_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:43: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-032058094/000002.o: In function `mygetpwnam_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:33: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-032058094/000002.o: In function `mygetpwuid_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:28: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-032058094/000000.o: In function `_cgo_b0c710f30cfd_C2func_getaddrinfo':
/tmp/go-build/net/_obj/cgo-gcc-prolog:46: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
go build -tags "container_image_ostree_stub containers_image_openpgp" -ldflags="-X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-24T16:35:13Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-24T16:35:13Z " -a -o out/minikube-linux-amd64 k8s.io/minikube/cmd/minikube
go build -tags "container_image_ostree_stub containers_image_openpgp" -ldflags="-X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-24T16:35:13Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-24T16:35:13Z " -a -o out/minikube-darwin-amd64 k8s.io/minikube/cmd/minikube
go build -tags "container_image_ostree_stub containers_image_openpgp" -ldflags="-X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-24T16:35:13Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-24T16:35:13Z " -a -o out/minikube-windows-amd64 k8s.io/minikube/cmd/minikube
cp out/minikube-windows-amd64 out/minikube-windows-amd64.exe
GOOS=darwin CGO_ENABLED=1 go build -o ./out/docker-machine-driver-hyperkit k8s.io/minikube/cmd/drivers/hyperkit
# net
/usr/local/go/src/net/cgo_bsd.go:15:72: could not determine kind of name for C.AI_MASK
# k8s.io/minikube/vendor/github.com/zchee/go-vmnet
gcc: error: unrecognized command line option '-fblocks'
gcc: error: unrecognized command line option '-mmacosx-version-min=10.10'
# os/user
/usr/local/go/src/os/user/getgrouplist_darwin.go: In function ‘mygetgrouplist’:
/usr/local/go/src/os/user/getgrouplist_darwin.go:14:11: warning: implicit declaration of function ‘getgrouplist’ [-Wimplicit-function-declaration]
  int rv = getgrouplist(user, (int) group, buf, ngroups);
           ^
Makefile:254: recipe for target 'out/docker-machine-driver-hyperkit' failed
make: *** [out/docker-machine-driver-hyperkit] Error 2

What you expected to happen: it should succeed.

How to reproduce it (as minimally and precisely as possible): make all

Output of minikube logs (if applicable): n/a

Anything else do we need to know: n/a

@r2d4
Copy link
Contributor

r2d4 commented Oct 24, 2017

What are you trying to build? make all only works with BUILD_IN_DOCKER=y make all and only used for our integration test

You can see it builds a variety of cross platform binaries, drivers, and the images we publish, so it has to build certain things in docker. We could probably make this a little more friendly, but we haven't gotten around to that. You most likely don't need to build most of these things.

make will make out/minikube for your current platform.

@anfernee
Copy link
Member Author

@r2d4 Basically I am working on a fix for #806. I am trying to build executable to test in other platform (aka windows). After adding BUILD_IN_DOCKER, I have what I want, but it has another failure.

e$ BUILD_IN_DOCKER=y make all
docker run --rm -e IN_DOCKER=1 --user 1000:129 -w /go/src/k8s.io/minikube -v /home/anfernee/go:/go --entrypoint /bin/bash gcr.io/google_containers/kube-cross:v1.9.1-1 -c '/usr/bin/make out/localkube'
Unable to find image 'gcr.io/google_containers/kube-cross:v1.9.1-1' locally
v1.9.1-1: Pulling from google_containers/kube-cross
95280fe83166: Pull complete 
e71c58db979f: Pull complete 
78641e7e4dba: Pull complete 
8561b3c2a9e2: Pull complete 
b0733c574706: Pull complete 
a0a885a41623: Pull complete 
24c82a0abdde: Pull complete 
5f39ddcd92d3: Pull complete 
5f9835127712: Pull complete 
8199a0d4a7fc: Pull complete 
465ad1075f27: Pull complete 
edf038322270: Pull complete 
2dab4d9824c8: Pull complete 
0a7f5a2e8f12: Pull complete 
7d3098f792b5: Pull complete 
Digest: sha256:058ef002ff6afbbb88a2e469b8dc92a628ba4e80bdcbde7e0648b468ab9cde54
Status: Downloaded newer image for gcr.io/google_containers/kube-cross:v1.9.1-1
CGO_ENABLED=1 go build -tags static_build -ldflags="-X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-25T00:55:28Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-25T00:55:28Z  -X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -s -w -extldflags '-static'" -o ./out/localkube ./cmd/localkube



# k8s.io/minikube/cmd/localkube
/tmp.k8s/go-link-338726930/000008.o: In function `_cgo_a5acef59ed3f_Cfunc_dlopen':
/tmp/go-build/k8s.io/minikube/vendor/github.com/coreos/pkg/dlopen/_obj/cgo-gcc-prolog:76: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp.k8s/go-link-338726930/000002.o: In function `mygetgrouplist':
/tmp/workdir/go/src/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp.k8s/go-link-338726930/000002.o: In function `mygetgrgid_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:38: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp.k8s/go-link-338726930/000002.o: In function `mygetgrnam_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:43: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp.k8s/go-link-338726930/000002.o: In function `mygetpwnam_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:33: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp.k8s/go-link-338726930/000002.o: In function `mygetpwuid_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:28: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp.k8s/go-link-338726930/000000.o: In function `_cgo_b0c710f30cfd_C2func_getaddrinfo':
/tmp/go-build/net/_obj/cgo-gcc-prolog:46: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
docker run --rm -e IN_DOCKER=1 --user 1000:129 -w /go/src/k8s.io/minikube -v /home/anfernee/go:/go --entrypoint /bin/bash gcr.io/google_containers/kube-cross:v1.9.1-1 -c 'GOOS=linux /usr/bin/make out/minikube-linux-amd64'
go build -tags "container_image_ostree_stub containers_image_openpgp" -ldflags="-X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-25T00:56:57Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-25T00:56:57Z " -a -o out/minikube-linux-amd64 k8s.io/minikube/cmd/minikube
docker run --rm -e IN_DOCKER=1 --user 1000:129 -w /go/src/k8s.io/minikube -v /home/anfernee/go:/go --entrypoint /bin/bash gcr.io/google_containers/kube-cross:v1.9.1-1 -c 'GOOS=darwin /usr/bin/make out/minikube-darwin-amd64'
can't load package: package k8s.io/minikube: no Go files in /go/src/k8s.io/minikube
go build -tags "container_image_ostree_stub containers_image_openpgp" -ldflags="-X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-25T00:57:24Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-25T00:57:24Z " -a -o out/minikube-darwin-amd64 k8s.io/minikube/cmd/minikube
docker run --rm -e IN_DOCKER=1 --user 1000:129 -w /go/src/k8s.io/minikube -v /home/anfernee/go:/go --entrypoint /bin/bash gcr.io/google_containers/kube-cross:v1.9.1-1 -c 'GOOS=windows /usr/bin/make out/minikube-windows-amd64'
can't load package: package k8s.io/minikube: no Go files in /go/src/k8s.io/minikube
go build -tags "container_image_ostree_stub containers_image_openpgp" -ldflags="-X k8s.io/minikube/pkg/version.version=v0.22.3 -X k8s.io/minikube/pkg/version.isoVersion=v0.23.6 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.buildDate=2017-10-25T00:57:51Z -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitCommit=0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=v1.8.0 -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitTreeState=clean -X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.buildDate=2017-10-25T00:57:51Z " -a -o out/minikube-windows-amd64 k8s.io/minikube/cmd/minikube
cp out/minikube-windows-amd64 out/minikube-windows-amd64.exe
docker run --rm -e IN_DOCKER=1 --user 1000:129 -w /go/src/k8s.io/minikube -v /home/anfernee/go:/go --entrypoint /bin/bash karalabe/xgo-1.8.3 -c 'CC=o64-clang CXX=o64-clang++ /usr/bin/make out/docker-machine-driver-hyperkit'
Unable to find image 'karalabe/xgo-1.8.3:latest' locally
latest: Pulling from karalabe/xgo-1.8.3
d54efb8db41d: Pull complete 
f8b845f45a87: Pull complete 
e8db7bf7c39f: Pull complete 
9654c40e9079: Pull complete 
6d9ef359eaaa: Pull complete 
930ad870b3ed: Pull complete 
6c2305eeb102: Pull complete 
8f5fb6ea515f: Pull complete 
a7ed6daacbb2: Pull complete 
59648a31bc06: Pull complete 
e4950c92f0e1: Pull complete 
39c73abb482c: Pull complete 
18cc24c098e1: Pull complete 
7393446f141f: Pull complete 
7a27a63b85c8: Pull complete 
712004ba29fc: Pull complete 
2b0e6816a036: Pull complete 
6bd81709671f: Pull complete 
fb892dd34b01: Pull complete 
896e316a2862: Pull complete 
4a16bec3fec4: Pull complete 
0e67b70fabab: Pull complete 
308e2b79d14a: Pull complete 
8a358963fd91: Pull complete 
ea4e4d30f472: Pull complete 
37e1a90ce81e: Pull complete 
Digest: sha256:d8c536f62aa33b6aad0c06d8c073ecb2be41d6650dc9669659f3184c7221aeca
Status: Downloaded newer image for karalabe/xgo-1.8.3:latest
GOOS=darwin CGO_ENABLED=1 go build -o ./out/docker-machine-driver-hyperkit k8s.io/minikube/cmd/drivers/hyperkit
# k8s.io/minikube/vendor/github.com/zchee/go-vmnet
ld: warning: object file (/tmp/go-build564824508/k8s.io/minikube/vendor/github.com/zchee/go-vmnet/_obj/_cgo_main.o) was built for newer OSX version (10.10) than being linked (10.6)
ld: warning: object file (/tmp/go-build564824508/k8s.io/minikube/vendor/github.com/zchee/go-vmnet/_obj/_cgo_export.o) was built for newer OSX version (10.10) than being linked (10.6)
ld: warning: object file (/tmp/go-build564824508/k8s.io/minikube/vendor/github.com/zchee/go-vmnet/_obj/vmnet.cgo2.o) was built for newer OSX version (10.10) than being linked (10.6)
# k8s.io/minikube/vendor/github.com/zchee/go-vmnet
ld: warning: object file (/tmp/go-build564824508/k8s.io/minikube/vendor/github.com/zchee/go-vmnet/_obj/_cgo_export.o) was built for newer OSX version (10.10) than being linked (10.6)
ld: warning: object file (/tmp/go-build564824508/k8s.io/minikube/vendor/github.com/zchee/go-vmnet/_obj/vmnet.cgo2.o) was built for newer OSX version (10.10) than being linked (10.6)
go build 														\
	-installsuffix "static" 											\
	-ldflags "-X k8s.io/minikube/pkg/drivers/kvm/version.VERSION=v0.22.3" 	\
	-tags libvirt.1.3.1 												\
	-o ./out/docker-machine-driver-kvm2 									\
	k8s.io/minikube/cmd/drivers/kvm
# pkg-config --cflags libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
pkg-config: exit status 1
Makefile:309: recipe for target 'out/docker-machine-driver-kvm2' failed
make: *** [out/docker-machine-driver-kvm2] Error 2

@r2d4
Copy link
Contributor

r2d4 commented Oct 25, 2017

You'll need the libvirt-dev package to build out/docker-machine-driver-kvm2

@r2d4
Copy link
Contributor

r2d4 commented Oct 25, 2017

If you're just looking to build the windows binary, you can cross compile a windows binary with just make out/minikube.exe, no BUILD_IN_DOCKER=y or make all needed

@anfernee
Copy link
Member Author

@r2d4 thanks for the reply. I tried make out/minikube-windows-amd64.exe it works.

@anfernee
Copy link
Member Author

Wait.. @r2d4 it still gives me a linux binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants