Skip to content

master fails to build with undefined: api.LivenessProbe #961

Closed

Description

@goldmann

When trying to compile master branch (rev c6bc95e) it fails with:

[SNIP]

==> master: Dependency Updated:
==> master:   perl.x86_64 4:5.18.4-291.fc20        perl-libs.x86_64 4:5.18.4-291.fc20       
==> master: Complete!
==> master: + echo 'Building openshift'
==> master: Building openshift
==> master: + pushd /vagrant
==> master: /vagrant /home/vagrant
==> master: + ./hack/build-go.sh
==> master: ++ Building go targets for linux/amd64:  cmd/openshift
==> master: # github.com/GoogleCloudPlatform/kubernetes/pkg/health
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/health/exec.go:56: undefined: api.LivenessProbe
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/health/health.go:39: undefined: api.LivenessProbe
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/health/health.go:70: undefined: api.LivenessProbe
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/health/health.go:90: undefined: api.LivenessProbe
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/health/http.go:116: undefined: api.LivenessProbe
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/health/tcp.go:85: undefined: api.LivenessProbe
==> master: # github.com/openshift/origin/pkg/build/controller/strategy
==> master: _output/local/go/src/github.com/openshift/origin/pkg/build/controller/strategy/util.go:22: unknown "github.com/GoogleCloudPlatform/kubernetes/pkg/api".VolumeSource field 'HostDir' in struct literal
==> master: _output/local/go/src/github.com/openshift/origin/pkg/build/controller/strategy/util.go:49: unknown "github.com/GoogleCloudPlatform/kubernetes/pkg/api".VolumeSource field 'HostDir' in struct literal
==> master: # github.com/GoogleCloudPlatform/kubernetes/pkg/volume
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/volume/volume.go:208: volume.Source.HostDir undefined (type api.VolumeSource has no field or method HostDir)
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/volume/volume.go:347: cannot convert nil to type api.VolumeSource
==> master: Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/volume/volume.go:354: source.HostDir undefined (type api.VolumeSource has no field or method HostDir)
==> master: # github.com/openshift/origin/pkg/user/registry/etcd
==> master: _output/local/go/src/github.com/openshift/origin/pkg/user/registry/etcd/etcd.go:59: cannot use uid (type string) as type types.UID in assignment
==> master: _output/local/go/src/github.com/openshift/origin/pkg/user/registry/etcd/etcd.go:66: cannot use uid (type string) as type types.UID in assignment
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Activity

  1. smarterclayton commented on Feb 10, 2015

    @smarterclayton
    Contributor

    You probably need to make clean. When you checkout newer changes to Godeps they don't automatically rebuild.

  2. added
    kind/bug
    on Feb 12, 2015
  3. smarterclayton commented on Feb 20, 2015

    @smarterclayton
    Contributor

    I believe this was just due to the Git timestamp issue - no one else has reported.

  4. added a commit that references this issue on Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions