Skip to content

Instantly share code, notes, and snippets.

@mfojtik
Created August 27, 2015 09:32
Show Gist options
  • Save mfojtik/35989c48c71b2b247081 to your computer and use it in GitHub Desktop.
Save mfojtik/35989c48c71b2b247081 to your computer and use it in GitHub Desktop.
π ~/go/src/github.com/openshift/origin ./hack/test-extended/s2i/run.sh
[INFO] Compiling test/extended package ...
# github.com/openshift/origin/pkg/cmd/cli/config
pkg/cmd/cli/config/loader.go:8: inconsistent definition for type pflag.Flag during import
struct { Name string; Shorthand string; Usage string; Value pflag.Value; DefValue string; Changed bool; NoOptDefVal string; Deprecated string; Annotations map[string][]string } (in "github.com/openshift/origin/pkg/cmd/util")
struct { Name string; Shorthand string; Usage string; Value pflag.Value; DefValue string; Changed bool; Deprecated string; Annotations map[string][]string } (in "github.com/spf13/cobra")
pkg/cmd/cli/config/loader.go:8: inconsistent definition for type cobra.Command during import
struct { name string; Use string; Aliases []string; Short string; Long string; Example string; ValidArgs []string; BashCompletionFunction string; Deprecated string; flags *pflag.FlagSet; pflags *pflag.FlagSet; lflags *pflag.FlagSet; PersistentPreRun func(*cobra.Command, []string); PreRun func(*cobra.Command, []string); Run func(*cobra.Command, []string); PostRun func(*cobra.Command, []string); PersistentPostRun func(*cobra.Command, []string); commands []*cobra.Command; parent *cobra.Command; commandsMaxUseLen int; commandsMaxCommandPathLen int; commandsMaxNameLen int; flagErrorBuf *bytes.Buffer; args []string; output *io.Writer; usageFunc func(*cobra.Command) error; usageTemplate string; helpTemplate string; helpFunc func(*cobra.Command, []string); helpCommand *cobra.Command; helpFlagVal bool; globNormFunc func(*pflag.FlagSet, string) pflag.NormalizedName } (in "github.com/openshift/origin/pkg/cmd/util")
struct { name string; Use string; Aliases []string; Short string; Long string; Example string; ValidArgs []string; BashCompletionFunction string; Deprecated string; flags *pflag.FlagSet; pflags *pflag.FlagSet; lflags *pflag.FlagSet; PersistentPreRun func(*cobra.Command, []string); PreRun func(*cobra.Command, []string); Run func(*cobra.Command, []string); PostRun func(*cobra.Command, []string); PersistentPostRun func(*cobra.Command, []string); commands []*cobra.Command; parent *cobra.Command; commandsMaxUseLen int; commandsMaxCommandPathLen int; commandsMaxNameLen int; flagErrorBuf *bytes.Buffer; cmdErrorBuf *bytes.Buffer; args []string; output *io.Writer; usageFunc func(*cobra.Command) error; usageTemplate string; helpTemplate string; helpFunc func(*cobra.Command, []string); helpCommand *cobra.Command; helpFlagVal bool; globNormFunc func(*pflag.FlagSet, string) pflag.NormalizedName } (in "github.com/spf13/cobra")
pkg/cmd/cli/config/loader.go:8: method redeclared: cobra.Command.MarkFlagRequired
method(*cobra.Command) func(string) error
method(*cobra.Command) func(string)
# github.com/openshift/origin/pkg/cmd/server/api/validation
pkg/cmd/server/api/validation/validation.go:10: inconsistent definition for type pflag.Flag during import
struct { Name string; Shorthand string; Usage string; Value pflag.Value; DefValue string; Changed bool; NoOptDefVal string; Deprecated string; Annotations map[string][]string } (in "k8s.io/kubernetes/pkg/util")
struct { Name string; Shorthand string; Usage string; Value pflag.Value; DefValue string; Changed bool; Deprecated string; Annotations map[string][]string } (in "github.com/spf13/pflag")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment