Bug 1170027 - GCC 10: kubernetes1.1[78] build fails
GCC 10: kubernetes1.1[78] build fails
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Richard Brown
E-mail List
:
Depends on:
Blocks: 1157217
  Show dependency treegraph
 
Reported: 2020-04-21 07:54 UTC by Martin Liška
Modified: 2020-05-01 07:14 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2020-04-21 07:54:23 UTC
Fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N/kubernetes1.17/standard/x86_64

with:
[   31s] + make -j16 'WHAT=cmd/kube-apiserver cmd/kube-controller-manager cmd/kube-scheduler cmd/kube-proxy cmd/kubelet cmd/kubectl cmd/kubeadm' GOFLAGS=-buildmode=pie
[   48s] +++ [0421 03:16:50] Building go targets for linux/amd64:
[   48s]     ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
[   48s] +++ [0421 03:16:50] Building go targets for linux/amd64:
[   48s]     ./vendor/k8s.io/code-generator/cmd/conversion-gen
[   48s] +++ [0421 03:16:50] Building go targets for linux/amd64:
[   48s]     ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
[   48s] +++ [0421 03:16:50] Building go targets for linux/amd64:
[   48s]     ./vendor/k8s.io/code-generator/cmd/defaulter-gen
[   48s] +++ [0421 03:16:50] Building go targets for linux/amd64:
[   48s]     ./vendor/github.com/go-bindata/go-bindata/go-bindata
[   61s] 2020/04/21 03:17:02 OpenAPI code generation error: Failed making a parser: unable to add directory "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1": unable to import "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1": /home/abuild/rpmbuild/BUILD/kubernetes-1.17.4/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go:1:1: expected 'package', found 'EOF'
[   61s] make[1]: *** [Makefile.generated_files:502: staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go] Error 1
[   61s] make[1]: *** Waiting for unfinished jobs....
[   67s] make: *** [Makefile:544: generated_files] Error 2
[   67s] error: Bad exit status from /var/tmp/rpm-tmp.ClVLla (%build)
Comment 2 Martin Liška 2020-05-01 07:14:39 UTC
Now it builds fine.