{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/10164","labels_url":"https://api.github.com/repos/golang/go/issues/10164/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/10164/comments","events_url":"https://api.github.com/repos/golang/go/issues/10164/events","html_url":"https://github.com/golang/go/issues/10164","id":61684807,"number":10164,"title":"ipv4, ipv6: build fails on go1.4 and below","user":{"login":"jvehent","id":415617,"avatar_url":"https://avatars.githubusercontent.com/u/415617?v=3","gravatar_id":"","url":"https://api.github.com/users/jvehent","html_url":"https://github.com/jvehent","followers_url":"https://api.github.com/users/jvehent/followers","following_url":"https://api.github.com/users/jvehent/following{/other_user}","gists_url":"https://api.github.com/users/jvehent/gists{/gist_id}","starred_url":"https://api.github.com/users/jvehent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvehent/subscriptions","organizations_url":"https://api.github.com/users/jvehent/orgs","repos_url":"https://api.github.com/users/jvehent/repos","events_url":"https://api.github.com/users/jvehent/events{/privacy}","received_events_url":"https://api.github.com/users/jvehent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/repo-net","name":"repo-net","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"mikioh","id":92117,"avatar_url":"https://avatars.githubusercontent.com/u/92117?v=3","gravatar_id":"","url":"https://api.github.com/users/mikioh","html_url":"https://github.com/mikioh","followers_url":"https://api.github.com/users/mikioh/followers","following_url":"https://api.github.com/users/mikioh/following{/other_user}","gists_url":"https://api.github.com/users/mikioh/gists{/gist_id}","starred_url":"https://api.github.com/users/mikioh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikioh/subscriptions","organizations_url":"https://api.github.com/users/mikioh/orgs","repos_url":"https://api.github.com/users/mikioh/repos","events_url":"https://api.github.com/users/mikioh/events{/privacy}","received_events_url":"https://api.github.com/users/mikioh/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-03-14T19:41:38Z","updated_at":"2015-03-15T00:36:16Z","closed_at":"2015-03-15T00:36:16Z","body":"It appears that net/ipv4 and net/ipv6 fail to build when getting net/icmp. Ping @mikioh since he seemed to have authored this package.\r\n\r\n```\r\n$ go version\r\ngo version go1.4.1 linux/amd64\r\n```\r\n\r\n```\r\n$ go get -u golang.org/x/net/icmp\r\n# golang.org/x/net/ipv4\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:7: sysIP_TOS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:7\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:8: sysIP_TTL redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:8\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:9: sysIP_HDRINCL redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:9\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:10: sysIP_OPTIONS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:10\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:11: sysIP_ROUTER_ALERT redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:11\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:12: sysIP_RECVOPTS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:12\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:13: sysIP_RETOPTS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:13\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:14: sysIP_PKTINFO redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:14\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:15: sysIP_PKTOPTIONS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:15\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:16: sysIP_MTU_DISCOVER redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_amd64.go:16\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv4/zsys_linux_ppc64.go:16: too many errors\r\n# golang.org/x/net/ipv6\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:7: sysIPV6_ADDRFORM redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:7\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:8: sysIPV6_2292PKTINFO redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:8\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:9: sysIPV6_2292HOPOPTS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:9\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:10: sysIPV6_2292DSTOPTS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:10\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:11: sysIPV6_2292RTHDR redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:11\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:12: sysIPV6_2292PKTOPTIONS redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:12\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:13: sysIPV6_CHECKSUM redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:13\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:14: sysIPV6_2292HOPLIMIT redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:14\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:15: sysIPV6_NEXTHOP redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:15\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:16: sysIPV6_FLOWINFO redeclared in this block\r\n\tprevious declaration at /home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_amd64.go:16\r\n/home/ulfr/Code/go/bin/src/golang.org/x/net/ipv6/zsys_linux_ppc64.go:16: too many errors\r\n```"}}