Skip to content

cmd/compile: "undefined: uuid..autotmp_1" while building kubernetes #30498

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

Closed
sudeeshjohn opened this issue Mar 1, 2019 · 5 comments
Closed
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Milestone

Comments

@sudeeshjohn
Copy link

What version of Go are you using (go version)?

$ go version
go version devel +13d24b6 Fri Mar 1 02:23:02 2019 +0000 linux/ppc64le

Does this issue reproduce with the latest release?

No. (go version go1.12 linux/ppc64le)

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="ppc64le"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="ppc64le"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_ppc64le"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build158344747=/tmp/go-build -gno-record-gcc-switches"

What did you do?

git clone https://github.com/kubernetes/kubernetes.git
cd kubernetes
make all

What did you expect to see?

Build Should be successful

What did you see instead?

Step 15/16 : RUN cd /go/src/github.com/k8s.io/kubernetes &&  make all
 ---> Running in c3d8f4dfc1c7
+++ [0301 05:40:04] Building go targets for linux/ppc64le:
    ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
+++ [0301 05:40:12] Building go targets for linux/ppc64le:
    ./vendor/k8s.io/code-generator/cmd/defaulter-gen
+++ [0301 05:40:18] Building go targets for linux/ppc64le:
    ./vendor/k8s.io/code-generator/cmd/conversion-gen
+++ [0301 05:40:29] Building go targets for linux/ppc64le:
    ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
2019/03/01 05:40:37 Code for OpenAPI definitions generated
+++ [0301 05:40:37] Building go targets for linux/ppc64le:
    ./vendor/github.com/jteeuwen/go-bindata/go-bindata
+++ [0301 05:40:39] Building go targets for linux/ppc64le:
    cmd/kube-proxy
    cmd/kube-apiserver
    cmd/kube-controller-manager
    cmd/cloud-controller-manager
    cmd/kubelet
    cmd/kubeadm
    cmd/hyperkube
    cmd/kube-scheduler
    vendor/k8s.io/apiextensions-apiserver
    cluster/gce/gci/mounter
    cmd/kubectl
    cmd/gendocs
    cmd/genkubedocs
    cmd/genman
    cmd/genyaml
    cmd/genswaggertypedocs
    cmd/linkcheck
    vendor/github.com/onsi/ginkgo/ginkgo
    test/e2e/e2e.test
    cmd/kubemark
    vendor/github.com/onsi/ginkgo/ginkgo
    test/e2e_node/e2e_node.test
# k8s.io/kubernetes/vendor/github.com/vmware/govmomi/sts
vendor/github.com/vmware/govmomi/sts/signer.go:60:23: undefined: uuid..autotmp_1
vendor/github.com/vmware/govmomi/sts/signer.go:60:23: undefined: uuid..autotmp_2
!!! [0301 05:41:05] Call tree:
!!! [0301 05:41:05]  1: /go/src/github.com/k8s.io/kubernetes/hack/lib/golang.sh:614 kube::golang::build_some_binaries(...)
!!! [0301 05:41:05]  2: /go/src/github.com/k8s.io/kubernetes/hack/lib/golang.sh:758 kube::golang::build_binaries_for_platform(...)
!!! [0301 05:41:05]  3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0301 05:41:05] Call tree:
!!! [0301 05:41:05]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0301 05:41:05] Call tree:
!!! [0301 05:41:05]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
Makefile:92: recipe for target 'all' failed
make: *** [all] Error 1
The command '/bin/sh -c cd /go/src/github.com/k8s.io/kubernetes &&  make all' returned a non-zero code: 2
root@####:~/test-infra/images/golang-upstream#
@mkumatag
Copy link

mkumatag commented Mar 1, 2019

Here is the code which is creating this issue:

package main

import "fmt"
import "github.com/google/uuid"


func main(){
    uuid.New().String()
}

@ALTree
Copy link
Member

ALTree commented Mar 1, 2019

This appeared on the longtest builder too:

https://build.golang.org/log/73c7382d4029396cd95794a57d4baa70e2908921

--- FAIL: TestAbstractOriginSanity (8.41s)
    dwarf_test.go:126: build: # crypto/ecdsa
        <autogenerated>:1: undefined: elliptic..autotmp_9
        <autogenerated>:1: undefined: elliptic..autotmp_10
        <autogenerated>:1: undefined: elliptic..autotmp_11
        <autogenerated>:1: undefined: elliptic..autotmp_6
        <autogenerated>:1: undefined: elliptic..autotmp_7
        <autogenerated>:1: undefined: elliptic..autotmp_8
        
    dwarf_test.go:127: build error: exit status 2
FAIL
FAIL	cmd/link/internal/ld	9.788s

@ALTree ALTree added this to the Go1.13 milestone Mar 1, 2019
@ALTree ALTree added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 1, 2019
@ALTree ALTree changed the title "undefined: uuid..autotmp_1" while building kubernetes cmd/compile: "undefined: uuid..autotmp_1" while building kubernetes Mar 1, 2019
@ALTree
Copy link
Member

ALTree commented Mar 1, 2019

Ah, I believe this was fixed just after you filed this issue, by this revert: 38642b9.

Can you try again with the latest tip?

@sudeeshjohn
Copy link
Author

yes. the issue is no more present !.

@ALTree
Copy link
Member

ALTree commented Mar 1, 2019

Nice, thanks for confirming this. Closing here.

@ALTree ALTree closed this as completed Mar 1, 2019
@golang golang locked and limited conversation to collaborators Feb 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Projects
None yet
Development

No branches or pull requests

4 participants