kubernetes: `make release` fails on ubuntu 16.04

Similar to #37076 this is to test the first contributor experience #36655

make release fails on ubuntu 16.04, docker version 1.12.3:

...
+++ [1118 11:18:18] Generating bindata:
    /go/src/k8s.io/kubernetes/test/e2e/framework/gobindata_util.go
+++ [1118 11:18:19] Multiple platforms requested, but available 7G < threshold 11G, building platforms in serial
+++ [1118 11:18:19] Building the toolchain targets:
    k8s.io/kubernetes/hack/cmd/teststale
+++ [1118 11:18:19] Building go targets for linux/amd64:
    cmd/kubectl
    federation/cmd/kubefed
+++ [1118 11:18:37] Building go targets for linux/386:
    cmd/kubectl
    federation/cmd/kubefed
+++ [1118 11:20:05] Building go targets for linux/arm:
    cmd/kubectl
    federation/cmd/kubefed
+++ [1118 11:20:23] Building go targets for linux/arm64:
    cmd/kubectl
    federation/cmd/kubefed
+++ [1118 11:20:43] Building go targets for darwin/amd64:
    cmd/kubectl
    federation/cmd/kubefed
# runtime/cgo
aarch64-linux-gnu-gcc: error: unrecognized command line option '-m64'
Makefile:79: recipe for target 'all' failed
make[1]: *** [all] Error 1
Makefile:264: recipe for target 'cross' failed
make: *** [cross] Error 1
Makefile:248: recipe for target 'release' failed
make: *** [release] Error 1
$ docker version
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 22:01:48 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 22:01:48 2016
 OS/Arch:      linux/amd64
ubuntu@gobuild:~/go/src/k8s.io/kubernetes$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 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/"
UBUNTU_CODENAME=xenial
ubuntu@gobuild:~/go/src/k8s.io/kubernetes$ uname -a
Linux gobuild 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 26 (14 by maintainers)

Commits related to this issue

Most upvoted comments

Do you need to run sudo make release, instead of just make release?

Can you try running the following:

sudo rm -rf .make/
make clean
V=3 make release