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

Can't build minikube binary on AArch64 #2454

Closed
arm64b opened this issue Jan 24, 2018 · 2 comments
Closed

Can't build minikube binary on AArch64 #2454

arm64b opened this issue Jan 24, 2018 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@arm64b
Copy link

arm64b commented Jan 24, 2018

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

Please provide the following details:

Environment:
Linux Ubuntu 16.04 LTS on AArch64 platform
Minikube version (use minikube version):

  • OS (e.g. from /etc/os-release):
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName):
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION):
  • Install tools:
  • Others:
    The above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
minikube version
echo "";
echo "OS:";
cat /etc/os-release
echo "";
echo "VM driver": 
grep DriverName ~/.minikube/machines/minikube/config.json
echo "";
echo "ISO version";
grep -i ISO ~/.minikube/machines/minikube/config.json

What happened:
When building minikube binary on arm64 server platform, below error encountered:

/go/src/k8s.io/minikube# make
make: *** No rule to make target 'out/minikube-linux-arm64', needed by 'out/minikube'.  Stop.

What you expected to happen:
The make command can generate the minikube bin on arm64 just as it does on amd64

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

$ git clone https://github.com/kubernetes/minikube.git $GOPATH/src/k8s.io/minikube
$ cd $GOPATH/src/k8s.io/minikube
$ make 

Output of minikube logs (if applicable):

Anything else do we need to know:

# docker version
Client:
 Version:      unknown-version
 API version:  1.34
 Go version:   go1.9.2
 Git commit:   unknown-commit
 Built:        unknown-buildtime
 OS/Arch:      linux/arm64

Server:
 Version:      dev
 API version:  1.36 (minimum version 1.12)
 Go version:   go1.9.2
 Git commit:   ef3988a
 Built:        Thu Jan 18 02:24:13 2018
 OS/Arch:      linux/arm64
 Experimental: true
arm64b added a commit to arm64b/minikube that referenced this issue Jan 24, 2018
Current Makefile can only support build `minikube` bin on
{linux, darwin, windows}/amd64 system. This PR is used to
build the binary on linux/arm64 platform.

Fix kubernetes#2454

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
arm64b added a commit to arm64b/minikube that referenced this issue Jan 24, 2018
Current Makefile can only support build `minikube` bin on
{linux, darwin, windows}/amd64 system. This PR is used to
build the binary on linux/arm64 platform.

Fix kubernetes#2454

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
@r2d4 r2d4 added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 5, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 3, 2018
@arm64b
Copy link
Author

arm64b commented Jun 4, 2018

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

4 participants