{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/contrib/issues/957","repository_url":"https://api.github.com/repos/kubernetes/contrib","labels_url":"https://api.github.com/repos/kubernetes/contrib/issues/957/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/contrib/issues/957/comments","events_url":"https://api.github.com/repos/kubernetes/contrib/issues/957/events","html_url":"https://github.com/kubernetes/contrib/issues/957","id":154333606,"number":957,"title":"Cannot build ingress","user":{"login":"dmitrig01","id":10422,"avatar_url":"https://avatars.githubusercontent.com/u/10422?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrig01","html_url":"https://github.com/dmitrig01","followers_url":"https://api.github.com/users/dmitrig01/followers","following_url":"https://api.github.com/users/dmitrig01/following{/other_user}","gists_url":"https://api.github.com/users/dmitrig01/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrig01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrig01/subscriptions","organizations_url":"https://api.github.com/users/dmitrig01/orgs","repos_url":"https://api.github.com/users/dmitrig01/repos","events_url":"https://api.github.com/users/dmitrig01/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrig01/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-11T20:19:44Z","updated_at":"2016-05-11T23:41:17Z","closed_at":"2016-05-11T23:41:17Z","body":"Hi, I am trying to make some changes to the nginx ingress, but I cannot get it to build. The steps I took are:\r\n\r\nFirst, `go get github.com/kubernetes/contrib`\r\n\r\nThen, `cd $GOPATH/src/github.com/kubernetes/contrib/ingress` (NOTE: it breaks if I do `cd $GOPATH/src/github.com/kubernetes/contrib/Ingress`)\r\n\r\nThen, `godep restore`\r\n\r\nIt complains about `speter.net/go/exp/math/dec/inf` missing. So I did a find-and-replace replacing that with `gopkg.in/inf.v0`. Suboptimal, but it worked.\r\n\r\nThen I tried to run `make controller` in `nginx`.\r\n\r\nI got `controller.go:43:2: cannot find package \"k8s.io/contrib/ingress/controllers/nginx/nginx\" in any of: .....`\r\n\r\nSo I replaced `\"k8s.io/contrib/ingress/controllers/nginx/nginx\"` with `\"github.com/kubernetes/contrib/ingress/controllers/nginx/nginx\"`. Which seemed to fix that. Also suboptimal.\r\n\r\nNow it finally builds.\r\n\r\nFor reference,\r\n```\r\n$ godep version\r\ngodep v62 (darwin/amd64/go1.6)\r\n$ go version\r\ngo version go1.6 darwin/amd64\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes/contrib/issues/comments/218621781","html_url":"https://github.com/kubernetes/contrib/issues/957#issuecomment-218621781","issue_url":"https://api.github.com/repos/kubernetes/contrib/issues/957","id":218621781,"user":{"login":"dmitrig01","id":10422,"avatar_url":"https://avatars.githubusercontent.com/u/10422?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrig01","html_url":"https://github.com/dmitrig01","followers_url":"https://api.github.com/users/dmitrig01/followers","following_url":"https://api.github.com/users/dmitrig01/following{/other_user}","gists_url":"https://api.github.com/users/dmitrig01/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrig01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrig01/subscriptions","organizations_url":"https://api.github.com/users/dmitrig01/orgs","repos_url":"https://api.github.com/users/dmitrig01/repos","events_url":"https://api.github.com/users/dmitrig01/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrig01/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T23:41:17Z","updated_at":"2016-05-11T23:41:17Z","body":"thanks"}}